synopsys VCS errors recording

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

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值