Skip to content

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

Closed

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.

Activity

  1. added
    bug
    on Jun 21, 2024
  2. added this to the 1.1.0 milestone on Jul 26, 2024
  3. modified the milestones: 1.1.0, 0.14.0 on Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-powerpc64bugos-linux

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions