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

Building C code for powerpc-linux-gnueabi(hf) fails due to duplicate lgammal symbol #20376

Closed
alexrp opened this issue Jun 21, 2024 · 0 comments · Fixed by #21195
Closed

Building C code for powerpc-linux-gnueabi(hf) fails due to duplicate lgammal symbol #20376

alexrp opened this issue Jun 21, 2024 · 0 comments · Fixed by #21195
Labels
arch-powerpc 32-bit and 64-bit Power ISA bug Observed behavior contradicts documented or intended behavior os-linux
Milestone

Comments

@alexrp
Copy link
Member

alexrp commented Jun 21, 2024

Zig Version

0.13.0

Steps to Reproduce and Observed Behavior

cat test.c
#include <stdio.h>
int main(){printf("hello\n");}zig cc test.c -target powerpc-linux-gnueabi
<unknown>:0: error: symbol 'lgammal' is already defined

Also happens for powerpc-linux-gnueabihf, but not powerpc-linux-musl.

Expected Behavior

No error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-powerpc 32-bit and 64-bit Power ISA bug Observed behavior contradicts documented or intended behavior os-linux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants