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 1A4A2139694 for ; Wed, 7 Jun 2017 22:05:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E20A421C0A0; Wed, 7 Jun 2017 22:05:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 93F06E0BF4 for ; Wed, 7 Jun 2017 22:05:35 +0000 (UTC) Received: from sf (host86-155-195-76.range86-155.btcentralplus.com [86.155.195.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: slyfox) by smtp.gentoo.org (Postfix) with ESMTPSA id C9DF0341AB3; Wed, 7 Jun 2017 22:05:32 +0000 (UTC) Date: Wed, 7 Jun 2017 23:05:20 +0100 From: Sergei Trofimovich To: "Andreas K. Huettel" Cc: gentoo-dev@lists.gentoo.org, llvm@gentoo.org, qa@gentoo.org, haskell@gentoo.org, williamh@gentoo.org, ml@gentoo.org, longlene@gmail.com, toolchain@gentoo.org Subject: Re: [gentoo-dev] New 17.0 release profiles Message-ID: <20170607230520.10db9857@sf> In-Reply-To: <2974156.Z0voFz2cgn@pinacolada> References: <2974156.Z0voFz2cgn@pinacolada> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) 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: multipart/signed; micalg=pgp-sha1; boundary="Sig_/5iUIodUi2z_qYL6e8h1_3SS"; protocol="application/pgp-signature" X-Archives-Salt: 4b8658d1-80cc-4076-a0b9-228d4b238539 X-Archives-Hash: 5a25bfc80e45e231be93dad812438bb9 --Sig_/5iUIodUi2z_qYL6e8h1_3SS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 07 Jun 2017 22:44:31 +0200 "Andreas K. Huettel" wrote: > 2) Switch GCC from default-non-PIE to default-PIE executables. Yay \o/. It's a major change though. Will qa@ write us some docs on the topic? Landing page: https://wiki.gentoo.org/wiki/Project:Quality_Assurance#Documentation Currently we have scarce mention of PIC-related problems: https://wiki.gentoo.org/wiki/Hardened/Position_Independent_Code_interna= ls https://wiki.gentoo.org/wiki/Project:AMD64/Fixing_-fPIC_Errors_Guide We will have a bit more more of those problems. Recent example: https://bugs.gentoo.org/show_bug.cgi?id=3D618366 I'm personally interested in how to filter out '-pie' in dosemu. What is the canonical way to detect '-pie' / '-no-pie' support in toolchain and flip it? A quick poll: How about other toolchains? A few examples that will have (perhaps minor) troubles doing that: - sys-devel/clang will need to be defaulting to pie. llvm@ llvm is especially touchy as otherwise it's easy to have static library m= ix. - dev-lang/ghc will need to be defaulted to pie. haskell@ - dev-lang/go will need to be defaulted to pie. williamh@ - dev-lang/ocaml will need to be defaulted to pie. ml@ - dev-lang/crystal will need to be defaulted to pie. longlene@gmail.com - others? [haskell@ hat on] We are OK to invest some time and default to pie for dev-lang/ghc produced binaries. Perhaps slightly after new profiles are introduced into the tree as it will require merging a few patches upstream. --=20 Sergei --Sig_/5iUIodUi2z_qYL6e8h1_3SS Content-Type: application/pgp-signature Content-Description: Цифровая подпись OpenPGP -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSZKa0VG5avZRlY01hxoe52YR/zqgUCWTh4oAAKCRBxoe52YR/z qm2/AJ4v3iFHsPW980wL3i3UziM38af+vACfemQg2jjLmCOmO7KeTlAws62r1E4= =E+iZ -----END PGP SIGNATURE----- --Sig_/5iUIodUi2z_qYL6e8h1_3SS--