From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3878 Path: news.gmane.org!not-for-mail From: Jens Newsgroups: gmane.linux.lib.musl.general Subject: Re: problems with dynamic linking since 0.9.1 Date: Tue, 13 Aug 2013 13:18:27 +0200 (CEST) Message-ID: 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; format=flowed X-Trace: ger.gmane.org 1376392639 7393 80.91.229.3 (13 Aug 2013 11:17:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Aug 2013 11:17:19 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3882-gllmg-musl=m.gmane.org@lists.openwall.com Tue Aug 13 13:17:22 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 1V9CbK-0005wX-DN for gllmg-musl@plane.gmane.org; Tue, 13 Aug 2013 13:17:22 +0200 Original-Received: (qmail 7331 invoked by uid 550); 13 Aug 2013 11:17:21 -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 7323 invoked from network); 13 Aug 2013 11:17:21 -0000 In-Reply-To: <20130813110709.GH5368@port70.net> User-Agent: Alpine 2.10 (LNX 1266 2009-07-14) Xref: news.gmane.org gmane.linux.lib.musl.general:3878 Archived-At: On Tue, 13 Aug 2013, Szabolcs Nagy wrote: > * Jens [2013-08-13 12:39:52 +0200]: >> Dynamic linking with musl has stopped working for me since musl 0.9.1. >> I havent tested all versions but 0.9.6 and 0.9.12 does not work. >> > > 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. 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 bash-4.1# cat /bin/musl-gcc #!/bin/sh exec ${REALGCC:-rawgcc} "$@" -specs "/opt/musl/lib/musl-gcc.specs" Thanks! Jens > >