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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Loading...