Bug 1113

Summary: sudoku-savant compile failed in qemux86-64 sdk image
Product: [Yocto Project Subprojects] ADT Reporter: Jiajun Xu <jiajun.xu>
Component: adtAssignee: liping Ke <liping.ke>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, ke.yu, lianhao.lu, liping.ke, poky.adt.watcher, poky.watcher
Version: 1.0   
Target Milestone: 1.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Jiajun Xu 2011-05-27 00:55:23 UTC
tree/branch: poky/1.1_M1
commit: fc55b224caa3eeac4abda099ec9ed505db59fb28
image location: all qemux86-64 images for 1.1_M1 RC1 http://autobuilder03.jf.intel.com/nightly/20110520-1/machines/qemu

With Yocto 1.1 M1 RC1 build, sudoku-savant compile failed in qemux86-64 sdk image. We do not have such test before. So I have no idea if it's a new bug or regression.

Error log as below:
##########
make  all-recursive
make[1]: Entering directory `/home/root/sudoku-savant-1.3'
Making all in src
make[2]: Entering directory `/home/root/sudoku-savant-1.3/src'
g++ -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12     -frepo -fno-implement-inlines -ansi -pedantic -pipe -Wall -Winline -Wshadow -Wsign-compare -Woverloaded-virtual -Wextra --param max-inline-insns-single=400 -g -O2 -MT document.o -MD -MP -MF .deps/document.Tpo -c -o document.o document.cpp
{standard input}: Assembler messages:
{standard input}:75159: Warning: end of file not at end of a line; newline inserted
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [document.o] Error 4
make[2]: Leaving directory `/home/root/sudoku-savant-1.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/root/sudoku-savant-1.3'
make: *** [all] Error 2
##########
Comment 1 liping Ke 2011-05-29 18:52:28 UTC
This is a known issue from 1.0 release (Or even 0.9 release)
In target qemu, we have slim chances to successfully build a bigger project, always Internal Error with GCC. In 0.9, with bigger memory assignment for qemu, it might be ok. But in 1.0, even I assign 512M for i586 qemu, I still have higher rate of failure.

Thanks& Regards,
criping

(In reply to comment #0)
> tree/branch: poky/1.1_M1
> commit: fc55b224caa3eeac4abda099ec9ed505db59fb28
> image location: all qemux86-64 images for 1.1_M1 RC1
> http://autobuilder03.jf.intel.com/nightly/20110520-1/machines/qemu
> 
> With Yocto 1.1 M1 RC1 build, sudoku-savant compile failed in qemux86-64 sdk
> image. We do not have such test before. So I have no idea if it's a new bug or
> regression.
> 
> Error log as below:
> ##########
> make  all-recursive
> make[1]: Entering directory `/home/root/sudoku-savant-1.3'
> Making all in src
> make[2]: Entering directory `/home/root/sudoku-savant-1.3/src'
> g++ -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
> -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -pthread
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12     -frepo
> -fno-implement-inlines -ansi -pedantic -pipe -Wall -Winline -Wshadow
> -Wsign-compare -Woverloaded-virtual -Wextra --param max-inline-insns-single=400
> -g -O2 -MT document.o -MD -MP -MF .deps/document.Tpo -c -o document.o
> document.cpp
> {standard input}: Assembler messages:
> {standard input}:75159: Warning: end of file not at end of a line; newline
> inserted
> g++: internal compiler error: Killed (program cc1plus)
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> make[2]: *** [document.o] Error 4
> make[2]: Leaving directory `/home/root/sudoku-savant-1.3/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/root/sudoku-savant-1.3'
> make: *** [all] Error 2
> ##########
Comment 2 Jiajun Xu 2011-05-31 08:01:09 UTC
After discussion with Liping, we decide not to test cvs/iptables/sudoku in qemu target becasue qemu is limited by memory and cpu.
Comment 3 Jessica 2011-06-01 10:39:21 UTC
Per latest comments