Hi, Tried at least twice - same error. .libs/gtkwindow-decorate.o .libs/gtkwindow.o .libs/gtkclipboard.o .libs/gtkdnd.o .libs/gtkfilesystemunix.o .libs/gtkpagesetupunixdialog.o .libs/gtkprinter.o .libs/gtkprinteroption.o .libs/gtkprinteroptionset.o .libs/gtkprinteroptionwidget.o .libs/gtkprintjob.o .libs/gtkprintoperation-unix.o .libs/gtkprintunixdialog.o .libs/gtkprintbackend.o .libs/gtkplug-x11.o .libs/gtksocket-x11.o .libs/gtkxembed.o .libs/gtktrayicon-x11.o -Wl,--whole-archive xdgmime/.libs/libxdgmime.a -Wl,--no-whole-archive -Wl,--rpath -Wl,/var/tmp/portage/x11-libs/gtk+-2.12.9-r2/work/gtk+-2.12.9/gdk-pixbuf/.libs -Wl,--rpath -Wl,/var/tmp/portage/x11-libs/gtk+-2.12.9-r2/work/gtk+-2.12.9/gdk/.libs -L/var/tmp/portage/x11-libs/gtk+-2.12.9-r2/work/gtk+-2.12.9/gdk-pixbuf/.libs ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -L/usr/lib ../gdk/.libs/libgdk-x11-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libX11.so /usr/lib/libXcomposite.so /usr/lib/libXdamage.so /usr/lib/libXfixes.so /usr/lib/libatk-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libcairo.so -lm -march=pentium3 -Wl,-O1 -Wl,-soname -Wl,libgtk-x11-2.0.so.0 -Wl,-version-script -Wl,.libs/libgtk-x11-2.0.ver -o .libs/libgtk-x11-2.0.so.0.1200.9 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:.libs/gtkicontheme.o: file format not recognized; treating as linker script /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:.libs/gtkicontheme.o:1: syntax error collect2: ld returned 1 exit status make[4]: *** [libgtk-x11-2.0.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.9-r2/work/gtk+-2.12.9/gtk' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.9-r2/work/gtk+-2.12.9/gtk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.9-r2/work/gtk+-2.12.9/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.9-r2/work/gtk+-2.12.9' make: *** [all] Error 2 ...end... Later will attach env&build.log Thanks. Rumen Reproducible: Always Portage 2.2_rc2 (hardened/linux/x86/2008.0, gcc-3.4.6, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.25-gentoo-r7-i686-Pentium_III_-Coppermine-with-glibc2.3.2 Timestamp of tree: Wed, 23 Jul 2008 17:15:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.5.2-r5 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="bg en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
Created attachment 161223 [details] build.log
Created attachment 161224 [details] environment
Does this happen as well when you switch to the vanilla gcc profile? In other words, are you sure it's a problem caused by the hardened toolchain? Have you tried rebuilding your toolchain, including binutils of which nm and ld are part? I've found two bugs (#228829 #230800) with a similar problem, but no clear cut solution. The problem in those two bugs seems to have disappeared with time.
Hi, Switched to vanilla-gcc and gtk+-2.12.11 compiles/installs Ok. Later will check if it builds with hardened-gcc and eventually close the Bug or give more info. Thanks, Rumen
Hi, x11-libs/gtk+-2.12.11 compiles/installs using a hardened-gcc. So closing this Bug, must have been something with the older version of GTK+. Thanks, Rumen