From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8148 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: dynamic linker issue Date: Thu, 9 Jul 2015 14:28:33 -0400 Message-ID: <20150709182833.GU1173@brightrain.aerifal.cx> References: <20150709171159.4f08479e@ncopa-desktop.alpinelinux.org> <20150709182044.GA450@nyan> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1436466531 21734 80.91.229.3 (9 Jul 2015 18:28:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jul 2015 18:28:51 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8161-gllmg-musl=m.gmane.org@lists.openwall.com Thu Jul 09 20:28:50 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZDGYz-0000Oc-GP for gllmg-musl@m.gmane.org; Thu, 09 Jul 2015 20:28:49 +0200 Original-Received: (qmail 5548 invoked by uid 550); 9 Jul 2015 18:28:48 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 5518 invoked from network); 9 Jul 2015 18:28:47 -0000 Content-Disposition: inline In-Reply-To: <20150709182044.GA450@nyan> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:8148 Archived-At: On Thu, Jul 09, 2015 at 08:20:44PM +0200, Felix Janda wrote: > Can reproduce on gentoo with arm (patched Makefile): > > LD_LIBRARY_PATH="/tmp/a:/usr/lib/gcc/armv7a-hardfloat-linux-musleabi/4.7.4/" /usr/lib/libc.so -- ./foo > BUG at file position route/tc.c:978:rtnl_tc_register > Assertion failed: 0 (route/tc.c: rtnl_tc_register: 978) > Makefile:10: recipe for target 'run' failed > make: *** [run] Aborted > > libc.so has .hash and .gnu_hash, the others only have .hash. In that case I don't think gnu_hash is relevant to the crash. It's probably a libnl3 issue, likely just that it's fundamentally broken to be linking multiple versions of a lib into the same program if they use the same symbol names. Rich