Bug 6323

Summary: qemu_1.4.0.bb, do_compile task failed
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ionut Chisanovici <ionutx.chisanovici>
Component: devtools / tool chainAssignee: Laurentiu Palcu <laurentiu.palcu>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Undecided CC: bluelightning, meta.mr.watcher, meta.watcher
Version: 1.4.3   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard: release note
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
qemu-native_log.do_compile none

Description Ionut Chisanovici 2014-05-14 08:50:26 UTC
Created attachment 1951 [details]
qemu-native_log.do_compile

Hi,

For 1.4.4 qemu_1.4.0.bb, do_compile task failed only on OpenSuse 13.1 dirsto.
Attached the do_compile log.

Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "openSUSE-project-13.1"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4.4"
TUNE_FEATURES     = "armv5 thumb dsp"
TARGET_FPU        = "soft"
meta              
meta-yocto        
meta-yocto-bsp    = "dylan:42a5b0cbd1fc316e8b8e3ef1629271619c74b2d3"
meta-qt3          = "dylan:4c27cce6688aa39852f3cba5e7b80ec279019605"

Cheers,
Ionut C
Comment 1 Paul Eggleton 2014-05-15 15:07:42 UTC
From the log, the actual error is:

  CC    ppc-linux-user/target-ppc/mmu_helper.o
{standard input}: Assembler messages:
{standard input}:52584: Warning: end of file not at end of a line; newline inserted
{standard input}:53308: Error: expecting operand after ','; got nothing
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
{standard input}: Assembler messages:
{standard input}:52624: Warning: end of file not at end of a line; newline inserted
{standard input}:54439: Error: unbalanced parenthesis in operand 2.
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
gcc: internal compiler error: Killed (program cc1)
gcc: internal compiler error: Killed (program cc1)

The compiler should not ICE, and this is the native compiler. Either:
a) There's a problem with the hardware, or
b) There's a compiler bug which needs to be fixed upstream (in OpenSUSE 13.1).

Either way, it's likely not a bug we can fix in our code. The best we could do is check and report the issue upstream. We should note it in the 1.4.4 release notes though.