From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id E11713959CB7 for ; Tue, 4 May 2021 16:51:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E11713959CB7 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-562-RJ6bLr1aM3y0ZXsyHSvsig-1; Tue, 04 May 2021 12:51:47 -0400 X-MC-Unique: RJ6bLr1aM3y0ZXsyHSvsig-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5585618B9F83; Tue, 4 May 2021 16:51:46 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-112-137.ams2.redhat.com [10.36.112.137]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4966A5D6CF; Tue, 4 May 2021 16:51:45 +0000 (UTC) From: Florian Weimer To: Andreas Schwab Cc: libc-alpha@sourceware.org Subject: Re: [RFC] elf: Implement filtering of symbols historically defined in libpthread References: <87h7jqguew.fsf@oldenburg.str.redhat.com> <87sg324pes.fsf@igel.home> Date: Tue, 04 May 2021 18:52:00 +0200 In-Reply-To: <87sg324pes.fsf@igel.home> (Andreas Schwab's message of "Tue, 04 May 2021 15:08:43 +0200") Message-ID: <877dkeigr3.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, 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: Tue, 04 May 2021 16:51:52 -0000 * Andreas Schwab: > https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:glibc:test/glibc/p/ppc64le > > make -C localedata install-locales > make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/glibc-2.33.9000.493.g2a76821c30/localedata' > .././scripts/mkinstalldirs /home/abuild/rpmbuild/BUILDROOT/glibc-2.33.9000.493.g2a76821c30-2839.1.ppc64le/usr/lib/locale > mkdir -p -- /home/abuild/rpmbuild/BUILDROOT/glibc-2.33.9000.493.g2a76821c30-2839.1.ppc64le/usr/lib/locale > aa_DJ.UTF-8aa_ER.UTF-8C.UTF-8...aa_DJ.ISO-8859-1.........make[2]: *** [Makefile:449: install-archive-aa_DJ.UTF-8/UTF-8] Error 132 > make[2]: *** Waiting for unfinished jobs.... > make[2]: *** [Makefile:449: install-archive-C.UTF-8/UTF-8] Error 132 > make[2]: *** [Makefile:449: install-archive-aa_ER/UTF-8] Error 132 > make[2]: *** [Makefile:449: install-archive-aa_DJ/ISO-8859-1] Error 132 > make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/glibc-2.33.9000.493.g2a76821c30/localedata' > make[1]: *** [Makefile:731: localedata/install-locales] Error 2 > make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/glibc-2.33.9000.493.g2a76821c30' > make: *** [Makefile:9: localedata/install-locales] Error 2 Thanks, I'll try to reproduce this locally tomorrow. I assume this command is failing: $(LOCALEDEF) $$flags --alias-file=../intl/locale.alias \ -i locales/$$input -f charmaps/$$charset \ $(addprefix --prefix=,$(install_root)) $$locale \ Note that if you have existing binaries that use weak symbols *and* GLIBC_2.34 (likely due to __libc_start_main@@GLIBC_2.34), you will have to do something about them. The compatibility kludge will not work if programs are linked against certain intermediate glibc 2.34 snapshots. Thanks, Florian