Re: [Mingw-w64-public] Proposal for a C11 header and announcement of mcfgthread, a library that implements efficient C11 and C++11 thread support without using winpthread

2016-06-28 Thread lh mouse
Yes. There are two major reasons at the moment: 0. The gthread and c11 thread use global BSTs to translate thread IDs to HANDLEs upon *_join() or *_detach() calls, which would be problematic if mcfgthread is linked statically, since each dynamic library as well as the executable is going to have

Re: [Mingw-w64-public] Proposal for a C11 header and announcement of mcfgthread, a library that implements efficient C11 and C++11 thread support without using winpthread

2016-06-28 Thread Norbert Pfeiler
Hi, sorry for being so late. I welcome a proper native thread implementation for windows gcc. I have one point to address: I like the fact that i can easily build static executables with mingw-w64. In a few statements it was suggested that this will not be possible for mcfgthread but i didn’t come

[Mingw-w64-public] march=native empty/blank cross compiing?

2016-06-28 Thread Roger Pack
As a note, when I tried compiling gnutls today using "-march=native" It failed, like $ i686-w64-mingw32-gcc test.c -march=native /var/folders/_s/c0kwjqxn2txglx5kdpcvmj0jb5h2bk/T//ccoQWGPg.o:test.c:(.text+0x1b): undefined reference to `__sync_val_compare_and_swap_4' collect2: error: ld returned

Re: [Mingw-w64-public] Mass rebuild report for May 11 2016

2016-06-28 Thread Roger Pack
We've run into a similar issue cross-compiling fontconfig (mingw-w64 git) demo: $ cat test_mme.c #define WIN32_LEAN_AND_MEAN #include //#include int main(void) { MemoryBarrier(); return 1; } $ ./sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-gcc test_mme.c $ ./sandbox/cross_compile