Bug 7091

Summary: openssl_1.0.1j.bb fails when DEBUG_BUILD = "1"
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Lachlan <lachlan>
Component: connectivityAssignee: Lachlan <lachlan>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, poky.bs.watcher, poky.watcher, raj.khem, sgw
Version: 1.6.2   
Target Milestone: 1.6.3   
Hardware: Other   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
log file resulting from the bug none

Description Lachlan 2014-12-19 09:27:08 UTC
Created attachment 2303 [details]
log file resulting from the bug

I have built a standard image for atmel sama5d3xek that works. The only setting changed is that I have added DEBUG_BUILD = "1" to stop optimization for debugging. I get the error :
| make[2]: *** [gcm128.o] Error 1
| make[2]: Leaving directory `/home/lachlan/poky/build-lsp/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/openssl/1.0.1j-r0/openssl-1.0.1j/crypto/modes'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/home/lachlan/poky/build-lsp/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/openssl/1.0.1j-r0/openssl-1.0.1j/crypto'
| make: *** [build_crypto] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/lachlan/poky/build-lsp/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/openssl/1.0.1j-r0/temp/log.do_compile.4802)
ERROR: Task 1211 (/home/lachlan/poky/meta/recipes-connectivity/openssl/openssl_1.0.1j.bb, do_compile) failed with exit code '1'

Can provide more detail as required.
Lachlasn
Comment 1 Saul Wold 2014-12-24 17:41:49 UTC
A small clarification, the DEBUG_BUILD = "1" actually ENABLES the debugging flags for the compiler, not "stop optimization for debugging", the default build is fully optimized. Is this still a critical?

It seems you have hit an Internal Compiler Error (ICE) with this change, there are some know issues with the compiler and arm.
Comment 2 Lachlan 2015-01-26 17:09:44 UTC
This is not critical now that you explain what the DEBUG_BUILD flag is for.
Lachlan
Comment 3 Stephen K Jolley 2015-02-02 17:57:33 UTC
Answer given.  should the priority be changed?
Comment 4 Saul Wold 2015-03-26 16:11:18 UTC
If you continue to encounter the ICE issue. please open a new bug and we can try to investigate that. We are working to get a 1.6.3 release out in early-mid May timeframe.