Bug 6324

Summary: gcc-cross-initial_4.7.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: VERIFIED WONTFIX QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: normal    
Priority: Undecided CC: alexandru.c.georgescu, 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
gcc-cross-initial log.do_compile none

Description Ionut Chisanovici 2014-05-14 08:56:25 UTC
Created attachment 1952 [details]
gcc-cross-initial log.do_compile

Hi,

On 1.4.4 on only OpenSuse 13.1 distro, gcc-cross-initial_4.7.bb, do_compile task failed for:

Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "openSUSE-project-13.1"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4.4"
TUNE_FEATURES     = "m64"
TARGET_FPU        = ""
meta              
meta-yocto        
meta-yocto-bsp    = "dylan:42a5b0cbd1fc316e8b8e3ef1629271619c74b2d3"
meta-qt3          = "dylan:4c27cce6688aa39852f3cba5e7b80ec279019605"

Attached, the compile log.

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

gcc   -isystem/home/autobuilder/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -L/home/autobuilder/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/sysroots/x86_64-linux/usr/lib -L/home/autobuilder/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/autobuilder/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/autobuilder/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/autobuilder/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/autobuilder/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/sysroots/x86_64-linux/lib -Wl,-O1 gcov.o libcommon.a ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  -o gcov
{standard input}: Assembler messages:
{standard input}:152419: Warning: end of file not at end of a line; newline inserted
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
make[1]: *** [insn-recog.o] Error 4

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.
Comment 2 Alexandru Georgescu 2015-03-17 06:23:00 UTC
This is obsolete