gcc-3.3.2 bootstrap problem on i386-unknown-openbsd3.4

Kate Minola kminola@po1.glue.umd.edu
Wed Feb 18 20:02:00 GMT 2004


Hi!

While trying to build gcc-3.3.2 on a
i386-unknown-openbsd3.4 machine, I ran into the following
problem when I did 'make bootstrap':

: make[1]: Entering directory `/home/kate/gcc-3.3.2/src/objdir/gcc'
: stage1/xgcc -Bstage1/ -B/home/kate/gcc-3.3.2/i386-openbsd3.4/i386-unknown-openbsd3.4 /bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE -I . -I. -I../../gcc-3.3.2/gcc -I../../gcc-3.3.2/gcc/. -I../../gcc-3.3.2/gcc/config -I../.  ./gcc-3.3.2/gcc/../include ../../gcc-3.3.2/gcc/gengenrtl.c -o gengenrtl.o
: stage1/xgcc -Bstage1/ -B/home/kate/gcc-3.3.2/i386-openbsd3.4/i386-unknown-openbsd3.4 /bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-protot ypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengenrtl \
:  gengenrtl.o ../libiberty/libiberty.a
: /usr/bin/ld: warning: cannot find entry symbol start; defaulting to 1c000320
: /usr/lib/crt0.o: In function `___start':
: /usr/lib/crt0.o(.text+0x8b): undefined reference to `__init'

There followed lots of undefined references for _abort,
_strchr, _strcmp, etc.

I tried both gcc-2.95.3 and egcc-3.2.3 (from the stable 3.4
ports tree) as the bootstrap compiler.  Both failed at the
same point with the same error message.

I also tried to build gcc-3.4-20040206.  Again, it failed
at the same point.

Does anyone have any ideas?

Kate Minola
Engineering Department
University of Maryland, College Park



More information about the Gcc-help mailing list