Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60421 - can't compile STLport with binutils-2.15.91.0.2
Summary: can't compile STLport with binutils-2.15.91.0.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-15 09:41 UTC by Chris Smith
Modified: 2004-10-20 08:01 UTC (History)
1 user (show)

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 Chris Smith 2004-08-15 09:41:30 UTC
Both the standalone dev-libs/STLport and Openoffice-1.1.2 internal stlport fail to compile on two different systems.

Reproducible: Always
Steps to Reproduce:
1.emerge dev-libs/STLport
2.
3.

Actual Results:  
`.L11769' referenced in section `.rodata' of
../lib/obj/GCC-LINUX/ReleaseD/locale_catalog.o: defined in discarded section
`.gnu.linkonce.t._ZN4_STL20__get_formatted_timeINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKcEET0_T_S8_S7_S7_RKNS_10_Time_InfoERiP2tm'
of ../lib/obj/GCC-LINUX/ReleaseD/locale_catalog.o
collect2: ld returned 1 exit status
make: *** [../lib/libstlport_gcc.so.4.6] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-libs/STLport-4.6.2-r2 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! Compile failed

Expected Results:  
Succesful emerge.

Same problem on two different systems.
System one:
emerge info
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.4.20040808-r0,
2.6.7-gentoo-r13)
=================================================================
System uname: 2.6.7-gentoo-r13 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.5.2
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -fforce-mem -fforce-addr -pipe -s"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -fforce-mem -fforce-addr
-pipe -s"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo
http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 arts audiofile avi berkdb bonobo cdr crypt cups
curl dv dvd dvdr encode esd flac gdbm gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml
guile imap imlib jack java jpeg kde lcms ldap libg++ libwww mad mikmod mmx motif
mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png ppds
python qt quicktime readline samba sasl scanner sdl slang spell sse ssl svg svga
tcltk tcpd tetex theora threads tiff truetype unicode usb wmf x86 xml xml2 xmms
xv zlib"

System two:
emerge info
Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0,
2.6.7-gentoo-r13)
=================================================================
System uname: 2.6.7-gentoo-r13 i686 Intel(R) Celeron(R) CPU 1.70GHz
Gentoo Base System version 1.5.2
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -s -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -s -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.seren.com/gentoo
http://gentoo.netnitco.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 arts audiofile avi berkdb bonobo cdparanoia cdr
crypt cups curl divx4linux dv encode esd flac gdbm gif gphoto gphoto2 gpm
gstreamer gtk2 guile imap imlib java jpeg kde lcms ldap libg++ libwww mad mikmod
mmx motif mpeg ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png
ppds python qt quicktime readline scanner sdl slang spell sse ssl svg svga tcltk
tcpd theora threads tiff truetype unicode usb wmf x86 xml xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2004-08-15 12:34:29 UTC
what version of binutils
Comment 2 Chris Smith 2004-08-15 12:40:56 UTC
http://bugs.gentoo.org/show_bug.cgi?id=60421
Comment 3 Chris Smith 2004-08-15 12:43:09 UTC
Oops...so much for my cut and paste skills.

Both systems are using version 2.15.91.0.2 of binutils.
Comment 4 SpanKY gentoo-dev 2004-08-15 12:56:36 UTC
try it with a version of binutils that actually has x86 in KEYWORDS (meaning one from the 2.14.x series)
Comment 5 Chris Smith 2004-08-15 13:07:33 UTC
Downgraded binutils to 2.14.90.0.8-r1 and STLport compiles fine. Still need to attack OOo.
Maybe this affected my kdegraphics build as well. I had to use DO_NOT_COMPILE to skip compiling kpovmodeler as it would always fail.
Comment 6 SpanKY gentoo-dev 2004-08-15 13:10:45 UTC
iirc this worked with some other versions of 2.15 ... dont remember which though :)

i'll scan my emerge.log ...
Comment 7 SpanKY gentoo-dev 2004-08-15 13:11:33 UTC
     Mon Jun 21 13:50:51 2004 >>> sys-devel/binutils-2.15.91.0.1-r2
     Mon Jul  5 15:43:58 2004 >>> dev-libs/STLport-4.6.2-r1
     Tue Jul  6 17:56:56 2004 >>> dev-libs/STLport-4.6.2-r2
     Mon Aug  2 13:34:52 2004 >>> sys-devel/binutils-2.15.91.0.2

so it seems binutils-2.15.91.0.1-r2 works fine ...
Comment 8 SpanKY gentoo-dev 2004-08-16 07:49:20 UTC
seems virtualboyadvance-1.7.2 also triggers this
Comment 9 Chris Smith 2004-08-16 08:33:17 UTC
Ardour also wouldn't compile with binutils-2.15.91.0.2.

BTW, what should happen with this bug report? Who closes it? Should the binutils group be notified? If so, how should this get done?
Comment 10 SpanKY gentoo-dev 2004-10-20 08:01:48 UTC
newer versions of binutils resolves this