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
{{ message }}
Repository navigation
error.UnexpectedRemainder on aarch64 MacOS release targets #17424
Clone this repo with submodules at commit f4a7cb7e529a1a482f4c56c6a8252a747a69e52d, build for aarch64 macos target in ReleaseSafe zig build -Dtarget=aarch64-macos -Doptimize=ReleaseSafe
changed the title [-]error.UnexpectedRemainder on aarch64 MacOS targets[/-][+]error.UnexpectedRemainder on aarch64 MacOS release targets[/+]on Oct 7, 2023
Not the best example here, but I still see this issue in 0.12.0-dev.3518+d2be725e4 in my repo. I can give steps to reproduce if necessary.
What I found was that running zig build with --verbose-link prints out a zig ld command. Copying that command and pasting without the zig to use the LLVM ld actually links successfully.
Activity
[-]error.UnexpectedRemainder on aarch64 MacOS targets[/-][+]error.UnexpectedRemainder on aarch64 MacOS release targets[/+]archbirdplus commentedon Apr 17, 2024
Not the best example here, but I still see this issue in 0.12.0-dev.3518+d2be725e4 in my repo. I can give steps to reproduce if necessary.
What I found was that running zig build with
--verbose-linkprints out azig ldcommand. Copying that command and pasting without thezigto use the LLVMldactually links successfully.