From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3879 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: problems with dynamic linking since 0.9.1 Date: Tue, 13 Aug 2013 16:53:00 +0200 Message-ID: <20130813145259.GI5368@port70.net> References: <20130813110709.GH5368@port70.net> 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 1376405591 31263 80.91.229.3 (13 Aug 2013 14:53:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Aug 2013 14:53:11 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3883-gllmg-musl=m.gmane.org@lists.openwall.com Tue Aug 13 16:53:14 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1V9FyD-0006oo-FO for gllmg-musl@plane.gmane.org; Tue, 13 Aug 2013 16:53:13 +0200 Original-Received: (qmail 32283 invoked by uid 550); 13 Aug 2013 14:53:13 -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 32264 invoked from network); 13 Aug 2013 14:53:12 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3879 Archived-At: * Jens [2013-08-13 13:18:27 +0200]: > On Tue, 13 Aug 2013, Szabolcs Nagy wrote: > > > >you didn't tell us the problem > > > >at least show a crashing dynamic linked executable > >with straced loader and musl ldd output > > Sorry. Its actually linking the binary that doesnt work. > ah ok i did not see that i'd check libc.so if there is some obvious error ld should be able to handle it (eg file libc.so, readelf -a libc.so, nm -D libc.so, or just ./libc.so) since you use landley's weird toolchain it may be a problem with the old binutils > bash-4.1# musl-gcc -c t.c > bash-4.1# musl-gcc t.o > /opt/musl/lib/libc.so: file not recognized: File format not recognized > collect2: ld returned 1 exit status