[Mingw-w64-public] Problems when building NT kernel drivers with GCC / LD

2022-10-29 Thread Pali Rohár
Hello! I tried to develop simple NT kernel driver and build it via GNU GCC, LD and mingw-w64 ecosystem but due to issues with compiler and linker, it is not possible to generate final .sys binary without adding workarounds or postprocessing resulted PE .sys binary. I'm sending this email to all

Re: [Mingw-w64-public] [PATCH] headers/stdio: Don't attempt to perform buffer overflow checks when inlining is impossible

2022-10-29 Thread Martin Storsjö
On Fri, 28 Oct 2022, LIU Hao wrote: This makes GDB build again in MSYS2. I included this patch in my nightly build round, and it breaks compilation for i686 with clang for some reason (failing a compiler internal consistency check). I'll try to dig into it later... // Martin