configure.ac: Turn off the stack protector for the preloader.
Mike McCormack
mike at codeweavers.com
Wed Nov 1 20:38:29 CST 2006
---
As discussed in bug 6550, Ubuntu switches on -fstack-protector by
default, and the stack protector code assumes glibc has initialized %gs,
which is not the case for binaries not linked against glibc.
wine-preloader crashes on these platforms. This code detects whether we
can use -fno-stack-protector to turn off the stack protector, and if so
compiles wine-preloader with that flag.
After applying this patch, you need to run autoconf.
Mike
see: http://bugs.winehq.org/show_bug.cgi?id=6550
configure.ac | 14 ++++++++++++++
loader/Makefile.in | 3 ++-
2 files changed, 16 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6e0b512c43c71890dba2d3358b0a30672d8f1a0b.diff
Type: text/x-patch
Size: 1553 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061102/97cd4243/6e0b512c43c71890dba2d3358b0a30672d8f1a0b.bin
More information about the wine-patches
mailing list