Xin Li
7400628cb0
[Bug #18997 ] Don't define ruby_qsort when POSIX qsort_r is available
...
The current code would define ruby_qsort as a wrapper of qsort_s
when it is available. When both qsort_s and POSIX (GNU) qsort_r
are available, we should call qsort_r directly instead, and
the qsort_s wrapper is redundant.
2022-09-08 17:37:37 +09:00
rm155
78af05ba0f
[ruby/forwardable] Freeze VERSION and FORWARDABLE_VERSION to improve Ractor-compliance
...
https://github.com/ruby/forwardable/commit/c91f41f4fa
2022-09-08 14:31:42 +09:00
rm155
70e6be2b05
[ruby/ipaddr] Improve Ractor-compliance
...
https://github.com/ruby/ipaddr/commit/73461724e5
2022-09-08 14:09:06 +09:00
Nobuyoshi Nakada
e76a550876
[MSWin] Fix for non-Windows (cygwin/msys) BASERUBY
2022-09-08 13:41:02 +09:00
Nobuyoshi Nakada
26c4230404
[MSWin] Disable rubygems of BASERUBY
2022-09-08 13:41:02 +09:00
Nobuyoshi Nakada
332d29df53
[DOC] non-positive `base` in `Kernel#Integer` and `String#to_i`
2022-09-08 11:52:16 +09:00
git
b1efdcee6e
* 2022-09-08 [ci skip]
2022-09-08 11:25:32 +09:00
David Rodríguez
24fd2f73d0
Resync Bundler & RubyGems
2022-09-08 11:25:03 +09:00
Nobuyoshi Nakada
2d57447ae8
Fix missing replacement in 1f91dcdab3
2022-09-07 19:07:24 +09:00
Nobuyoshi Nakada
35c493ecf5
Dump cross.rb only when verbose [ci skip]
2022-09-07 14:48:54 +09:00
Nobuyoshi Nakada
1f91dcdab3
Define BOOTSTRAPRUBY from HAVE_BASERUBY
2022-09-07 14:33:25 +09:00
Takashi Kokubun
cac0dcfbff
Fix typo
...
I meant the other one. Otherwise this option doesn't make sense.
2022-09-07 14:26:58 +09:00
Takashi Kokubun
496bdf01e2
Adjust pch_status for --mjit=pause
...
to let mjit_add_iseq_to_process work
2022-09-06 22:14:01 -07:00
Takashi Kokubun
f0661bf3a0
Skip early mjit_add_iseq_to_process on --mjit=pause
2022-09-06 18:40:23 -07:00
Nobuyoshi Nakada
e6b47f2fb0
Now Psych uses the proleptic Gregorian calendar
2022-09-07 10:37:01 +09:00
Takashi Kokubun
f24c65ea7e
Skip calling check_unit_queue with mjit_opts.custom
...
fixing the behavior of b726c06e7e
2022-09-06 18:25:46 -07:00
Nobuyoshi Nakada
6a43245e6c
Use BOOTSTRAPRUBY_COMMAND instead of fake.rb directly
2022-09-07 10:08:24 +09:00
Nobuyoshi Nakada
3a575d13d5
Ensure BASERUBY when cross-compiling
2022-09-07 10:08:23 +09:00
Chad Wilson
1b034d66f5
[ruby/psych] Bump snakeyaml from 1.28 to 1.31
...
Resolves CVE-2022-25857, among other fixes.
https://github.com/ruby/psych/commit/918cd25d37
2022-09-07 09:51:57 +09:00
Nobuyoshi Nakada
cbdde8e0c5
[ruby/psych] Dump Date/DateTime as proleptic Gregorian date as well as Time
...
Fix ruby/psych#572
https://github.com/ruby/psych/commit/92304269bc
2022-09-07 09:44:14 +09:00
Hiroshi SHIBATA
bfa6d0f6d7
fixup 8cd6f2a087
...
we should handle ensure block when omit this test
2022-09-07 09:41:28 +09:00
Takashi Kokubun
d5752f73d2
Add another method for debugging
2022-09-07 06:21:13 +09:00
Antonio Paulino
4c1f6750f2
[rubygems/rubygems] Fix: Gem info bug with version flag
...
https://github.com/rubygems/rubygems/commit/e4cee1f975
2022-09-07 06:18:58 +09:00
Takashi Kokubun
87ef90909b
Drop an unused method for debugging
...
and add another useful one instead.
2022-09-07 05:55:55 +09:00
git
a9c85c0c45
* 2022-09-07 [ci skip]
2022-09-07 00:05:24 +09:00
Nobuyoshi Nakada
51022b8e06
Exit status macros need sys/wait.h on FreeBSD
2022-09-07 00:04:28 +09:00
David Rodríguez
1f77cc3894
[rubygems/rubygems] Fix `set` not being found when running specs on dev rubies
...
https://github.com/rubygems/rubygems/commit/c5b2960388
2022-09-06 17:11:47 +09:00
David Rodríguez
c664264c07
[rubygems/rubygems] Add `syntax_suggest` to exemption list in setup specs
...
https://github.com/rubygems/rubygems/commit/f9a51e4380
2022-09-06 17:11:47 +09:00
Hiroshi SHIBATA
29bc3e0daf
omit random failure in bootstraptest with freebsd
...
http://rubyci.s3.amazonaws.com/freebsd13/ruby-master/log/20220902T063002Z.fail.html.gz
2022-09-06 16:27:12 +09:00
Hiroshi SHIBATA
8cd6f2a087
omit random failure tests with FreeBSD
...
http://rubyci.s3.amazonaws.com/freebsd13/ruby-master/log/20220906T043002Z.fail.html.gz
http://rubyci.s3.amazonaws.com/freebsd13/ruby-master/log/20220905T103002Z.fail.html.gz
2022-09-06 16:27:12 +09:00
Takashi Kokubun
03ae415d50
Fix typo
2022-09-06 16:22:43 +09:00
Takashi Kokubun
3f9125aaba
Update c_32.rb
2022-09-06 16:09:29 +09:00
Takashi Kokubun
4214023309
Run mjit-bindgen again
...
I'm thinking about Ruby builtin code instead of doing this.
It'll be hopefully more portable and easier because the same C code could
handle both 32bit and 64bit.
2022-09-06 15:59:08 +09:00
Takashi Kokubun
b726c06e7e
Allow hooking a different method after --mjit=pause
...
The interface is similar to RubyVM::ISeq.translate; it's used if defined.
Same as --mjit=pause, this is an undocumented feature for MJIT experiments.
2022-09-06 15:52:02 +09:00
Takashi Kokubun
341b40bd0c
Cache RubyVM::MJIT constants
...
for performance
2022-09-06 15:50:14 +09:00
Takashi Kokubun
5b3bd91fcb
Add an option to lazily boot MJIT for experiments
...
You may use `RUBYOPT=--mjit=pause irb` to play with RubyVM::MJIT::C,
control the boot timing of MJIT, or customize the implementation while
paused. It's an undocumented feature for such experiments.
2022-09-06 15:45:10 +09:00
Takashi Kokubun
f6925fab85
Do not fork the process on --mjit-wait
...
fork is for parallel compilation, but --mjit-wait cancels it.
It's more useful to not fork it for binding.irb, debugging, etc.
2022-09-06 15:42:02 +09:00
Takashi Kokubun
f4dbfa0f04
Skip test_redefinition_mismatch on trunk-mjit for now
...
Investigating:
http://ci.rvm.jp/logfiles/brlog.trunk-mjit.20220906-025646
which is not immediately reproducible on my laptop.
2022-09-06 15:40:13 +09:00
git
6d10865cc2
Update default gems list at 2657d8efb9
[ci skip]
2022-09-06 01:42:25 +00:00
Hiroshi SHIBATA
2657d8efb9
[ruby/set] Bump version to 1.0.3
...
https://github.com/ruby/set/commit/e2419f2d30
2022-09-06 10:41:20 +09:00
Takashi Kokubun
63ed61e322
Deal with MJIT_FORCE_ENABLE miniruby
...
http://ci.rvm.jp/results/trunk-mjit@phosphorus-docker/4225469
2022-09-05 08:39:37 -07:00
git
ca172540d0
* 2022-09-06 [ci skip]
2022-09-06 00:27:06 +09:00
Takashi Kokubun
27eb7158ee
Workaround unused variable warning by builtin
...
```
<internal:mjit_compiler>:43: warning: assigned but unused variable - iseq_addr
<internal:mjit_compiler>:48: warning: assigned but unused variable - ci_addr
<internal:mjit_compiler>:53: warning: assigned but unused variable - ci_addr
<internal:mjit_compiler>:58: warning: assigned but unused variable - ci_addr
<internal:mjit_compiler>:63: warning: assigned but unused variable - ci_addr
<internal:mjit_compiler>:64: warning: assigned but unused variable - cc_addr
<internal:mjit_compiler>:65: warning: assigned but unused variable - iseq_addr
<internal:mjit_compiler>:75: warning: assigned but unused variable - operands_addr
<internal:mjit_compiler>:80: warning: assigned but unused variable - compiled_body_addr
<internal:mjit_compiler>:81: warning: assigned but unused variable - captured_body_addr
<internal:mjit_compiler>:87: warning: assigned but unused variable - body_addr
<internal:mjit_compiler>:88: warning: assigned but unused variable - is_entries_addr
<internal:mjit_compiler>💯 warning: assigned but unused variable - opes_addr
<internal:mjit_compiler>:110: warning: assigned but unused variable - cc_entries_addr
```
It's clearly a false positive. Until we fix builtin itself, I'd like to
suppress this.
2022-09-05 08:26:34 -07:00
David Rodríguez
6bc6c8d031
[rubygems/rubygems] Remove no longer needed `fiddle` hacks
...
RubyInstaller has released patch versions backporting their changes to
not load `fiddle` on boot, so all these are no longer necessary.
https://github.com/rubygems/rubygems/commit/05a307deb2
2022-09-05 21:21:15 +09:00
Nobuyoshi Nakada
a8a7c9d05d
[DOC] [Bug #17120 ] Fix match-reset `\K`
2022-09-05 19:36:21 +09:00
git
4331d4bbf0
Update default gems list at 113581d288
[ci skip]
2022-09-05 10:06:58 +00:00
Hiroshi SHIBATA
113581d288
[ruby/set] Set version to 1.0.3.dev for fixing rubygems/bundler tests
...
https://github.com/ruby/set/commit/40dda15d7f
2022-09-05 19:05:45 +09:00
Takashi Kokubun
915cbdb226
Stop testing MJIT on s390x
...
It didn't work either.
http://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20220905T080003Z.fail.html.gz
2022-09-05 02:02:17 -07:00
Takashi Kokubun
fb769aaa14
Update MJIT doc about bindgen and platforms [ci skip]
2022-09-05 01:30:50 -07:00
Takashi Kokubun
cb26917d1c
Drop Solaris support for MJIT
...
I tried to debug:
http://rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20220905T070005Z.fail.html.gz
but I don't have sudo privilege to install dependencies such as xz on
that machine. Thus I can't extract a prebuilt libclang binary.
Anyway, if we find out ABI is different from x86_64 / aarch64, we'd like
to have sparc CI associated to GitHub to run `make mjit-bindgen`, but we
can't. Supporting this could be too hard, so I'm leaving it for now.
2022-09-05 01:25:00 -07:00