Re: [Mingw-w64-public] stat, _stat, and _stat64i32 issues

2025-03-29 Thread Lasse Collin
On 2025-03-29 Pali Rohár wrote: > On Saturday 29 March 2025 12:19:19 Lasse Collin wrote: > > On 2025-03-28 Pali Rohár wrote: > > > On Saturday 22 March 2025 15:35:48 Lasse Collin wrote: > > > > If I build with "clang -O2 -fsanitize=cfi -flto" then the > > > > program terminates with an illegal

Re: [Mingw-w64-public] stat, _stat, and _stat64i32 issues

2025-03-29 Thread Pali Rohár
On Saturday 29 March 2025 12:19:19 Lasse Collin wrote: > On 2025-03-28 Pali Rohár wrote: > > On Saturday 22 March 2025 15:35:48 Lasse Collin wrote: > > > I verified in MSYS2's CLANG64 environment that -fsanitize=function > > > and -fsanitize=undefined do complain on Windows too. > > > > > > file1.

Re: [Mingw-w64-public] stat, _stat, and _stat64i32 issues

2025-03-29 Thread Lasse Collin
On 2025-03-28 Pali Rohár wrote: > On Saturday 22 March 2025 15:35:48 Lasse Collin wrote: > > I verified in MSYS2's CLANG64 environment that -fsanitize=function > > and -fsanitize=undefined do complain on Windows too. > > > > file1.c: > > > > struct foo { int x; }; > > int foo(struct foo *

Re: [Mingw-w64-public] mingw-w64 loadcfg.S compile error

2025-03-29 Thread Jacek Caban
On 20.03.2025 20:29, Pali Rohár wrote: I suspect that the change is related to recent commit cd45d275754e ("crt: Always include load config in mingwex."). Jacek, could you look at it? For the record, my old gcc, ld and as versions are: gcc version 8.3-win32 20190406 (GCC) GNU ld (GNU Binutils)