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