我试图在RHEL 6.6上编译pypy并获得以下混乱的错误。我知道很多,但这里是相关信息。它似乎完成了翻译阶段并尝试编译C代码:
[translation:ERROR] /usr/bin/ld: /usr/lib/libexpat.a(xmlparse.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
[translation:ERROR] /usr/lib/libexpat.a: could not read symbols: Bad value
[translation:ERROR] collect2: error: ld returned 1 exit status
[translation:ERROR] make: *** [libpypy-c.so] Error 1
所以我想这会成为我如何使用-fPIC 重新编译的问题?如何从rpython调用传递标志?