General

Profile

benhamilton (Ben Hamilton)

  • Login: benhamilton
  • Registered on: 02/23/2023
  • Last sign in: 02/23/2023

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

11/09/2023

03:24 AM Ruby Bug #18286 (Closed): Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
Applied in changeset commit:git|1d5598fe0d3470e7cab06a756d40a9221fcd501b.
----------
Disable iseq-dumped builtin module for universal x86_64/arm64 binaries
During the build, Ruby has special logic to serialize its own builtin
module to...
benhamilton (Ben Hamilton)
03:24 AM Ruby Revision 1d5598fe (git): Disable iseq-dumped builtin module for universal x86_64/arm64 binaries
During the build, Ruby has special logic to serialize its own builtin
module to disk using the binary iseq format during the build (I assume
for speed so it doesn't have to parse builtin every time it starts
up).
However, since iseq for...
benhamilton (Ben Hamilton)

02/26/2023

01:17 PM Ruby Revision c8bafc3b (git): Fix autoconf RUBY_STACK_GROW_DIRECTION on ARM devices
benhamilton (Ben Hamilton)

02/24/2023

05:25 PM Ruby Bug #18286: Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
I also reproduced the `SIGSEGV` from the original bug using a build with debug symbols:
```
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
* frame #0: 0x00000001002444b4 ruby`ruby_...
benhamilton (Ben Hamilton)

02/23/2023

10:13 PM Ruby Bug #18286: Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
Sent PR https://github.com/ruby/ruby/pull/7367 with a fix.
benhamilton (Ben Hamilton)
09:13 PM Ruby Bug #18286: Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
I think I know what the problem is.
During the build, Ruby has special logic to serialize its own `builtin` module to disk using the binary `iseq` format during the build (I assume for speed so it doesn't have to parse `builtin` every t...
benhamilton (Ben Hamilton)
09:05 PM Ruby Bug #19462 (Closed): MJIT not enabled with universal macOS x86_64 + arm64 build
I'm trying to build a universal macOS x86_64 + arm64 ruby from upstream @ ae9e1aee59b0db1e61aa0473556165f9fd719cde on x86_64 macOS Ventura 13.2, Xcode 14.2, Apple clang version 14.0.0 (clang-1400.0.29.202).
When I run `autoconf && ./c...
benhamilton (Ben Hamilton)

Also available in: Atom