X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by mail.alpinelinux.org (Postfix) with ESMTP id 44999DC123B for ; Mon, 5 Dec 2011 15:23:14 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id 2156FAE4005; Mon, 5 Dec 2011 15:23:14 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zl0QyFy1obZM; Mon, 5 Dec 2011 15:23:05 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id 2715CAE4001; Mon, 5 Dec 2011 15:23:05 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id CED5860AF5266; Mon, 5 Dec 2011 15:23:04 +0000 (UTC) Received: from ncopa-desktop.nor.wtbts.net (ncopa-desktop.nor.wtbts.net [10.65.65.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id 7572260AF5265; Mon, 5 Dec 2011 15:23:04 +0000 (UTC) Date: Mon, 5 Dec 2011 16:23:03 +0100 From: Natanael Copa To: Natanael Copa Cc: nenolod@alpinelinux.org, alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] pulling in librt as needed Message-ID: <20111205162303.31f6cab0@ncopa-desktop.nor.wtbts.net> In-Reply-To: <20111205133420.03116f8f@ncopa-desktop.nor.wtbts.net> References: <20111205133420.03116f8f@ncopa-desktop.nor.wtbts.net> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Mon, 5 Dec 2011 13:34:20 +0100 Natanael Copa wrote: > Hi, > > Nenolod, I wonder exactly what problem was this commit intended to > fix: > > http://git.alpinelinux.org/cgit/aports/commit/?id=3e90d206c5c7ddacb00d9947cb7d495a2e999bcc > > It appears to make libstdc++ link to librt - which i think it should > not and which seems to trigger a linker bug: > http://bugs.alpinelinux.org/issues/854 > > 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_*() functions." http://www.mail-archive.com/uclibc@uclibc.org/msg07414.html 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. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---