Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 129238

Summary: gcc-3.4.6 failed to build protoize
Product: Gentoo Linux Reporter: singularita
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: normal CC: singularita
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Log from emerge gcc (bzipped)

Description singularita 2006-04-08 07:08:14 UTC
# emerge -pv gcc
...
[ebuild     U ] sys-devel/gcc-3.4.6 [3.4.4-r1] USE="gtk nls -bootstrap -boundschecking -build -doc% -fortran* -gcj* -hardened* -ip28 -multislot -nocxx -nopie -nossp -objc -vanilla" 27,692 kB

# emerge gcc
..
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: gccspec.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
gccspec.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [xgcc] Error 1
/usr/portage/eclass/toolchain.eclass: line 572: /var/tmp/portage/gcc-3.4.6/work/build/gcc/xgcc: No such file or directory

!!! ERROR: sys-devel/gcc-3.4.6 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  ebuild.sh, line 1236:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1433:   Called die

!!! failed to split out specs
!!! If you need support, post the topmost build error, and the call stack if relevant.



# emerge --info
Portage 2.1_pre7-r4 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre17
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub "
MAKEOPTS="-j2"
PKGDIR="/usr/portage_bin/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 7zip X aac aalib alsa apache2 avi berkdb bitmap-fonts bjam bzip2 cdr crypt ctype cups curl dba dedicated dga dlloader dri dvd dvdr dvdread ecc eds emboss encode exif flac foomaticdb ftp gcj gd gif glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal hardenedphp iconv icq imagemagick imap imlib ipv6 isdnlog jabber java javascript jpeg kde lm_sensors lzw lzw-tiff mad matroska mhash mikmod mmap mng mozilla mozsvg mp3 mpeg mysql ncurses nls no-suexec nodrm nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl php pic png posix postgres pppd python qt quicktime readline rtc samba sdl session slang sockets socks5 spell ssl svg tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb utf utf8 vorbis wddx x264 xml2 xmms xpm xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2006-04-08 11:31:36 UTC
post a full log as an attachment please:
MAKEOPTS=-j1 emerge gcc >& log
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-04-13 20:26:11 UTC
Please reopen when you attach the log.
Comment 3 singularita 2006-04-22 09:34:24 UTC
Created attachment 85195 [details]
Log from emerge gcc (bzipped)

# MAKEOPTS=-j1 emerge gcc >& log-gcc
# bzip2 -9 log-gcc
Comment 4 singularita 2006-04-22 09:37:41 UTC
Added full log (bzipped, 58Kb) of emerge gcc, reopening
Comment 5 SpanKY gentoo-dev 2006-04-22 12:05:47 UTC
hrm, that doesnt make any sense ... what does `gcc-config -l` show ?  i noticed you've been screwing with USE=hardened ...
Comment 6 SpanKY gentoo-dev 2006-04-26 17:12:19 UTC
going to assume it's a bug on your end