Skip to content

glibc build error with musl on nixpkgs master #56

@nh2

Description

@nh2

In my new nightly build against nixpkgs master

https://buildkite.com/nh2/static-haskell-nix/builds/85#8e61f177-7a78-4c39-935d-e721c593a150/6-2314

It's building glibc-2.27 with musl, getting error:

../sysdeps/unix/sysv/linux/x86/gettimeofday.c:42:41: error: ‘__gettimeofday’ alias between functions of incompatible types ‘int(struct timeval *, struct timezone *)’ and ‘int (*(void))(struct timeval *, struct timezone *)’ [-Werror=attribute-alias]
...

cc1: all warnings being treated as errors

@dtzWill or @matthewbauer Do you know this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions