I'd say some bad links or config files of the current gcc install.

I'd boot with the live cd chroot into the installed system and then emerge
gcc again.

----- Original Message ----- 
From: "Sascha Cunz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 03, 2004 10:08 PM
Subject: [gentoo-user] failure to compile gcc-3.2.3-r3


> hi folks,
>
> after doing an emerge sync and emerge system on a freshly installed
gentoo,
> compiling gcc fails with this error:
>
> /var/tmp/portage/gcc-3.2.3-r3/work/build/gcc/xgcc
> -B/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc/ -B/usr/i686-pc-linux-gnu/b
in/
> -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -c
> -DSkip_f2c_Undefs -I.
> -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/libf2c/libF77 ""
> -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/libf2c/libF77/..
> -DSTDC_HEADERS=1 -DRETSIGTYPE=void -DIEEE_drem=1 -DSkip_f2c_Undefs=1
> -DIEEE_COMPLEX_DIVIDE=1 -O2 -O2 -march=athlon-xp
> -pipe /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/libf2c/libF77/d_cos.c
> -fPIC -DPIC -o .libs/d_cos.o
> xgcc: cannot specify -o with -c or -S and multiple compilations
> make[3]: *** [d_cos.lo] Error 1
> make[3]: Leaving directory
> `/var/tmp/portage/gcc-3.2.3-r3/work/build/i686-pc-linux-gnu/libf2c/libF77'
> make[2]: *** [f77] Error 2
> make[2]: Leaving directory
> `/var/tmp/portage/gcc-3.2.3-r3/work/build/i686-pc-linux-gnu/libf2c'
> make[1]: *** [all-target-libf2c] Error 2
> make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r3/work/build'
> make: *** [bootstrap-lean] Error 2
>
> !!! ERROR: sys-devel/gcc-3.2.3-r3 failed.
> !!! Function src_compile, Line 411, Exitcode 2
> !!! (no error message)
>
> This is on a box of a friend of mine. On all my systems it works just
fine.
> What could be the cause for this problem?
>
> Regards Sascha
>
> --
> [EMAIL PROTECTED] mailing list
>
>



--
[EMAIL PROTECTED] mailing list

Reply via email to