1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Duncan wrote: |
5 |
> |
6 |
> Quoting the gist of the general instructions: |
7 |
> |
8 |
> Code Listing 2.1: Upgrading GCC |
9 |
> # emerge -uav gcc |
10 |
> |
11 |
|
12 |
|
13 |
Ok, that is failing for me after a long time (probably on the second pass): |
14 |
|
15 |
|
16 |
checking for x86_64-pc-linux-gnu-gcc... |
17 |
/var/tmp/portage/gcc-4.1.1/work/build/./gcc/xgcc -B/var/tmp/po |
18 |
rtage/gcc-4.1.1/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ |
19 |
- -B/usr/x86_64-pc-linux-gnu/lib/ -isy |
20 |
stem /usr/x86_64-pc-linux-gnu/include -isystem |
21 |
/usr/x86_64-pc-linux-gnu/sys-include -m32 |
22 |
checking for C compiler default output file name... a.out |
23 |
checking whether the C compiler works... configure: error: cannot run C |
24 |
compiled programs. |
25 |
If you meant to cross compile, use `--host'. |
26 |
See `config.log' for more details. |
27 |
make[2]: *** [configure-target-libstdc++-v3] Error 1 |
28 |
make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build' |
29 |
make[1]: *** [all] Error 2 |
30 |
make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build' |
31 |
make: *** [profiledbootstrap] Error 2 |
32 |
|
33 |
!!! ERROR: sys-devel/gcc-4.1.1 failed. |
34 |
Call stack: |
35 |
ebuild.sh, line 1539: Called dyn_compile |
36 |
ebuild.sh, line 939: Called src_compile |
37 |
ebuild.sh, line 1248: Called toolchain_src_compile |
38 |
toolchain.eclass, line 24: Called gcc_src_compile |
39 |
toolchain.eclass, line 1528: Called gcc_do_make |
40 |
toolchain.eclass, line 1402: Called die |
41 |
|
42 |
!!! emake failed with profiledbootstrap |
43 |
!!! If you need support, post the topmost build error, and the call |
44 |
stack if relevant. |
45 |
|
46 |
Not sure what is going on here. That -m32 doesn't look good though (but |
47 |
what do I know?). |
48 |
|
49 |
I am able to compile both 64-bit and 32-bit in general (tested simple |
50 |
shell of a .c file). And it compiled for a long time before dieing. |
51 |
-----BEGIN PGP SIGNATURE----- |
52 |
Version: GnuPG v1.4.5 (GNU/Linux) |
53 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
54 |
|
55 |
iD8DBQFE+I/TG4/rWKZmVWkRAnqCAJoCT1Kkyfmn/LNAJH/5iLDUiSMoxgCgp9+M |
56 |
7O2x7z9HDC9jqQJn3soMvB0= |
57 |
=LCXU |
58 |
-----END PGP SIGNATURE----- |