[#104004] [Ruby master Feature#17883] Load bundler/setup earlier to make `bundle exec ruby -r` respect Gemfile — mame@...
Issue #17883 has been reported by mame (Yusuke Endoh).
21 messages
2021/05/24
[ruby-core:103734] [Ruby master Bug#17850] `PAGE_SIZE` is no longer a constant for macOS
From:
eregontp@...
Date:
2021-05-05 12:02:47 UTC
List:
ruby-core #103734
Issue #17850 has been updated by Eregon (Benoit Daloze). I wonder why Apple didn't simply define PAGE_SIZE conditionally based on the architecture. ---------------------------------------- Bug #17850: `PAGE_SIZE` is no longer a constant for macOS https://bugs.ruby-lang.org/issues/17850#change-91829 * Author: xtkoba (Tee KOBAYASHI) * Status: Open * Priority: Normal * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- [Build failure for macOS Big Sur (ARM)](http://rubyci.s3.amazonaws.com/osx1100arm/ruby-master/log/20210505T014504Z.log.html.gz) due to `-Wundef` (#17752). It is said in https://www.wwdcnotes.com/notes/wwdc20/10214/ that: * Native page size on Intel is 4 kB, on Apple Silicon it's 16 kB: therefore the PAGE_SIZE macro is no longer a constant. Use: * PAGE_MAX_SIZE for a compile-time upper bound * vm_page_size to read the actual value at runtime -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>