1. vcs_save_restore_new.o: relocation R_X86_64_32S [Ubuntu 18.04]
$VCSHOME/linux64/lib/vcs_save_restore_new.o: relocation R_X86_64_32S against undefined symbol `_sigintr' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
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 ...
REF: http://bbs.eetop.cn/thread-839371-1-1.html
2. libvcsnew.so: undefined reference to...
cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C [enabled by default]
/home/SoftwareI/Synopsys/VCS_v2017.03/linux64/lib/libvcsnew.so: undefined reference to `snpsCheckCallocFromGroupFunc'
/home/SoftwareI/Synopsys/VCS_v2017.03/linux64/lib/libvcsnew.so: undefined reference to `ZsFinalize'
/home/SoftwareI/Synopsys/VCS_v2017.03/linux64/lib/libvcsnew.so: undefined reference to `snpsSetSmallCaching'
/home/SoftwareI/Synopsys/VCS_v2017.03/linux64/lib/libvcsucli.so: undefined reference to `initNativeUcli'
/home/SoftwareI/Synopsys/VCS_v2017.03/linux64/lib/libvcsnew.so: undefined reference to `snpsGroupSize'
/home/SoftwareI/Synopsys/VCS_v2017.03/linux64/lib/libvcsnew.so: undefined reference to `ZsInitCheck'
/home/SoftwareI/Synopsys/VCS_v2017.03/linux64/lib/libvcsnew.so: undefined reference to `ZsSetLogicValue'
/home/SoftwareI/Synopsys/VCS_v201