Summary: | C++ programs using getsockname and socklen_t fail | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Felix von Leitner <felix-gentoo> |
Component: | [OLD] Development | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED NEEDINFO | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://www.fefe.de/getsockname.c | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Felix von Leitner
2005-02-19 10:02:16 UTC
It turns out that the generated assembly code is identical. Still the result differs. So it's either a bug in the C++ startup code (?!) or maybe strace is mysteriously broken. The binaries differ by the ldd output: the C++ version also links libstdc++.so.6, libm.so.6 and libgcc_s.so.1 in. Is this still a problem with the newest stable version of GCC? The two seem to behave the same to me. |