Repository navigation
Stabilise the native-debugger tests (take 2!) - #13965
Conversation
|
I tried looking at your patch and the first part of the diff that shows up is a rename of |
Fixes warnings and spurious failures in the CI.
Debian and Fedora derivatives have different libpaths:
-Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
+Using host libthread_db library "/lib64/libthread_db.so.1".
fixup_libthread
This allows running the tests more easily in Docker images. The sanitization step takes care of removing artifacts of randomization anyway.
Don't redeclare variables that ocamltest always provides in scripts.
bebdab8 to
d7e5842
Compare
Thank you for looking at it!
Noted. |
tmcgilchrist
left a comment
There was a problem hiding this comment.
Thank you for the thorough investigation and bug fix. Disabling ALSR and optimisations in the C compiler look correct to me. Also updating to Xcode 16 shouldn't be a problem, I've been using that locally and haven't encountered any issues.
gasche
left a comment
There was a problem hiding this comment.
Approved on behalf of @tmcgilchrist. Thank you both!
I'm often hit with what @dra27 described in #13762:
It seems lld gives us a clue:
I've followed that advice by disabling the C compiler optimizations for this particular stub, with ocamltest
flags="-g -ccopt -O0"command (which overrides the default-O2), and I don't experience the bug anymore. Is that an acceptable fix/workaround?I've first discovered this problem on macOS 15 arm64.
cc @dra27, @gasche (who reviewed #13762), and @tmcgilchrist