[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH for-4.8 v2] tools/tests/x86_emulator: Pass -no-pie -fno-pic to gcc on x86_32



>>> On 01.11.16 at 19:00, <ian.jackson@xxxxxxxxxx> wrote:
> --- a/tools/tests/x86_emulator/Makefile
> +++ b/tools/tests/x86_emulator/Makefile
> @@ -45,6 +45,10 @@ x86_emulate/x86_emulate.c x86_emulate/x86_emulate.h:
>  
>  HOSTCFLAGS += $(CFLAGS_xeninclude)
>  
> +ifeq ($(XEN_TARGET_ARCH),x86_32)
> +HOSTCFLAGS += -no-pie -fno-pic
> +endif

I've quickly tried with gcc 4.3.4, and that one doesn't appear to know
of -no-pie. And then I went through some older gcc builds I still have
around, and to my surprise even 5.x doesn't seem to know of the
option yet (i.e. only 6.x really does).

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.