From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8718 invoked from network); 13 May 2020 19:09:33 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 13 May 2020 19:09:33 -0000 Received: (qmail 9242 invoked by uid 550); 13 May 2020 19:09:28 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 9222 invoked from network); 13 May 2020 19:09:27 -0000 X-Virus-Scanned: Debian amavisd-new at nospam.ludd.ltu.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ludd.ltu.se; s=mail; t=1589396954; bh=0Z9E7e9hIuOIwzY0MBdli+DQhCM31bcYYHTHS3mXrj8=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=ObXrNaNWTROOj+s5lLWbx767u8CIHSKTV46UZQPpZmtNApHiKI2NoEWS+irxJjeUv bmPOJQG0QbpJF4z+yZvLCbk2KcYTbrhh1oT5mq+7Takm2Ub1EjCoMTHbsNT3yMHZ7y ZAVn786VsecYzdsiY73Sa0mBIdu/wBD7/sddMq2o= To: Rich Felker Cc: John Arnold , musl@lists.openwall.com, pcc@lists.ludd.ltu.se References: <20200512212127.GQ21576@brightrain.aerifal.cx> <5ae8c7fa-aed9-d957-fe53-68eb2fa622a6@ludd.ltu.se> <20200513143033.GU21576@brightrain.aerifal.cx> From: Anders Magnusson Message-ID: <9b35636f-0af4-09fc-a7c5-53814a416e24@ludd.ltu.se> Date: Wed, 13 May 2020 21:09:13 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200513143033.GU21576@brightrain.aerifal.cx> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Content-Language: sv Subject: Re: [musl] Re: [Pcc] [musl] PCC unable to build musl 1.2.0 (and likely earlier) Den 2020-05-13 kl. 16:30, skrev Rich Felker: > On Wed, May 13, 2020 at 09:10:40AM +0200, Anders Magnusson wrote: >> Den 2020-05-12 kl. 23:21, skrev Rich Felker: >>> Thanks. Adding pcc list to cc. >>> >>> On Tue, May 12, 2020 at 03:59:36PM -0500, John Arnold wrote: >>>> With an i386 PCC 1.2.0.DEVEL built from source from >>>> http://pcc.ludd.ltu.se/ftp/pub/pcc/pcc-20200510.tgz, I was unable to >>>> build an i386 musl 1.2.0. The compiler first hits this error: >>>> >>>> ../include/limits.h:10: error: bad charcon >>>> >>>> This line was the only change made in commit cdbbcfb8f5d, but it has a >>>> lengthy commit message about the proper way of determining CHAR_MIN >>>> and CHAR_MAX. >>> I think this is clearly a PCC bug, one they can hopefully fix. The >>> commit message cites the example from 6.4.4.4: >> Can you please sen med the offending line? > #if '\xff' > 0 > Thanks, fixed now, it was a missing pushback of ' that was the problem. Note that this check cannot be used to see whether a target uses signed or unsigned char. In pcc the above is always true, no matter what char is.  See C11 clause 6.10.1 clause 4. -- Ragge