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

glibc: Patch to work around missing features in LLVM's s390x assembler. #21313

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

alexrp
Copy link
Member

@alexrp alexrp commented Sep 5, 2024

This should be reverted with LLVM 20. PRs that add the missing functionality:

With this patch plus #21037 and #21195, this now works:

zig4 cc main.c -target s390x-linux-gnuqemu-s390x -L /opt/glibc/s390x-linux-gnu ./a.out
hello world

Next step is adding the std.os.linux arch bits and Zig should have ~full support for s390x.

@andrewrk andrewrk merged commit b230e4f into ziglang:master Sep 6, 2024
10 checks passed
@andrewrk
Copy link
Member

andrewrk commented Sep 6, 2024

Nice work getting those fixed upstream.

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.

3 participants