diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2023-05-21 11:04:47 +0200 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2023-05-24 01:20:02 -0600 |
commit | 4202bb597b29e0d0e19afea37a272f0e3c87a88d (patch) | |
tree | 6701b4c6cf56ffb67cd9f2336f0ce6dfcd2f2bb0 /Documentation/BuildInstructionsLadybird.md | |
parent | e5618b17c453775b2a317fa2239d1a246f232b5f (diff) | |
download | serenity-4202bb597b29e0d0e19afea37a272f0e3c87a88d.zip |
Meta+Documentation: Require Xcode 14.3 or Clang 14 for the host compiler
There have been multiple reports of Xcode 14.0 (based on upstream LLVM
14) segfaulting when compiling `LibCore/Process.cpp`. Let's require
Xcode 14.3, which is a known good version based on LLVM 15.
Note that Xcode 14.3 requires macOS Ventura, so users of Monterey or
older are expected to get Homebrew Clang instead.
Homebrew Clang 13 also suffers from the same crash. Although I have not
tested on Linux, the backtrace points to the middle-end, so x86_64 is
also likely to be affected. LLVM 14 was released 14 months ago, so it's
not an unreasonable requirement.
Diffstat (limited to 'Documentation/BuildInstructionsLadybird.md')
-rw-r--r-- | Documentation/BuildInstructionsLadybird.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/BuildInstructionsLadybird.md b/Documentation/BuildInstructionsLadybird.md index c836166594..1c0f86f1c6 100644 --- a/Documentation/BuildInstructionsLadybird.md +++ b/Documentation/BuildInstructionsLadybird.md @@ -2,7 +2,7 @@ ## Build Prerequisites -Qt6 development packages and a C++20 capable compiler are required. gcc-12 or clang-13 are required at a minimum for c++20 support. +Qt6 development packages and a C++20 capable compiler are required. gcc-12 or clang-14 are required at a minimum for c++20 support. On Debian/Ubuntu required packages include, but are not limited to: @@ -39,7 +39,7 @@ nix-shell ladybird.nix On macOS: -Note that Xcode 13.x does not have sufficient C++20 support to build ladybird. Xcode 14.x or clang from homebrew may be required to successfully build ladybird. +Note that Xcode 13.x does not have sufficient C++20 support to build ladybird. Xcode 14 versions before 14.3 might crash while building ladybird. Xcode 14.3 or clang from homebrew may be required to successfully build ladybird. ``` xcode-select --install @@ -103,7 +103,7 @@ The install rules in Ladybird/cmake/InstallRules.cmake define which binaries and installed into the configured CMAKE_PREFIX_PATH or path passed to ``cmake --install``. Note that when using a custom build directory rather than Meta/serenity.sh, the user may need to provide -a suitable C++ compiler (g++ >= 12, clang >= 13, Apple Clang >= 14) via the CMAKE_CXX_COMPILER and +a suitable C++ compiler (g++ >= 12, clang >= 14, Apple Clang >= 14.3) via the CMAKE_CXX_COMPILER and CMAKE_C_COMPILER cmake options. ``` |