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

Re: [Xen-devel] [PATCH] x86emul/test: disable pie for 64-bit builds



On Mon, Sep 25, 2017 at 07:16:43AM -0600, Jan Beulich wrote:
> > 
> > Actually I do have a wheezy chroot to verify that:
> > 
> > (wheezy)wei@zion:/local/work$ gcc --version
> > gcc (Debian 4.6.3-14) 4.6.3
> > 
> > (wheezy)wei@zion:/local/work$ gcc -no-pie
> > gcc: error: unrecognized option '-no-pie'
> > gcc: fatal error: no input files
> > compilation terminated.
> 
> But you said gcc would want to be passed -fno-pie anyway - does

That was a rather unfortunate typo. Sorry.

"The build rune is in fact using HOSTCC to link the executable, hence we
need -fno-pie." Should be "we need -no-pie".

> it choke on that one too?
> 

No, it doesn't.

For gcc 4.6, -fno-pie is OK but -no-pie is not, because 4.6 already has
-fno-pie.

_______________________________________________
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®.