gcc-mingw-w64 (28.3) unstable; urgency=medium

  * Disable elfpackagemetadata in target builds.

 -- Stephen Kitt <skitt@debian.org>  Wed, 28 Jan 2026 13:24:13 +0100

gcc-mingw-w64 (28.2) unstable; urgency=medium

  [ Stephen Kitt ]
  * Start adding autopkgtests, with the reproducer for #1121403.
  * Drop “Priority: optional” since it’s now the default.
  * Standards-Version 4.7.3, no further change required.

  [ Konstantin Demin ]
  * Refresh patches.
  * Bump debhelper to 13.
  * d/copyright: switch to https:.
  * Disable NLS for the bootstrap package.
  * Prevent packages from triggering ldconfig.
  * Fix stripping of UCRT binaries.

 -- Stephen Kitt <skitt@debian.org>  Tue, 27 Jan 2026 09:00:04 +0100

gcc-mingw-w64 (28.1) unstable; urgency=medium

  * Drop rtinit-stdlib.patch, fixed in gcc-15 15.2.0-11 with ada/123037.
    Closes: #1124161.

 -- Stephen Kitt <skitt@debian.org>  Tue, 30 Dec 2025 14:55:24 +0100

gcc-mingw-w64 (28) unstable; urgency=medium

  [ Helmut Grohne ]
  * Mark cross toolchain packages Multi-Arch: foreign. Closes: #1106098.

  [ Stephen Kitt ]
  * Switch to GCC 15.
  * Ignore “no-code-sections” errors, Lintian doesn’t handle PE
    libraries.
  * Drop “Rules-Requires-Root: no” since it’s now the default.

  [ Konstantin Demin ]
  * Remove obsolete binutils version constraint.

 -- Stephen Kitt <skitt@debian.org>  Fri, 07 Nov 2025 09:30:04 +0100

gcc-mingw-w64 (27) unstable; urgency=medium

  [ Konstantin Demin ]
  * Switch to GCC 14. Closes: #1092654.

  [ Stephen Kitt ]
  * Use versioned gnat binaries by adding links to their default
    equivalents in a local directory. This allows the build to use a
    gnat-... package without depending on the default gnat package.
  * Drop references to gnatfind and gnatxref, removed in GCC 12.
  * Standards-Version 4.7.2, no change required.

 -- Stephen Kitt <skitt@debian.org>  Sun, 02 Mar 2025 20:11:13 +0100

gcc-mingw-w64 (26.8) unstable; urgency=medium

  * Limit the gnat-mingw-w64-ucrt64 architectures to those where gnat is
    available.
  * Add missing Replaces/Conflicts between the bootstrap and regular
    C/C++ compiler packages. Closes: #1093747.

 -- Stephen Kitt <skitt@debian.org>  Fri, 07 Feb 2025 07:51:32 +0100

gcc-mingw-w64 (26.7) unstable; urgency=medium

  * Refactor flag construction, drop --as-needed for the host since
    that’s the toolchain default.
  * Always build the bootstrap package.
  * Remove build directories once they’re installed to reduce disk space
    requirements.
  * Make the bootstrap package ship its own documentation instead of
    depending on the base package. This simplifies dependency resolution
    for the package in experimental, and means the base package can be
    dropped in stage1.
  * Provide UCRT cross-compilers, targeting POSIX threads to match Fedora
    and MSYS2. Closes: #1038210.
  * Include stdlib.h in rtinit for gnat.
  * d/rules: $(COMMA) isn’t defined, use $(comma) instead.

 -- Stephen Kitt <skitt@debian.org>  Sat, 18 Jan 2025 18:54:00 +0100

gcc-mingw-w64 (26.6) unstable; urgency=medium

  * When adjusting parallelism to limit per-CPU memory usage, clamp the
    result between 1 and the number of available CPUs inclusive. Thanks
    to Santiago Vila for the patch! Closes: #1088874.
  * Evaluate flags when declaring them. This fixes the build with Make
    4.4.

 -- Stephen Kitt <skitt@debian.org>  Wed, 04 Dec 2024 07:36:40 +0100

gcc-mingw-w64 (26.5) unstable; urgency=medium

  * libgfortran doesn’t handle _FOR_TARGET flags, so explicitly set
    FCFLAGS to the target flags, and avoid using dh_auto_configure so
    that the flags variables aren’t reset.

 -- Stephen Kitt <skitt@debian.org>  Wed, 23 Oct 2024 13:20:10 +0200

gcc-mingw-w64 (26.4) unstable; urgency=medium

  [ Konstantin Demin ]
  * Remove obsolete variables and dh_gencontrol flags.
  * Handle spaces in spelling fixes correctly.
  * Simplify version variable construction.
  * Verbose debhelper by default.

  [ Stephen Kitt ]
  * Simplify bootstrap handling in debian/rules.
  * Switch to short dh rules, bumping to debhelper compatibility level
    10.
  * Stop requiring the runtime packages in the stage1 profile.
  * d/rules: consistently use expected/actual argument order in
    ifeq/ifneq.
  * When cleaning up runtime .install files, check for ADA in the list
    of languages, not the arches.
  * Rely on the build profile to “filter” debian/control.
  * Standards-Version 4.7.0, no change required.

 -- Stephen Kitt <skitt@debian.org>  Sat, 19 Oct 2024 20:09:27 +0200

gcc-mingw-w64 (26.3) unstable; urgency=medium

  * Give an absolute path to debian/changelog as a reference for touch.

 -- Stephen Kitt <skitt@debian.org>  Mon, 18 Mar 2024 06:38:05 +0100

gcc-mingw-w64 (26.2) unstable; urgency=medium

  * Never undefine _REENTRANT; this ensures it’s always defined when
    appropriate (and only when appropriate). Closes: #792909.
  * Don’t treat missing function declarations as errors when building
    for Windows, the 64-bit time_t change is irrelevant there. Closes:
    #1066350.
  * As suggested by Konstantin Demin, reset the timestamp on BASE-VER
    after changing it to avoid unwanted rebuilds.

 -- Stephen Kitt <skitt@debian.org>  Sun, 17 Mar 2024 23:20:17 +0100

gcc-mingw-w64 (26.1) unstable; urgency=medium

  * Add missing find arguments...

 -- Stephen Kitt <skitt@debian.org>  Sun, 24 Sep 2023 20:34:25 +0200

gcc-mingw-w64 (26) unstable; urgency=medium

  * Switch to GCC 13.
  * Drop breaks/conflicts for old package splits, the affected versions
    are all obsolete.
  * Use find -exec instead of piping find’s output into xargs.

 -- Stephen Kitt <skitt@debian.org>  Sat, 23 Sep 2023 18:22:52 +0200

gcc-mingw-w64 (25.3) unstable; urgency=medium

  * Stop setting the build timestamp manually, ld takes care of that
    itself now. Closes: #1052220.

 -- Stephen Kitt <skitt@debian.org>  Thu, 21 Sep 2023 07:23:25 +0200

gcc-mingw-w64 (25.2) unstable; urgency=medium

  [ Konstantin Demin ]
  * Restore the ability to parallel-install POSIX and Win32 thread
    variants.
  * Install g++-mapper-server in the g++ packages.

  [ Stephen Kitt ]
  * Standards-Version 4.6.2, no change required.

 -- Stephen Kitt <skitt@debian.org>  Tue, 10 Jan 2023 17:40:24 +0100

gcc-mingw-w64 (25.1) unstable; urgency=medium

  * Correctly remove the g++-mingw-w64-x86-64-win32 alternative. Closes:
    #1026306.
  * Update Lintian overrides to the new format.

 -- Stephen Kitt <skitt@debian.org>  Sun, 18 Dec 2022 22:03:42 +0100

gcc-mingw-w64 (25) unstable; urgency=medium

  * Upgrade to GCC 12. Closes: #1023679. It is no longer possible to tweak
    the installation directory for different thread models, so the -posix
    and -win32 packages are no longer co-installable.
  * Drop “Built-Using” from “Architecture: all” packages.
  * Since the POSIX and Win32 packages are no longer co-installable,
    drop support for alternatives and use symlinks to provide the full
    set of command names.
  * Standards-Version 4.6.1, no change required.

 -- Stephen Kitt <skitt@debian.org>  Mon, 12 Dec 2022 09:00:34 +0100

gcc-mingw-w64 (24.4) unstable; urgency=medium

  * Fix building without vsnprintf. Closes: #1009481.

 -- Stephen Kitt <skitt@debian.org>  Fri, 15 Apr 2022 12:34:36 +0200

gcc-mingw-w64 (24.3) unstable; urgency=medium

  * Add gnatgcc links, attached to the gnat links; this allows gprbuild to
    find the appropriate gcc. Closes: #932969.
  * Drop the asterisk from NEWS, to follow best practices as documented
    in <https://www.debian.org/doc/manuals/developers-reference/best-
    pkging-practices.html#supplementing-changelogs-with-news-debian-
    files>.
  * Make 4.3 broke the space construction in debian/rules, use a space
    directly instead.
  * Mark gcc-mingw-w64-base as “Multi-Arch: same”. Closes: #986615.
  * Enforce the use of /bin/sed to ensure reproducibility across
    usrmerge; thanks to Vagrant Cascadian for the patch. Closes:
    #991020.
  * Drop the obsolete patch-file-present-but-not-mentioned-in-series
    Lintian override.
  * Override the non-standard-file-perm Lintian warning for ALI files.
  * Fix the spelling of “shouldn’t”.
  * Standards-Version 4.6.0, no change required.

 -- Stephen Kitt <skitt@debian.org>  Fri, 11 Feb 2022 17:25:46 +0100

gcc-mingw-w64 (24.2) unstable; urgency=medium

  * Fix gcov handling: we need to tell GCC that we have headers, without
    telling it where, and then we need to correct its default assumption
    about where they are. Closes: #989862. LP: #1883933, #1920988.

 -- Stephen Kitt <skitt@debian.org>  Sat, 12 Jun 2021 18:54:10 +0200

gcc-mingw-w64 (24.1) unstable; urgency=medium

  * Update gcc-mingw-w64-base’s README.Debian with the switch to Dwarf2.
  * Standards-Version 4.5.1, no change required.

 -- Stephen Kitt <skitt@debian.org>  Fri, 22 Jan 2021 17:39:15 +0100

gcc-mingw-w64 (24) unstable; urgency=medium

  * Following MSYS2 and Fedora’s example (among others), switch from SJLJ
    exception handling to Dwarf2; this will help the Rust toolchain in
    particular. Closes: #540782.
  * Rename binary-without-manpage override to no-manual-page.
  * Install ada_target_properties files.

 -- Stephen Kitt <skitt@debian.org>  Sat, 21 Nov 2020 15:01:02 +0100

gcc-mingw-w64 (23) unstable; urgency=medium

  * Enable gnat on architectures where gnat-10 is available.
  * Upload to unstable.

 -- Stephen Kitt <skitt@debian.org>  Sat, 30 May 2020 17:35:02 +0200

gcc-mingw-w64 (23~exp1) experimental; urgency=medium

  * Allow building without gnat (on m68k and in preparation for early
    GCC 10 packages).
  * Hard-code the replacement versions following the per-thread-model
    and runtime splits.
  * Ensure debian/control is rebuilt if debian/rules changes.
  * Build with GCC 10.

 -- Stephen Kitt <skitt@debian.org>  Sat, 04 Apr 2020 20:44:55 +0200

gcc-mingw-w64 (22) unstable; urgency=medium

  * Upload to unstable.

 -- Stephen Kitt <skitt@debian.org>  Fri, 27 Mar 2020 12:28:04 +0100

gcc-mingw-w64 (22~exp3) experimental; urgency=medium

  * Adjust gm2 extraction to allow building with current versions of gcc-
    9-source.
  * Handle symlink conversions for the new meta-packages. Closes:
    #950090.
  * Standards-Version 4.5.0, no change required.

 -- Stephen Kitt <skitt@debian.org>  Thu, 26 Mar 2020 20:56:24 +0100

gcc-mingw-w64 (22~exp2) experimental; urgency=medium

  * Add alternatives for gcov-dump and gcov-tool.
  * Bootstrap debian/control for stage1.
  * When bootstrapping, only build the default threading model, avoiding
    the need for alternatives. Closes: #838879.
  * When bootstrapping, build with the default compiler, and drop the
    gnat requirement.
  * Split the POSIX/Win32 threading model variants into separate
    packages.
  * Handle debian/control as a real target, not a phony target with a
    stamp file.
  * Ship the DLLs in separate runtime packages. LP: #1235983.
  * Fix more spelling mistakes flagged by Lintian.
  * Update licensing information.

 -- Stephen Kitt <skitt@debian.org>  Sat, 14 Dec 2019 23:14:44 +0100

gcc-mingw-w64 (22~exp1) experimental; urgency=medium

  * Build using GCC 9. Closes: #944167.

 -- Stephen Kitt <skitt@debian.org>  Thu, 12 Sep 2019 09:02:16 +0200

gcc-mingw-w64 (21.5) unstable; urgency=medium

  * Use unaligned VMOV instructions to avoid crashes caused by mis-aligned
    values; thanks to Claude Heiland-Allen for the patch! Closes: #939559.
  * Standards-Version 4.4.0, no change required.

 -- Stephen Kitt <skitt@debian.org>  Wed, 11 Sep 2019 07:39:39 +0200

gcc-mingw-w64 (21.4) unstable; urgency=medium

  * Drop our patch for 88568 since it’s been merged in gcc-8-source.

 -- Stephen Kitt <skitt@debian.org>  Wed, 10 Jul 2019 13:16:39 +0200

# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog g++-mingw-w64-i686`.
