Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23975 - Evolution 1.4 fail to emerge (test-ename-western-gtk: hidden symbol `fstat')
Summary: Evolution 1.4 fail to emerge (test-ename-western-gtk: hidden symbol `fstat')
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-05 15:49 UTC by psk
Modified: 2003-07-08 14:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description psk 2003-07-05 15:49:59 UTC
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.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-07-05 16:55:50 UTC
looks like an optimisation problem. 

please use less aggressive CFLAGS.
Comment 2 psk 2003-07-06 14:33:23 UTC
 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)
Comment 3 psk 2003-07-06 14:40:40 UTC
   Same result with : CXXFLAGS="" CFLAGS=""  CPPFLAGS="" emerge evolution and with USE="" CXXFLAGS="" CFLAGS=""  CPPFLAGS="" emerge evolution
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2003-07-07 10:03:09 UTC
Try remerging GTK; it looks like the symbols got barfed up. Use a different version though...
Comment 5 davis 2003-07-07 12:07:52 UTC
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.
Comment 6 psk 2003-07-07 13:13:12 UTC
Not better after recompiling gtk+ and gtk++
I'm recompiling glibc now, hope this will solve my pb.
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2003-07-07 16:48:56 UTC
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?
Comment 8 foser (RETIRED) gentoo-dev 2003-07-07 17:03:12 UTC
davis : try to compile with a lower arch (i586) and lowered general optimizations
Comment 9 psk 2003-07-07 23:33:01 UTC
------ 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") ?
Comment 10 Alastair Tse (RETIRED) gentoo-dev 2003-07-08 05:03:27 UTC
i don't think it is optional. i wonder where this error is coming from. now, i can reproduce it too.
Comment 11 psk 2003-07-08 05:07:41 UTC
   Good !
   Tell me if I can help.
Comment 12 Alastair Tse (RETIRED) gentoo-dev 2003-07-08 05:32:34 UTC
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
Comment 13 Alastair Tse (RETIRED) gentoo-dev 2003-07-08 07:33:35 UTC
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
Comment 14 Alastair Tse (RETIRED) gentoo-dev 2003-07-08 08:00:22 UTC
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.
Comment 15 psk 2003-07-08 08:05:50 UTC
   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
Comment 16 psk 2003-07-08 09:55:16 UTC
   I've removed nspr and it's working very well
   Thx a lot
Comment 17 Alastair Tse (RETIRED) gentoo-dev 2003-07-08 13:35:50 UTC
alright then closing now. also committed a new version of dev-libs/nspr that has this problem fixed.
Comment 18 psk 2003-07-08 14:29:25 UTC
   Tanks a lot for all, you made a great job.
   best Regards from france,

Philippe