collect2: error: ld returned 1 exit status Makefile:104: recipe for target 'product_timestamp' failed make[1]: *** [product_timestamp] Error 1 make[1]: Leaving directory '/home/liyirui/my/csrc'Make exited with status 2 CPU time: .231 seconds to compile + .364 seconds to elab + ...
问题2: collect2: error: ld returned 1 exit status Makefile:104: recipe for target 'product_timestamp' failed make[1]: *** [product_timestamp] Error 1 make[1]: Leaving directory '/home/liyirui/my/csrc' Make exited with status 2 CPU time: .231 seconds to compile + .364 seconds to...
但是遇到了bug如下(忘记截图了) /usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status 从报错来看,应该是没有找到libstdc++.so或者是libstdc++.so.6的文件 但是查了网上的各个文章,有说是应为32位64位不同,需要安装libstdc++-4.4.7-4.el6.i686的 也有说是lib中文件名需要软连接一下...
collect2: error: ld returned 1 exit status make[1]: *** [Makefile:105: product_timestamp] Error 1 make[1]: Leaving directory '/home/caoyue/yuecao/chipyard_test/chipyard/sims/vcs/generated-src/chipyard.TestHarness.RocketConfig/chipyard.TestHarness.RocketConfig' ...
collect2: error: ld returned 1 exit status make[1]: *** [product_timestamp] Error 1 make[1]: Leaving directory `/home/admin/xfer/temp/rocket-chip/vsim/csrc' Make exited with status 2 make: *** [simv-freechips.rocketchip.system-DefaultConfig] Error 2 ...
lib/vcs_save_restore_new.o: relocation R_X86_64_32S against symbol `_sigintr' can not be used when making a PIE object; recompile with -fPIE/usr/bin/ld: failedtosetdynamic section sizes: bad valuecollect2:error: ld returned1exitstatusmake:*** [Makefile:105: product_timestamp]Error1...
collect2: error: ld returned 1 exit status Answer: 1. install gcc-4.8 :'sudo apt install gcc-4.8 g++-4.8' 2. start vcs :vcs -full64 -cpp g++-4.8 -cc gcc-4.8 ... So, In makefile:VCS = vcs -full64 -cpp g++-4.8 -cc gcc-4.8 ... ...
/home/utils/vcs/N-2017.12/linux64/lib/libvcsnew.so: undefined reference to ZsFinalize' collect2: error: ld returned 1 exit status make[1]: *** [product_timestamp] Error 1 make[1]: Leaving directory /home//nvdla/hw/verif/sim/csrc' Make exited with status 2 Is it due to incompatibil...
ld -shared-o .//../simv.daidir//_csrc0.so objs/amcQw_d.o rm -f _csrc0.so ... ... ... collect2:error: ld returned1exitstatus Makefile:104: recipefortarget'product_timestamp' failed make[1]: *** [product_timestamp]Error1 make[1]: Leaving...
collect2: error: ld returned 1 exit status Makefile:104: recipe for target ‘product_timestamp‘ failed make[1]: *** [product_timestamp] Error 1 make[1]: Leaving directory ‘/home/liyirui/my/csrc‘ Make exited with status 2 CPU time: .231 seconds to compile + .364 seconds to elab...