I'm trying to compile pypy on RHEL 6.6 and get the following mess of errors. I know it's a lot but here is the relevant information. It seems to get through the translation phase and tries to compile the C code:
[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
So I guess this becomes a question of how do i do the recompile with -fPIC? How do I pass the flag from the rpython call?