gcc -march=athlon-xp -mcpu=athlon-xp -O3 -mfpmath=sse -msse -mmmx -m3dnow -pipe -fprefetch-loop-arrays -fmerge-all-constants -z combreloc --force-addr -fomit-frame-pointer -falign-loops=4 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -o .libs/test-ename-western-gtk test-ename-western-gtk.o -pthread -Wl,--export-dynamic -pthread -Wl,--export-dynamic ./.libs/libename.so -L/usr/X11R6/lib -L/usr/lib -L/usr/lib/mozilla ../../e-util/.libs/libeutil.so /usr/lib/libgal-2.0.so /usr/lib/libgnomeprintui-2-2.so /usr/lib/libglade-2.0.so /usr/lib/libgnomeprint-2-2.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so /usr/lib/libgnomeui-2.so /usr/lib/libjpeg.so -lSM -lICE /usr/lib/libbonoboui-2.so /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libbonobo-2.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libxml2.so -lz -lrt /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/liblinc.so -lssl -lcrypto /usr/lib/libgthread-2.0.so /usr/lib/libgnomecanvas-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libsoup-2.0.so /usr/lib/libglib-2.0.so -ldl -lplc4 -lplds4 -lnspr4 -lpthread -Wl,--rpath -Wl,/usr/lib/evolution/1.4 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: .libs/test-ename-western-gtk: hidden symbol `fstat' in /usr/lib/libc_nonshared.a(fstat.oS) is referenced by DSO collect2: ld returned 1 exit status make[3]: *** [test-ename-western-gtk] Erreur 1 make[3]: Leaving directory `/var/tmp/portage/evolution-1.4.0/work/evolution-1.4.0/e-util/ename' make[2]: *** [all-recursive] Erreur 1 make[2]: Leaving directory `/var/tmp/portage/evolution-1.4.0/work/evolution-1.4.0/e-util' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/evolution-1.4.0/work/evolution-1.4.0' make: *** [all-recursive-am] Erreur 2 !!! ERROR: net-mail/evolution-1.4.0 failed. !!! Function src_compile, Line 150, Exitcode 2 !!! (no error message) Here is my systel info : emerge info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r4,2.3.2-r1) ================================================================= System uname: 2.4.20 i686 AMD Athlon(tm) XP 2400+ GENTOO_MIRRORS="http://gentoo.linux.no/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 apm cups quicktime slang tetex aalib guile ruby esd cdr scanner 3dnow alsa acpi arts avi berkdb bonobo crypt dga directfb doc dvb dvd encode evo fbcon flash gb gd gdbm ggi gif gnome gpm gtk gtk2 gtkhtml icc innodb imap imlib ipv6 java jpeg lcms libwww libg++ kde maildir mbox mikmod mmx motif mpeg nas ncurses nls nocardbus mozilla mozirc mysql oav oggvorbis opengl oss pam -pcmcia pda pdflib perl pic png pnp python qt qtmt readline sdl snmp socks5 spell sse ssl svga tcltk tcpd truetype usb X xml xml2 xmms xv zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -mfpmath=sse -msse -mmmx -m3dnow -pipe -fprefetch-loop-arrays -fmerge-all-constants -z combreloc --force-addr -fomit-frame-pointer -falign-loops=4" CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -mfpmath=sse -msse -mmmx -m3dnow -pipe -fprefetch-loop-arrays -fmerge-all-constants -z combreloc --force-addr -fomit-frame-pointer -falign-loops=4" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="digest sandbox ccache" Hope this help... Reproducible: Always Steps to Reproduce: 1. 2. 3.
looks like an optimisation problem. please use less aggressive CFLAGS.
I've allready tested with this : USE="gtk2 mozilla ipv6 -gnome mbox xml2" CFLAGS="-march=athlon-xp -mcpu=athlon-xp -fomit-frame-pointer" CPPFLAGS="-march=athlon-xp -mcpu=athlon-xp -fomit-frame-pointer" CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -fomit-frame-pointer" emerge evolution Is it too heavy ? (I'm going to try with CXXFLAGS="" CFLAGS="" CPPFLAGS="" emerge evolution enough)
Same result with : CXXFLAGS="" CFLAGS="" CPPFLAGS="" emerge evolution and with USE="" CXXFLAGS="" CFLAGS="" CPPFLAGS="" emerge evolution
Try remerging GTK; it looks like the symbols got barfed up. Use a different version though...
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I/usr/include -DORBIT2=1 -pthread -I/ usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomeca nvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/incl ude -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-v fs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/b onobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/li b/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/lib xml2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I/usr/ include/libglade-2.0 -I/usr/include/gal-2.0 -I/usr/include/soup-2.0 -I/usr/inc lude/glib-2.0 -I/usr/lib/glib-2.0/include -DG_LOG_DOMAIN=\"gtkhtml\" -DSRCDIR= \".\" -DPREFIX=\"/usr\" -DICONDIR=\"/usr/share/gtkhtml-3.0/icons\" -DGTK_DISAB LE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISA BLE_DEPRECATED=1 -march=k6 -O3 -pipe -fomit-frame-pointer -c htmlurl.c {standard input}: Assembler messages: {standard input}:1356: Error: value of 209 too large for field of 1 bytes at 000 0000000000e0e make[2]: *** [htmlurl.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/libgtkhtml-3.0.5/work/gtkhtml-3.0.5 /src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libgtkhtml-3.0.5/work/gtkhtml-3.0.5 ' make: *** [all-recursive-am] Error 2 !!! ERROR: gnome-extra/libgtkhtml-3.0.5 failed. !!! Function gnome2_src_compile, Line 41, Exitcode 2 !!! compile failure I honestly do not know where to begin with the Assembler Error message. My only thought was perhaps my CFFLAGs which are not excessive.
Not better after recompiling gtk+ and gtk++ I'm recompiling glibc now, hope this will solve my pb.
davis, try removing -O3 for starters. i think it is a compiler problem though. doesn't look related to this bug. psk, i guess you're recompiling with some more normal CFLAGS? would it have something to do with the fact you have two version of glibc's installed?
davis : try to compile with a lower arch (i586) and lowered general optimizations
------ Additional Comments From gentoo@feeleas.org 2003-07-07 23:26 EST ------- I've tryed with just -O2 : gcc -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -o .libs/test-ename-western-gtk test-ename-western-gtk.o -pthread -Wl,--export-dynamic -pthread -Wl,--export-dynamic ./.libs/libename.so -L/usr/X11R6/lib -L/usr/lib -L/usr/lib/mozilla ../../e-util/.libs/libeutil.so /usr/lib/libgal-2.0.so /usr/lib/libgnomeprintui-2-2.so /usr/lib/libglade-2.0.so /usr/lib/libgnomeprint-2-2.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so /usr/lib/libgnomeui-2.so /usr/lib/libjpeg.so -lSM -lICE /usr/lib/libbonoboui-2.so /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libbonobo-2.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libxml2.so -lz -lrt /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/liblinc.so -lssl -lcrypto /usr/lib/libgthread-2.0.so /usr/lib/libgnomecanvas-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libsoup-2.0.so /usr/lib/libglib-2.0.so -ldl -lplc4 -lplds4 -lnspr4 -lpthread -Wl,--rpath -Wl,/usr/lib/evolution/1.4 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: .libs/test-ename-western-gtk: hidden symbol `fstat' in /usr/lib/libc_nonshared.a(fstat.oS) is referenced by DSO collect2: ld returned 1 exit status make[3]: *** [test-ename-western-gtk] Erreur 1 Same pb. Is there a way to not compile test-ename-western-gtk (USE="-locale") ?
i don't think it is optional. i wonder where this error is coming from. now, i can reproduce it too.
Good ! Tell me if I can help.
looks like a binutils problem to me. this problem here is very similar, however, the latest binutils in ~x86 already has this patch. so there's problem something else to it. http://mail.gnu.org/archive/html/bug-gnu-utils/2003-05/msg00067.html
hmm .. maybe not a binutils bug but a mozilla quirk. seems like -lnspr4 is causing the problem there. can you try merging with: USE="-mozilla" emerge evolution
ok .. i've tracked it down to dev-libs/nspr. if you've got that installed, it will fail. there is something wrong with that package's build process that includes the fstat symbol. mcvaio /usr/lib % objdump -T /usr/lib/mozilla/libnspr4.so | grep fstat 00029890 g DF .text 00000046 Base _MD_unix_map_fstat_error mcvaio /usr/lib % objdump -T /usr/lib/libnspr4.so | grep fstat 00000000 D *UND* 00000000 fstat 0002dda0 g DF .text 00000046 Base _MD_unix_map_fstat_error the compilation is getting the dev-libs/nspr instead of mozilla's nspr. this is actually related to bug 23730 where i'm trying to stop using mozilla's nspr/nss lib and use the stand alone ones.
I can confirm 2 things : * Compilation seems to work with USE=-mozilla * I've got nspr installed : ems nspr Searching... [ Results for search key : nspr ] [ Applications found : 1 ] * dev-libs/nspr Latest version available: 4.1.2 Latest version installed: 4.1.2 Size of downloaded files: 1,200 kB Homepage: http://www.mozilla.org/projects/nspr/ Description: Netscape Portable Runtime
I've removed nspr and it's working very well Thx a lot
alright then closing now. also committed a new version of dev-libs/nspr that has this problem fixed.
Tanks a lot for all, you made a great job. best Regards from france, Philippe