Re: mbrtoc32 not found following update.

2024-08-04 Thread Jeremy Drake via Cygwin
On Sun, 4 Aug 2024, Jeremy Drake via Cygwin wrote: > TASKKILL /F /IM cygwin1.dll > to kill them Oops, make that TASKKILL /F /FI "MODULES eq cygwin1.dll" -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

Re: mbrtoc32 not found following update.

2024-08-04 Thread Jeremy Drake via Cygwin
On Sun, 4 Aug 2024, Brian Inglis via Cygwin wrote: > Most such problems happen because something has been running and not yet > terminated before running Cygwin Setup, or Windows Scheduled Tasks running > Cygwin processes while running Cygwin Setup. > > I start Task Manager, tab Details, sort by

Re: mbrtoc32 not found following update.

2024-08-04 Thread Brian Inglis via Cygwin
On 2024-08-04 12:28, Eric J Korpela via Cygwin wrote: Was away for a couple days and just came back to this. Reboots didn't seem to get the DLL replaced, which probably means something is weirdly broken with file permissions in windows on my system. That bodes ill for the future, and probably

[PATCH 6/6] Cygwin: Suppress false positive use-after-free warnings in __set_lc_time_from_win()

2024-08-04 Thread Jon Turney
Supress new use-after-free warnings about realloc(), seen with gcc 12, e.g.: > In function ‘void rebase_locale_buf(const void*, const void*, const char*, > const char*, const char*)’, > inlined from ‘int __set_lc_time_from_win(const char*, const lc_time_T*, > lc_time_T*, char**, wctomb_p,

[PATCH 4/6] Cygwin: Fix warning about narrowing conversions in tape options

2024-08-04 Thread Jon Turney
Fix a gcc 12 warning about a narrowing conversion in case labels for tape options. > In file included from /wip/cygwin/src/winsup/cygwin/include/sys/mtio.h:14, > from ../../../../src/winsup/cygwin/fhandler/tape.cc:13: > ../../../../src/winsup/cygwin/fhandler/tape.cc: In member

[PATCH 5/6] Cygwin: Fix warnings about narrowing conversions of socket ioctls

2024-08-04 Thread Jon Turney
Fix gcc 12 warnings about narrowing conversions of socket ioctl constants when used as case labels, e.g: > ../../../../src/winsup/cygwin/net.cc: In function ‘int get_ifconf(ifconf*, > int)’: > ../../../../src/winsup/cygwin/net.cc:1940:18: error: narrowing conversion of > ‘2152756069’ from ‘long

[PATCH 3/6] Cygwin: Fix warning about address known to be non-NULL in /proc/locales

2024-08-04 Thread Jon Turney
Fix a gcc 12 warning about an address known to be non-NULL in format_proc_locale_proc(). > ../../../../src/winsup/cygwin/fhandler/proc.cc: In function ‘BOOL > format_proc_locale_proc(LPWSTR, DWORD, LPARAM)’: > ../../../../src/winsup/cygwin/fhandler/proc.cc:2156:11: error: the address of >

[PATCH 2/6] Cygwin: Fix warnings about narrowing conversions of NTSTATUS constants

2024-08-04 Thread Jon Turney
Fix warnings with gcc 12 about narrowing conversions of NTSTATUS constants when used as case labels, e.g: > ../../../../src/winsup/cygwin/exceptions.cc: In static member function > ‘static int exception::handle(EXCEPTION_RECORD*, void*, CONTEXT*, > PDISPATCHER_CONTEXT)’: >

[PATCH 0/6] Fix/supress warnings with gcc 12

2024-08-04 Thread Jon Turney
Fix/supress warnings seen with gcc 12. Jon Turney (6): Cygwin: Suppress array-bounds warning from NtCurrentTeb() Cygwin: Fix warnings about narrowing conversions of NTSTATUS constants Cygwin: Fix warning about address known to be non-NULL in /proc/locales Cygwin: Fix warning about

[PATCH 1/6] Cygwin: Suppress array-bounds warning from NtCurrentTeb()

2024-08-04 Thread Jon Turney
This disables a warning seen with gcc 12 caused by intrinsics used by the inline implementation of NtCurrentTeb() inside w32api headers. > In function ‘long long unsigned int __readgsqword(unsigned int)’, > inlined from ‘_TEB* NtCurrentTeb()’ at > /usr/include/w32api/winnt.h:10020:86, >

Re: Updated: mingw64-{i686,x86_64}-gcc-12.4.0-1

2024-08-04 Thread Brian Inglis via Cygwin
On 2024-08-04 13:50, ASSI wrote: The mingw64 cross compilers have been updated for both architectures to the latest upstream release version of the gcc-11 branch: > 12 < mingw64-i686-gcc-12.4.0-1-src mingw64-i686-gcc-core-12.4.0-1

Updated: mingw64-{i686,x86_64}-gcc-12.4.0-1

2024-08-04 Thread ASSI
The mingw64 cross compilers have been updated for both architectures to the latest upstream release version of the gcc-11 branch: mingw64-i686-gcc-12.4.0-1-src mingw64-i686-gcc-core-12.4.0-1 mingw64-i686-gcc-debuginfo-12.4.0-1 mingw64-i686-gcc-fortran-12.4.0-1 mingw64-i686-gcc-g++-12.4.0-1

Re: mbrtoc32 not found following update.

2024-08-04 Thread Eric J Korpela via Cygwin
Was away for a couple days and just came back to this. Reboots didn't seem to get the DLL replaced, which probably means something is weirdly broken with file permissions in windows on my system. That bodes ill for the future, and probably means a Windows reinstall is in my future. Eventually