Conversation
|
#356545 turned out to be too hard, so I think this is the best way forward. |
40b88dd to
bc28e4f
Compare
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.
Here we go again…
bc28e4f to
2113dc2
Compare
|
I am getting a build failure on libsForQt5.kcoreaddons, but it looks like the error is actually in the c++ implementation provided by gcc: Do you agree? |
|
I am not sure, but I suspect the error is likely an unhelpful one pointing to a problem in the KDE code; that file hasn’t changed substantially in years. It could be this commit but that seems to only relate to warnings, not errors. |
|
I've found another regression. The default boost version (1.81) does not compile with GCC 14 when using See boostorg/math#992, it is fixed in 1.85 (boostorg/math@b3a21bc). By the way, the kcoreaddons failure did not appear when building again.. |
|
Perhaps it is time to bump our default Boost version, then? Though we should also probably backport the patch. |
Here we go again…
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 theaarch64-darwinpatch, which we also upgrade.Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.