From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdkmA-0001kR-Ae for qemu-devel@nongnu.org; Tue, 05 Nov 2013 12:50:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vdkm1-0007ZG-3U for qemu-devel@nongnu.org; Tue, 05 Nov 2013 12:50:50 -0500 Received: from cantor2.suse.de ([195.135.220.15]:35346 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdkm0-0007Yw-Nt for qemu-devel@nongnu.org; Tue, 05 Nov 2013 12:50:40 -0500 Message-ID: <52792FED.1060305@suse.de> Date: Tue, 05 Nov 2013 18:50:37 +0100 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1383567545-16825-1-git-send-email-dvaleev@suse.com> <527808CE.2090404@twiddle.net> <52780EA4.5050702@redhat.com> In-Reply-To: <52780EA4.5050702@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] configure: Enable pie for powerpc and arm Linux List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Richard Henderson Cc: Dinar Valeev , Dinar Valeev , Dinar Valeev , qemu-devel@nongnu.org Am 04.11.2013 22:16, schrieb Paolo Bonzini: > Il 04/11/2013 21:51, Richard Henderson ha scritto: >>>> if test "$pie" =3D ""; then >>>> case "$cpu-$targetos" in >>>> - i386-Linux|x86_64-Linux|x32-Linux|i386-OpenBSD|x86_64-OpenBSD) >>>> + i386-Linux|x86_64-Linux|x32-Linux|ppc*-Linux|arm*-Linux|aarch64= *-Linux|i386-OpenBSD|x86_64-OpenBSD) >> I'd much prefer that we have a blacklist than a whitelist for this. >> Honestly, most ELF systems can support PIE, and we have very few >> non-ELF systems to support. >=20 > Since the test is followed by a compile test, we probably do not even > need the whitelist. I remember reading a report here that someone ran into a link issue with PIE on x86 at build time (check went okay) and was able to resolve it via --disable-pie. Unfortunately I couldn't locate the post - do you remember what that was about? Was that some BSD rather than Linux maybe? It's probably a good idea to still allow overriding it, whether we white- or blacklist or trust a compile test. Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg