Skip to content

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

Closed
@alexrp

Description

@alexrp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-powerpc32-bit and 64-bit Power ISAbugObserved behavior contradicts documented or intended behavioros-linux

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions