1295 Commits

Author SHA1 Message Date
Vladimír Čunát 4c9e7ea7ad gnat13: fix build on darwin (#542352) 2026-07-18 04:53:41 +00:00
Michael Daniels dd7af89e2f Merge branch 'master' into staging-next 2026-07-15 19:33:27 -04:00
Eman Resu ff094f60ad treewide: replace more singleton license lists 2026-07-15 14:04:39 -04:00
sempiternal-aurora 1526eeed3a gnat13: reapply trampoline patch 2026-07-15 21:38:53 +12:00
sempiternal-aurora c0afb7f40d gnat: remove old unused gnat patch 2026-07-15 21:38:40 +12:00
sempiternal-aurora 62da529c51 gccNGPackages_15.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:38 +12: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 225552310a gcc16: add Darwin patches 2026-07-15 16:27:17 +12:00
Emily a6845cb0d6 gcc: always apply Darwin patches for Darwin targets
The upstream issue was fixed, the branch has changes relevant to
`x86_64-darwin` too, and you don’t really want to target Darwin
without these patches.

We reorder the deployment target patch after the patches, as they touch
the same file, and apply it on AArch64 for all versions (but for Darwin
targets rather than hosts, which should be the relevant case anyway).

Co-Authored-By: sempiternal-aurora <78790545+sempiternal-aurora@users.noreply.github.com>
2026-07-15 16:27:15 +12:00
Emily 28aa84b964 gcc: drop Darwin Ada patches
I’m pretty sure these should no longer be required after the
toolchain update and SDK rework.
2026-07-15 16:21:20 +12:00
Emily 400c70ff32 gcc: remove unused Darwin patch file
Fixes: 02eb6d0571
2026-07-15 16:21:19 +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
Emily 37be0a2ded Revert "gccNGPackages_15: 15.2.0 -> 15.3.0"
This reverts commit a960983be3.
2026-06-26 10:12:41 +01:00
Philip Taron eb7592ed12 gcc15: 15.2.0 -> 15.3.0 (#532074) 2026-06-18 00:02:21 +00:00
Philip Taron a960983be3 gccNGPackages_15: 15.2.0 -> 15.3.0
Assisted-by: Claude Code (claude-opus-4-8)
2026-06-17 12:47:07 -07:00
liberodark 7049a93a44 gcc15: 15.2.0 -> 15.3.0 2026-06-17 08:18:32 +02:00
nixpkgs-ci[bot] 081b93be33 Merge staging-next into staging 2026-06-15 19:21:46 +00:00
John Ericson e3cbda5706 gcc/ng: reference landed find_a_program commits instead of mailing list
The `find_a_program`/`for_each_path` machine-prefix patch series has now
landed on gcc `master`, so point the `fetchpatch` entries at the
`gcc-mirror/gcc` commit `.diff`s rather than the v5 mailing-list `raw`
URLs (matching the existing `for_each_path` rework patch).

Linking the approving mailing list posts, along with the commit hash
each of the 4 commits (by title) landed as.

- <https://inbox.sourceware.org/gcc-patches/6c3a085d-fa62-4b24-b4ca-ee5c6ac11be0@oss.qualcomm.com/>

  Approved the first two patches together.

  1. `find_a_program: Separate from find_a_file` → 948eb02800777d0318ee2a38bf32076afee739f2
  2. `driver: Simplify find_a_program and find_a_file` → 073b4656d07e40f83a1db7f4462ab2d68b1875a2

- <https://inbox.sourceware.org/gcc-patches/324798d3-effb-4dc5-86ab-a1c461390d64@oss.qualcomm.com/>

  3. `for_each_path: Pass to callback whether dir is machine-disambiguated` → f62f68e7c4bde0385fbd2dba3e926586dd2f1281

- <https://inbox.sourceware.org/gcc-patches/ae270a41-fae9-4442-a276-0433ea752f2e@oss.qualcomm.com/>

  4. `find_a_program: Search with machine prefix in some cases` → a514707ffd7d58b140686036c2dece43ecb7d33c

We also include an additional commit,
6b008944e7bc3a342a734c4fcf1001d63fd0a6f8, a one-line `for_each_path` fix
against a mistake that I made in the previous commit. It is applied as a
prerequisite both so we also have the fix, and because without the
latter patches would have conflicts.
2026-06-15 13:05:44 -04:00
sempiternal-aurora 10eb89c978 gnat13: fix patch evaluation
The patch only applies on top of the iains gcc patchset, as it modifies
the abi added by that patchset.
2026-06-01 15:12:32 +10:00
zinzilulo 481208bdff cc-wrapper, gcc, gnat, gnat-bootstrap: fix GCC 13 and GNAT 13/14/15 builds on darwin 2026-05-27 18:35:39 +01:00
K900 877385b045 Merge remote-tracking branch 'origin/master' into staging-next 2026-05-18 16:19:13 +03: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
K900 c11500a253 Merge remote-tracking branch 'origin/master' into staging-next 2026-05-12 22:39:18 +03:00
Alyssa Ross 0127c8be00 gcc: drop obsolete Musl Go patches (#519064) 2026-05-12 13:01:56 +00:00
nixpkgs-ci[bot] 1bd182852d Merge master into staging-next 2026-05-12 07:00:02 +00:00
Eman Resu 5c17c2d6ce gcc: remove unused variables 2026-05-11 19:27:46 -04:00
Eman Resu 5f7ff1085a gcc: pass result of lib.systems.equals around rather than recomputing 2026-05-11 19:27:43 -04:00
Emily c18d40d4e5 gcc: drop obsolete Musl Go patches
These are present in GCC 13, GCC 12 was removed, and `pkgsMusl.gccgo`
fails to evaluate right now anyway.
2026-05-11 16:42:43 +01:00
Luna Nova 3f38382306 gcc-unwrapped: enable __structuredAttrs
Allows spaces in configure flags. These are necessary for flags like:
- enable-cxx-flags
- with-specs
2026-04-30 15:06:34 -07:00
Ben Siraphob 0f420e96c4 gcc, libgcc: fix cross-compilation for SH4
- Pass --with-multilib-list=m4,m4-nofpu for SH4 so the kernel can use
  -m4-nofpu. Move libraries out of !m4/ multilib subdirectory in
  postInstall before moveToOutput.
- Generate sysroot-suffix.h for SH4 in the standalone libgcc builder.
- Add linux-kernel.target = "vmlinux" and installTarget for SH4.

All changes scoped to isSh4 to avoid rebuilds on other platforms.
2026-04-20 13:02:20 -07:00
Jo b3063ae363 pkgsi686Linux.pkgsMusl.gcc: Use libssp_nonshared from musl (#496518) 2026-04-07 12:59:29 +00:00
Tristan Ross 1b82c5f564 gccNGPackages_15.libgomp: init 2026-03-21 22:14:38 -07:00
Alexander Bantyev 2839911e81 various: add security-review team as a maintainer
Adds the @NixOS/security-review team as a maintainer to multiple
packages deemed to be important security-wise.

For the motivation of the package list, see:
https://github.com/NixOS/nixpkgs/issues/494349#issuecomment-4005099033
2026-03-05 15:19:44 +01:00
Aleksi Hannula 82c6fd5344 pkgsi686Linux.pkgsMusl.gcc: Use libssp_nonshared from musl
This may not have visible effects until #494106 is merged. This is
because this build is blocked by the exact same issue in
minimal-bootstrap gcc, which causes perl to fail on this specific
platform.
2026-03-04 10:28:12 +02:00
nixpkgs-ci[bot] e88108f433 Merge master into staging-next 2026-02-19 18:18:44 +00:00
John Ericson 5a2694bcf3 cygwin-dll-link: improvements from testing on native cygwin (#476301) 2026-02-19 15:59:06 +00:00
Fabián Heredia Montiel d80b1bccd5 Merge remote-tracking branch 'origin/master' into staging-next 2026-02-17 12:29:41 -06:00
Alexander Bantyev 22ca96f3a9 various: add meta.identifier.cpeParts to a batch of packages
Co-Authored-By: Silvan Mosberger <silvan.mosberger@tweag.io>
2026-02-16 17:11:52 +01:00
David McFarland f2ac4eef52 gcc: move cygwin DLLs to $target/bin 2026-02-08 19:47:26 -04:00
Philip Taron c0988ed534 libhwy: 1.0.7 -> 1.3.0, gcc15: backport aarch64 ICE on vreg split (#320616) 2026-01-22 00:19:56 +00:00
Sergei Trofimovich 7e3600b5fa gcc15: backport aarch64 ICE on vreg split
Without the change `libhwy-1.3.0` fails as:

    libhwy-aarch64-unknown-linux-gnu> /build/source/hwy/contrib/random/random-inl.h: In function 'hwy::N_SVE2::VectorXoshiro::VectorXoshiro(uint64_t, uint64_t)':
    libhwy-aarch64-unknown-linux-gnu> /build/source/hwy/contrib/random/random-inl.h:199:3: error: unrecognizable insn:
    libhwy-aarch64-unknown-linux-gnu>   199 |   }
    libhwy-aarch64-unknown-linux-gnu>       |   ^
    libhwy-aarch64-unknown-linux-gnu> (insn 18 4 19 2 (set (reg:TI 154 [ D.606722 ])
    libhwy-aarch64-unknown-linux-gnu>         (subreg:TI (const_vector:V2DI [
    libhwy-aarch64-unknown-linux-gnu>                     (const_int 4 [0x4])
    libhwy-aarch64-unknown-linux-gnu>                     (const_poly_int:DI [2, 2])
    libhwy-aarch64-unknown-linux-gnu>                 ]) 0)) "/build/source/hwy/contrib/random/random-inl.h":183:9 -1
    libhwy-aarch64-unknown-linux-gnu>      (nil))
    libhwy-aarch64-unknown-linux-gnu> during RTL pass: vregs
    libhwy-aarch64-unknown-linux-gnu> /build/source/hwy/contrib/random/random-inl.h:199:3: internal compiler error: in extract_insn, at recog.cc:2882
    libhwy-aarch64-unknown-linux-gnu> 0x233d5bb diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t)

Co-authored-by: Philip Taron <philip.taron@gmail.com>
2026-01-21 06:42:19 +00:00
nixpkgs-ci[bot] c3d339e54c Merge master into staging-next 2026-01-14 00:19:10 +00:00
John Ericson beb0e1eeed gcc: fix cygwin build (#476299) 2026-01-13 21:38:07 +00:00
David McFarland cde2dbab81 gcc: fix cygwin build 2026-01-13 13:16:01 -04:00
Vladimír Čunát 3b4a003049 gcc: reconfigure build system (#469356) 2026-01-10 12:35:08 +00:00
Vladimír Čunát 57d9ca5d49 Merge branch 'master' into staging 2026-01-08 12:47:15 +01:00
Vladimír Čunát 6ea24aa5c3 gcc14: fixup build on aarch64-darwin
https://hydra.nixos.org/build/317993814
Same for gfortran14 and perhaps other derivatives.
This is a partial revert of 385a5e2917 from PR #461497
(with added comment to explain)
2026-01-08 07:57:17 +01:00
lzcunt cd3604f63a gcc: reconfigure build system
Split from #371092.

See <https://github.com/NixOS/nixpkgs/pull/371092/files#r2401287986> and
<https://wiki.debian.org/Autoreconf> for some rationale.

Co-Authored-By: Arsen Arsenović <arsen@aarsen.me>
2026-01-06 00:56:31 +03:00
Maximilian Bosch 823f64e01f gccNGPackages_15: 15.1.0 -> 15.2.0, fix build w/ glibc-2.42
To fix build with glibc-2.42.
Failing Hydra build: https://hydra.nixos.org/build/308474067
2026-01-03 20:39:44 +01:00