Building gnat on a Solaris 7 box

avasile at csc.com.au avasile at csc.com.au
Thu Jun 21 00:20:30 UTC 2001


I am trying to build a gnat cross compiler on a Sparcstation 10 for a m68k
cpu and keep running into problems. Here is some of the log information.

gcc is /home/css7/B8D_dev/tonyv/bin/gcc
gnatmake is /home/css7/B8D_dev/tonyv/bin/gnatmake

Building a cross GNU C/C++ toolset with the following configuration:
    BINUTILS      -->  binutils-2.9.1
    GCC           -->  gcc-2.8.1
    GNAT          -->  3.13p (20000509) -- Longest possible length for
Gnat_Vers
ion_String in this or any
    NEWLIB        -->  newlib-1.8.2
    TARGET        -->  m68k-rtems
    INSTALL POINT -->  /home/css7/B8D_dev/tonyv/gnatrtems
    BUILD DOCS    -->  no


Building src subdirectory ...
  This directory contains symbolic links to gcc, newlib, and
  binutils so they can be configured and built together.


Compilation will occur in build-m68k-tools.

Configuring for a sparc-sun-solaris2.7 host.


I got this error:

RTEMS/rtems-4.5.0/tools/build-m68k-tools/gcc/xgcc
-BRTEMS/rtems-4.5.0/tools/build-m68k-tools/gcc/ -idirafter
RTEMS/rtems-4.5.0/tools/build-m68k-tools/m68k-rtems/newl
ib/targ-include -idirafter /RTEMS/rtems-4.5.0/tools/src/
newlib/libc/include -nostdinc -DPACKAGE=\"newlib\" -DVERSION=\"1.8.2\"  -I.
-I..
/../../../../../src/newlib/libm/math
-I../../../../../../src/newlib/libm/math/.
./common -O2 -DHAVE_GETTIMEOFDAY -DMALLOC_PROVIDED -DEXIT_PROVIDED
-DMISSING_SYS
CALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_OPENDIR
-I../.
./targ-include -I../../../../../../src/newlib/libm/../libc/include
-fno-builtin
     -O2  -m68000 -c ../../../../../../src/newlib/libm/math/e_fmod.c
xgcc: Internal compiler error: program cc1 got fatal signal 10

I have tried this a couple of times and I keep getting the bus error in the
same spot. Does anyone have any idea on how I can build the cross compiler?

Yours
Tony Vasile
__________________________________________________
CSC Australia
Cnr Nicholson & Oxley Streets, St Leonards NSW 2065
Ph: +61-2-9901-1536    Fax: +61-2-9901-1178    Email: avasile at csc.com.au




More information about the users mailing list