Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make helloworld.vsim ERROR #398

Open
SamGuitar opened this issue May 22, 2023 · 1 comment
Open

make helloworld.vsim ERROR #398

SamGuitar opened this issue May 22, 2023 · 1 comment

Comments

@SamGuitar
Copy link

source tcl_files/run.tcl

vsim -quiet tb -L pulpino_lib -L axi_node_lib -L apb_node_lib -L axi_mem_if_DP_lib -L axi_spi_slave_lib -L axi_spi_master_lib -L apb_uart_sv_lib -L apb_gpio_lib -L apb_event_unit_lib -L apb_spi_master_lib -L fpu_lib -L apb_pulpino_lib -L apb_fll_if_lib -L core2axi_lib -L apb_timer_lib -L axi2apb_lib -L apb_i2c_lib -L zero_riscy_lib -L axi_slice_dc_lib -L riscv_lib -L apb_uart_lib -L axi_slice_lib -L adv_dbg_if_lib -L apb2per_lib "+nowarnTRAN" "+nowarnTSCALE" "+nowarnTFMPC" "+MEMLOAD=PRELOAD" -t ps -voptargs="+acc -suppress 2103" -GTEST="" -gRISCY_RV32F=0 -gZERO_RV32E=0 -gZERO_RV32M=0 -gUSE_ZERO_RISCY=0

Start time: 22:04:06 on May 22,2023

** Fatal: ** Error: (vsim-3827) Could not compile 'export_tramp.so': cmd = '/bin/gcc -shared -fPIC -m32 -B/usr/lib32 -g -I. -I"/home/samml/pulpino/intelFPGA/18.1/modelsim_ase/include" -I"/home/samml/pulpino/intelFPGA/18.1/modelsim_ase/../oem/include" -o "/tmp/samml@samml-VirtualBox_dpi_327384/linuxpe_gcc-5.5.0/export_tramp.so" "/tmp/samml@samml-VirtualBox_dpi_327384/linuxpe_gcc-5.5.0/export_tramp.S"'

(vsim-50) A call to system(/bin/gcc -shared -fPIC -m32 -B/usr/lib32 -g -I. -I"/home/samml/pulpino/intelFPGA/18.1/modelsim_ase/include" -I"/home/samml/pulpino/intelFPGA/18.1/modelsim_ase/../oem/include" -o "/tmp/samml@samml-VirtualBox_dpi_327384/linuxpe_gcc-5.5.0/export_tramp.so" "/tmp/samml@samml-VirtualBox_dpi_327384/linuxpe_gcc-5.5.0/export_tramp.S" >'/tmp/questatmp.vQFV8o' 2>&1) returned error code '1'.

The logfile contains the following messages:

/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a when searching for -lgcc

/bin/ld: cannot find -lgcc: No such file or directory

/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libgcc_s.so when searching for -lgcc_s

/bin/ld: cannot find -lgcc_s: No such file or directory

/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libgcc_s.so when searching for -lgcc_s

collect2: error: ld returned 1 exit status

No such file or directory. (errno = ENOENT)

FATAL ERROR while loading design

Error loading design

I had this issue after inserting 'make helloworld.vsim'. What should I do to fix the problem? Thanks

@haresh-seenivasagan
Copy link

HI @SamGuitar i am facing the exact same issue did you manage to find a fix ? if so could you please share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants