Investigate failure on truffleruby-head + macOS + XCode 14.2#75
Investigate failure on truffleruby-head + macOS + XCode 14.2#75eregon wants to merge 7 commits intoruby:masterfrom
Conversation
|
Mmh moving it to another function does not seem to help: https://github.com/ruby/zlib/actions/runs/7512241958/job/20452716267?pr=75 Looking at dlopen man pages for RTLD_LAZY there are some differences which could be what I guessed above, but not sure: Though that does sound like it should only resolve it when the external function is called, not when the caller function is called, so probably my guess is wrong. Linux (man dlopen): My next guess is tests do something different on macOS and do trigger that dummy encoding path (which uses |
|
https://github.com/ruby/zlib/actions/runs/7512241958/job/20452716267?pr=75#step:4:32 |
|
|
6d1243c to
f66f192
Compare
|
If https://opensource.apple.com/source/dyld/dyld-239.3/include/dlfcn.h.auto.html is correct (but is it?) |
f66f192 to
18ab33d
Compare
6baf188 to
b418041
Compare
|
|
Yeah that seems to be it. So it seems the same issue that CRuby had for XCode 14 in:
Also it might be fixed in XCode 14.3: python/cpython#97524 (comment) |
* macos-latest, which currently resolves to macos-12 ships uses XCode 14.2 which has a known bug for -undefined dynamic_lookup which causes truffleruby to fail: ruby#75 (comment)
|
For now let's use macos 13 so we don't have the problematic XCode 14.2: #76 |
|
macos-12 (same as macos-latest) + |
From #73 (comment)