Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41988 - crossdev on amd64 fails to build full toolchain for i586 but succeeds for kernel toolchain
Summary: crossdev on amd64 fails to build full toolchain for i586 but succeeds for ker...
Status: RESOLVED DUPLICATE of bug 53885
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Joshua Kinard
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-17 19:39 UTC by Torne Wuff
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torne Wuff 2004-02-17 19:39:21 UTC
Using crossdev-0.4 on amd64 (unmasked), crossdev fails to build a full toolchain for i586, failing with the following:
/var/tmp/portage/crossdevbuild/gcc-3.3.2/buildfullhere-i586/gcc/xgcc -B/var/tmp/portage/crossdevbuild/gcc-3.3.2/buildfullhere-i586/gcc/ -B/usr/crossdev/i586/i586-pc-linux-gnu/bin/ -B/usr/crossdev/i586/i586-pc-linux-gnu/lib/ -isystem /usr/crossdev/i586/i586-pc-linux-gnu/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -DHAVE_SYSLOG -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -D_LIBC_PROVIDES_SSP_ -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include -fexceptions -c ../../gcc/unwind-dw2-fde-glibc.c -o libgcc/./unwind-dw2-fde-glibc.o
../../gcc/unwind-dw2.c: In function `uw_frame_state_for':
../../gcc/unwind-dw2.c:947: error: structure has no member named `esp'
../../gcc/unwind-dw2.c:947: error: structure has no member named `eax'
../../gcc/unwind-dw2.c:947: error: structure has no member named `ebx'
../../gcc/unwind-dw2.c:947: error: structure has no member named `ecx'
../../gcc/unwind-dw2.c:947: error: structure has no member named `edx'
../../gcc/unwind-dw2.c:947: error: structure has no member named `esi'
../../gcc/unwind-dw2.c:947: error: structure has no member named `edi'
../../gcc/unwind-dw2.c:947: error: structure has no member named `ebp'
../../gcc/unwind-dw2.c:947: error: structure has no member named `eip'
make[2]: *** [libgcc/./unwind-dw2.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/crossdevbuild/gcc-3.3.2/buildfullhere-i586/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/var/tmp/portage/crossdevbuild/gcc-3.3.2/buildfullhere-i586/gcc'
make: *** [all-gcc] Error 2

 * InstallGccFull(): Failed to compile!

However, building a kernel toolchain works.

Reproducible: Always
Steps to Reproduce:
1. Install crossdev-0.4 on amd64
2. run 'crossdev -u --arch=i586'
3. wait for compile to fail
Actual Results:  
Above error.
Comment 1 postmodern 2004-03-16 12:45:38 UTC
I received the following error in the gcc boot section of i486 and i686.

make[1]: Leaving directory `/var/tmp/portage/crossdevbuild/gcc-3.3.3/buildboothere-i486/libiberty'
make[1]: Entering directory `/var/tmp/portage/crossdevbuild/gcc-3.3.3/buildboothere-i486/fastjar'
make[1]: *** No rule to make target `../gcc/doc/include/gcc-common.texi', needed by `fastjar.info'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/crossdevbuild/gcc-3.3.3/buildboothere-i486/fastjar'
make: *** [all-fastjar] Error 2

 * InstallGccBootstrap(): Failed to compile!

and

make[1]: Leaving directory `/var/tmp/portage/crossdevbuild/gcc-3.3.3/buildboothere-i686/libiberty'
make[1]: Entering directory `/var/tmp/portage/crossdevbuild/gcc-3.3.3/buildboothere-i686/fastjar'
make[1]: *** No rule to make target `../gcc/doc/include/gcc-common.texi', needed by `fastjar.info'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/crossdevbuild/gcc-3.3.3/buildboothere-i686/fastjar'
make: *** [all-fastjar] Error 2

 * InstallGccBootstrap(): Failed to compile!
Comment 2 Joshua Kinard gentoo-dev 2004-07-01 00:56:41 UTC
See Comment #2 on Bug #53885.

*** This bug has been marked as a duplicate of 53885 ***