Summary: | sys-libs/glibc-2.19-r1: static linking breaks getaddrinfo | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | kipeta <kimmo.taskinen> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://sourceware.org/bugzilla/show_bug.cgi?id=17250 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | test app |
Description
kipeta
2014-07-31 09:18:35 UTC
Created attachment 382614 [details]
test app
$ gcc -static getaddrinfo.c && ./a.out gentoo.org
/tmp/ccN7FeZG.o: In function `main':
.../resolv.c:22: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
bad address 'gentoo.org'
glibc-2.17 & glibc-2.18 seem to behave correctly
same underlying problem as bug 509748 afaict *** This bug has been marked as a duplicate of bug 509748 *** |