On Fri, 17 Jan 2014 08:18:04 -0500 Adam Jensen <[email protected]> wrote:
> On x86_64: > The basic build process produced a ghdl that would generate an -ldl > related problem during the elaborate stage. A post-build modification > of grt.lst resulted in a ghdl that would analyze and elaborate without > a problem. I don't think I actually ran the simulation. > Analyze completes without problems. Elaborate gives this response: $ elaborate dlx_test_behaviour /usr/bin/ld: cannot find -ldl collect2: error: ld returned 1 exit status ghdl: compilation error ghdl: file 'dlx_test_behaviour' does not exists ghdl: Please elaborate your design. Modify usr/lib/gcc/*/4.8.2/vhdl/lib/grt.lst --- grt.lst.orig 2014-01-17 08:44:08.000000000 -0500 +++ grt.lst 2014-01-17 08:44:21.000000000 -0500 @@ -1,6 +1,5 @@ @/libgrt.a -lpthread --ldl -lm -L./ -lz Analyze and elaborate complete without any errors or warnings. Running the simulation gives this response: $ ghdl -r dlx_test_behaviour --assert-level=note Assertion failed: (res == 0), function grt_stack_switch, file /home/hanzer/ghdl_build/source/gcc-4.8-20130808/gcc/vhdl/grt/config/pthread.c, line 180. Assertion failed: (res == 0), function grt_stack_switch, file /home/hanzer/ghdl_build/source/gcc-4.8-20130808/gcc/vhdl/grt/config/pthread.c, line 174. ghdl: exec error This variation of grt.lst also fails with the same message: --- grt.lst.orig 2014-01-17 08:44:08.000000000 -0500 +++ grt.lst 2014-01-17 08:51:08.000000000 -0500 @@ -1,6 +1,5 @@ @/libgrt.a --lpthread --ldl +-pthread -lm -L./ -lz
signature.asc
Description: PGP signature
_______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
