Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub CI: Disable Toooba test for macos-13 #674

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

quark17
Copy link
Collaborator

@quark17 quark17 commented Feb 18, 2024

The elf_to_hex program in Toooba segfaults on macos-13, causing the job to fail. Until this is resolved, this PR disables the Toooba test for macos-13.

An alternative would be to keep a pre-built hex file somewhere, but I'm not sure what's the best way to do that.

I don't have macos-13 to debug the segfault on. I tried running gdb in the VM, but that seems to hang -- and also hangs when run on my macos-11 system. I then tried valgrind, but I couldn't get it installed -- the configure step said that the kernel version is unsupported (even though it says it supports macOS 13).

@quark17 quark17 merged commit d6b6ceb into B-Lang-org:main Feb 19, 2024
43 checks passed
@quark17 quark17 deleted the disable-toooba-macos-13 branch February 19, 2024 21:44
@pbing
Copy link
Contributor

pbing commented Feb 24, 2024

I only have macOS 14.3.1 but the crash remains.

% brew list libelf
/opt/homebrew/Cellar/libelf/0.8.13_1/include/libelf/ (5 files)
/opt/homebrew/Cellar/libelf/0.8.13_1/lib/locale/de/LC_MESSAGES/libelf.cat
/opt/homebrew/Cellar/libelf/0.8.13_1/lib/pkgconfig/libelf.pc
/opt/homebrew/Cellar/libelf/0.8.13_1/lib/libelf.a
% DYLD_PRINT_SEARCHING=1 ./elf_to_hex
dyld[32765]: dyld cache '(null)' not loaded: syscall to map cache into shared region failed
dyld[32765]: find path "/usr/lib/libSystem.B.dylib"
dyld[32765]:   possible path(DYLD_FRAMEWORK/LIBRARY_PATH): "/libSystem.B.dylib"
dyld[32765]: no pseudo-dylibs to search
dyld[32765]:   possible path(original path on disk): "/usr/lib/libSystem.B.dylib"
dyld[32765]: no pseudo-dylibs to search
dyld[32765]:   possible path(cryptex prefix): "/System/Volumes/Preboot/Cryptexes/OS/usr/lib/libSystem.B.dylib"
dyld[32765]: no pseudo-dylibs to search
dyld[32765]:   possible path(original path): "/usr/lib/libSystem.B.dylib"
dyld[32765]: no pseudo-dylibs to search
dyld[32765]:   not found: "/usr/lib/libSystem.B.dylib"
dyld[32765]: Library not loaded: /usr/lib/libSystem.B.dylib
  Referenced from: <ACDF1525-3B48-3C9F-9191-E86168FE9DD1> /Users/bernd/Projects/github.com/pbing/AXI4-Lite/Piccolo/Tests/elf_to_hex/elf_to_hex
  Reason: tried: '/libSystem.B.dylib' (no such file), '/usr/lib/libSystem.B.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/libSystem.B.dylib' (no such file), '/usr/lib/libSystem.B.dylib' (no such file, no dyld cache)
zsh: abort      DYLD_PRINT_SEARCHING=1 ./elf_to_hex

It seems that libelf is compiled with incompatible libraries for the actual macOS versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants