dndx/shadowsocks-libuv

getaddrinfo segfault when using static linking

cyfdecyf opened this issue · 0 comments

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.