64-bit System: gcc compiliert nicht...

Frederik Klama fklama at Phreaker.net
Fri Jan 30 22:36:47 CET 2004


Danke mit dem tip das ich an der Makefile basteln muss, ich habe CROSS_COMPILE 
und ARCH entsprechend gesetzt, und bin jetzt stolzer Besitzer eines 64-bit 
Kernels! :-))

Ich versuche nun eine statisch gelinkte toolchain in /tools aufzubauen, um 
damit ein volles 64-bit System zu basteln (siehe LFS 5.0). Aber leider 
weigert sich gcc-3.2.3 sich selbst zu kompilieren.
Ich versuche also mit meinem 32-bit gcc-3.2.3 cross-compiler fuer x86_64 (ist 
im PATH drin) nun einen 64-bit gcc zu stricken.
Ich bekomme aber leider nur die am Ende der Mail angehangene Meldung.

Hat da irgend jemand villeicht Erfahrung oder auch nur eine Idee woran das 
liegen koennte ???

Frederik Klama

<begin gcc output>
./xgcc -B./ -B/tools/x86_64-unknown-linux-gnu/bin/ -isystem /tools/
x86_64-unknown-linux-gnu/include -isystem /tools/x86_64-unknown-linux-gnu/
sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-3.2.3/gcc -I../../
gcc-3.2.3/gcc/. -I../../gcc-3.2.3/gcc/config -I../../gcc-3.2.3/gcc/../include 
-fexceptions -c ../../gcc-3.2.3/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
../../gcc-3.2.3/gcc/unwind-dw2.c: In function `uw_frame_state_for':
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `rsp'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `rax'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `rbx'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `rcx'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `rdx'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `rbp'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `rsi'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `rdi'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `r8'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `r9'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `r10'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `r11'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `r12'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `r13'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `r14'
../../gcc-3.2.3/gcc/unwind-dw2.c:913: structure has no member named `r15'
make[3]: *** [libgcc/./unwind-dw2.o] Error 1
make[3]: Leaving directory `/mnt/36G/lfs64/src/gcc-build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/mnt/36G/lfs64/src/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/36G/lfs64/src/gcc-build/gcc'
make: *** [bootstrap] Error 2
<end gcc output>



More information about the Linux mailing list