Re: [Mingw-w64-public] undefined reference to __udivmoddi4 with GCC 11.1.0

2021-05-05 Thread sotrdg sotrdg
BTW. Why do you still use GCC 11.1.0? It is too old. Now it is GCC 12.0.0. We have used GCC 11 for a year. It is too old. Sent from Mail for Windows 10 From: Liu Hao Sent: Wednesday, May 5, 2021 22:39 To: mingw-w64-public@

Re: [Mingw-w64-public] undefined reference to __udivmoddi4 with GCC 11.1.0

2021-05-05 Thread sotrdg sotrdg
This only proves you did things very wrong. __udivmoddi4 is shipped with libgcc. If you build libgcc, you won’t have that issue. Sent from Mail for Windows 10 From: Liu Hao Sent: Wednesday, May 5, 2021 22:39 To: mingw-w64

Re: [Mingw-w64-public] undefined reference to __udivmoddi4 with GCC 11.1.0

2021-05-05 Thread Liu Hao
在 5/5/21 6:48 PM, Jonas Kvinge 写道: Hi I'm trying to build with GCC 11.1.0, but getting the following udefined reference with i686-w64-mingw32.shared. x86_64-w64-mingw32.shared works. i686-w64-mingw32.shared/gcc-11.1.0.build_.pthreads/../gcc-11.1.0.build_/mingw-w64-v8.0.0/mingw-w64-libraries/wi

[Mingw-w64-public] [PATCH] winpthreads: Add `__udivmoddi4()`

2021-05-05 Thread Liu Hao
-- Best regards, Liu Hao From 5e1a4aa52dbc47091d394b67bde39c314389e1fa Mon Sep 17 00:00:00 2001 From: Liu Hao Date: Thu, 6 May 2021 10:33:48 +0800 Subject: [PATCH] winpthreads: Add `__udivmoddi4()` Like 431ac2a912708546cd7271332e9331399e66bc62 but this is for GCC 11. It is identical to `__qdivr

[Mingw-w64-public] does not work correctly with lld when lto enabled

2021-05-05 Thread unlvsur unlvsur
It cannot find WinMain D:\hg\fast_io\.tmp\news>g++ -o a a.cc -Ofast -std=c++20 -s -flto -fuse-ld=lld -march=native -fno-exceptions -fno-rtti -fno-unwind-tables -fno-asynchronous-unwind-tables lld-link: error: undefined symbol: WinMain >>> referenced by ../../../../../mingw-w64/mingw-w64-crt/crt\

[Mingw-w64-public] GetTickCount64 not found in Kernel32.dll for OS before windows 7 or ReactOS?

2021-05-05 Thread unlvsur unlvsur
Why? Sent from Mail for Windows 10 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

[Mingw-w64-public] glibc symbols import for wine?

2021-05-05 Thread unlvsur unlvsur
I need a wineglibc.dll and wineglibc.a to import all symbols from glibc on Linux. Is that possible? Sent from Mail for Windows 10 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

[Mingw-w64-public] [PATCH] winpthreads: Increase precision of CLOCK_REALTIME, add CLOCK_REALTIME_COARSE.

2021-05-05 Thread Christian Franke
This patch makes the precision of CLOCK_REALTIME consistent with new 'gettimeofday()' and provides the old behavior as CLOCK_REALTIME_COARSE. CLOCK_REALTIME_COARSE is not part of POSIX, but available in Linux since 2009 and in Cygwin since 2018. -- Best regards, Christian Franke From 778f7b3

Re: [Mingw-w64-public] [PATCH] headers: Import wuapi.idl from wine.

2021-05-05 Thread Liu Hao
在 2021-05-05 13:08, Biswapriyo Nath 写道: From ed477454b564a0d3a4cd1a0af0249fc575b741c5 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 5 May 2021 10:37:11 +0530 Subject: [PATCH] headers: Import wuapi.idl from wine. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/Makefile.am|

Re: [Mingw-w64-public] [PATCH] crt: Increase precision of gettimeofday() if possible.

2021-05-05 Thread Liu Hao
在 2021-05-04 23:50, Martin Storsjö 写道: On Tue, 4 May 2021, Liu Hao wrote: 在 2021-05-04 18:03, Christian Franke 写道: Next try attached. Thanks. This patch looks good to me. I may push this one if others don't have objections on it. That patch seems to work for me, thanks! Good, I push

Re: [Mingw-w64-public] [PATCH] crt: Undefine `__rdtsc` for GCC 11

2021-05-05 Thread Liu Hao
在 2021-04-10 20:08, Liu Hao 写道: From f3e91c4d4fded83dfbced83a9449c5756d3448da Mon Sep 17 00:00:00 2001 From: Liu Hao Date: Sat, 10 Apr 2021 20:05:36 +0800 Subject: [PATCH] crt: Undefine `__rdtsc` for GCC 11 Signed-off-by: Liu Hao Ping? -- Best regards, Liu Hao OpenPGP_signature Descriptio