wine/loader preloader.c

Mike Hearn mike at navi.cx
Sat Sep 25 14:27:10 CDT 2004


On Fri, 24 Sep 2004 09:48:07 -0700, Alexandre Julliard wrote:
> No, it makes no difference, you also need to link it differently to
> make it relocatable.

Ah OK, I didn't realise that. I thought -fPIE was the only thing necessary
to allow the kernel to map it anywhere.
 
>> There is a patch in bugzilla (I guess you saw this) to ensure -fno-pie
>> and -fno-stack-protector is passed to gcc for the preloader.
> 
> I don't think we want to add -fno-xxx for all possible options that
> people somehow might think it's a good idea to use. If people want to
> mess with the flags, fine, it may help us catch problems like with the
> -fomit-frame-pointer thing; if they don't understand what they are doing
> and break things, too bad. We should follow the Unix philosophy and not
> try to prevent people from doing stupid things.

Hehe, OK. Somebody should write down the Zen of Unix so future followers
of its teachings can learn :)

thanks -mike





More information about the wine-devel mailing list