From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fuchsia.ash.relay.mailchannels.net (fuchsia.ash.relay.mailchannels.net [23.83.222.64]) by sourceware.org (Postfix) with ESMTPS id 6575638515D4; Wed, 31 Mar 2021 13:54:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6575638515D4 X-Sender-Id: dreamhost|x-authsender|tuliom@ascii.art.br Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E2DF621D5E; Wed, 31 Mar 2021 13:54:12 +0000 (UTC) Received: from pdx1-sub0-mail-a28.g.dreamhost.com (100-96-16-38.trex.outbound.svc.cluster.local [100.96.16.38]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 360042217A; Wed, 31 Mar 2021 13:54:12 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|tuliom@ascii.art.br Received: from pdx1-sub0-mail-a28.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.16.38 (trex/6.1.1); Wed, 31 Mar 2021 13:54:12 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|tuliom@ascii.art.br X-MailChannels-Auth-Id: dreamhost X-Wipe-Spot: 055f514a5df20326_1617198852502_3831832327 X-MC-Loop-Signature: 1617198852502:1592956545 X-MC-Ingress-Time: 1617198852502 Received: from pdx1-sub0-mail-a28.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a28.g.dreamhost.com (Postfix) with ESMTP id CE89E7F2D0; Wed, 31 Mar 2021 06:54:11 -0700 (PDT) Received: from ascii.art.br (unknown [168.195.67.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: tuliom@ascii.art.br) by pdx1-sub0-mail-a28.g.dreamhost.com (Postfix) with ESMTPSA id 80F497F66D; Wed, 31 Mar 2021 06:54:10 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a28 From: Tulio Magno Quites Machado Filho To: Siddhesh Poyarekar , Adhemerval Zanella , libc-alpha@sourceware.org Subject: Re: [PATCH 2/2] Avoid adding duplicated symbols into static libraries In-Reply-To: <8b2cfe73-345d-d1a7-a0b0-a581d2a8dfa8@sourceware.org> References: <20210211101908.2825685-1-siddhesh@sourceware.org> <20210211101908.2825685-3-siddhesh@sourceware.org> <693c9b6a-d3b8-5ce5-16a9-322ff0cfb2f5@linaro.org> <8b2cfe73-345d-d1a7-a0b0-a581d2a8dfa8@sourceware.org> User-Agent: Notmuch/0.31.3 (http://notmuchmail.org) Emacs/27.1 (x86_64-redhat-linux-gnu) Date: Wed, 31 Mar 2021 10:54:07 -0300 Message-ID: <87im571la8.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: , X-List-Received-Date: Wed, 31 Mar 2021 13:54:23 -0000 Siddhesh Poyarekar via Libc-alpha writes: > On 3/31/21 1:17 AM, Adhemerval Zanella wrote: >> This broke powerpc64le static math tests: >> >> powerpc64le-linux-gnu]$ make math/tests >> [...] >> /home/azanella/toolchain/install/compilers/powerpc64le-linux-gnu/bin/powerpc64le-glibc-linux-gnu-gcc -nostdlib -nostartfiles -static -o /home/azanella/glibc/build/powerpc64le-linux-gnu/math/test-signgam-uchar-static /home/azanella/glibc/build/powerpc64le-linux-gnu/csu/crt1.o /home/azanella/glibc/build/powerpc64le-linux-gnu/csu/crti.o `/home/azanella/toolchain/install/compilers/powerpc64le-linux-gnu/bin/powerpc64le-glibc-linux-gnu-gcc --print-file-name=crtbeginT.o` /home/azanella/glibc/build/powerpc64le-linux-gnu/math/test-signgam-uchar-static.o /home/azanella/glibc/build/powerpc64le-linux-gnu/support/libsupport_nonshared.a /home/azanella/glibc/build/powerpc64le-linux-gnu/math/libm.a -Wl,--start-group /home/azanella/glibc/build/powerpc64le-linux-gnu/libc.a -lgcc -lgcc_eh -Wl,--end-group `/home/azanella/toolchain/install/compilers/powerpc64le-linux-gnu/bin/powerpc64le-glibc-linux-gnu-gcc --print-file-name=crtend.o` /home/azanella/glibc/build/powerpc64le-linux-gnu/csu/crtn.o >> /home/azanella/toolchain/install/compilers/powerpc64le-linux-gnu/lib/gcc/powerpc64le-glibc-linux-gnu/10.2.1/../../../../powerpc64le-glibc-linux-gnu/bin/ld: /home/azanella/glibc/build/powerpc64le-linux-gnu/math/libm.a(e_logf128.o): in function `__ieee754_logf128_power8': >> /home/azanella/glibc/glibc-git/math/../sysdeps/ieee754/float128/../ldbl-128/e_logl.c:217: undefined reference to `__frexpf128_power8' >> /home/azanella/toolchain/install/compilers/powerpc64le-linux-gnu/lib/gcc/powerpc64le-glibc-linux-gnu/10.2.1/../../../../powerpc64le-glibc-linux-gnu/bin/ld: /home/azanella/glibc/build/powerpc64le-linux-gnu/math/libm.a(s_log1pf128.o): in function `__log1pf128_power8': >> /home/azanella/glibc/glibc-git/math/../sysdeps/ieee754/float128/../ldbl-128/s_log1pl.c:166: undefined reference to `__frexpf128_power8' >> collect2: error: ld returned 1 exit status >> make[2]: *** [../Rules:264: /home/azanella/glibc/build/powerpc64le-linux-gnu/math/test-signgam-uchar-static] Error 1 > > Sorry about that. I'll revert the patch if I'm unable to post a fix by > the end of the day. I don't think we need to hurry and revert this. I'm also looking at this. It has to do with multiarch builds. I'm sorry for not taking a look at patch 2/2. :-( -- Tulio Magno