From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [IPv6:2001:470:683e::1]) by sourceware.org (Postfix) with ESMTPS id 0F0143857000 for ; Fri, 23 Sep 2022 15:24:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0F0143857000 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1663946682; bh=SIzcyl5Wi5eYR6UJsQM9kgTZ+TbT7m2tl2gzi8F5BS8=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=XjPYNt2CAbBCm2weI9xOZ6O57Jk/zp4y6OLYk4k1za7f+0lV4844sFrer9RcRMe06 osTbxoNd3lXvxFlNRg1rw37RFBghb5kPeWhH2G+TDs4hZ3CsKYQl4bPZ7BNc2re/2q 2+C1HzHL6UJyCbD0DulG9WoiTonetNVBipQzL1Hg= Received: from localhost.localdomain (xry111.site [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id DD3FE66899; Fri, 23 Sep 2022 11:24:40 -0400 (EDT) Message-ID: <0ec5d964aacade80ca63e51967e674edb5503621.camel@xry111.site> Subject: Re: [PATCH v2 1/1] LoongArch: Add static PIE support From: Xi Ruoyao To: Adhemerval Zanella Netto , libc-alpha@sourceware.org Cc: caiyinyu , Chenghua Xu , liuzhensong , Lulu Cheng , Wang Xuerui Date: Fri, 23 Sep 2022 23:24:39 +0800 In-Reply-To: References: <20220923111647.48303-1-xry111@xry111.site> <20220923111647.48303-2-xry111@xry111.site> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD,LIKELY_SPAM_FROM,SPF_HELO_PASS,SPF_PASS,TXREP,T_PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, 2022-09-23 at 10:23 -0300, Adhemerval Zanella Netto wrote: > /home/azanella/Projects/glibc/build/loongarch64-linux-gnu-lp64d/libc.a(se= tlocale.o)(__libc_freeres_fn+0x144): error: R_LARCH_SOP_PUSH_TLS_GOT agains= t [undefweak] `_nl_current_LC_COLLATE': > Internal: Shouldn't be resolved to const. >=20 > Using --disable-default-pie avoids this build issue. Ouch. R_LARCH_SOP_PUSH_TLS_GOT is some outdated thing and binutils-2.40 will not produce anymore. Instead of spending my time for fixing some nasty bugs in the "legacy" binutils code, I'll just add another check to see if GAS is also new enough in v3. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University