Gentoo Archives: gentoo-amd64

From: Christopher E <sensory.access@×××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] glibc and gcc issue when updateing / recompiling!
Date: Sat, 20 May 2006 13:09:46
Message-Id: 184c54640605200604h1f9bac84lffd671c70853375a@mail.gmail.com
1 Hello all,
2
3 I am having some problems when updateing / recompiling glibc and gcc.
4 The two errors are below and under that is the emerge --info:
5
6 ********** glibc error **********
7 collect2: ld returned 1 exit status
8 make[2]: *** [/var/tmp/portage/glibc-2.4-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.map]
9 Error 1
10 make[2]: Leaving directory `/var/tmp/portage/glibc-2.4-r3/work/glibc-2.4/elf'
11 make[1]: *** [elf/subdir_lib] Error 2
12 make[1]: Leaving directory `/var/tmp/portage/glibc-2.4-r3/work/glibc-2.4'
13 make: *** [all] Error 2
14
15 !!! ERROR: sys-libs/glibc-2.4-r3 failed.
16 Call stack:
17 ebuild.sh, line 1527: Called dyn_compile
18 ebuild.sh, line 931: Called src_compile
19 glibc-2.4-r3.ebuild, line 1169: Called src_compile
20 glibc-2.4-r3.ebuild, line 1180: Called toolchain-glibc_src_compile
21 glibc-2.4-r3.ebuild, line 264: Called die
22
23 !!! make for x86 failed
24 !!! If you need support, post the topmost build error, and the call
25 stack if relevant.
26 *********************************
27 ********** gcc error **********
28 l symbol' can not be used when making a shared object; recompile with -fPIC
29 gccspec.o: could not read symbols: Bad value
30 collect2: ld returned 1 exit status
31 make: *** [xgcc] Error 1
32 /usr/portage/eclass/toolchain.eclass: line 578:
33 /var/tmp/portage/gcc-3.4.6-r1/work/build/gcc/xgcc: No such file or
34 direc [ !! ]
35 !!! ERROR: sys-devel/gcc-3.4.6-r1 failed.
36 Call stack:
37 ebuild.sh, line 1527: Called dyn_compile
38 ebuild.sh, line 931: Called src_compile
39 ebuild.sh, line 1240: Called toolchain_src_compile
40 toolchain.eclass, line 24: Called gcc_src_compile
41 toolchain.eclass, line 1475: Called die
42
43 !!! failed to split out specs
44 !!! If you need support, post the topmost build error, and the call
45 stack if relevant.
46 ********************************
47 ********** emerge --info **********
48 Portage 2.1_rc1-r3 (default-linux/amd64/2006.0, gcc-3.4.6,
49 glibc-2.3.5-r2, 2.6.16-gentoo-r7 x86_64)
50 =================================================================
51 System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
52 Gentoo Base System version 1.12.0_pre19
53 dev-lang/python: 2.4.3-r1
54 dev-python/pycrypto: 2.0.1-r5
55 dev-util/ccache: [Not Present]
56 dev-util/confcache: [Not Present]
57 sys-apps/sandbox: 1.2.18.1
58 sys-devel/autoconf: 2.13, 2.59-r7
59 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
60 sys-devel/binutils: 2.16.1-r2
61 sys-devel/libtool: 1.5.22
62 virtual/os-headers: 2.6.11-r3
63 ACCEPT_KEYWORDS="amd64 ~amd64"
64 AUTOCLEAN="yes"
65 CBUILD="x86_64-pc-linux-gnu"
66 CFLAGS="-march=k8 -O2 -pipe"
67 CHOST="x86_64-pc-linux-gnu"
68 CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
69 /usr/share/config /var/qmail/control"
70 CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf
71 /etc/revdep-rebuild /etc/terminfo /etc/env.d"
72 CXXFLAGS="-march=k8 -O2 -pipe"
73 DISTDIR="/usr/portage/distfiles"
74 FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
75 GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
76 MAKEOPTS="-j2"
77 PKGDIR="/usr/portage/packages"
78 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
79 --compress --force --whole-file --delete --delete-after --stats
80 --timeout=180 --exclude='/distfiles' --exclude='/local'
81 --exclude='/packages'"
82 PORTAGE_TMPDIR="/var/tmp"
83 PORTDIR="/usr/portage"
84 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
85 USE="amd64 X accessibility acpi aim alsa apache2 apm avi berkdb
86 bitmap-fonts bluetooth cdb cdparanoia cdr cli crypt cups dbus dri dv
87 dvd eds emboss encode foomaticdb fortran gif gnome gpm gps gstreamer
88 gtk gtk2 hal hardenedphp icq ieee1394 imap imlib innodb isdnlog jabber
89 jpeg kde lirc lm_sensors lzw lzw-tiff mp3 mpeg msn mysql mysqli
90 ncurses netboot nls nptl nptlonly openal opengl oscar pam pcre pda pdf
91 pdflib perl php png pppd python qt quicktime readline reflection samba
92 scanner sdl session smartcard spell spl ssl tcpd tiff truetype
93 truetype-fonts type1-fonts usb v4l vcd wifi xine xinerama xml xorg xpm
94 xv yahoo zlib elibc_glibc input_devices_mouse input_devices_keyboard
95 kernel_linux userland_GNU video_cards_radeon video_cards_vga
96 video_cards_vesa video_cards_v4l video_cards_fglrx"
97 Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
98 LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
99 *************************************
100
101 OK, now I did a revdep-rebuild and also a revdep-rebuild -X both did
102 not fix these issues.
103
104 If any one knows how to fix this issue I would be thankful!
105
106 Sincerely,
107 Christopher
108
109 --
110 gentoo-amd64@g.o mailing list

Replies

Subject Author
[gentoo-amd64] Re: glibc and gcc issue when updateing / recompiling! Christopher E <sensory.access@×××××.com>