Bug 1854

Summary: [x32] openssl do_configure fail for x32 build
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Jiajun Xu <jiajun.xu>
Component: meta-yoctoAssignee: Nitin Kamble <nitin.a.kamble>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Undecided CC: poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
log file when gcc-cross-intermediate failed
none
failure log for openssl none

Description Jiajun Xu 2011-12-20 20:34:01 UTC
Created attachment 304 [details]
log file when gcc-cross-intermediate failed

tree/branch: poky/1.2_M1
commit: b806f726b1db2cb605869c1022ef727c1110255b

I tested x32 build with 1.2 M1 branch. It failed during gcc-cross-intermediate do_install. Detailed log as below:

Detailed log could be found as attachment.
Comment 1 Nitin Kamble 2011-12-20 21:07:13 UTC
Jiajun,
  I think you are missing this line in your local.conf

baselib = "${@d.getVar('BASE_LIB_tune-' + (d.getVar('DEFAULTTUNE', True) or 'INVALID'), True) or 'lib'}"
Comment 2 Jiajun Xu 2011-12-21 00:09:51 UTC
Thanks, Nitin. It could pass gcc-cross-intermediate build now. But it fails when do_configure for openssl.
I attach the log file for your reference.

I set following options in local.conf:
#######
MACHINE ?= "qemux86-64"
DEFAULTTUNE = "x86-64-x32"
baselib = "${@d.getVar('BASE_LIB_tune-' + (d.getVar('DEFAULTTUNE', True) or 'INVALID'), True) or 'lib'}"
#######
Comment 3 Jiajun Xu 2011-12-21 00:11:52 UTC
Created attachment 305 [details]
failure log for openssl
Comment 4 Nitin Kamble 2011-12-21 09:20:40 UTC
Jiajun,
  I think you do not have latest fixes for openssl in your poky branch. I see your version is : openssl-1.0.0e-r15.0 and the latest with all x32 fixes what I have is openssl-1.0.0e-r15.2
  so please update your poky master branch to get all the x32 fixes.

Thanks,
Nitin
Comment 5 Nitin Kamble 2011-12-21 09:38:02 UTC
Hi Jiajun,
 you should not change the summary of the bug like this. If you want to report another issue then you should open another bug, and leave the old bug for the older issue.

Thanks,
Nitin
Comment 6 Jiajun Xu 2011-12-21 16:57:35 UTC
(In reply to comment #4)
> Jiajun,
>   I think you do not have latest fixes for openssl in your poky branch. I see
> your version is : openssl-1.0.0e-r15.0 and the latest with all x32 fixes what I
> have is openssl-1.0.0e-r15.2
>   so please update your poky master branch to get all the x32 fixes.
> Thanks,
> Nitin

Thanks, Nitin.
I am testing 1.2_M1 branch. I will change to master then.
Comment 7 Jiajun Xu 2011-12-21 17:00:08 UTC
Mark the bug as INVALID since it is used for gcc-cross.