Re: Build wine with gcc-4.3 and ssp

2009-01-04 Thread Stefan Reimer
> On Sat, Jan 03, 2009 at 07:52:10PM +0100, Stefan Reimer wrote: >> > On Fri, Jan 02, 2009 at 11:14:52PM +0100, Stefan Reimer wrote: >> I am using gentoo hardened: >> >> gcc (Gentoo Hardened 4.3.2-r7 p1.5, ssp, fortify, pie-10.2.0) 4.3.2 glibc 2.8 >> >> U

Re: Build wine with gcc-4.3 and ssp

2009-01-04 Thread Stefan Reimer
> On Sat, Jan 03, 2009 at 07:52:10PM +0100, Stefan Reimer wrote: >> > On Fri, Jan 02, 2009 at 11:14:52PM +0100, Stefan Reimer wrote: >> I am using gentoo hardened: >> >> gcc (Gentoo Hardened 4.3.2-r7 p1.5, ssp, fortify, pie-10.2.0) 4.3.2 >> glibc 2.8 >>

Re: Build wine with gcc-4.3 and ssp

2009-01-03 Thread Stefan Reimer
> On Fri, Jan 02, 2009 at 11:14:52PM +0100, Stefan Reimer wrote: >> Hi, >> to build wine using gcc 4.3 with enabled ssp (stack-smashing-protector) the following patch must be applied to loader/preloader.c >> >> see gcc source ./gcc/config/i386/i386.c around line 24391

Re: Build wine with gcc-4.3 and ssp

2009-01-03 Thread Stefan Reimer
> On Fri, Jan 02, 2009 at 11:14:52PM +0100, Stefan Reimer wrote: >> Hi, >> to build wine using gcc 4.3 with enabled ssp (stack-smashing-protector) >> the following patch must be applied to loader/preloader.c >> >> see gcc source ./gcc/config/i386/i386.c around li

Re: Build wine with gcc-4.3 and ssp

2009-01-03 Thread Stefan Reimer
> On Fri, Jan 02, 2009 at 11:14:52PM +0100, Stefan Reimer wrote: >> Hi, >> to build wine using gcc 4.3 with enabled ssp (stack-smashing-protector) >> the following patch must be applied to loader/preloader.c >> >> see gcc source ./gcc/config/i386/i386.c around li

Re: Kernel32: 3GB UserSpace boot option

2008-10-16 Thread Stefan Reimer
> "Stefan Reimer" <[EMAIL PROTECTED]> writes: > >> compiling binaries with the LARGE_ADDRESS_AWARE flag set is not enough >> to >> be able to use more than 2GB user space. >> To behave like WindowsXP booted with the /3GB option, at least the >>

Re: Kernel32: 3GB UserSpace boot option

2008-10-16 Thread Stefan Reimer
*)0x7FFE; we should look at this in order to be able to use more than 2GB user space for apps that need it. Regards Stefan Reimer

Re: Kernel32: 3GB UserSpace boot option

2008-10-15 Thread Stefan Reimer
The EQ2 binary is large address aware. Windows changes it upper most user space address from 0x7FFE to 0xBFFE booting with /3GB and this is not possible in wine right now as I think. Stefan > "Stefan Reimer" <[EMAIL PROTECTED]> wrote: > >> I hacked wine to e

Kernel32: 3GB UserSpace boot option

2008-10-15 Thread Stefan Reimer
be enabled by a wine start parameter or a registry key ? Is the registry already setup during the call of libs/wine/mmap.c ? Bye Stefan Reimer diff --git a/dlls/kernel32/cpu.c b/dlls/kernel32/cpu.c index a49df99..61dd2be 100644 --- a/dlls/kernel32/cpu.c +++ b/dlls/kernel32/cpu.c @@ -383,7 +383