Bug #20499
closedRuby builds on macOS store absolute paths for AR and NM in rbconfig since Ruby 3.2.3/3.3.0
Description
This is a regression introduced by https://github.com/ruby/ruby/commit/038f9ade3c4d965415e4956561975454cf9eeb21 and causes various downstream problems such as https://github.com/ruby/prism/issues/2716. Development tools on macOS are relocatable - Xcode.app can exist anywhere on the system so it cannot be assumed that the location on the build machine matches the location on the running machine. If an absolute path must be used, /usr/bin/nm
and /usr/bin/ar
are acceptable.
Updated by nobu (Nobuyoshi Nakada) 7 months ago
- Status changed from Open to Closed
Applied in changeset git|8277cf0799145bed0c813bfcc187739f77b3102d.
[Bug #20499] Use consistent version tools with CC
As Apple Xcode is relocatable and selectable with xcode-select
, use
consistent versions of commands in the same location.
Updated by Eregon (Benoit Daloze) 7 months ago
- Backport changed from 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN to 3.1: DONTNEED, 3.2: REQUIRED, 3.3: REQUIRED
Updated by k0kubun (Takashi Kokubun) 7 months ago
- Backport changed from 3.1: DONTNEED, 3.2: REQUIRED, 3.3: REQUIRED to 3.1: DONTNEED, 3.2: REQUIRED, 3.3: DONE
ruby_3_3 d3b139821294f56e6b31e28608c534d9f0920fc2 merged revision(s) 1e08a9f0e9058186db18f29efc6458c00f10a856.
Updated by nagachika (Tomoyuki Chikanaga) 6 months ago
- Backport changed from 3.1: DONTNEED, 3.2: REQUIRED, 3.3: DONE to 3.1: DONTNEED, 3.2: DONE, 3.3: DONE
ruby_3_2 5141d72fde2528721663ddbc0554ac81ddc0656f merged revision(s) 1e08a9f0e9058186db18f29efc6458c00f10a856.
Updated by nobu (Nobuyoshi Nakada) 3 months ago
- Related to Bug #20760: Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64 added