[pypy-dev] build error with --shared flag

Max Lavrenov max.lavrenov at gmail.com
Tue Sep 11 11:41:30 CEST 2012


Hello

When i tried build master pypy with --shared flag  i got error:

[translation:ERROR]     /usr/bin/ld: /usr/lib/libffi.a(ffi64.o): relocation
R_X86_64_32S against `.rodata' can not be used when making a shared object;
recompile with -fPIC
[translation:ERROR]     /usr/lib/libffi.a: could not read symbols: Bad value
[translation:ERROR]     collect2: ошибка: выполнение ld завершилось с кодом
возврата 1
[translation:ERROR]     make: *** [libpypy-c.so] Ошибка 1
[translation:ERROR]     """)

What that means?  Should i rebuild my libffi package with -fPIC?   Right
now i've temporary  fixed this probleb with patch def find_libffi_a():
function so it always use dynamic linking.
Will it cause "endless troubles for installing"  ( according comment from
clibffi.py ) ?

Thanks.

Best regards,
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120911/e84aa647/attachment.html>


More information about the pypy-dev mailing list