Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

getaddrinfo segfault when using static linking #3

@cyfdecyf

Description

@cyfdecyf

For easy deployment, I choose to use static linking by adding -static to CFLAGS. This will result getaddrinfo segfault.

There's some problem in static linked program which loads pthread and uses getaddrinfo. More info in ths glibc bugzilla thread.

No problem in your code, just create this issue to notify you about this problem. Maybe you can add this in README so other people will not waste time doing this again.

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