From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by sourceware.org (Postfix) with ESMTPS id C51573857C66 for ; Thu, 24 Dec 2020 12:32:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C51573857C66 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=whitebox@nefkom.net Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4D1qGB5TjPz1ryXR; Thu, 24 Dec 2020 13:32:18 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4D1qGB4wQ2z1qqkH; Thu, 24 Dec 2020 13:32:18 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 0pqFpW473uZ3; Thu, 24 Dec 2020 13:32:17 +0100 (CET) X-Auth-Info: 0d6uKmHyTNa83GoFGpFpUvSwVLS0EtoqKSZztPhFcYIGIBv/jwv4HzzZd258wbgM Received: from igel.home (ppp-46-244-171-133.dynamic.mnet-online.de [46.244.171.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 24 Dec 2020 13:32:17 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 770AA2C363C; Thu, 24 Dec 2020 13:32:17 +0100 (CET) From: Andreas Schwab To: Florian Weimer Cc: Adhemerval Zanella via Libc-alpha Subject: Re: [PATCH 1/2] Revert "linux: Move {f}xstat{at} to compat symbols" References: <20201022190302.2000118-1-adhemerval.zanella@linaro.org> <87eejfmngc.fsf@igel.home> <8735zve756.fsf@mid.deneb.enyo.de> X-Yow: I'm protected by a ROLL-ON I rented from AVIS.. Date: Thu, 24 Dec 2020 13:32:17 +0100 In-Reply-To: <8735zve756.fsf@mid.deneb.enyo.de> (Florian Weimer's message of "Thu, 24 Dec 2020 13:11:01 +0100") Message-ID: <87a6u3mlke.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, URIBL_SBL, URIBL_SBL_A autolearn=no 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: Thu, 24 Dec 2020 12:32:21 -0000 On Dez 24 2020, Florian Weimer wrote: > * Andreas Schwab: > >> On Okt 22 2020, Adhemerval Zanella via Libc-alpha wrote: >> >>> This reverts commit 20b39d59467b0c1d858e89ded8b0cebe55e22f60 to >>> moke {f}xstat{at} default symbols. > > How does this present itself as a problem? configure:3190: checking whether g++ can link programs configure:3213: g++ -o conftest -g -O2 conftest.cpp >&5 configure:3213: $? = 0 configure:3236: g++ -o conftest -g -O2 -static conftest.cpp >&5 /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: /usr/lib/gc\ c/i586-suse-linux/10/libstdc++.a(basic_file.o): in function `std::__basic_file<\ char>::showmanyc()': /usr/include/sys/stat.h:518: undefined reference to `__fxstat64' collect2: error: ld returned 1 exit status > Building against an older glibc for static linking against a future > glibc seems a rather fringe use case to me. That basically means you have to rebuild the world, due to the ubiquity of stat etc. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."