glibc >= 2.3.2 for sparc64 target

Roman Duka rduka@mail.ru
Tue Jan 27 21:37:00 GMT 2004


has anyone managed to build glibc-2.3.2 or later for sparc64 target on a 
x86 machine?

glibc-2.3.2 building with gcc-3.3.2 cross compiler gives:

sparc64-unknown-linux-gnu-gcc 
../sysdeps/unix/sysv/linux/sparc/sparc64/pause.c -c -std=gnu99 -O2 -Wall 
-Winline -Wstrict-prototypes -Wwrite-strings -fcall-used-g6 
-I../include -I. 
-I/home/roman/crosstool/TOOLS/build/sparc64-unknown/glibc-build/posix 
-I.. -I../libio 
-I/home/roman/crosstool/TOOLS/build/sparc64-unknown/glibc-build 
-I../sysdeps/sparc/sparc64/elf 
-I../linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64 
-I../linuxthreads/sysdeps/unix/sysv/linux/sparc 
-I../linuxthreads/sysdeps/unix/sysv/linux 
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread 
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix 
-I../linuxthreads/sysdeps/sparc/sparc64 -I../linuxthreads/sysdeps/sparc 
-I../sysdeps/unix/sysv/linux/sparc/sparc64 
-I../sysdeps/unix/sysv/linux/sparc -I../sysdeps/unix/sysv/linux 
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman 
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/sparc 
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/sparc/sparc64/fpu 
-I../sysdeps/sparc/sparc64 -I../sysdeps/wordsize-64 
-I../sysdeps/ieee754/ldbl-128 -I../sysdeps/ieee754/dbl-64 
-I../sysdeps/ieee754/flt-32 -I../sysdeps/sparc/sparc64/soft-fp 
-I../sysdeps/sparc/fpu -I../sysdeps/sparc -I../sysdeps/ieee754 
-I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem 
/home/roman/crosstool/sparc64-unknown/gccmin/bin/../lib/gcc-lib/sparc64-unknown-linux-gnu/3.3.2/include 
-isystem 
/home/roman/crosstool/sparc64-unknown/sparc64-unknown-linux-gnu/include 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o 
/home/roman/crosstool/TOOLS/build/sparc64-unknown/glibc-build/posix/pause.o
../sysdeps/unix/sysv/linux/sparc/sparc64/pause.c:1:39: 
sysdeps/unix/common/pause.c: No such file or directory
make[2]: *** 
[/home/roman/crosstool/TOOLS/build/sparc64-unknown/glibc-build/posix/pause.o] 
Error 1
make[2]: Leaving directory 
`/home/roman/crosstool/TOOLS/build/sparc64-unknown/glibc-2.3.2/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory 
`/home/roman/crosstool/TOOLS/build/sparc64-unknown/glibc-2.3.2'
make: *** [all] Error 2


i got the latest glibc from CVS today, and it still fails
glibc-2.3.3-cvs building with gcc-3.3.2 cross compiler gives:

/home/roman/crosstool/sparc64-unknown/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3.2/../../../../sparc64-unknown-linux-gnu/bin/ld:/home/roman/crosstool/TOOLS/build/sparc64-unknown/glibc-build/shlib.lds:118: 
parse error
collect2: ld returned 1 exit status
make[1]: *** 
[/home/roman/crosstool/TOOLS/build/sparc64-unknown/glibc-build/libc.so] 
Error 1
make[1]: Leaving directory 
`/home/roman/crosstool/TOOLS/build/sparc64-unknown/glibc-2.3.3-cvs'
make: *** [all] Error 2


what's the best place to look for patches for glibc?


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list