failed to convert GOTPCREL relocation; relink with
今天oj做题返回compilation error:/usr/bin/ld: failed to convert GOTPCREL relocation; relink with --no-relax collect2: error: ld returned 1 exit status
oj是基于hustoj的。
代码里全局变量中开了一个1<<25
的int数组;
数组开小到1<<24
就不报错了
所以这个链接的错误应该是数组开得过大等代码原因
发布评论