Subject: Help with Ada for NetBSD...
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Jesus M. Gonzalez <jgb@ordago.uc3m.es>
List: current-users
Date: 08/22/1994 11:31:42
Sometime ago I posted a similar message in this list... Since then,
I had some problems, and couldn't go on with it. But now,
I'm here again...
I'v managed to build a cross GNAT compiler (SunOS 4.1 -> NetBSD 0.9a)
that compiles 'some' Ada programs that run happyly on NetBSD.
But I have problems when I try to build the 'native' compiler itself.
GNAT is build using GCC 2.5.8 and some Ada files. Problems arise
when I try to build gnat1, the Ada driver for GCC. It seems to
build o.k., but dies from segmentation fault when I run it. With
gdb, I get the following (post-mortem):
% gdb gnat1 gnat1.core
Core was generated by `gnat1'.
Program terminated with signal 11, Segmentation fault.
Cannot access memory at address 0x102c6040.
#0 0x1416f5 in stand__create_standard () at stand.adb:452
452 Set_Char_Literal_Value (B_Node, 16#FF#);
Function "abort" not defined.
(gdb)
Anybody out there can help me with this? I'm using NetBSD 0.9a,
GCC 2.5.8 and GNAT 1.81. Specially, I'd like to hear from
patches to GCC to build clean on NetBSD, or from somebody
with GDB knowdledge than can help with what the debbuging means,
or... Wel, or anybody willing to help. I'm really out of
ideas now...
Thanks in advance,
Jesus.
--
Jesus M. Gonzalez Barahona | Universidad Carlos III (Madrid, Spain)
tel: +34 1 624 94 58 | e-mail: jgb@inf.uc3m.es
fax: +34 1 624 94 30 | jgb@ordago.uc3m.es
(Sometimes our headers are not o.k., please reply to any of this addresses)
.From within Universidad Carlos III, you can better use jgb@ordago.uc3m.es
------------------------------------------------------------------------------