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

LLVM 17 regression: test.standalone.shared_library on aarch64-windows #16959

Closed
andrewrk opened this issue Aug 25, 2023 · 0 comments · Fixed by #21767
Closed

LLVM 17 regression: test.standalone.shared_library on aarch64-windows #16959

andrewrk opened this issue Aug 25, 2023 · 0 comments · Fixed by #21767
Labels
backend-llvm The LLVM backend outputs an LLVM IR Module. bug Observed behavior contradicts documented or intended behavior os-windows regression It worked in a previous version of Zig, but stopped working.
Milestone

Comments

@andrewrk
Copy link
Member

andrewrk commented Aug 25, 2023

Zig version: 0.12.0-dev.204+291271d0a (llvm17 branch)

test.standalone.shared_library.zig build-lib mathtest Debug native: error: Assertion failed: (!hasLocalLinkage() || C == DefaultStorageClass) && "local linkage requires DefaultStorageClass", file /home/andy/dev/zig-bootstrap/llvm/include/llvm/IR/GlobalValue.h, line 282

To reproduce run zig build test-standalone on windows with llvm assertions enabled.

@andrewrk andrewrk added bug Observed behavior contradicts documented or intended behavior os-windows arch-aarch64 64-bit ARM backend-llvm The LLVM backend outputs an LLVM IR Module. labels Aug 25, 2023
@andrewrk andrewrk added this to the 0.15.0 milestone Aug 25, 2023
@andrewrk andrewrk added the regression It worked in a previous version of Zig, but stopped working. label Aug 25, 2023
andrewrk added a commit that referenced this issue Aug 25, 2023
andrewrk added a commit that referenced this issue Sep 19, 2023
@andrewrk andrewrk removed the arch-aarch64 64-bit ARM label Sep 22, 2023
@andrewrk andrewrk modified the milestones: 0.16.0, 0.14.0 Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend-llvm The LLVM backend outputs an LLVM IR Module. bug Observed behavior contradicts documented or intended behavior os-windows regression It worked in a previous version of Zig, but stopped working.
Projects
None yet
1 participant