Skip to content

Commit b06ea0f

Browse files
committed
Deps: Update minimum version requirements of Boost to 1.83.0 for non-windows builds and of GCC and Clang to 13.3 and 18.1.3, respectively.
Fixes infinite recursion on `boost::rational` comparison affecting compiler binaries built with GCC<14.0 and Boost<1.75.
1 parent de55984 commit b06ea0f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ Compiler Features:
77

88
Bugfixes:
99
* Assembler: Fix not using a fixed-width type for IDs being assigned to subassemblies nested more than one level away, resulting in inconsistent `--asm-json` output between target architectures.
10+
* General: Fix boost::rational comparison bug with gcc < 14 and C++20 that leads to infinite recursion.
1011
* Yul Optimizer: Fix edge case in which invalid Yul code is produced by ExpressionSimplifier due to expressions being substituted that contain out-of-scope variables.
1112

1213
Build System:
13-
* Update to boost 1.70.0 for non-windows builds.
14+
* Update minimum version requirements of Boost to 1.83.0 for non-windows builds and of GCC and Clang to 13.3 and 18.1.3, respectively. Fixes infinite recursion on `boost::rational` comparison affecting compiler binaries built with GCC<14.0 and Boost<1.75.
1415

1516
### 0.8.30 (2025-05-07)
1617

docs/installing-solidity.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ The following are dependencies for all builds of Solidity:
327327
| Windows, 3.13+ otherwise) | |
328328
+-----------------------------------+-------------------------------------------------------+
329329
| `Boost`_ (version 1.77+ on | C++ libraries. |
330-
| Windows, 1.70+ otherwise) | |
330+
| Windows, 1.83+ otherwise) | |
331331
+-----------------------------------+-------------------------------------------------------+
332332
| `Git`_ | Command-line tool for retrieving source code. |
333333
+-----------------------------------+-------------------------------------------------------+
@@ -372,8 +372,8 @@ Minimum Compiler Versions
372372

373373
The following C++ compilers and their minimum versions can build the Solidity codebase:
374374

375-
- `GCC <https://gcc.gnu.org>`_, version 11+
376-
- `Clang <https://clang.llvm.org/>`_, version 14+
375+
- `GCC <https://gcc.gnu.org>`_, version 13.3+
376+
- `Clang <https://clang.llvm.org/>`_, version 18.1.3+
377377
- `MSVC <https://visualstudio.microsoft.com/vs/>`_, version 2019+
378378

379379
Prerequisites - macOS

0 commit comments

Comments
 (0)