From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3909 Path: news.gmane.org!not-for-mail From: Rob Landley Newsgroups: gmane.linux.lib.musl.general Subject: Re: problems with dynamic linking since 0.9.1 Date: Wed, 14 Aug 2013 22:14:03 -0500 Message-ID: <1376536443.2737.29@driftwood> References: <20130813160052.GD221@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376536455 5718 80.91.229.3 (15 Aug 2013 03:14:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Aug 2013 03:14:15 +0000 (UTC) Cc: musl@lists.openwall.com To: musl@lists.openwall.com Original-X-From: musl-return-3913-gllmg-musl=m.gmane.org@lists.openwall.com Thu Aug 15 05:14:19 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 1V9o0v-00031l-Tr for gllmg-musl@plane.gmane.org; Thu, 15 Aug 2013 05:14:17 +0200 Original-Received: (qmail 7605 invoked by uid 550); 15 Aug 2013 03:14:17 -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 7597 invoked from network); 15 Aug 2013 03:14:17 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:date:from:subject:to:cc:in-reply-to:message-id :mime-version:content-type:content-disposition :content-transfer-encoding; bh=Adt1hD5eIAj7/lCv/96OanCDwcIpy5PwaV4oml1QlBw=; b=LtbdMv7tUc9dR/GonLn+ww7izd3PI7D8Z64zN1mgh5ladFaE0HYUwk9mpIaaBVVNve Ek6F+D+ukmD5nx5tH/n6QEQw+4I7iBtOTH2Fe5Po3EtUlMKvARnB+hAWpAFjjwkt+bJV TpAIwZN5LZ2VM6IsrvizMWrYPF5Lp0bZcSKSPX80f17caITZvzk2yhP57SMN5+M90+rI 0N5IaHpTE0kNYOUwbIiHBfq8b39hEloOL6P7fNQ8glL6FMM61oElPELhhlhlL1t8n2WJ mxuB6FKyHTKYj4t5EFnFibKRkCxFnccdkrVQR0wdXOWhgeeWi7Pdm37P8wDeNmyyPwWw IsrQ== X-Gm-Message-State: ALoCoQlNThuQFzpkEYD5q8k54C6t2ehJ3GNoS68gSHFM7zOSJe/6zSncOm0BzntqMd33HbDaCKRH X-Received: by 10.182.18.9 with SMTP id s9mr68104obd.15.1376536445331; Wed, 14 Aug 2013 20:14:05 -0700 (PDT) In-Reply-To: <20130813160052.GD221@brightrain.aerifal.cx> (from dalias@aerifal.cx on Tue Aug 13 11:00:52 2013) X-Mailer: Balsa 2.4.11 Content-Disposition: inline Xref: news.gmane.org gmane.linux.lib.musl.general:3909 Archived-At: On 08/13/2013 11:00:52 AM, Rich Felker wrote: > On Tue, Aug 13, 2013 at 04:53:00PM +0200, Szabolcs Nagy wrote: > > * 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 =20 > ./libc.so) > > > > since you use landley's weird toolchain it may be a > > problem with the old binutils >=20 > Indeed, that toolchain is probably already using its own gcc wrapper > around the real gcc located at a different path. Neither wrapper is > sufficiently transparent to allow another wrapper around it to > function 100% correctly, so I would guess this is your problem. See if > you can find the location of the real gcc binary and have musl-gcc run > that, or perhaps just get a compiler from the musl-cross package or > compile your own toolchain. You can trivially disable the aboriginal wrapper by replacing x86_64-cc =20 with rawcc, but I _thought_ this was working at one point... Rob=