Re: [alpine-devel] pulling in librt as needed
On Mon, 5 Dec 2011 13:34:20 +0100
Natanael Copa <ncopa_at_alpinelinux.org> wrote:
> Nenolod, I wonder exactly what problem was this commit intended to
> It appears to make libstdc++ link to librt - which i think it should
> not and which seems to trigger a linker bug:
> So, I wonder exactly why we pull in librt as needed. The commit
> message only says "because glibc does"
I found it. It was to "improve portability with broken applications
which expect that linking directly against libc will bring in mq_*()
I tend to agree with Mike there. It's better to fix the broken apps.
Even man mq_open(3) says: "Link with -lrt"
I am reverting it.
Received on Mon Dec 05 2011 - 16:23:03 UTC