On 14 November 2016 at 20:34, Tristan Gingold <tging...@free.fr> wrote:
> Try to add -v options: ghdl -m -v -v ...

ghdl -m -v -v --ieee=synopsys mc8051_top_struc_cfg

... lots of lines indicating that /usr/local/bin/ghdl1-llvm is doing its job ...

/usr/local/bin/ghdl1-llvm:note: List of units not used:
/usr/bin/gcc -o mc8051_top_struc_cfg e~mc8051_top_struc_cfg.o
/usr/local/lib/ghdl/v93/std/std_standard.o
/usr/local/lib/ghdl/v93/synopsys/std_logic_1164.o
/usr/local/lib/ghdl/v93/synopsys/std_logic_1164_body.o
/usr/local/lib/ghdl/v93/synopsys/std_logic_arith.o mc8051_p.o
mc8051_top_.o mc8051_core_.o mc8051_control_.o control_fsm_.o
control_fsm_rtl.o control_fsm_rtl_cfg.o control_mem_.o
control_mem_rtl.o control_mem_rtl_cfg.o mc8051_control_struc.o
mc8051_control_struc_cfg.o mc8051_alu_.o alumux_.o alumux_rtl.o
alumux_rtl_cfg.o alucore_.o alucore_rtl.o alucore_rtl_cfg.o
addsub_core_.o addsub_ovcy_.o addsub_ovcy_rtl.o addsub_ovcy_rtl_cfg.o
addsub_cy_.o addsub_cy_rtl.o addsub_cy_rtl_cfg.o addsub_core_struc.o
addsub_core_struc_cfg.o comb_mltplr_.o comb_mltplr_rtl.o
comb_mltplr_rtl_cfg.o comb_divider_.o comb_divider_rtl.o
comb_divider_rtl_cfg.o dcml_adjust_.o dcml_adjust_rtl.o
dcml_adjust_rtl_cfg.o mc8051_alu_struc.o mc8051_alu_struc_cfg.o
mc8051_siu_.o mc8051_siu_rtl.o mc8051_siu_rtl_cfg.o mc8051_tmrctr_.o
mc8051_tmrctr_rtl.o mc8051_tmrctr_rtl_cfg.o mc8051_core_struc.o
mc8051_core_struc_cfg.o /usr/local/lib/ghdl/v93/std/textio.o
/usr/local/lib/ghdl/v93/std/textio_body.o/usr/local/lib/ghdl/v93/synopsys/std_logic_textio.o
mc8051_rom_.o mc8051_rom_sim.o mc8051_rom_sim_cfg.o mc8051_ram_.o
mc8051_ram_sim.o mc8051_ram_sim_cfg.o mc8051_ramx_.o mc8051_ramx_sim.o
mc8051_ramx_sim_cfg.o mc8051_top_struc.o mc8051_top_struc_cfg.o
/usr/local/lib/ghdl/libgrt.a -ldl -lm
-Wl,--version-script=/usr/local/lib/ghdl/grt.ver -Wl,--export-dynamic
-L./ -lz
/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

... lots of lines indicating that /usr/bin/ld has a problem, and want
me to recompile with -fPIC ...

$> gcc --version
gcc (Debian 6.2.0-11) 6.2.0 20161103
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$> ld --version
GNU ld (GNU Binutils for Debian) 2.27.51.20161108
Copyright (C) 2016 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

If I only knew what I should look for. I'll try to build a couple of
older versions of ghdl from git and see what happens.

-- 
Svenn

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

Reply via email to