Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#69278 - [llvm] Remove RPATH from installed files
Attached to Project:
Arch Linux
Opened by Emil (xexaxo) - Sunday, 10 January 2021, 18:22 GMT
Last edited by Evangelos Foutras (foutrelis) - Tuesday, 08 February 2022, 01:19 GMT
Opened by Emil (xexaxo) - Sunday, 10 January 2021, 18:22 GMT
Last edited by Evangelos Foutras (foutrelis) - Tuesday, 08 February 2022, 01:19 GMT
|
DetailsDescription:
By default, LLVM supports installation outside of /usr/lib. As such if force enables the cmake "INSTALL_RPATH" so the RPATH is embedded into the binaries and libraries. Since Arch uses the /usr/lib having the RPATH is not needed (and in some corner-cases wrong). Please drop rpath by using $ cmake -DCMAKE_SKIP_RPATH=TRUE ... Additional info: * package version(s) 11.0.1-1 Steps to reproduce: 1. Rebuild with `cmake -DCMAKE_SKIP_RPATH=TRUE ...` 2. Run any program which uses llvm 3. Things just work |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Tuesday, 08 February 2022, 01:19 GMT
Reason for closing: Implemented
Additional comments about closing: llvm 13.0.1-1
Tuesday, 08 February 2022, 01:19 GMT
Reason for closing: Implemented
Additional comments about closing: llvm 13.0.1-1
Comment by Emil (xexaxo) -
Sunday, 30 January 2022, 20:38 GMT
This patch strips the RPATH as expected. Please give it a try and let me know if you spot any issues.
Comment by Emil (xexaxo) -
Monday, 31 January 2022, 00:16 GMT
v2 is using the _INSTALL_ variant, to avoid test failures.
llvm-remove-rpath.patch
(1 KiB)