Commit Graph

30 Commits

Author SHA1 Message Date
Weijia Wang
7583ee2e13 gcc16: 16.1.0 -> 16.2.0 2026-08-07 15:45:23 +02:00
sempiternal-aurora
1f0b98a288 gcc: 15.2.0 -> 15.3.0
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=15.3
2026-07-15 16:29:36 +12:00
sempiternal-aurora
1456003393 gcc14: 14.3.0 -> 14.4.0
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=14.4
2026-07-15 16:27:17 +12:00
Emily
f7f32bfe21 Revert "gcc15: 15.2.0 -> 15.3.0"
Broke `aarch64-linux` and Darwin. Reverting pending fixes.

This reverts commit 7049a93a44.
2026-06-26 10:12:56 +01:00
liberodark
7049a93a44 gcc15: 15.2.0 -> 15.3.0 2026-06-17 08:18:32 +02:00
Sergei Trofimovich
5af8e1ffe0 gcc16, gccgo16, gfortran16, gnat16: init at 16.1.0
Changes: https://gcc.gnu.org/gcc-16/changes.html
Porting guide: https://gcc.gnu.org/gcc-16/porting_to.html

Added logic to avoid evaluation of gnatprove on gnat16, as it isn't
ported to that compiler version yet.

Co-authored-by: sempiternal-aurora <78790545+sempiternal-aurora@users.noreply.github.com>
2026-05-14 23:36:55 +10:00
Emily
f3186c5958 {gcc12,gfortran12,gccgo12,gnat12,gnat-bootstrap12}: drop
EOL as of July; no longer used in the tree.
2025-08-22 23:01:59 +01:00
Emily
10ce2b4791 {gcc11,gfortran11,gdc11,gnat11,gnat-bootstrap11}: drop
EOL since 2024; no longer used in the tree.
2025-08-22 23:01:59 +01:00
Emily
4e7ee62b94 {gcc10,gfortran10}: drop
EOL since 2023; no longer used in the tree.
2025-08-22 23:01:59 +01:00
Emily
2a196a7278 {gcc9,gfortran9}: drop
EOL since 2022; no longer used in the tree.
2025-08-22 23:01:59 +01:00
misilelab
cb94de7007 gcc15: 15.1.0 -> 15.2.0
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=15.2

Signed-off-by: misilelab <misileminecord@gmail.com>
2025-08-20 02:13:47 +05:30
Sergei Trofimovich
02eb6d0571 gcc13: 13.3.0 -> 13.4.0
Changes: https://sourceware.org/pipermail/gcc/2025-June/246131.html
2025-08-03 09:42:51 +02:00
Sergei Trofimovich
dc2e7bea50 gcc14: 14.2.1.20250322 -> 14.3.0
Changes: https://lists.gnu.org/archive/html/info-gnu/2025-05/msg00004.html
2025-05-25 10:01:09 +02:00
Sergei Trofimovich
281c0c16c9 gcc15, gccgo15, gfortran15, gnat15: init at 15.1.0
Changes: https://gcc.gnu.org/gcc-15/changes.html
Porting guide: https://gcc.gnu.org/gcc-15/porting_to.html
2025-04-26 06:22:31 +01:00
Sergei Trofimovich
7ee958a270 gcc14: 14-20241116 -> 14.2.1.20250322
`gcc-14.3.0` will likely release around the end of April
(https://gcc.gnu.org/develop.html) which is a bit late for
nixos-25.05 release.

We can update to `gcc-14.3.0` after a branch-off, but let's
make the delca smaller by picking the current snapshot.

While at it:
- fix `flex` dependency propagation and use it for snapshots
- fix `version` to always contain the base version as
  cc-wrapper constructs paths to libraries based in `version`
  attribute

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2025-04-02 20:34:47 +02:00
Silvan Mosberger
667d42c00d treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
Emily
382ef6cd88 Merge staging-next into staging 2024-11-25 02:00:00 +00:00
Emily
86b5f88a2f {gcc8{,Stdenv},gfortran8}: drop
Release branch from 6½ years ago, no update in 3½ years, unsupported
upstream, and unused in tree.

This finally resolves the tangled conditionals in `all.nix`, albeit in
a way I assume amjoseph wouldn’t have been too fond of. `default.nix`
still has some gnarly stuff in there. So it goes…
2024-11-22 18:03:01 +00:00
Emily
d3d474e85c {gcc7{,Stdenv},gfortran7}: drop
Release branch from 7½ years ago, no update in 5 years, unsupported
upstream, and unused in tree.
2024-11-22 18:03:01 +00:00
Emily
ac283f30a5 gcc: remove GCC < 7 detritus 2024-11-22 18:03:01 +00:00
Emily
0d933223a8 gcc14: 14.2.0 -> 14-20241116
The stable release has too many AArch64 issues, but they seem to
have been fixed upstream; Arch is shipping a Git snapshot. The next
stable release should be out by the time 25.05 is finishing up,
so this should be okay as a temporary solution.

This is the GCC 14-20241116 snapshot. We use that identifier as our
package version, diverging from our usual unstable version convention,
because it identifies itself as “gcc (GCC) 14.2.1 20241116” and
comes in `gcc-14-20241116.tar.xz`; 20241116 is therefore a useful
version identifier to use verbatim, and 14.2.0-unstable-2024-11-16
would potentially be confusing for a version that calls itself
14.2.1. The next stable release from the GCC 14 branch will be 14.3.0,
so there should be no ambiguity here.

Getting this version is a little complicated; we need the precompiled
`flex(1)` output that these Git snapshots don’t include. Thankfully,
the source file hasn’t changed since 14.2.0, so we can simply
download 14.2.0 too and extract the precompiled file. A little
merging finesse is required for the `aarch64-darwin` patch, which we
also upgrade.
2024-11-19 15:13:36 +00:00
Sergei Trofimovich
88950412bc gcc49, gcc49Stdenv, gfortran49: remove old implementation
gcc-4.9.4 was released in Aug 3, 2016, 8 years ago. It's a branch that
went out of support years ago. Numerous bugs never get backported to
this version.

Let's remove it.
2024-09-12 10:32:19 +01:00
Sergei Trofimovich
1db443abb7 gcc48: remove old implementation
gcc-4.8.5 was released in June 23, 2015, 9 years ago. It's a branch that
went out of support years ago. Numerous bugs never get backported to
this version.

Let's remove it.
2024-09-10 22:05:47 +01:00
Peder Bergebakken Sundt
975ba1bed8 Merge pull request #331603 from trofi/gcc14-update
gcc14: 14.1.0 -> 14.2.0
2024-08-19 22:39:43 +02:00
Sergei Trofimovich
3001940a90 gcc14: 14.1.0 -> 14.2.0 2024-08-18 22:29:37 +01:00
Sergei Trofimovich
242593b0a0 gcc11: 11.4.0 -> 11.5.0 2024-07-19 09:23:03 +01:00
Sergei Trofimovich
833a9841fe gcc12: 12.3.0 -> 12.4.0 2024-06-20 21:45:43 +01:00
Sergei Trofimovich
ce5cc26328 gcc13: 13.2.0 -> 13.3.0
Changes: https://gcc.gnu.org/gcc-13/changes.html
2024-05-30 09:52:02 +01:00
Sergei Trofimovich
75104490c0 gcc14, gfortran14, gnat14, gccgo14: init at 14.1.0
Changes: https://gcc.gnu.org/gcc-14/changes.html
2024-05-21 12:08:26 +02:00
Adam Joseph
78706a9184 gcc: move version information to gcc/versions.nix 2023-11-07 09:57:54 +00:00