| Age | Commit message (Collapse) | Author |
|
Distinguish between platform-dependent ".rbbin" and platform-
independent ".inc" files.
|
|
Since IBF result string size should be multiple of 4, this should not
increase the binary size actually.
Notes:
Merged: https://github.com/ruby/ruby/pull/13075
|
|
This reverts commit 1d5598fe0d3470e7cab06a756d40a9221fcd501b.
|
|
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 format is architecture-specific, when building on
x86_64 for universal x86_64 + arm64, the serialized builtin module is
written with the x86_64 architecture of the build machine, which fails
this check whenever ruby imports the builtin module on arm64:
https://github.com/ruby/ruby/blob/1fdaa0666086529b3aae2d509a2e71c4247c3a12/compile.c#L13243
Thankfully, there's logic to disable this feature for cross-compiled builds:
https://github.com/ruby/ruby/blob/1fdaa0666086529b3aae2d509a2e71c4247c3a12/builtin.c#L6
This disables the iseq logic for universal builds as well.
Fixes [Bug #18286]
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7473
|
|
|
|
`RubyVM.each_builtin` is not defined when cross compiling.
|
|
To generate what is necessary via generic_erb.rb instead.
Notes:
Merged: https://github.com/ruby/ruby/pull/3097
|