From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3251A1396D0 for ; Tue, 10 Oct 2017 02:10:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECF792BC055; Tue, 10 Oct 2017 02:10:33 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9115E2BC032 for ; Tue, 10 Oct 2017 02:10:33 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1e1jzv-0002r2-U3 for gentoo-dev@lists.gentoo.org; Tue, 10 Oct 2017 04:10:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Duncan <1i5t5.duncan@cox.net> Subject: [gentoo-dev] Re: RFC: news item for the 17.0 profiles Date: Tue, 10 Oct 2017 02:10:13 +0000 (UTC) Message-ID: References: <1528131.eIYCIZq90I@pinacolada> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Pan/0.143 (Quaint little villages here and there; 54f7ff4db) X-Archives-Salt: 91736d57-8dfb-4510-a260-932e9ccd412b X-Archives-Hash: 69aa3f3a42cc3dbcc6ee97ce73303d0f Andreas K. Huettel posted on Mon, 09 Oct 2017 22:58:22 +0200 as excerpted: > Please consider switching from your current 13.0 profile to the > corresponding 17.0 profile soon after GCC-6.4.0 has been stabilized on > your architecture. The 13.0 profiles will be deprecated and removed in > the near future. > > Switching involves the following steps: > If not already done, > * Use gcc-config to select gcc-6.4.0 or later as system compiler > * Re-source /etc/profile: > . /etc/profile > * Re-emerge libtool Then, > * Select the new profile with eselect > * Re-emerge, in this sequence, gcc, binutils, and glibc > emerge -1 sys-devel/gcc:6.4.0 > emerge -1 sys-devel/binutils > emerge -1 sys-libs/glibc > * Rebuild your entire system > emerge -e world > > If you do not follow these steps you may get spurious build failures > when the linker tries unsuccessfully to combine non-PIE and PIE code. One thing isn't clear here. Is this sequence necessary due to the profile switch itself, because the /profile/ enables PIE by default, or is it gcc-6.4+ that enables PIE, and the profile simply forces the PIE default by forcing gcc-6.4+? The answer makes a big difference to those already on gcc-6.4+ and who presumably already did an empty-tree rebuild of @world when upgrading to it, but not yet on the new profile. Do they have to do all that again when they switch profiles, or is that a bridge they've already crossed with the gcc upgrade? Either way, making the answer to that explicit should be useful, avoiding either an unnecessary full rebuild, or avoiding the problems because the news item wasn't clear and people already on gcc-6.4+ thought the procedure didn't apply to them. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman