(2)/usr/bin/ld: /xxx/synopsys/vcs_vO-2018.09-SP2/linux64/lib/libvcsnew.so: undefined reference to `snps_mem_realloc'
解决方案:
在vcs选项中加入:-LDFLAGS -Wl,--no-as-needed
(3)/usr/bin/ld: /xxx/synopsys/vcs_mx_vO-2018.09-SP2/linux64/lib/vcs_save_restore_new.o: in function `SNPSee_907e539fb4bc8f7101eac356af4ce4ed':
../../OBJ/lib/saverestoreobj/obj-linux64/kernel.o: (.text+0xc41): undefined reference to `pthread_yield'collect2: error: ld returned 1 exit statusmake: *** [Makefile:110: product_timestamp] Error 1Make exited with status 2
(4)In file included from /xxx/synopsys/vcs_vO-2018.09-SP2/etc/uvm/dpi/uvm_dpi.cc:39:
/home/tools/synopsys/vcs_vO-2018.09-SP2/etc/uvm/dpi/uvm_hdl.c:50:8: error: extended character ? is not valid in an identifier
50 | #error ?UVM_ERROR: THIS VERSION OF VCS DOESN?T SUPPORT VCSMX_FAST_UVM. Compile without -DVCSMX_FAST_UVM?