Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232793 - x11-libs/gtk+-2.12.9-r2 failed
Summary: x11-libs/gtk+-2.12.9-r2 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 22:09 UTC by Rumen Yotov
Modified: 2008-09-22 07:33 UTC (History)
0 users

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


Attachments
build.log (build.log,716.99 KB, text/plain)
2008-07-23 22:10 UTC, Rumen Yotov
Details
environment (environment,112.15 KB, text/plain)
2008-07-23 22:10 UTC, Rumen Yotov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rumen Yotov 2008-07-23 22:09:31 UTC
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"
Comment 1 Rumen Yotov 2008-07-23 22:10:28 UTC
Created attachment 161223 [details]
build.log
Comment 2 Rumen Yotov 2008-07-23 22:10:52 UTC
Created attachment 161224 [details]
environment
Comment 3 nixnut (RETIRED) gentoo-dev 2008-09-20 19:52:23 UTC
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.
Comment 4 Rumen Yotov 2008-09-21 10:46:51 UTC
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
Comment 5 Rumen Yotov 2008-09-22 07:33:19 UTC
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