[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcc fails to build on debian-mipsel



Hi,
i am trying to bootstrap debian-mipsel (once again) and failed to build
gcc 2.95.3 (gcc-2.95_2.95.3.ds5-10.dsc) for building glibc 2.2.2

I am currently running egcs 1.1.2, binutils 2.11.90.0.1, glibc 2.0.6
and the build fails with.

I found this message http://lists.debian.org/debian-gcc-0103/msg00015.html
which seems to deal with a similar problem.


stage1/xgcc -Bstage1/ -B/usr/mipsel-linux/bin/ -c  -DIN_GCC     -g -O2   -DHAVE_CONFIG_H    -I. -I/home/flo/gcc-2.95-2.95.3.ds5/src-native/gcc -I/home/flo/gcc-2.95-2.95.3.ds5/src-native/gcc/config -I/home/flo/gcc-2.95-2.95.3.ds5/src-native/gcc/../include obstack.c
stage1/xgcc -Bstage1/ -B/usr/mipsel-linux/bin/  -DIN_GCC     -g -O2   -DHAVE_CONFIG_H  -o gencheck \
 gencheck.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `  ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` 
/usr/lib/crt1.o: In function `__start':
/usr/lib/crt1.o(.text+0x28): undefined reference to `atexit'
/usr/lib/crt1.o: In function `nofini':
/usr/lib/crt1.o(.text+0x7c): undefined reference to `__libc_init_first'
/usr/lib/crt1.o(.text+0xd8): undefined reference to `atexit'
/usr/lib/crt1.o(.text+0x138): undefined reference to `exit'
gencheck.o: In function `usage':
/home/flo/gcc-2.95-2.95.3.ds5/src-native/gcc/gencheck.c:34: undefined reference to `_IO_stderr_'
/home/flo/gcc-2.95-2.95.3.ds5/src-native/gcc/gencheck.c:34: undefined reference to `fprintf'
gencheck.o: In function `main':
/home/flo/gcc-2.95-2.95.3.ds5/src-native/gcc/gencheck.c:50: undefined reference to `exit'
/home/flo/gcc-2.95-2.95.3.ds5/src-native/gcc/gencheck.c:53: undefined reference to `printf'
/home/flo/gcc-2.95-2.95.3.ds5/src-native/gcc/gencheck.c:56: undefined reference to `printf'
gencheck.o: In function `no symbol':
/home/flo/gcc-2.95-2.95.3.ds5/src-native/gcc/gencheck.c:58: undefined reference to `printf'
stage1/libgcc.a(__main.o): In function `no symbol':
/home/flo/gcc-2.95-2.95.3.ds5/src-native/gcc/libgcc2.c(.text+0x154): undefined reference to `atexit'
collect2: ld returned 1 exit status
make[4]: *** [gencheck] Error 1
make[4]: Leaving directory `/home/flo/gcc-2.95-2.95.3.ds5/build-native/gcc'
make[3]: *** [boot_stage_c] Error 2
make[3]: Leaving directory `/home/flo/gcc-2.95-2.95.3.ds5/build-native/gcc'
make[2]: *** [bootstrap-lean] Error 2
make[2]: Leaving directory `/home/flo/gcc-2.95-2.95.3.ds5/build-native'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp-native] Error 1
make[1]: Leaving directory `/home/flo/gcc-2.95-2.95.3.ds5'
make: *** [stamps/05-build-stamp-native] Error 2
flo@repeat:~/gcc-2.95-2.95.3.ds5$ 


Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
     Why is it called "common sense" when nobody seems to have any?



Reply to: