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

getaddrinfo segfault when using static linking #3

Closed
cyfdecyf opened this issue Jan 4, 2013 · 0 comments
Closed

getaddrinfo segfault when using static linking #3

cyfdecyf opened this issue Jan 4, 2013 · 0 comments

Comments

@cyfdecyf
Copy link

cyfdecyf commented Jan 4, 2013

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.

@dndx dndx closed this as completed in 50d6e50 Jan 4, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants