From: Studencki P. <Paw...@er...> - 2001-02-19 14:37:20
|
Hello, I've compiled new toolchain binutils and gcc. Now I'm trying to compile glibc-2.1.3 with a patch glibc-2.1.3-000515.diff and following configuration (it's worked with older gcc) : ------------------------------------------------------------------------ CC="sh-linux-gnu-gcc -ml -m3" \ RANLIB="sh-linux-gnu-ranlib" \ AS="sh-linux-gnu-gcc -ml -m3" \ LD="sh-linux-gnu-gcc -ml -m3" \ AR="sh-linux-gnu-ar" \ BUILD=gcc \ ../glibc-2.1.3/configure --target=sh-linux-gnu --enable-add-ons=crypt,linuxthreads \ --prefix=/usr/local/sh --disable-debug --disable-profile \ --host=sh3-linux --build=i686-linux \ --with-headers=/home/pawel/SH3/BUILD/linux/KERNEL-2.4.0/ebx_linux/include ------------------------------------------------------------------------ and I'm getting this error: --------------------------------------------------------------------------- sh-linux-gnu-gcc -ml -m3 -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings -m3 -ml -I../include -I. -I/home/pawel/SH3/BUILD/glibc/sh-linux-glibc3/c su -I.. -I../libio -I/home/pawel/SH3/BUILD/glibc/sh-linux-glibc3 -I../sysdeps /sh/sh3/elf -I../crypt/sysdeps/unix -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../lin uxthreads/sysdeps/unix -I../linuxthreads/sysdeps/sh -I../sysdeps/unix/sysv/lin ux/sh/sh3 -I../sysdeps/unix/sysv/linux/sh -I../sysdeps/unix/sysv/linux -I../sy sdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/in et -I../sysdeps/unix/sysv -I../sysdeps/unix/sh -I../sysdeps/unix -I../sysdeps/ posix -I../sysdeps/sh/sh3 -I../sysdeps/sh -I../sysdeps/wordsize-32 -I../sysdep s/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic/elf -I../sysdeps/gene ric -nostdinc -isystem /usr/local/sh/lib/gcc-lib/sh-linux-gnu/2.97/include -i system /home/pawel/SH3/BUILD/linux/KERNEL-2.4.0/ebx_linux/include -D_LIBC_REEN TRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -c /home/pawel/S H3/BUILD/glibc/sh-linux-glibc3/csu/Mcrt1.c -o /home/pawel/SH3/BUILD/glibc/sh-l inux-glibc3/csu/Mcrt1.o cc1: Internal error: Segmentation fault. Please submit a full bug report. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. make[2]: *** [/home/pawel/SH3/BUILD/glibc/sh-linux-glibc3/csu/Mcrt1.o] Error 1 make[2]: Leaving directory `/home/pawel/SH3/BUILD/glibc/glibc-2.1.3/csu' make[1]: *** [csu/subdir_lib] Error 2 make[1]: Leaving directory `/home/pawel/SH3/BUILD/glibc/glibc-2.1.3' make: *** [all] Error 2 capella:/home/pawel/SH3/BUILD/glibc/sh-linux-glibc3 # -------------------------------------------------------------------------- Has somebody any ideas what could it be? I suppose, I'm using inproper source files for a new toolchain, but I'm not sure and I don't know which sources are correct. Is it possible to use glibc-2.2.1 or 2.2.2 with other patches? What would you recommend? regards Pawel |