<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>1421</bug_id>
          
          <creation_ts>2011-08-26 00:51:48 +0000</creation_ts>
          <short_desc>[eMenlow] Failed to compile the Sudoku</short_desc>
          <delta_ts>2011-09-19 18:14:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="wenhua.fan">wenhuax.fan</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>wenhuax.fan</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15794</commentid>
    <comment_count>0</comment_count>
    <who name="wenhua.fan">wenhuax.fan</who>
    <bug_when>2011-08-26 00:51:48 +0000</bug_when>
    <thetext>Commit information:

Tree/Branch: Poky/Master
Poky Commit id: 2c8120d4895c1e2539df2226bae5b5f3b914cb07
Meta Branch: Master
Meta commit id: fb15cc4e1c4be75c81acaf6a1dd33675a9142975

Image location:
http://autobuilder02.yoctoproject.org/emenlow-master/nightly/20110824-1/machines/emenlow/x86_32/core-image-sato-sdk-emenlow-20110825004056.hddimg.bz2
Sudoku APP URL:
http://downloads.sourceforge.net/project/sudoku-savant/sudoku-savant/sudoku-savant-1.3/sudoku-savant-1.3.tar.bz2

There are some issues appear when we compile Sudoku-savant-1.3 version on eMenlow. But other Intel BSPs machine don’t found this issue. There no such issue in Yocto1.1 20110817 build[poky commit id: 978cdd5cb5b445f1cf406296444cb57cd8aa526a].
The messages as below:

########
make  all-recursive

make[1]: Entering directory `/home/root/copy/tarballs/sudoku-savant-1.3&apos;

Making all in src

make[2]: Entering directory `/home/root/copy/tarballs/sudoku-savant-1.3/src&apos;

g++ -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\&quot;&quot;/usr/local/share&quot;\&quot; -DPACKAGE_LOCALE_DIR=\&quot;&quot;/usr/local/share/locale&quot;\&quot; 

-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 main.o -MD -MP -MF 

.deps/main.Tpo -c -o main.o main.cpp

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 support.h:9,

from main.cpp:19:

/usr/lib/glib-2.0/include/glibconfig.h:52:18: warning: ISO C++ 1998 does not support &apos;long long&apos; [-Wlong-long]

/usr/lib/glib-2.0/include/glibconfig.h:53:18: warning: ISO C++ 1998 does not support &apos;long long&apos; [-Wlong-long]

main.cpp: In function &apos;void __static_initialization_and_destruction_0(int, int)&apos;:

main.cpp:143:1:internal compiler error: Segmentation fault

Please submit a full bug report,
with preprocessed source if appropriate.

See &lt;http://gcc.gnu.org/bugs.html&gt; for instructions.

make[2]: *** [main.o] Error 1

make[2]: Leaving directory `/home/root/copy/tarballs/sudoku-savant-1.3/src&apos;

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/root/copy/tarballs/sudoku-savant-1.3&apos;

make: *** [all] Error 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15807</commentid>
    <comment_count>1</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-08-26 03:19:43 +0000</bug_when>
    <thetext>I think this belongs to a gcc bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15971</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-09-02 09:08:03 +0000</bug_when>
    <thetext>is there a way to boot the emenlow image on qemu? I tried to boot with runqemu.sh but it gave me boot failure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16001</commentid>
    <comment_count>3</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-09-03 18:55:01 +0000</bug_when>
    <thetext>I am also not able to build the sudoku with meta-toolchain. And I don&apos;t have a working emenlow machine to reproduce the issue locally. Also the image is not booting with qemu.
  Need help in reproducing.

[sudoku-savant-1.3]$ ./configure $CONFIGURE_FLAGS
configure: WARNING: unrecognized options: --with-libtool-sysroot
configure: loading site script /opt/poky/1.0+snapshot/site-config-core2-poky-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i586-poky-linux-strip... i586-poky-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether i586-poky-linux-g++ accepts -g... yes
checking dependency style of i586-poky-linux-g++... gcc3
checking for library containing strerror... none required
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether i586-poky-linux-g++ accepts -g... (cached) yes
checking dependency style of i586-poky-linux-g++... (cached) gcc3
checking for i586-poky-linux-gcc... i586-poky-linux-gcc
checking whether we are using the GNU C compiler... yes
checking whether i586-poky-linux-gcc accepts -g... yes
checking for i586-poky-linux-gcc option to accept ISO C89... none needed
checking dependency style of i586-poky-linux-gcc... gcc3
checking how to run the C++ preprocessor... i586-poky-linux-g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... (cached) yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... x86_64-pc-linux-gnu
checking host system type... i586-poky-linux-gnu
checking for ld used by GCC... /opt/poky/1.0+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/core2-poky-linux/gcc/i586-poky-linux/4.6.1/ld
checking if the linker (/opt/poky/1.0+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/core2-poky-linux/gcc/i586-poky-linux/4.6.1/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for i586-poky-linux-pkg-config... no
checking for pkg-config... /opt/poky/1.0+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 &gt;= 2.4.0) were not met:

No package &apos;gtk+-2.0&apos; found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16003</commentid>
    <comment_count>4</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-09-03 23:12:18 +0000</bug_when>
    <thetext>If I configure the qemux86 machine same as emenlow for gcc related arch options, and try to reproduce this issue, I can not reproduce the issue. the sudoku is compiling fine in that case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16006</commentid>
    <comment_count>5</comment_count>
    <who name="wenhua.fan">wenhuax.fan</who>
    <bug_when>2011-09-04 20:11:48 +0000</bug_when>
    <thetext>Hi Nitin,this issue not reappear in Yocto20110901 build. The commit information as below:
Tree/Branch: Poky/Master
Poky Commit id: 705ec50edda7f7fb8c132238fe3f1477384a470e
Meta Branch: Master
Meta commit id: 902d2f3c919cd1d870dc8d35a7521cbba42e53ea

But if you want to have a look at this issue, and I will tell you how to access eMenlow after I get the older image(Poky Commit id: 2c8120d....) since the autobuilder is under maintain now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16070</commentid>
    <comment_count>6</comment_count>
    <who name="wenhua.fan">wenhuax.fan</who>
    <bug_when>2011-09-06 21:10:54 +0000</bug_when>
    <thetext>Hi Nitin, I build a sato-sdk image for eMenlow, which base on poky commit id 2c8120d4895c1e2539df2226bae5b5f3b914cb07, meta commit id fb15cc4e1c4be75c81acaf6a1dd33675a9142975. But I can&apos;t reproduce this issue now, maybe is other operation cause this issue during weekly testing. So I will follow up it against latest image in M4-RC1 test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16125</commentid>
    <comment_count>7</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-09-09 10:49:46 +0000</bug_when>
    <thetext>as the issue is not reproducible closing it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16297</commentid>
    <comment_count>8</comment_count>
    <who name="wenhua.fan">wenhuax.fan</who>
    <bug_when>2011-09-19 18:14:37 +0000</bug_when>
    <thetext>This issue can&apos;t reproduce against latest image also. Verify this bug.

Commit information:

Tree/Branch: Poky/1.1_M4
Commit id: bb4a5c44da23a1bb363f1f081cf1644fd7975957
Meta Branch: 1.1_M4
Commit id: 49277afd9e5e510f7b1f82fd8cd10732e3bf2633</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>