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-06-09 19:06:16 +01:00
2025-02-24 10:23:42 -08:00
2025-07-14 19:12:38 +01:00
2025-02-04 16:27:39 +00:00
2024-03-11 11:46:23 -04:00
2024-09-19 10:58:53 -07:00
2024-08-13 13:09:43 -06:00