In msys2/msys2-runtime@ae5462a53b (CI: fix the build with gcc 13,
2023-11-10), we worked around build errors that look like this:
In member function ‘virtual ssize_t fhandler_console::write(const void*, size_t)’:
cc1plus: note: source object is likely at address zero
In function ‘long long unsigned int __readgsqword(unsigned int)’,
inlined from ‘_TEB* NtCurrentTeb()’ at /usr/include/w32api/winnt.h:10013:86,
inlined from ‘tmp_pathbuf::~tmp_pathbuf()’ at winsup/cygwin/local_includes/tls_pbuf.h:21:5,
inlined from ‘virtual ssize_t fhandler_console::write(const void*, size_t)’ at winsup/cygwin/fhandler/console.cc:4047:1:
/usr/include/w32api/psdk_inc/intrin-impl.h:838:1: warning: array subscript 0 is outside array bounds of ‘long long unsig
ned int [0]’ [-Warray-bounds=]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
This happens since the recent upgrade in MSYS2 from GCC 11.3.0-4 ->
13.2.0-2.
The work-around was to add the big hammer `-Wno-error`, which was later
toned down to `-Wno-error=array-bounds`, among other more surgical
options, in msys2/msys2-runtime@76fd7eae5a (fixup! CI: fix the build
with gcc 13, 2023-12-22).
Helpfully, a work-around for the actual compile error was proposed in
https://sourceforge.net/p/mingw-w64/mailman/message/37674508/ on
the mingw-w64-public mailing list. Let's use that for now.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
For now adds a "provides=(msys2-devel)" to gcc to keep installation
working and install the same set of packages.
Next step is to makedepend on gcc where needed and remove msys2-devel
from the docs.
In some cases this will introduce cycles which could likely be cleaned
up by only depending on some unix tools instead of the whole autotools.
Rebuilding doesn't make much sense at this point since it just adds a subset
of base-devel which is still installed by default.
gawk – 4.2.0-1 - Update to latest 4.2.0 version, remove unnecessary patch, rebuild with MPRF 4.0.0.1-3
gcc – 6.4.0-2 – rebuild 6.4.0 with isl 0.18, mpc 1.1.0-1 and mpfr 4.0.0.1-3
isl - 0.18-1 – Update to 0.18 version 4.0.0.1-3
Mingw-w64-crt-git – Update to latest mingw-w64 from git
mingw-w64-gcc – 6.4.0-2 – Update to gcc 6.4.0 – rebuild with isl 0.18-1 and mfpr 4.0.0.1-3. Skipped 1 rev to match gcc 6.4.0-2
mingw-w64-headers-git – Update to latest mingw-w64 from git
mingw-w64-tools-git – Update to latest mingw-w64 from git
mingw-w64-winpthreads-git – Update to latest mingw-w64 from git
mingw-w64-winstorecompat-git – Update to latest mingw-w64 from git
mpc – 1.1.0-1 – Update to mpc 1.1.0
mpr - 4.0.0.1-3 – Update to mpfr 4.0.0.1 – added workaround for issue I described above, rekey patches
msys2-w32api-headers-git – Update to latest mingw-w64 from git
msys2-w32api-runtime-git – Update to latest mingw-w64 from git
* upgrade some broken packages
* correct some broken urls/checksums
* use secure urls where possible
* use stable url for ncurses
* some whitespace fixes
Remaining md5sums either didn't download or
didn't pass checksum tests.