From ef89522446fdf679d01a109427977a981fefa0ce Mon Sep 17 00:00:00 2001 From: Carlo Cabrera Date: Tue, 12 Aug 2025 00:27:39 +0800 Subject: [PATCH] os/linux/keg_relocate: remove `protodesc_cold` exclusion This needs to be handled more carefully. It probably works fine for bottles built *after* this change was added, but it breaks bottles built before this exclusion was added. Let's remove it for now to limit the extent of the breakage. --- Library/Homebrew/extend/os/linux/keg_relocate.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/Library/Homebrew/extend/os/linux/keg_relocate.rb b/Library/Homebrew/extend/os/linux/keg_relocate.rb index d6331b5e98..42e32dbf65 100644 --- a/Library/Homebrew/extend/os/linux/keg_relocate.rb +++ b/Library/Homebrew/extend/os/linux/keg_relocate.rb @@ -19,9 +19,6 @@ class Keg def change_rpath!(file, old_prefix, new_prefix) return false if !file.elf? || !file.dynamic_elf? - # Skip relocation of files with `protodesc_cold` sections because patchelf.rb seems to break them. - # https://github.com/Homebrew/homebrew-core/pull/232490#issuecomment-3161362452 - return false if Hardware::CPU.intel? && file.section_names.include?("protodesc_cold") updated = {} old_rpath = file.rpath