Error trying to bootstrap gnat openbsd cross-compiler

Marc Espie espie@nerim.net
Tue May 28 15:41:00 GMT 2002


gcc 3.1 release, + config/i386/openbsd.h patch needed to
bootstrap C compiler (committed today), and removing the
contents of config/i386/t-openbsd, since mainstream binutils
does not support pic code on OpenBSD.

binutils bootstrapped with --target=i386-unknown-openbsd
without problems.

gcc 3.1 configured with only C and ada sources present, with 
a gnat-3.14p-i686-pc-linux-gnu-bin.tar.gz working gnat compiler,
using 
configure --target=i386-unknown-openbsd

make worked.
I tried to build the tools and library using
make gnatlib_and_tools
and I got to:

../../xgcc -B../../ -c -g -O2 -g -O2   -W -Wall -gnatpg -I.  -I/home/espie/ada/gcc-3.1/gcc/ada s-auxdec.adb
+===========================GNAT BUG DETECTED==============================+
| 3.1 (20020501) (i386-unknown-openbsd) internal error: Illegal instruction|
| No source file position information available 		
| Please submit a bug report, see http://gcc.gnu.org/bugs.html.
| Include the entire contents of this bug box in the report.
| Include the exact gcc or gnatmake command that you entered.
| Also include sources listed below in gnatchop format
| (concatenated together with no headers between files).
+==========================================================================+

Please include these source files with error report


xgcc: Internal error: Segmentation fault (program gnat1)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [s-auxdec.o] Error 1
make[2]: Leaving directory `/home/espie/ada/build/gcc/ada/rts'
make[1]: *** [gnatlib] Error 2
make[1]: Leaving directory `/home/espie/ada/build/gcc/ada'
make: *** [gnatlib] Error 2


No source file to include, no nothing...

Any idea ?



More information about the Gcc-bugs mailing list