JuliaPackaging / BinaryBuilder.jl

Binary Dependency Builder for Julia
https://binarybuilder.org
Other
392 stars 101 forks source link

[Audit] In some cases the rpath normalisation pass doesn't do its job #1339

Open giordano opened 3 months ago

giordano commented 3 months ago

See https://github.com/JuliaStats/Rmath-julia/issues/44#issuecomment-2278257244. A reproducer is this recipe, built for x86_64-apple-darwin. The library erroneously link to libgcc_s (but that's not the issue discussed here), but with full absolute path /workspace/destdir/x86_64-apple-darwin14/lib/libgcc_s.1.dylib, which doesn't get sanitized by the auditor.