[Mingw-w64-public] rubenvb GCC 4.8 x64 SEH build

2012-09-25 Thread Ruben Van Boxem
Hi everyone,

I am in the process of uploading a GCC 4.8 experimental build fo 64-bit
Windows. It uses MinGW-w64 and GCC trunk (soon to be 4.8).

It employs the new SEH for C++ (and other languages') exception handling.
This will supercede sjlj exception handling for Win64 and is enabled in GCC
4.8 by default. It should perform better than sjlj and be compatible with
foreign dll's like sjlj (in contrast to dw2). It is the best of both
worlds. MSVC uses the same mechanism, but this does not mean C++ code is
magically compatible. ABI is still incompatibly different between the two
compilers.

I had to apply this bug's patch:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54314

Which is not strictly correct (the export is added under a wrong library
version if I'm not mistaken) so this toolchain will most likely not be
compatible with the final GCC 4.8.0.

If anyone would like to compare performance of seh vs sjlj, please inform
the list. I could build a sjlj GCC 4.8 to make it a really fair comparison,
but I think a rough GCC 4.7 sjlj vs GCC 4.8 seh comparison will speak for
itself. I believe Jonathan Liu contacted me via github for a 32-bit dw2
build for performance reasons due to sjlj being too slow. It would be great
if you could rerun that little test you ran back then.

Enjoy,

Ruben

PS: Downloads available here:
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/rubenvb/gcc-4.8-experimental-seh/
http://sourceforge.net/projects/mingw-w64/files/Toolchain%20sources/Personal%20Builds/rubenvb/experimental/
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] rubenvb GCC 4.8 x64 SEH build

2012-09-26 Thread Christer Solskogen
Ruben Van Boxem  writes:

> 
> Hi everyone,I am in the process of uploading a GCC 4.8 experimental build fo 
> 64-bit Windows.

I tried it after I used my own toolchain. The thing that I noticed is that both 
your toolchain(cc1.exe) and mine crash when compiling Boost. That is something 
that the GCC 4.7.x did not.

Also, a tip: With 4.8 you can compile all the dependencies for GCC 
(gmp,mpfr,mpc,cloog and ppl) statically. Also, if all the prereqs are installed
in the same directory you only need to tell GCC's configure where gmp is and
where isl is. It will figure out the rest by it self. 

This is my configure line (for creating a native windows compiler) 
prefix=/home/solskogen/obj/mingw64 --build=x86_64-unknown-freebsd9.1 
--target=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --disable-nls 
--with-gmp=/home/solskogen/obj/prereq.x86_64-w64-mingw32 
--with-isl=/home/solskogen/obj/prereq.x86_64-w64-mingw32 
--enable-languages=c,c++ --with-sysroot=/home/solskogen/obj/mingw64
--enable-checking=release --enable-gomp --with-threads=win32 
--disable-win32-registry --enable-shared --enable-static

-- 
chs



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] rubenvb GCC 4.8 x64 SEH build

2012-09-26 Thread Ruben Van Boxem
2012/9/26 Christer Solskogen 

> Ruben Van Boxem  writes:
>
> >
> > Hi everyone,I am in the process of uploading a GCC 4.8 experimental
> build fo
> > 64-bit Windows.
>
> I tried it after I used my own toolchain. The thing that I noticed is that
> both
> your toolchain(cc1.exe) and mine crash when compiling Boost. That is
> something
> that the GCC 4.7.x did not.
>

That's a bug worth reporting to GCC bugzilla.


>
> Also, a tip: With 4.8 you can compile all the dependencies for GCC
> (gmp,mpfr,mpc,cloog and ppl) statically. Also, if all the prereqs are
> installed
> in the same directory you only need to tell GCC's configure where gmp is
> and
> where isl is. It will figure out the rest by it self.
>

ppl is not used by GCC 4.8. And I already used statically built
dependencies since GCC 4.5.

Thanks for the information,

Ruben


>
> This is my configure line (for creating a native windows compiler)
> prefix=/home/solskogen/obj/mingw64 --build=x86_64-unknown-freebsd9.1
> --target=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --disable-nls
> --with-gmp=/home/solskogen/obj/prereq.x86_64-w64-mingw32
> --with-isl=/home/solskogen/obj/prereq.x86_64-w64-mingw32
> --enable-languages=c,c++ --with-sysroot=/home/solskogen/obj/mingw64
> --enable-checking=release --enable-gomp --with-threads=win32
> --disable-win32-registry --enable-shared --enable-static
>
> --
> chs
>
>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public