Chez Scheme在Ubuntu 20.04上的编译错误:relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object

Chez Scheme在Ubuntu 20.04上的编译错误信息为:

/usr/bin/ld: ../boot/a6le/kernel.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE

 

没看到有谁提到这个问题,估计是用Scheme的人少。搞定办法为:

LDFLAGS=-no-pie ./configure

 

posted @ 2020-06-25 19:27  [Blowfish]  阅读(4030)  评论(0编辑  收藏  举报