Commit Graph

1007242 Commits

Author SHA1 Message Date
Sergei Zimmerman 817b0e1338 ffmpeg: use unwrapped clang for cuda-llvm support
The build system retargets clang for the appropriate nvidia arch
and doesn't depend on anything from the wrappers. Since the wrappped
compiler sets the flags for the original arch, it now includes
`-mtls-dialect=gnu2` on x86_64, which is not a supported flag for the
retargeted clang.
2026-05-28 23:39:15 +03:00
Sergei Zimmerman 851fd9401f elfutils: apply patch allowing R_386_TLS_DESC in shared libraries with elflint
Submitted a patch upstream that already got merged to main, so grab it now.
Tests fail without it on i686-linux.

[1]: https://patchwork.sourceware.org/project/elfutils/patch/20260512211127.4157383-1-sergei@zimmerman.foo/
2026-05-28 23:39:10 +03:00
Sergei Zimmerman c87a95cbd3 cc-wrapper: enable tlsdesc on i686, x86_64 linux
TLSDESC is a more performant way of doing TLS, since it has a custom
calling convention that does not require the caller (of what's usually
__tls_get_addr) to spill clobbered registers and assumes that the callee
preserves all registers.

This adds corresponding plumbing in the machineFlags in the cc-wrapper
that includes version gates for compilers. TLSDESC needs to be supported
by the bintools and libc, so I've only enabled it for architectures that
our packaged glibc, musl, GNU binutils support (x86, x86_64).
We package a lot of LLVM versions and support for -mtls-dialect in the
Clang driver has only landed in LLVM 19, so a version check is added
there too.

Ideally we'd set the default at GCC build-time, but LLVM lacks such an
option, so we'd have to keep it in the compiler wrapper for now.

Gentoo is already building with it by default [1], as is Fedora [2].

In glibc < 2.40 [3] there existed a bug with not all registers being
preserved, but it has since been resolved. x86 support has existed
since basically forever with LLVM adding support in LLVM >= 19.1.
LoongArch support has been added recently too, but it's only available
since musl 1.2.6 while we are stuck at 1.2.5 for now, so I haven't dug
deeper. Aarch64 uses TLSDESC by default already.

The support status on non-Linux is a bit unclear, so these defaults are
scoped only to linux targets.

Sadly RISC-V support is still cooking apparently [4].

See: https://maskray.me/blog/2021-02-14-all-about-thread-local-storage
See: https://groups.google.com/g/x86-64-abi/c/0tjmaQx6nZ0

[1]: https://github.com/gentoo/gentoo/commit/46191b478ebcb6bc6831627526da44f04dfcd1be
[2]: https://src.fedoraproject.org/rpms/gcc/c/8f8d2ea9c326784bce044ff86547107611dda338?branch=rawhide
[3]: https://sourceware.org/bugzilla/show_bug.cgi?id=31372
[4]: https://github.com/riscv-non-isa/riscv-elf-psabi-doc/issues/494
2026-05-28 23:38:43 +03:00
Sandro 35072876b9 valkey: 9.0.4 -> 9.1.0 (#524123) 2026-05-28 20:19:22 +00:00
nixpkgs-ci[bot] f50dc660d4 Merge staging-next into staging 2026-05-28 18:54:19 +00:00
nixpkgs-ci[bot] ec819f00ba Merge master into staging-next 2026-05-28 18:53:32 +00:00
isabel 26715113c9 anda: 0.5.4 -> 0.6.0 (#525278) 2026-05-28 18:46:09 +00:00
Jhonas Wernery 3ea774bbf2 electron_{40,41,42}: updates (#522548) 2026-05-28 18:43:50 +00:00
Colin 6910da5125 syshud: 0-unstable-2026-05-11 -> 0-unstable-2026-05-26 (#525286) 2026-05-28 18:24:20 +00:00
Pol Dellaiera bb4f758580 stunnel: replace systemd with systemdLibs (#463771) 2026-05-28 18:23:17 +00:00
lassulus 101d3caeaf Fix: bitlebee-plugins buildInputs (#524735) 2026-05-28 18:19:26 +00:00
Philip Taron 94520475ea boost: fix python autoconfig + set strictDeps, boost191: init at 1.91.0 (#519782) 2026-05-28 18:14:40 +00:00
Fabian Affolter cef9528cd6 python3Packages.yalexs: 9.2.0 -> 9.2.2 (#525189) 2026-05-28 18:12:40 +00:00
Pol Dellaiera 6e0cca1bdd stunnel: replace systemd with systemdLibs 2026-05-28 20:12:01 +02:00
Pol Dellaiera 97448928e5 bashunit: 0.26.0 -> 0.36.0 (#525151) 2026-05-28 18:10:47 +00:00
Philip Taron 0c469218f3 build-support: remove assertMsg, throwIf, and throwIfNot usage (#524535) 2026-05-28 18:09:32 +00:00
yaaaarn e7785649b7 syshud: 0-unstable-2026-05-26 -> 0-unstable-2026-05-28 2026-05-28 20:06:34 +02:00
yaaaarn 95a691ec61 syshud: 0-unstable-2026-05-11 -> 0-unstable-2026-05-26 2026-05-28 20:06:34 +02:00
R. Ryantm 6e7feb2d99 anda: 0.5.4 -> 0.6.0 2026-05-28 17:53:35 +00:00
nixpkgs-ci[bot] 9fd6404149 sub-store-frontend: 2.17.8 -> 2.17.19 (#524916) 2026-05-28 17:48:06 +00:00
Michele Guerini Rocco 7eeefdad90 monero-{cli,gui}: 0.18.4.6 -> 0.18.5.0 (#524694) 2026-05-28 17:34:45 +00:00
Colin 2d42fcda39 dmenu: set strictDeps, structuredAttrs (#520763) 2026-05-28 17:31:48 +00:00
StepBroBD 32e19a7103 nixos/bird: start bird after network.target (#510865) 2026-05-28 17:21:45 +00:00
StepBroBD e53240d67b osu-lazer: remove OSU_DISABLE_ERROR_REPORTING (#525168) 2026-05-28 17:20:56 +00:00
Philip Taron 14ac0f7ae9 llama-cpp: 9190 -> 9309 (#523912) 2026-05-28 17:18:42 +00:00
Philip Taron 7301327f35 treewide: remove double dependencies on nodejs+nodejs-slim (#522606) 2026-05-28 17:17:28 +00:00
Yt 88cd149b14 meilisearch: 1.43.1 -> 1.45.1 (#525253) 2026-05-28 17:16:36 +00:00
Christian Kögler cdf88cda3c sherpa-onnx: revert fix darwin runtime linking to onnxruntime (#525210) 2026-05-28 17:12:46 +00:00
Pol Dellaiera 3024fbac7b phpPackages.composer: 2.9.8 -> 2.10.0 (#525197) 2026-05-28 16:45:45 +00:00
nixpkgs-ci[bot] fa0a052ad0 wakapi: 2.17.3 -> 2.17.4 (#525242) 2026-05-28 16:32:28 +00:00
nixpkgs-ci[bot] b33d77d060 honeycomb-refinery: 3.2.1 -> 3.2.2 (#525239) 2026-05-28 16:32:26 +00:00
nixpkgs-ci[bot] ada4d642bf entire: 0.6.2 -> 0.6.3 (#525235) 2026-05-28 16:32:21 +00:00
nixpkgs-ci[bot] 58a33c1088 reframe: 1.15.1 -> 1.15.2 (#525207) 2026-05-28 16:32:14 +00:00
nixpkgs-ci[bot] 61595c4949 wpaperd: 1.2.2 -> 1.3.0 (#525179) 2026-05-28 16:32:04 +00:00
Yt a26e677695 python3Packages.emmiai-noether: init at 2026.4.0 (#525203) 2026-05-28 16:28:27 +00:00
R. Ryantm fa9a311ed3 meilisearch: 1.43.1 -> 1.45.1 2026-05-28 16:25:51 +00:00
Bruno BELANYI 64f5a79fc0 woodpecker-plugin-git: 2.9.1 -> 2.9.2 (#525182) 2026-05-28 16:06:54 +00:00
Thomas Gerbet 90c179dd65 yara-x: 1.16.0 -> 1.17.0 (#525190) 2026-05-28 15:53:55 +00:00
Philip Taron 19bd880f94 various: remove lib.warnIf from most critical functions (#524541) 2026-05-28 15:50:31 +00:00
Philip Taron ac719c65d3 tailscale: 1.98.2 -> 1.98.3 (#523197) 2026-05-28 15:48:19 +00:00
Connor Baker f58cd58238 cudaPackages_13_2: 13.2.0 -> 13.2.1 (#525132) 2026-05-28 15:42:28 +00:00
Connor Baker b022545015 python3Packages.flash-attn: 2.8.2 -> 2.8.3 (#514440) 2026-05-28 15:34:50 +00:00
dotlambda a69f757ee6 functionalplus: 0.2.27 -> 0.2.28 (#514071) 2026-05-28 15:24:40 +00:00
Sefa Eyeoglu 8e9f15d486 pnpm_11: 11.3.0 -> 11.4.0 (#524867) 2026-05-28 15:22:29 +00:00
R. Ryantm a050666216 wakapi: 2.17.3 -> 2.17.4 2026-05-28 15:22:12 +00:00
R. Ryantm 12a629f638 honeycomb-refinery: 3.2.1 -> 3.2.2 2026-05-28 15:18:32 +00:00
Yt 415262e4fd python3Packages.pylance: 6.0.1 -> 7.0.0 (#525038) 2026-05-28 15:16:13 +00:00
Marcin Serwin a497373938 renpy: 8.5.2.26010301-unstable-2026-03-27 -> 8.5.3.26051504-unstable-2026-05-17 (#520702) 2026-05-28 15:14:35 +00:00
R. Ryantm 5f50d77e9f entire: 0.6.2 -> 0.6.3 2026-05-28 15:08:02 +00:00
Marcin Serwin e0bad46c30 eden: 0.1.1 -> 0.2.0 (#501957) 2026-05-28 15:05:02 +00:00