1 |
I did a new instalattion of Gentoo 2005.r1 (AMD64). |
2 |
|
3 |
After the basic stage3 instalation, kernel compilation and reboot, |
4 |
everything was fine. |
5 |
I then decided to recompile all: |
6 |
|
7 |
Code: |
8 |
|
9 |
emerge -e world |
10 |
|
11 |
|
12 |
and I get an error when it gets to compile gcc |
13 |
|
14 |
Code: |
15 |
|
16 |
./xgcc -B./ -B/usr/x86_64-pc-linux-gnu/bin/ -isystem |
17 |
/usr/x86_64-pc-linux-gnu/include -isystem |
18 |
/usr/x86_64-pc-linux-gnu/sys-include |
19 |
-L/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc/../ld -O2 -DIN_GCC -W |
20 |
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes |
21 |
-Wold-style-definition -isystem ./include -fPIC -DHAVE_SYSLOG -g |
22 |
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED |
23 |
-D_LIBC_PROVIDES_SSP_ -shared -nodefaultlibs -Wl,--soname=libgcc_s.so.1 |
24 |
-Wl,--version-script=libgcc/32/libgcc.map -o 32/libgcc_s.so.1.tmp -m32 |
25 |
libgcc/32/_muldi3.o libgcc/32/_negdi2.o libgcc/32/_lshrdi3.o |
26 |
libgcc/32/_ashldi3.o libgcc/32/_ashrdi3.o libgcc/32/_cmpdi2.o |
27 |
libgcc/32/_ucmpdi2.o libgcc/32/_floatdidf.o libgcc/32/_floatdisf.o |
28 |
libgcc/32/_fixunsdfsi.o libgcc/32/_fixunssfsi.o libgcc/32/_fixunsdfdi.o |
29 |
libgcc/32/_fixdfdi.o libgcc/32/_fixunssfdi.o libgcc/32/_fixsfdi.o |
30 |
libgcc/32/_fixxfdi.o libgcc/32/_fixunsxfdi.o libgcc/32/_floatdixf.o |
31 |
libgcc/32/_fixunsxfsi.o libgcc/32/_fixtfdi.o libgcc/32/_fixunstfdi.o |
32 |
libgcc/32/_floatditf.o libgcc/32/_clear_cache.o |
33 |
libgcc/32/_enable_execute_stack.o libgcc/32/_trampoline.o |
34 |
libgcc/32/__main.o libgcc/32/_absvsi2.o libgcc/32/_absvdi2.o |
35 |
libgcc/32/_addvsi3.o libgcc/32/_addvdi3.o libgcc/32/_subvsi3.o |
36 |
libgcc/32/_subvdi3.o libgcc/32/_mulvsi3.o libgcc/32/_mulvdi3.o |
37 |
libgcc/32/_negvsi2.o libgcc/32/_negvdi2.o libgcc/32/_ctors.o |
38 |
libgcc/32/_ffssi2.o libgcc/32/_ffsdi2.o libgcc/32/_clz.o |
39 |
libgcc/32/_clzsi2.o libgcc/32/_clzdi2.o libgcc/32/_ctzsi2.o |
40 |
libgcc/32/_ctzdi2.o libgcc/32/_popcount_tab.o libgcc/32/_popcountsi2.o |
41 |
libgcc/32/_popcountdi2.o libgcc/32/_paritysi2.o libgcc/32/_paritydi2.o |
42 |
libgcc/32/_stack_smash_handler.o libgcc/32/_divdi3.o libgcc/32/_moddi3.o |
43 |
libgcc/32/_udivdi3.o libgcc/32/_umoddi3.o libgcc/32/_udiv_w_sdiv.o |
44 |
libgcc/32/_udivmoddi4.o libgcc/32/unwind-dw2.o |
45 |
libgcc/32/unwind-dw2-fde-glibc.o libgcc/32/unwind-sjlj.o |
46 |
libgcc/32/gthr-gnat.o libgcc/32/unwind-c.o -lc && rm -f libgcc_s_32.so |
47 |
&& if [ -f 32/libgcc_s.so.1 ]; then mv -f 32/libgcc_s.so.1 |
48 |
32/libgcc_s.so.1.backup; else true; fi && mv 32/libgcc_s.so.1.tmp |
49 |
32/libgcc_s.so.1 && ln -s 32/libgcc_s.so.1 libgcc_s_32.so |
50 |
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible |
51 |
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libc.so when searching |
52 |
for -lc |
53 |
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible |
54 |
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libc.a when searching |
55 |
for -lc |
56 |
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so |
57 |
when searching for -lc |
58 |
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a |
59 |
when searching for -lc |
60 |
/usr/x86_64-pc-linux-gnu/bin/ld: cannot find -lc |
61 |
collect2: ld returned 1 exit status |
62 |
make[3]: *** [32/libgcc_s_32.so] Error 1 |
63 |
make[3]: Leaving directory |
64 |
`/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc' |
65 |
make[2]: *** [stmp-multilib] Error 2 |
66 |
make[2]: Leaving directory |
67 |
`/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc' |
68 |
make[1]: *** [stage1_build] Error 2 |
69 |
make[1]: Leaving directory |
70 |
`/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc' |
71 |
make: *** [profiledbootstrap] Error 2 |
72 |
|
73 |
!!! ERROR: sys-devel/gcc-3.4.4-r1 failed. |
74 |
!!! Function gcc_do_make, Line 1315, Exitcode 2 |
75 |
!!! emake failed with profiledbootstrap |
76 |
!!! If you need support, post the topmost build error, NOT this status |
77 |
message. |
78 |
|
79 |
|
80 |
Here is my emerge --info |
81 |
|
82 |
Code: |
83 |
|
84 |
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, |
85 |
glibc-2.3.5-r2, 2.6.12-gentoo-r10 x86_64) |
86 |
================================================================= |
87 |
System uname: 2.6.12-gentoo-r10 x86_64 Intel(R) Xeon(TM) CPU 3.60GHz |
88 |
Gentoo Base System version 1.6.13 |
89 |
dev-lang/python: 2.3.5-r2, 2.4.2 |
90 |
sys-apps/sandbox: 1.2.12 |
91 |
sys-devel/autoconf: 2.13, 2.59-r6 |
92 |
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 |
93 |
sys-devel/binutils: 2.16.1 |
94 |
sys-devel/libtool: 1.5.20 |
95 |
virtual/os-headers: 2.6.11-r2 |
96 |
ACCEPT_KEYWORDS="amd64" |
97 |
AUTOCLEAN="yes" |
98 |
CBUILD="x86_64-pc-linux-gnu" |
99 |
CFLAGS="-O2 -march=nocona -pipe" |
100 |
CHOST="x86_64-pc-linux-gnu" |
101 |
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config |
102 |
/usr/share/config /var/qmail/control" |
103 |
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" |
104 |
CXXFLAGS="-O2 -march=nocona -pipe" |
105 |
DISTDIR="/usr/portage/distfiles" |
106 |
FEATURES="autoconfig distlocks sandbox sfperms strict" |
107 |
GENTOO_MIRRORS="http://distfiles.gentoo.org |
108 |
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" |
109 |
MAKEOPTS="-j2" |
110 |
PKGDIR="/usr/portage/packages" |
111 |
PORTAGE_TMPDIR="/var/tmp" |
112 |
PORTDIR="/usr/portage" |
113 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
114 |
USE="amd64 X alsa avi berkdb bitmap-fonts bzip2 crypt cups eds emboss |
115 |
encode expat foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib |
116 |
ipv6 jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls opengl pam pdflib perl |
117 |
png python qt quicktime readline sdl spell ssl tcpd tiff truetype-fonts |
118 |
type1-fonts udev usb userlocales xpm xv zlib userland_GNU kernel_linux |
119 |
elibc_glibc" |
120 |
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, |
121 |
PORTDIR_OVERLAY |
122 |
|
123 |
|
124 |
|
125 |
How can I solve this problem? |