FS#77239 - [libc++] missing fPIC results in linker error
Attached to Project:
Community Packages
Opened by Leif-Eric Stoffers (Babrorian) - Monday, 23 January 2023, 11:05 GMT
Last edited by Anatol Pomozov (anatolik) - Monday, 23 January 2023, 19:54 GMT
Opened by Leif-Eric Stoffers (Babrorian) - Monday, 23 January 2023, 11:05 GMT
Last edited by Anatol Pomozov (anatolik) - Monday, 23 January 2023, 19:54 GMT
|
Details
Description:
When linking libc++ and libc++abi statically (.a), it may happen, that linking fails, suggesting to recompile libc++ and libc++abi with -fPIC. Adding -DLLVM_ENABLE_PIC=ON in the PKGBUILD resolves the problem. Additional info: * package version(s): 14.0.6 Steps to reproduce: Link large projects (shared libs) with libc++ or libc++abi |
This task depends upon
Closed by Anatol Pomozov (anatolik)
Monday, 23 January 2023, 19:54 GMT
Reason for closing: Implemented
Additional comments about closing: 15.0.7-3
Monday, 23 January 2023, 19:54 GMT
Reason for closing: Implemented
Additional comments about closing: 15.0.7-3