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.3 required=5.0 tests=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 30199 invoked from network); 9 Oct 2020 23:10:17 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 9 Oct 2020 23:10:17 -0000 Received: (qmail 24354 invoked by uid 550); 9 Oct 2020 23:10:13 -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 24336 invoked from network); 9 Oct 2020 23:10:12 -0000 Date: Fri, 9 Oct 2020 19:10:00 -0400 From: Rich Felker To: "joao@overdrivepizza.com" Cc: musl@lists.openwall.com Message-ID: <20201009231000.GB17637@brightrain.aerifal.cx> References: <7a9c-5f80e100-115-af27520@104527809> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7a9c-5f80e100-115-af27520@104527809> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] -frounding-math breaking src/math/acosf.c On Sat, Oct 10, 2020 at 12:16:13AM +0200, joao@overdrivepizza.com wrote: > Hi, > > I just noticed that the upstream LLVM is no longer capable of > compiling musl 1.2.0 (and possibly more recent versions too) when > -frounding-math is in use. I bisected the LLVM commit to > https://reviews.llvm.org/D87822, and pointed the problem there. > > Just reporting in case someone else also has issues with this. > > Best, > Joao. Thanks. This probably needs to be reported as aa bug against LLVM (or clang?) rather than just a comment on the review so that it's tracked as such. It seems they've erroneously made it treat static initializers as non-constant-expressions rather than evaluating them statically in the default rounding mode per the spec. Rich