You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We updated Mach to the latest Zig nightly version 0.14.0-dev.1710+8ee52f99c and found we were hitting a compiler segfault; I managed to create a minimal reproduction.
my macOS version: 14.1.1 (23B2082)
I do not have xcode installed:
% ls /Applications/Xcode.app
ls: /Applications/Xcode.app: No such file or directory
The text was updated successfully, but these errors were encountered:
slimsag
added
the
bug
Observed behavior contradicts documented or intended behavior
label
Oct 4, 2024
slimsag
changed the title
link/macho: segfault in dedupLiterals when linking frameworks like AppKit
link/macho: segfault in dedupLiterals when using objc symbols
Oct 4, 2024
In mach-objc we have a code generator to invoke such functions, which boils down to an extern with that name - which you can see here and here for example.
Zig Version
0.14.0-dev.1710+8ee52f99c
Steps to Reproduce and Observed Behavior
We updated Mach to the latest Zig nightly version 0.14.0-dev.1710+8ee52f99c and found we were hitting a compiler segfault; I managed to create a minimal reproduction.
my macOS version: 14.1.1 (23B2082)
I do not have xcode installed:
With this
main.zig
:The following
build-exe
command segfaults:Running under lldb shows the following:
Suspecting it is related to #20032
cc @kubkon
Expected Behavior
No compiler segfault.
The text was updated successfully, but these errors were encountered: