From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6434 Path: news.gmane.org!not-for-mail From: stephen Turner Newsgroups: gmane.linux.lib.musl.general Subject: Re: debugging problem with musl ld and qemu-ppc Date: Mon, 3 Nov 2014 18:11:29 -0500 Message-ID: References: <20141016060741.GA3707@euler> <20141016153448.GY32028@brightrain.aerifal.cx> <20141016165839.GA1257@euler> <20141019202934.GA11042@euler> <20141019211320.GL32028@brightrain.aerifal.cx> <20141101214128.GA5286@euler> <20141101214713.GL22465@brightrain.aerifal.cx> <20141101220130.GA5949@euler> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2ddfe81a1ce0506fc7777 X-Trace: ger.gmane.org 1415056309 5379 80.91.229.3 (3 Nov 2014 23:11:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2014 23:11:49 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6447-gllmg-musl=m.gmane.org@lists.openwall.com Tue Nov 04 00:11:44 2014 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 1XlQml-0002AN-WB for gllmg-musl@m.gmane.org; Tue, 04 Nov 2014 00:11:44 +0100 Original-Received: (qmail 30031 invoked by uid 550); 3 Nov 2014 23:11:42 -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 30023 invoked from network); 3 Nov 2014 23:11:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=llnorGyvHW5WI2ATg981iQsur4OcGhDRXLaq2N0Wztc=; b=iM7OYdd3ysi4SFm1Z9jNF1rYr9ZWm2YCTdqDRYw65FmSSmvoLPRBY6Z9wXwmRtPrOJ amTvRIEwcJseSMv8OuEmIGXCvYUldOuLO6ixvYSsa/0nk/99Ppvl4f0wCGfV5LOh52RO gIVHJquNbcmFbezSE9uW9eYQ2HOWWr5Mo5DrasF/ZisU+ZXtgIy6NpahlQXSfp4mipxZ esbX0/uAMXU+6hpCcp8IT1TjcK8bbzLRMSKzVRUPqn7du7Uq4Lf+vrTHuBPHSilaF+DR xAkslBU7md9h0nrVgNfPdNxe/kMDu+9JbEk398gB/FQo3jGhcSPahsB0XgWLtnyAsPFq YNGg== X-Received: by 10.182.22.234 with SMTP id h10mr13072010obf.22.1415056290060; Mon, 03 Nov 2014 15:11:30 -0800 (PST) In-Reply-To: <20141101220130.GA5949@euler> Xref: news.gmane.org gmane.linux.lib.musl.general:6434 Archived-At: --001a11c2ddfe81a1ce0506fc7777 Content-Type: text/plain; charset=UTF-8 Would this issue affect all programs not just the rebuilding of gcc? I have been having a lot of problems with one lib or another failing when trying to rebuild code on my static musl gcc system (building both dynamic and static) thanks, stephen On Sat, Nov 1, 2014 at 6:01 PM, Felix Janda wrote: > Rich Felker wrote: > > On Sat, Nov 01, 2014 at 10:41:28PM +0100, Felix Janda wrote: > [..] > > > The construct is used in a file in gmp and this caused my home-built > gcc > > > to crash. I'm wondering why other people have not hit this issue. (I > > > guess it is because they didn't use dynamic linking.) > > > > Could you give a link to the code where it's used? It would be nice to > > see if this is actually something broken that's assuming the > > insecure-plt ABI or whether it's just binutils misinterpreting it and > > making trouble for us. > > See > > https://gmplib.org/repo/gmp/file/bfc8adc7cdfe/mpn/powerpc32/elf.m4 > https://gmplib.org/list-archives/gmp-bugs/2014-November/003568.html > > Felix > --001a11c2ddfe81a1ce0506fc7777 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Would this issue affect all programs not just the rebuildi= ng of gcc? I have been having a lot of problems with one lib or another fai= ling when trying to rebuild code on my static musl gcc system (building bot= h dynamic and static)=C2=A0

thanks,
stephen

On Sat, = Nov 1, 2014 at 6:01 PM, Felix Janda <felix.janda@posteo.de> wrote:
Rich Felker w= rote:
> On Sat, Nov 01, 2014 at 10:41:28PM +0100, Felix Janda wrote:
[..]
> > The construct is used in a file in gmp and this = caused my home-built gcc
> > to crash. I'm wondering why other people have not hit this is= sue. (I
> > guess it is because they didn't use dynamic linking.)
>
> Could you give a link to the code where it's used? It would be nic= e to
> see if this is actually something broken that's assuming the
> insecure-plt ABI or whether it's just binutils misinterpreting it = and
> making trouble for us.

See

https://gmplib.org/repo/gmp/file/bfc8adc7cdfe/mpn/pow= erpc32/elf.m4
https://gmplib.org/list-archives/gmp-bugs/2014-Novem= ber/003568.html

Felix

--001a11c2ddfe81a1ce0506fc7777--