FS#54886 - compile link error with new gcc
Attached to Project:
Arch Linux
Opened by pascal (yaute) - Thursday, 20 July 2017, 09:32 GMT
Last edited by Jan de Groot (JGC) - Thursday, 20 July 2017, 11:41 GMT
Opened by pascal (yaute) - Thursday, 20 July 2017, 09:32 GMT
Last edited by Jan de Groot (JGC) - Thursday, 20 July 2017, 11:41 GMT
|
Details
Description:
With the new gcc & gcc-libs package (7.1.1-4) I cannot compile my program, it cannot link with static library. I have this errors: ... /usr/bin/ld: /home/test/sources/trunk/linux-x86-64/libssl/lib/libcrypto.a(bio_ndef.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompilé avec -fPIC ... Additional info: If I downgrade gcc & gcc-libs to 7.1.1-3 as before all it's ok. Regards |
This task depends upon
I have a lot of libraries and it must run on other linux distribution and older linux
There no other solution than rebuild the librairies ?
thanks