Bug 5638

Summary: sudoku fails on qemux86-64 at make
Product: [Build System, Metadata & Runtime] BSPs Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: bsps-meta-yoctoAssignee: Saul Wold <sgw>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Medium    
Version: 1.6   
Target Milestone: 1.6   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandru Georgescu 2013-12-06 09:44:55 UTC
QEMU available at: http://autobuilder.yoctoproject.org/pub/releases/1.6_M1.rc1
poky c51730aaa91066cfb51ad6ec2920fb4f9d9ea94c


Compiling sudokusavant fails on the current qemux86-64 at make:


/usr/lib/glib-2.0/include/glibconfig.h:53:40: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long]
 G_GNUC_EXTENSION typedef unsigned long long guint64;
                                        ^
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]: *** [loader.o] Error 4
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/utils.Tpo .deps/utils.Po
In file included from /usr/include/glib-2.0/glib/gtypes.h:34:0,
                 from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30,
                 from /usr/include/glib-2.0/glib-object.h:25,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from canvas.h:5,
                 from canvas.cpp:1:
/usr/lib/glib-2.0/include/glibconfig.h:52:38: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long]
 G_GNUC_EXTENSION typedef signed long long gint64;
                                      ^
/usr/lib/glib-2.0/include/glibconfig.h:53:40: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long]
 G_GNUC_EXTENSION typedef unsigned long long guint64;
                                        ^
In file included from /usr/include/glib-2.0/glib/gtypes.h:34:0,
                 from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30,
                 from /usr/include/glib-2.0/glib-object.h:25,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from window.h:6,
                 from window.cpp:7:
/usr/lib/glib-2.0/include/glibconfig.h:52:38: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long]
 G_GNUC_EXTENSION typedef signed long long gint64;
                                      ^
/usr/lib/glib-2.0/include/glibconfig.h:53:40: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long]
 G_GNUC_EXTENSION typedef unsigned long long guint64;
                                        ^
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
mv -f .deps/widget.Tpo .deps/widget.Po
mv -f .deps/component.Tpo .deps/component.Po
mv -f .deps/main.Tpo .deps/main.Po
mv -f .deps/canvas.Tpo .deps/canvas.Po
mv -f .deps/window.Tpo .deps/window.Po
make[2]: Leaving directory `/home/root/standalone-automated-MAR-4/sudoku-savant-1.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/root/standalone-automated-MAR-4/sudoku-savant-1.3'
make: *** [all] Error 2
root@qemux86:~/standalone-automated-MAR-4/sudoku-savant-1.3#
Comment 1 Saul Wold 2013-12-10 19:46:37 UTC
I attempted to do this build on a mounted ext3 rootfs instead of nfs and this built fine, I wonder if this is related to the nfs readdir loop, do you see any messages on your qemu console or terminal that it's run on?  You might try to start qemu with the serial option to get output.

This might turn out to be a dup of 5639.  Please mark as such if you do see those failures.
Comment 2 Alexandru Georgescu 2013-12-11 15:51:13 UTC
Testing the two versions (for qemux86 and qemux86-64) got me to paste the log from qemux86-64 in this qemux86 machine. I can confirm that the same type of issue happens on both arches.
Comment 3 Alexandru Georgescu 2013-12-11 15:52:31 UTC
duplicate with 5639

*** This bug has been marked as a duplicate of bug 5639 ***