When emerging atk-1.4.0, with this step (in docs subdirectory): gcc -Os -mcpu=pentium3 -march=pentium3 -pipe -Wall -o .libs/atk-scan .libs/atk-scan.o ../atk/.libs/libatk-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so these errors are generated (tail end): /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../../i686-pc-linux-gnu/bin/ld: warning: type and size of dynamic symbol `__start___libc_atexit' are not defined /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../../i686-pc-linux-gnu/bin/ld: warning: type and size of dynamic symbol `__stop___libc_atexit' are not defined creating atk-scan Scan failed make: *** [scan-build.stamp] Error 25 If that gcc line is compiled with -lc, the warnings do not appear. If compiled with: USE="-doc" emerge atk the emerge suceeds. Reproducible: Always Steps to Reproduce: To reproduce: USE="+doc" emerge atk May require ~x86 keyword, etc. Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r6) ================================================================= System uname: 2.4.20-gentoo-r6 i686 Pentium III (Coppermine) ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-Os -mcpu=pentium3 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/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" CXXFLAGS="-Os -mcpu=pentium3 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gdbm berkdb slang readline arts tetex aalib bonobo svga java X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl acpi cscope doc fbcon imap jikes lirc pcmcia pda pnp rage128 samba tiff trusted usb xml -3dnow"
*** Bug 28947 has been marked as a duplicate of this bug. ***
could you please attach the full build log? thanks.
*** Bug 28932 has been marked as a duplicate of this bug. ***
Sorry, I'm not going to be much help - the system than generated the bug is toast. I added doc to make.conf after running for a few weeks. I thought this might be the problem (previous packages built without doc), so I did the following to rebuild my system, as sugested by the Portage manual: # emerge --update world --emptytree The emerge failed on gcc. On reboot, lots of things fail, including: emerge: line 9, ImportError: No Module named time depscan.sh: /lib/rcscripts/filefuncs.so: undefined symbol: CONVFMTidx vi: Segmentation fault So, I have a screwed system. If I get it working again, I'll post the atk build log (assuming it's still working)
OT: That bug is gcc 3.3.1-r2 and rebuilding. If possible revert to gcc 3.3.1-r1 and rebuild python and it should work
Created attachment 17909 [details] Output of emerge attempt I've installed a binary gcc-3.2.3-r1 and python-2.2.3, and I can now emerge atk with the same results as previously. build.all was created with: bash# emerge atk &> build.all
Created attachment 17910 [details] Output of emerge attempt I've installed a binary gcc-3.2.3-r1 and python-2.2.3, and I can now emerge atk with the same results as previously. build.all was created with: bash# emerge atk &> build.all
Created attachment 17911 [details] Output of emerge attempt I've installed a binary gcc-3.2.3-r1 and python-2.2.3, and I can now emerge atk with the same results as previously. build.all was created with: bash# emerge atk &> build.all
Created attachment 17912 [details] Output of emerge attempt I've installed a binary gcc-3.2.3-r1 and python-2.2.3, and I can now emerge atk with the same results as previously. build.all was created with: bash# emerge atk &> build.all
Created attachment 17913 [details] Output of emerge attempt I've installed a binary gcc-3.2.3-r1 and python-2.2.3, and I can now emerge atk with the same results as previously. build.all was created with: bash# emerge atk &> build.all
Comment on attachment 17913 [details] Output of emerge attempt I've installed a binary gcc-3.2.3-r1 and python-2.2.3, and I can now emerge atk with the same results as previously. Captured with: bash# emerge atk &> build.all
Sorry about the spam. Bugzilla was giving me errors, and I tried resubmitting rather than seeing if the attachment worked.
can you try using some different CFLAGS ? like remove -mcpu= and -Os ?
Sorry, the system is dead again. I tried: > emerge -e gcc Which builds... just about everything. The build died on glibc-2.3.2-r1, with 'multiple definition of `_errno`, but other things that were built are now in trouble (emerge, python, etc.) Plus, the disk is getting too full (92%, 500 MB left). I'm thinking of going back to a stage 3 or stage 1 system, with known good versions of all the tools. I'm headed out of town for the weekend, so I don't mind a three-day build.
resolved invalid as it looks like system trouble to me, reopen if needed after a clean install
After clean install (only 10 days!), atk-1.4.0 builds cleanly with same compiler options. NOT using ~x86 anymore, so I had to specify version 1.4.0, but this bug has gone away for me. I agree this was system trouble, probably related to gcc 3.3.1-r2 and invalid library builds.