From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bumble.birch.relay.mailchannels.net (bumble.birch.relay.mailchannels.net [23.83.209.25]) by sourceware.org (Postfix) with ESMTPS id CC5863858023 for ; Wed, 24 Nov 2021 01:27:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CC5863858023 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gotplt.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8EFE81A08B3; Wed, 24 Nov 2021 01:27:43 +0000 (UTC) Received: from pdx1-sub0-mail-a306.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E61801A0834; Wed, 24 Nov 2021 01:27:41 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from pdx1-sub0-mail-a306.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.99.149.1 (trex/6.4.3); Wed, 24 Nov 2021 01:27:43 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Battle-Oafish: 656da795458001c5_1637717263249_1612446257 X-MC-Loop-Signature: 1637717263249:3572159743 X-MC-Ingress-Time: 1637717263248 Received: from [192.168.1.174] (unknown [1.186.224.140]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a306.dreamhost.com (Postfix) with ESMTPSA id 4HzNfg6V2xz2x; Tue, 23 Nov 2021 17:27:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gotplt.org; s=gotplt.org; t=1637717261; bh=+jUjDvqL7Dwog4eXFMu8aEYHqkw=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=CooEyDSl+GuML6Kfe1ec40pEIBtexpMmC90kmaz5qrPabpU+5rZtIP4BoLQO6lxJA lYTpGsJaSd8/0TNhIvYiqEAZm/iRYuzXRs0clGe95Fn4qrP8BV7XkPoAgDRtnpc57E 7tqVl/BaoWqQ0TPe+Hfy9VIp3UajdDHmSzcyBOfw= Message-ID: <93bfce1e-285b-7d40-0148-ce466930737a@gotplt.org> Date: Wed, 24 Nov 2021 06:57:33 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [PATCH] New option --enable-pie-programs Content-Language: en-US To: =?UTF-8?B?RsSBbmctcnXDrCBTw7JuZw==?= Cc: "H.J. Lu" , Florian Weimer , GNU C Library References: <549f87ce-d3c1-c4ff-8aae-bc899668c730@gotplt.org> <838b41ee-3cbc-6ae7-0798-d2659abcea87@gotplt.org> <20211122234027.hgw4e6rjkqp3rqom@google.com> From: Siddhesh Poyarekar In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3031.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP 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: Wed, 24 Nov 2021 01:27:47 -0000 On 11/24/21 06:34, Fāng-ruì Sòng wrote: >> I think --enable-default-pie is the majority in the Linux world, so >> perhaps someone may want to make it the default in the upstream GCC. > > I filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103398 > ("configure: Enable --enable-default-pie by default for Linux"), but > it has been closed. > Anyone might want to chime in? gcc's use cases are much broader than that of glibc, so I'm not entirely sure if switching defaults for PIE would make sense. It could be something to think about though once stage 1 reopens next year. Siddhesh