From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from beige.elm.relay.mailchannels.net (beige.elm.relay.mailchannels.net [23.83.212.16]) by sourceware.org (Postfix) with ESMTPS id 0EE703858409 for ; Mon, 13 Dec 2021 13:41:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0EE703858409 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 28CB48C0D09; Mon, 13 Dec 2021 13:41:50 +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 CAE8F8C0EA5; Mon, 13 Dec 2021 13:41:49 +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.120.81.174 (trex/6.4.3); Mon, 13 Dec 2021 13:41:50 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Harmony-Minister: 0c8fc3f40da71b02_1639402910072_4206437722 X-MC-Loop-Signature: 1639402910072:2028700975 X-MC-Ingress-Time: 1639402910072 Received: from [192.168.52.116] (unknown [223.185.62.238]) (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 4JCN300Frwz1F; Mon, 13 Dec 2021 05:41:47 -0800 (PST) Message-ID: <3410224d-05a3-2623-bf71-ece8adb18791@sourceware.org> Date: Mon, 13 Dec 2021 19:11:44 +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: [COMMITTED] Replace --enable-static-pie with --disable-default-pie Content-Language: en-US To: "H.J. Lu" Cc: GNU C Library References: <20211207082638.1960585-1-siddhesh@sourceware.org> <20211213030233.2286715-1-siddhesh@sourceware.org> From: Siddhesh Poyarekar In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1165.5 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_NONE, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=no 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, 13 Dec 2021 13:41:56 -0000 On 12/13/21 18:52, H.J. Lu wrote: > On Sun, Dec 12, 2021 at 7:03 PM Siddhesh Poyarekar via Libc-alpha > wrote: >> >> Build glibc programs and tests as PIE by default and enable static-pie >> automatically if the architecture and toolchain supports it. >> >> Also add a new configuration option --disable-default-pie to prevent >> building programs as PIE. >> >> Only the following architectures now have PIE disabled by default >> because they do not work at the moment. hppa, ia64, alpha and csky >> don't work because the linker is unable to handle a pcrel relocation > > Please reference linker bugs here. I mentioned them in the configure fragments. Sorry I already pushed it. Siddhesh