Skip to content

main/ruby: upgrade to 3.1.1

Jakub Jirutka requested to merge jirutka/aports:ruby-3.1.1 into master

Issues

Ruby fails with Bus Error on armv7/armhf [FIXED]

What I’ve already tried:

  • Build without JIT – no effect.
  • Build with --with-coroutine=arm32 (as Void Linux do, but this is legacy option) – no effect.
  • Build with -O2 instead of -Os – fixed the error!
Generating RDoc documentation
/builds/alpine/aports/main/ruby/src/ruby-3.1.1/ruby: [BUG] Bus Error at 0xf7d020bb
ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [armv7-linux-musleabihf]
-- Control frame information -----------------------------------------------
c:0001 p:0000 s:0003 E:ffffe218 (none) [FINISH]
-- Machine register context ------------------------------------------------
  r0: 0xf7d020bb  r1: 0x0000021c  r2: 0x000001e0  r3: 0xf7d1c1e4  r4: 0xf57dc788
  r5: 0xf57dc780  r6: 0x0000000c  r7: 0xffa60830  r8: 0xf7d1c1e4  r9: 0x00000056
 r10: 0x00000002  sp: 0xffa60830 fau: 0xf7d020bb
-- Other runtime information -----------------------------------------------
* Loaded script: /builds/alpine/aports/main/ruby/src/ruby-3.1.1/ruby
* Loaded features:
    0 enumerator.so
    1 thread.rb
    2 fiber.so
    3 rational.so
    4 complex.so
    5 ruby2_keywords.rb
    6 /builds/alpine/aports/main/ruby/src/ruby-3.1.1/.ext/armv7-linux-musleabihf/enc/encdb.so
    7 /builds/alpine/aports/main/ruby/src/ruby-3.1.1/.ext/armv7-linux-musleabihf/enc/trans/transdb.so
* Process memory map:
00530000-00531000 r-xp 00000000 fd:01 2101336                            /builds/alpine/aports/main/ruby/src/ruby-3.1.1/ruby
00540000-00541000 r--p 00000000 fd:01 2101336                            /builds/alpine/aports/main/ruby/src/ruby-3.1.1/ruby
00541000-00542000 rw-p 00001000 fd:01 2101336                            /builds/alpine/aports/main/ruby/src/ruby-3.1.1/ruby
0089f000-008a0000 ---p 00000000 00:00 0                                  [heap]
008a0000-008a4000 rw-p 00000000 00:00 0                                  [heap]
f57c5000-f57df000 rw-p 00000000 00:00 0 
f57df000-f57f0000 r-xp 00000000 fd:01 2760311                            /builds/alpine/aports/main/ruby/src/ruby-3.1.1/.ext/armv7-linux-musleabihf/enc/trans/transdb.so
f57f0000-f57f1000 r--p 00001000 fd:01 2760311                            /builds/alpine/aports/main/ruby/src/ruby-3.1.1/.ext/armv7-linux-musleabihf/enc/trans/transdb.so
f57f1000-f57f2000 rw-p 00002000 fd:01 2760311                            /builds/alpine/aports/main/ruby/src/ruby-3.1.1/.ext/armv7-linux-musleabihf/enc/trans/transdb.so
f57f2000-f57fd000 rw-p 00000000 00:00 0 
f57fd000-f580e000 r-xp 00000000 fd:01 2760271                            /builds/alpine/aports/main/ruby/src/ruby-3.1.1/.ext/armv7-linux-musleabihf/enc/encdb.so
f580e000-f580f000 r--p 00001000 fd:01 2760271                            /builds/alpine/aports/main/ruby/src/ruby-3.1.1/.ext/armv7-linux-musleabihf/enc/encdb.so
f580f000-f5810000 rw-p 00002000 fd:01 2760271                            /builds/alpine/aports/main/ruby/src/ruby-3.1.1/.ext/armv7-linux-musleabihf/enc/encdb.so
f5810000-f581a000 rw-p 00000000 00:00 0 
f581a000-f581b000 ---p 00000000 00:00 0 
f581b000-f583c000 rw-p 00000000 00:00 0 
f583c000-f583d000 ---p 00000000 00:00 0 
f583d000-f585e000 rw-p 00000000 00:00 0 
f585e000-f585f000 ---p 00000000 00:00 0 
f585f000-f5880000 rw-p 00000000 00:00 0 
f5880000-f5881000 ---p 00000000 00:00 0 
f5881000-f58a2000 rw-p 00000000 00:00 0 
f58a2000-f58a3000 ---p 00000000 00:00 0 
f58a3000-f58c4000 rw-p 00000000 00:00 0 
f58c4000-f58c5000 ---p 00000000 00:00 0 
f58c5000-f58e6000 rw-p 00000000 00:00 0 
f58e6000-f58e7000 ---p 00000000 00:00 0 
f58e7000-f5908000 rw-p 00000000 00:00 0 
f5908000-f5909000 ---p 00000000 00:00 0 
f5909000-f7a8f000 rw-p 00000000 00:00 0 
f7a8f000-f7a9f000 r-xp 00000000 fd:01 786619                             /lib/libucontext.so.1
f7a9f000-f7aa0000 r--p 00000000 fd:01 786619                             /lib/libucontext.so.1
f7aa0000-f7aa1000 rw-p 00001000 fd:01 786619                             /lib/libucontext.so.1
f7aa1000-f7af1000 r-xp 00000000 fd:01 4984595                            /usr/lib/libgmp.so.10.4.1
f7af1000-f7af2000 r--p 00040000 fd:01 4984595                            /usr/lib/libgmp.so.10.4.1
f7af2000-f7af3000 rw-p 00041000 fd:01 4984595                            /usr/lib/libgmp.so.10.4.1
f7af3000-f7b11000 r-xp 00000000 fd:01 4981482                            /lib/libz.so.1.2.12
f7b11000-f7b12000 r--p 0000e000 fd:01 4981482                            /lib/libz.so.1.2.12
f7b12000-f7b13000 rw-p 0000f000 fd:01 4981482                            /lib/libz.so.1.2.12
f7b13000-f7d19000 r-xp 00000000 fd:01 2101331                            /builds/alpine/aports/main/ruby/src/ruby-3.1.1/libruby.so.3.1.1
f7d19000-f7d1e000 r--p 001f6000 fd:01 2101331                            /builds/alpine/aports/main/ruby/src/ruby-3.1.1/libruby.so.3.1.1
f7d1e000-f7d1f000 rw-p 001fb000 fd:01 2101331                            /builds/alpine/aports/main/ruby/src/ruby-3.1.1/libruby.so.3.1.1
f7d1f000-f7d25000 rw-p 00000000 00:00 0 
f7d25000-f7d9e000 r-xp 00000000 fd:01 4981476                            /lib/ld-musl-armhf.so.1
f7d9e000-f7dac000 rw-p 00000000 00:00 0 
f7dac000-f7dad000 r-xp 00000000 00:00 0                                  [sigpage]
f7dad000-f7daf000 rw-p 00078000 fd:01 4981476                            /lib/ld-musl-armhf.so.1
f7daf000-f7db0000 rw-p 00000000 00:00 0 
ff266000-ffa65000 rw-p 00000000 00:00 0                                  [stack]
ffff0000-ffff1000 r-xp 00000000 00:00 0                                  [vectors]
make: *** [uncommon.mk:572: rdoc] Aborted (core dumped)
Edited by Jakub Jirutka

Merge request reports

Loading