I take gnat 4.3 because with the first try with GNAT 2013 GPL I've got an error 
directly after the beginning of building:

TMs-Air:ghdldrv torsten$ /usr/bin/make target=i686-darwin 
GNAT_LARGS=-Wl,-no_compact_unwind
gcc -c -g -DWITH_GNAT_RUN_TIME -o i386.o ../grt/config/i386.S
../grt/config/i386.S:49:suffix or operands invalid for `push'
../grt/config/i386.S:102:suffix or operands invalid for `push'
../grt/config/i386.S:103:suffix or operands invalid for `push'
../grt/config/i386.S:104:suffix or operands invalid for `push'
../grt/config/i386.S:105:suffix or operands invalid for `push'
../grt/config/i386.S:111:suffix or operands invalid for `pop'
../grt/config/i386.S:112:suffix or operands invalid for `pop'
../grt/config/i386.S:113:suffix or operands invalid for `pop'
../grt/config/i386.S:114:suffix or operands invalid for `pop'
../grt/config/i386.S:128:unknown section type: non_lazy_symbol_pointers
../grt/config/i386.S:128:Rest of line ignored. 1st junk character valued 76 (L).
../grt/config/i386.S:129:Unknown pseudo-op: .indirect_symbol
../grt/config/i386.S:129:Rest of line ignored. 1st junk character valued 95 (_).
make: *** [i386.o] Error 1


I’m not very familiar with the Ada build process, so the other approach with 
gnat 3.4 was my next choice.



Am 27.12.2013 um 12:23 schrieb Brian Drummond <[email protected]>:

> On Fri, 2013-12-27 at 11:58 +0100, Torsten Meißner wrote:
>> with the GNAT_LARGS argument for the Makefile and -gnatwa I can build until 
>> the linker starts its work:
>> 
>> 
>> gnatlink ghdl_mcode.ali -g memsegs_c.o chkstk.o -Wl,-no_compact_unwind 
>> i386.o linux.o times.o grt-cbinding.o grt-cvpi.o
>> ld: warning: can't find atom for N_GSYM stabs 
>> ada_main__gnat_version:G(0,12)=k(0,13)=B(0,14)=ar(0,9);1;67;(0,4) in 
>> b~ghdl_mcode.o
>> ld: warning: can't find atom for N_GSYM stabs 
>> ada_main__ada_main_program_name:G(0,15)=k(0,16)=B(0,17)=ar(0,9);1;16;(0,4) 
>> in b~ghdl_mcode.o
>> ld: warning: can't find atom for N_GSYM stabs 
>> ada_main__u00001:G(0,18)=k(0,19)=B(0,20)=r(0,20);0;037777777777; in 
>> b~ghdl_mcode.o
> 
>> Don’t know if this is an error, which prevents ghdl from working… 
> 
> 
> I think it is...
> 
> it looks like something missing in the Ada standard library...
> 
>> GNA dir bug18351:
>> analyze 18351.vhd
>> elaborate and simulate problem
>> ../../testenv.sh: line 79:  4004 Segmentation fault: 11  $GHDL --elab-run 
>> $GHDL_FLAGS $GHDL_ELABFLAGS $@
> which manifests itself when you run the executable.
> 
>> I build with the GNAT tools, not with Xcode:
>> which gcc
>> /usr/local/ada-4.3/bin/gcc
> 
> It has been observed before that this is a rather old Gnat installation.
> ghdl has been successfully built using FSF Gnat 4.6.3, 4.7.2,
> 4.8.various, Gnat GPL 2013 and some other versions.
> 
> David's (successful) builds use Gnat GPL 2013 as the Ada compiler; I
> don't know offhand which compilers he gave up on...
> 
> Some builds (mine at least) have been bootstrap builds, also building
> libada from the same source code release.
> 
> I suspect you may be compiling a 4.8 compiler and attempting to link
> against a 4.3 libada/runtime system : if so, problems do not surprise
> me.
> 
> Is there a compelling reason you need to build with 4.3? If so, you will
> at least need to configure with --enable-libada and verify that it is
> building and installing correctly; IMO it would be simpler to upgrade
> the Ada compiler instead.
> 
> Thanks for persisting and reporting : knowing what DOESN'T work is at
> least as important as knowing what does...
> 
> - Brian
> 
> 
> _______________________________________________
> Ghdl-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/ghdl-discuss


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

Reply via email to