I have run into the same xgcc failure when trying to upgrade from
gcc-3.4.3-20050110 to gcc-3.4.4.  There is a bug report for the problem
that I tagged my report into:

http://bugs.gentoo.org/show_bug.cgi?id=95212

This has stopped me from upgrading to the 3.4.4 release.  The problem
probably has to do with the fact that I am still running 2004.3 profile,
not the recent 2005.0 or .1 profile.  I hope someone recognizes the
problem and can supply a fix.

Good luck,


Steve Herber    [EMAIL PROTECTED]               work: 206-221-7262
Security Engineer, UW Medicine, IT Services     home: 425-454-2399

On Mon, 13 Jun 2005, antoine wrote:

I was trying to solve this annoying little problem:
http://www.mail-archive.com/gentoo-hardened@lists.gentoo.org/msg00029.html
(btw this is a 2004.1 selinux profile - selinux in permissive mode so it
shouldn't interfere)

The solution advised above was to upgrade portage + sandbox, but when I
tried to do so (after unmasking the latest portage&sandbox packages),
portage complained that I had problems with my multilib setup. So I
thought I'd try to re-emerge the current portage (as a test), but it
didn't get very far either. I then thought I'd try to rebuild gcc and
glibc but gcc is clearly broken (glibc built fine):

checking for
x86_64-pc-linux-gnu-gcc... /var/tmp/portage/gcc-3.4.3-r1/work/build/gcc/xgcc 
-B/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ 
-B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include 
-isystem /usr/x86_64-pc-linux-gnu/sys-include  -m32
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.3-r1 failed.
!!! Function gcc_do_make, Line 1205, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status
message.

I am certain the kernel has support for 32bit emulation (I even compiled
a hello-world program with gcc +/- -m32 to check it), so what is this
all about and how do I get out of this mess? Help!

Thanks
Antoine

--
gentoo-amd64@gentoo.org mailing list

--
gentoo-amd64@gentoo.org mailing list

Reply via email to