solc: 0.8.28 -> 0.8.33

Fixes build with GCC 15
This commit is contained in:
Ming-Chuan
2026-01-02 20:17:18 +08:00
parent ccca384249
commit 4c6db77122
+3 -12
View File
@@ -25,9 +25,9 @@ assert cvc4Support -> cvc4 != null && cln != null && gmp != null;
let
pname = "solc";
version = "0.8.28";
linuxHash = "sha256-kosJ10stylGK5NUtsnMM7I+OfhR40TXPQDvnggOFLLc=";
darwinHash = "sha256-gVFbDlPeqiZtVJVFzKrApalubU6CAcd/ZzsscQl22eo=";
version = "0.8.33";
linuxHash = "sha256-sWCV0GOUW5GPNX1flk+UOrdwoHZHnx4MsZMGDDBxx6M=";
darwinHash = "sha256-gyQoBZHOOY1+JyKEa8EOzxd5sToyjvl7aHySzZxwgBo=";
nativeInstallCheckInputs = [
versionCheckHook
@@ -64,15 +64,6 @@ let
hash = linuxHash;
};
# Fix build with GCC 14
# Submitted upstream: https://github.com/ethereum/solidity/pull/15685
postPatch = ''
substituteInPlace test/yulPhaser/Chromosome.cpp \
--replace-fail \
"BOOST_TEST(abs" \
"BOOST_TEST(fabs"
'';
cmakeFlags = [
"-DBoost_USE_STATIC_LIBS=OFF"