From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3908 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 21:17:41 -0500 Message-ID: <1376533061.2737.26@driftwood> References: <20130813110709.GH5368@port70.net> <20130813145259.GI5368@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; DelSp=Yes; Format=Flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376533073 7906 80.91.229.3 (15 Aug 2013 02:17:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Aug 2013 02:17:53 +0000 (UTC) Cc: Szabolcs Nagy , Jens To: musl@lists.openwall.com Original-X-From: musl-return-3912-gllmg-musl=m.gmane.org@lists.openwall.com Thu Aug 15 04:17:56 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 1V9n8O-000218-AL for gllmg-musl@plane.gmane.org; Thu, 15 Aug 2013 04:17:56 +0200 Original-Received: (qmail 6092 invoked by uid 550); 15 Aug 2013 02:17:55 -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 6082 invoked from network); 15 Aug 2013 02:17:55 -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:references:in-reply-to :message-id:mime-version:content-type:content-disposition :content-transfer-encoding; bh=URkTAjlok1pk/3rRd9xkH14pW8iEIzofnQh6W9UugKE=; b=oUXFa9/6aLjpplqLPZLqrTyB9vrQukgEJVWV93MiNAQzVbmFZAUffDqWXcEmDpfKFF r61ZyNexWi6IUmVTGEqllPH6+Z1btT2PPBdhs3vMtATijYvfCQYU+UcLackysXrizk9l BTMj9GGrb925re/4UGNT9zjcftrTvW+e4TfSBMSYwWqW4H5b+E5cQGN2NE6CNSSVIUrp QCk1yrayBtHNA5B0k0tjLaUmiyEU7v53HKTD5QGDoNeWgTj5KyCFJvbTqB4Q03ta12s1 Za79r4SkCEAAH3irn3pczHllbTzsoZnp+cTHJB255xL9sZiF9LOCV1R4+KM5jvSmqefe byhg== X-Gm-Message-State: ALoCoQkSA/GWwUOuh60T5kl7mQFFWUDABznfjQB8RJiIC61NANiE6si+QZnCg//RqlvcBYumj8OY X-Received: by 10.182.213.162 with SMTP id nt2mr15031911obc.44.1376533063114; Wed, 14 Aug 2013 19:17:43 -0700 (PDT) In-Reply-To: <20130813145259.GI5368@port70.net> (from nsz@port70.net on Tue Aug 13 09:53:00 2013) X-Mailer: Balsa 2.4.11 Content-Disposition: inline Xref: news.gmane.org gmane.linux.lib.musl.general:3908 Archived-At: On 08/13/2013 09:53:00 AM, 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. > > >=20 > ah ok i did not see that >=20 > 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) >=20 > since you use landley's weird toolchain it may be a > problem with the old binutils I do test build musl with that toolchain from time to time, and I've =20 modified the binutils in it to support what musl needs before. I'm =20 doing a fresh test build under the most recent Aboriginal x86-64 system =20 image in another window, but this netbook is slow and qemu is slower... > > bash-4.1# musl-gcc -c t.c > > bash-4.1# musl-gcc t.o I note that "bash-4.1" is not the version in my system images but it =20 _is_ in the Linux From Scratch images. He didn't say what architecture =20 he was building for, but I haven't made it to the end of the thread =20 yet... Rob=