

On macOS, you should not use Objective-C classes for the first time in a process forked from a multithreaded process without exec.Minimum reproducible code is here Process. I've been doing some digging around the TestProcess#test_daemon_noclose test failure. I will track this until the official release date. MacOS 13 beta is still development status. I already shared this to (Takashi Kokubun). TestMJIT#test_lambda_longjmp :Įxpected 1 times of JIT success, but succeeded 0 times. But I also got the test failure with mjit. I could build with -with-out-ext=+,bigdecimal -enable-share option. It's affected with static inline declaration in missing.h of bigdecimal. /./include/ruby/internal/intern/rational.h:128:7: note: previous declaration is here missing.h:127:1: error: static declaration of 'rb_rational_num' follows non-static declaration With -enabled-shared resolved the first error. Ld: symbol(s) not found for architecture arm64Ĭlang: error: linker command failed with exit code 1 (use -v to see (Yuta Saito) says this error affects with -undefined dynamic_lookup flags.

"_rb_define_singleton_method", referenced from: "_rb_arithmetic_sequence_extract", referenced from: Undefined symbols for architecture arm64: Linking shared-object -test-/arith_seq/extract.bundle I build ruby master without -enable-shared option. It breaks the build status caused by Xcode 14 beta changes. Today, I tried to build ruby master with macOS 13 (Ventura) Beta. We should add -without=+,bigdecimal -enable-shared to the configure option. Option 2: macOS 13 (Ventura) couldn't install Xcode13.If you already update Xcode 14, you remove them with sudo rm -rf /Library/Developer/CommandLineTools and install Xcode 13.x or toolchains from Option 1: We strongly recommend to not upgrade Xcode 14 and its toolchains for macOS 12(Monterey) users.But the stable versions are not released yet. TL DR: We fixed this issue at Ruby 2.7-3.1 and master branch.
