Carlo Cabrera a41de81890
Skip rpath relocation of ELF files with protodesc_cold sections
We have multiple formulae (e.g. `ola`, `openvino`, `opencv`, `or-tools`,
`pytorch`) that seem to be broken by `patchelf.rb` on x86_64 Linux.[^1] The
common thread seems to be the presence of a `protodesc_cold` section in
the ELF header.

Let's avoid breaking these bottles by skipping relocation when a binary
file has a `protodesc_cold` section. It will probably hurt
relocatability of these bottles, but that's better shipping broken
binaries.

[^1]: https://github.com/Homebrew/homebrew-core/pull/210860#issue-2918569212
2025-08-11 03:10:07 +08:00
..
2025-07-14 19:12:38 +01:00
2025-07-14 19:12:38 +01:00
2024-10-02 10:03:12 -07:00
2025-06-09 19:06:16 +01:00
2025-06-29 09:02:24 -07:00
2025-08-05 17:13:42 -04:00