From patchwork Mon Oct 11 21:48:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 46115 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1FD413857813 for ; Mon, 11 Oct 2021 21:48:43 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id B92D43857817 for ; Mon, 11 Oct 2021 21:48:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B92D43857817 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: YvqnFf+/grg1AvZdaW15GEVJJgsiQSFj46rzBfbwqGg3ae7tDbgiC6tdKSs038jkqDAldaQ994 VCP2rEhrCUEH5Q5ihtNoesTeFTGH5C3jW4R+tTTjQGzkB+4vbXQ2arvXmyrWcd/YlfARyBZqeg HuUGOBctsfKYAqiZtIpBsWyzkXhyziam7hgpTb2P76SA/q7I3re1iTadTKkT2MhUcE+PvpZ1b+ VGLRChLSrf9icwMSSoxIVmO1t1O/lMhUpsOCdqb65tnUMw3Au9z97+y95+nE53A5I/W/zjoBmx dB1pMC98773lhtTN+GR5BCDb X-IronPort-AV: E=Sophos;i="5.85,365,1624348800"; d="scan'208";a="66911191" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 11 Oct 2021 13:48:26 -0800 IronPort-SDR: CFzV/jTmbFmLam1A6H7HW8828mrDNOo70UijJmFYrd+fgh56KocL9UQVPObhY9UpTKzHbX3Pyx 9bqfS3EbBJHu2Ge7984XWBLo3TxWdVWg+nsceSBfuPKuSfKlTvNyK095R3EqZhSY+nCrDdYvBQ G5xQC8LIRER+8Oh2S9M3g4Us6EYpGT1v2p60v1s1njOWy6KQCDMUAT4kc42KFYyBC+lGlwa4iK FVLOxQaKDX1b5yssBhPZJdAz4q5wD4a6wC24qFfVPC/70p0k1n/hzsBdPdSrZ2/53mxLUTq7kH d8E= Date: Mon, 11 Oct 2021 21:48:20 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Subject: Fix nios2 localplt failure [committed] Message-ID: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-08.mgc.mentorg.com (139.181.222.8) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3123.0 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, URIBL_BLACK autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" Building for nios2-linux-gnu has recently started showing a localplt test failure, arising from a reference to __floatunsidf from getloadavg after commit b5c8a3aa82f66f49b731ca5204104cee48bccfa5 ("Linux: implement getloadavg(3) using sysinfo(2)") (this is an architecture with soft-fp in libc). Add this as a permitted local PLT reference in localplt.data. Tested with build-many-glibcs.py for nios2-linux-gnu. --- Committed as obvious. diff --git a/sysdeps/unix/sysv/linux/nios2/localplt.data b/sysdeps/unix/sysv/linux/nios2/localplt.data index 17fcfdd4db..c9802cc8eb 100644 --- a/sysdeps/unix/sysv/linux/nios2/localplt.data +++ b/sysdeps/unix/sysv/linux/nios2/localplt.data @@ -26,6 +26,7 @@ libc.so: __nedf2 libc.so: __eqdf2 libc.so: __extendsfdf2 libc.so: __floatundidf ? +libc.so: __floatunsidf ? libm.so: matherr # The TLS-enabled version of these functions is interposed from libc.so. ld.so: _dl_signal_error