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

Re: gcc fails to build on debian-mipsel



On Mon, Apr 02, 2001 at 07:08:01PM +0200, Florian Lohoff wrote:
> 
> 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'

Looks like you are mixing some libc things here. Are you sure you have a
pure 2.0.6 install with no glibc 2.2.x things laying around?

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: