From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id 1E8BB3858402 for ; Fri, 25 Feb 2022 00:04:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1E8BB3858402 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.90,134,1643702400"; d="scan'208";a="72415264" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 24 Feb 2022 16:04:38 -0800 IronPort-SDR: RAXo+/jfKAH8kU1pqnajR/kLhYOKNaL/fNleoPbCJupl43XQMSMAl/BmZ3sAy8y/dp6ZuGCjMR x5jS6BV2vz7s1H7jaxgEMj/hX5TXM+jc/rhoWnQzM121/hEAF/RUFVMbp/wN4tyXF+lMe0NcJf FVxfyfy5KMrDYeAxC8ExVV14v8392tISW1ZcwLyMJpCKvGIbXSwt08/vZiYfFne0tpiBtTyC3m tvta+8sB4Y/ow5vFDvMRnAx5M2/z/+v7WsWmq9XwFRXfzQg5cv1JjMiHmx2r1NgR18nB/sSEIT f4Q= Date: Fri, 25 Feb 2022 00:04:32 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Marek Polacek CC: Jakub Jelinek , Paolo Bonzini , Alexandre Oliva , GCC Patches Subject: Re: [PATCH v2] configure: Implement --enable-host-pie In-Reply-To: Message-ID: References: <20220210164805.580636-1-polacek@redhat.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-13.mgc.mentorg.com (139.181.222.13) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3114.6 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2022 00:04:41 -0000 On Thu, 24 Feb 2022, Marek Polacek via Gcc-patches wrote: > gmp/mpfr/mpc/isl are DSOs I believe and therefore always PIC. They are *not* DSOs when built in-tree (see the use of --disable-shared in the relevant parts of Makefile.def). > intl: I have no idea about this; I don't see any binaries in that directory > after a bootstrap. If you use --with-included-gettext, there should be libintl.a or similar there and it should be linked into host binaries. -- Joseph S. Myers joseph@codesourcery.com