On 26 Dec 2013, at 10:42 pm, [email protected] wrote:

> I think this version of gnat is slightly too old, that's the
> reason why you need to link with -no_compact_unwind.

Adacore unfortunately doesn't make a newer i386 gnat available any longer.

You should be able to re-link with the -no_compact_unwind flag.  It's the last 
step before make install.mcode, which likely should be redone, too.

rm ghdl_mcode
make target=darwin-i686

will demonstrate the the incorrect linking:

gnatlink ghdl_mcode.ali -g memsegs_c.o chkstk.o i386.o linux.o times.o 
grt-cbinding.o grt-cvpi.o

Where adding in the flag:

gnatlink -no_compact_unwind ghdl_mcode.ali -g memsegs_c.o chkstk.o i386.o 
linux.o times.o grt-cbinding.o grt-cvpi.o

david_koontz@Macbook: gnatlink --no_compact_unwind ghdl_mcode.ali -g 
memsegs_c.o chkstk.o i386.o linux.o times.o grt-cbinding.o grt-cvpi.o
ld: warning: could not create compact unwind for __Unwind_ForcedUnwind: 
non-standard register 0 being saved in prolog
ld: warning: could not create compact unwind for __Unwind_Resume: non-standard 
register 0 being saved in prolog
ld: warning: could not create compact unwind for __Unwind_RaiseException: 
non-standard register 0 being saved in prolog
ld: warning: could not create compact unwind for __Unwind_Resume_or_Rethrow: 
non-standard register 0 being saved in prolog

Doesn't appear to do anything different.

The ld command in question would be /usr/bin/ld dated 26 October, saying part 
of 10.9 install.





_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to