From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5933 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: compiling musl with pcc (i486-pc-linux-gnu) (was: [musl] compiling musl on x86_64 linux with pcc) Date: Wed, 27 Aug 2014 12:36:17 -0400 Message-ID: <20140827163617.GN12888@brightrain.aerifal.cx> References: <20140813091843.GD5170@example.net> <20140813123832.GK12888@brightrain.aerifal.cx> <20140813125607.GK5170@example.net> <20140813142332.GN12888@brightrain.aerifal.cx> <20140825082807.GB12376@example.net> <20140825083457.GC12376@example.net> <20140825154617.GV12888@brightrain.aerifal.cx> <20140827143857.GM12376@example.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 1409157400 6734 80.91.229.3 (27 Aug 2014 16:36:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2014 16:36:40 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5940-gllmg-musl=m.gmane.org@lists.openwall.com Wed Aug 27 18:36:35 2014 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 1XMgD0-0004bt-BM for gllmg-musl@plane.gmane.org; Wed, 27 Aug 2014 18:36:30 +0200 Original-Received: (qmail 26168 invoked by uid 550); 27 Aug 2014 16:36:29 -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 26160 invoked from network); 27 Aug 2014 16:36:29 -0000 Content-Disposition: inline In-Reply-To: <20140827143857.GM12376@example.net> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:5933 Archived-At: On Wed, Aug 27, 2014 at 04:38:58PM +0200, u-igbb@aetey.se wrote: > On Mon, Aug 25, 2014 at 11:46:17AM -0400, Rich Felker wrote: > > I have pcc 1.1.0.DEVEL 20130227 with pcc-libs-20130721 and it seems to > > still work fine with current musl. Note that some fixes are needed for > > I have got a musl instance compiled with pcc which seems to be usable. > A pcc compiled and linked against it reproduces itself and then > reproduces the same code for musl. > > The catch: > > Using --enable-optimize=no leads to a broken library (at least > concerning the variadic arguments). When I get a chance I'll see if I can reproduce this with my pcc toolchain or a new one. It won't necessarily be right away though. If so, I can probably track down the cause pretty quickly. Let me know if you find anything else about the cause. > > I just ran libc-test with libc.so built by pcc and confirmed that > > there are no non-math regressions versus gcc-built libc.so. (I did not > > check math in detail because there are lots of known math failures > > that are not serious.) > > Now we know that this is possible with the current version as well, > but not without optimization :) Yes. Thanks for reporting! Rich