>> pid = fork { p File.realpath "/" }
>> Process.waitpid(pid)
objc[82573]: +[NSPlaceholderMutableString initialize] may have been in progress in another thread when fork() was called.
objc[82573]: +[NSPlaceholderMutableString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
=> 82573
linking shared-object oj/introspect/introspect_ext.bundle
ld: -undefined dynamic_lookup cannot be used with -U
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This line is broken with Xcode 16 beta.
linking shared-object oj/introspect/introspect_ext.bundle
ld: -undefined dynamic_lookup cannot be used with -U
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The Xcode version had no effect on this.
In fact, the same error appeared on macOS 15.0 for binaries built with either 16 RC or earlier versions.
Upgrading to macOS 15.1 beta (24B5046f) made the error go away.
macOS 15.0 24A5331b seems to have a weird issue that CFStringCreateWithBytesNoCopy does not return NSTaggedPointerString
instance for the first call. This issue is fixed in macOS 15.1 but we
need to workaround it for macOS 15.0.