Ruby fails to build on macOS 12.6.4 when configured with --enable-shared and --with-jemalloc. I receive the following linking error: ``` building spec/ruby/optional/capi/ext/bignum_spec.bundle Undefined symbols for architecture x86_...eviljoel (evil joel)
@nobu, attached are the requested files. I also included files for Ruby 3.1.4 and 3.0.6. All three versions reported this was fixed but all three versions get the same build error. I agree that GCC 4.8.5 has incomplete C11 support, bu...eviljoel (evil joel)
@hsbt, @nagachika, and @nobu, despite the release notes, this was not successfully backported to Ruby 3.2 in Ruby 3.2.2. I've attached a Dockerfile that proves it. Assuming you have Docker installed, run the file with: ``` shell docker...eviljoel (evil joel)
Agreed that this is a duplicate. Thanks @jaruga. I forgot about SCL. I should probably look into integrating that into my build pipeline.eviljoel (evil joel)
Forgot to include the compile error: ``` compiling miniinit.c In file included from vm_core.h:164:0, from iseq.h:14, from mini_builtin.c:3, from miniinit.c:51: thread_pthread.h:...eviljoel (evil joel)
Source releases where the 'configure' script was generated by autoconf 2.70 or greater results in a failed Ruby compilation on CentOS 7. This is because autoconf 2.70 and 2.71 adds some code that attempts to detect C11 support resulting ...eviljoel (evil joel)
I can't use IO.wait_readable and IO.wait_writable because OpenSSL can renegotiate with two-way communication at any time. Blocking while waiting exclusively for reading or exclusively for writing would cause the program (or any OpenSSL p...eviljoel (evil joel)
@ioquatix, thank you for your reply. The sockets are created in Ruby. I'm interacting with OpenSSL via FFI, so that part is also largely in Ruby. Since I commented yesterday, I fixed the code to work with Ruby 3. I changed all rele...eviljoel (evil joel)
@ioquatix, I maintain a proprietary, custom OpenSSL C extension as part of my company's security scanner. This change broke the unit tests for our C extension. (This change probably also delayed our upgrade to Ruby 3 from Ruby 2.7 due to...eviljoel (evil joel)