On 14/11/16 15:48, Svenn Are Bjerkem wrote:
Hi,
just pulled latest ghdl from github and rebuild the way I usually do:
git pull
make distclean
./configure --with-llvm-config
make
sudo make install

First thing I notice is when building a project I have built before is:

ghdl -m --ieee=synopsys mc8051_top_struc_cfg

elaborate mc8051_top_struc_cfg
/usr/bin/ld: e~mc8051_top_struc_cfg.o: relocation R_X86_64_32 against
`.rodata' can not be used when making a shared object; recompile with
-fPIC
... one such error line for each file ...

I guess I have done something wrong somewhere, but I don't quite grok
what it is.

Try to add -v options: ghdl -m -v -v ...

I suppose something has changed with gcc or ld.
Maybe an implicit -fpie

Regards,
Tristan.


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

Reply via email to