From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPy1h-0000ML-7l for qemu-devel@nongnu.org; Mon, 14 Nov 2011 10:00:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RPy1d-000502-03 for qemu-devel@nongnu.org; Mon, 14 Nov 2011 10:00:49 -0500 Received: from mail-qw0-f45.google.com ([209.85.216.45]:33158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPy1c-0004zk-UE for qemu-devel@nongnu.org; Mon, 14 Nov 2011 10:00:44 -0500 Received: by qabg14 with SMTP id g14so1905815qab.4 for ; Mon, 14 Nov 2011 07:00:44 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <1321281701-4192-1-git-send-email-avi@redhat.com> Date: Mon, 14 Nov 2011 15:00:43 +0000 Message-ID: From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1.0] configure: build position independent executables across the board, by default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Blue Swirl , Paul Moore , qemu-devel@nongnu.org On 14 November 2011 14:59, Peter Maydell wrote: > On 14 November 2011 14:41, Avi Kivity wrote: >> +if test "$pie" =3D "yes" ; then >> + =C2=A0QEMU_CFLAGS=3D"-fPIE -DPIE $QEMU_CFLAGS" >> + =C2=A0LDFLAGS=3D"-Wl,-pie $LDFLAGS" > It would be good to see some testing that this works on all > our random oddball hosts (MacOSX, for instance, which doesn't > use GNU ld) and architectures we apply this... *before we apply this... -- PMM (rats)