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.9]) by sourceware.org (Postfix) with ESMTPS id 8228F3856DF4 for ; Mon, 11 Apr 2022 15:16:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8228F3856DF4 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nefkom.net Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4KcXWh1ZLBz1r0mV; Mon, 11 Apr 2022 17:16:48 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4KcXWh1H7qz1rW1t; Mon, 11 Apr 2022 17:16:48 +0200 (CEST) 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 Gp3SK0IYu5jW; Mon, 11 Apr 2022 17:16:47 +0200 (CEST) X-Auth-Info: GKTe6S0+A8CYXW8XBLb0fgbg+D2W+KsVVvzp2vW0q/KCJHLx7hnvnPx4+jFGGAM9 Received: from igel.home (ppp-46-244-161-235.dynamic.mnet-online.de [46.244.161.235]) (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; Mon, 11 Apr 2022 17:16:47 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 24BA02C367F; Mon, 11 Apr 2022 17:16:47 +0200 (CEST) From: Andreas Schwab To: Florian Weimer via Libc-alpha Cc: Florian Weimer Subject: Re: [PATCH v2 2/2] Default to --with-default-link=no (bug 25812) References: <5203390058771f6b1ee27fddce1849a7903e95d9.1649689730.git.fweimer@redhat.com> X-Yow: Let's go to CHURCH! Date: Mon, 11 Apr 2022 17:16:47 +0200 In-Reply-To: <5203390058771f6b1ee27fddce1849a7903e95d9.1649689730.git.fweimer@redhat.com> (Florian Weimer via Libc-alpha's message of "Mon, 11 Apr 2022 17:09:39 +0200") Message-ID: <878rsbvee8.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, 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, T_SCC_BODY_TEXT_LINE 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: , X-List-Received-Date: Mon, 11 Apr 2022 15:16:51 -0000 On Apr 11 2022, Florian Weimer via Libc-alpha wrote: > diff --git a/manual/install.texi b/manual/install.texi > index 29c52f2927..f240d1ae4d 100644 > --- a/manual/install.texi > +++ b/manual/install.texi > @@ -117,6 +117,12 @@ problem and suppress these constructs, so that the library will still be > usable, but functionality may be lost---for example, you can't build a > shared libc with old binutils. > > +@item --with-default-link=@var{FLAG} > +With @code{--with-default-link=yes}, @theglibc{} does not use a custom > +linker scipt for linking its individual shared objects. The default for script > +@var{FLAG} is the opposite, @samp{no}, because the custom linker script > +is needed for full RELRO protection. I don't think the description is correct. It's not the library that uses the script, it's the build process. -- 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."