On 07/02/17 18:54, Roberto Hexsel wrote:
Greetings,

I built the gcc version, as per the "long instructions", except for
making use of the Debian distro Gnat.

At the end of the compile for a large-ish model, the following complaint
is issued more than 1.000 times (my terminal scrolls 1024 lines):

/home/roberto/ghdl/src/grt/grt-std_logic_1164.adb:127: undefined
reference to `__gnat_rcheck_00'
/home/roberto/ghdl/src/grt/grt-std_logic_1164.adb:127: undefined
reference to `__gnat_rcheck_12'
/home/roberto/ghdl/src/grt/grt-std_logic_1164.adb:128: undefined
reference to `__gnat_rcheck_00'
/home/roberto/ghdl/src/grt/grt-std_logic_1164.adb:128: undefined
reference to `__gnat_rcheck_12'
/usr/local/lib/ghdl/libgrt.a(grt-std_logic_1164.o): In function
`__ghdl_std_ulogic_array_match_ne':
/home/roberto/ghdl/src/grt/grt-std_logic_1164.adb:144: undefined
reference to `__gnat_rcheck_12'
/usr/local/lib/ghdl/libgrt.a(grt-names.o): In function
`grt__names__get_name':
/home/roberto/ghdl/src/grt/grt-names.adb:62: undefined reference to
`__gnat_rcheck_00'
/home/roberto/ghdl/src/grt/grt-names.adb:64: undefined reference to
`__gnat_rcheck_00'
/home/roberto/ghdl/src/grt/grt-names.adb:69: undefined reference to
`__gnat_rcheck_00'
/home/roberto/ghdl/src/grt/grt-names.adb:73: undefined reference to
`__gnat_rcheck_00'
/home/roberto/ghdl/src/grt/grt-names.adb:75: undefined reference to
`__gnat_rcheck_00'
/usr/local/lib/ghdl/libgrt.a(grt-names.o):/home/roberto/ghdl/src/grt/grt-names.adb:77:
more undefined references to `__gnat_rcheck_00' follow
collect2: error: ld returned 1 exit status
ghdl:error: compilation error



As far as I can tell, all the VHDL sources were analysed correctly.
Apparently, the error is in the elaboration phase.

Which version of gnat are you using ?  (Try gnatls -v)

Looks like a very old one.

Tristan.


_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to