First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 79711
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 78720
Assigned To: Gentoo Toolchain Maintainers <toolchain@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Simon Strandman <simon.strandman@telia.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 79711 depends on: Show dependency tree
Bug 79711 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-01-27 06:12 0000
Kdebase and arts fails to compile with binutils 2.15.92.0.2 on AMD64. Kdebase
fails with this:

/bin/sh ../../../libtool --silent --mode=link --tag=CXX x86_64-pc-linux-gnu-g++
 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -Wl,-O1 -O2
-march=athlon64 -pipe -fomit-frame-pointer -ffast-math -fweb -fPIC -DPIC
-fvisibility-inlines-hidden -fno-enforce-eh-specs -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -D_GNU_SOURCE   -Wl,-O1 -o libkfontinst.la -rpath
/usr/kde/3.3/lib -L/usr/lib64 -L/usr/qt/3/lib -L/usr/kde/3.3/lib  -R
/usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/lib64   -no-undefined
-Wl,--no-undefined -Wl,--allow-shlib-undefined CompressedFile.lo Encodings.lo
FontEngine.lo Fontmap.lo GetPid.lo Global.lo KfiConfig.lo Misc.lo XConfig.lo
../../fonts/libkxftconfig.la -lfontenc -lkio -lfontconfig   -lfreetype -lz -lz
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
.libs/Fontmap.o: relocation R_X86_64_PC32 against `std::basic_ifstream<char,
std::char_traits<char> >::basic_ifstream(char const*,
std::_Ios_Openmode)@@GLIBCXX_3.4' can not be used when making a shared object;
recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libkfontinst.la] Error 1
make[4]: Leaving directory
`/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2/kcontrol/kfontinst/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2/kcontrol/kfontinst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2/kcontrol'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-3.3.2-r1 failed.
!!! Function kde_src_compile, Line 142, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

And arts fails with a similar message. More info about this problem can be
found in these forum threads:
http://forums.gentoo.org/viewtopic.php?p=2025714
http://forums.gentoo.org/viewtopic.php?t=284001

The solution is to downgrade binutils to the last stable: 2.15.90.0.1. I'm
setting this bug to "major" since it's the stable binutils that fails.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.10-ck5 x86_64)
=================================================================
System uname: 2.6.10-ck5 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 26 2005, 16:31:09)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-Wl,-O1 -O2 -march=athlon64 -pipe -fomit-frame-pointer -ffast-math
-fweb
-fPIC -DPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Wl,-O1 -O2 -march=athlon64 -pipe -fomit-frame-pointer -ffast-math
-fweb -fPIC -DPIC -fvisibility-inlines-hidden -fno-enforce-eh-specs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.pudas.net/gentoo ftp://ftp.rhnet.is/pub/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://ftp.rhnet.is/pub/gentoo/"
LDFLAGS="-Wl,-O1"
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="amd64 X aalib acpi alsa artswrappersuid berkdb bitmap-fonts caps cdr crypt
dga dvd dvdr dvdread eds f77 fam fbcon font-server fortran gif gphoto2 gpm gtk
gtk2 hal ipv6 jack jack-tmpfs java javascript jp2 jpeg kde lzw lzw-tiff mad
mikmod mng motif mozilla mpeg multilib ncurses nls nptl nptlonly nvidia objc
offensive oggvorbis opengl pam perl pic png pnp python qt quicktime readline
real samba ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb
userlocales xine xml xml2 xmms xpm xrandr xv xvid zlib video_cards_nvidia
linguas_sv"
Unset:  ASFLAGS, CBUILD, CTARGET

------- Comment #1 From SpanKY 2005-01-27 09:27:31 0000 -------
drop the PIC and linker crap from your CFLAGS and try again

------- Comment #2 From Danny van Dyk (RETIRED) 2005-01-27 10:07:02 0000 -------
This is possibly a duplicate of BUG #78720. Investigating...

------- Comment #3 From Danny van Dyk (RETIRED) 2005-01-27 11:21:32 0000 -------

*** This bug has been marked as a duplicate of 78720 ***

First Last Prev Next    No search results available      Search page      Enter new bug