Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llvmPackages_14: Fix build on aarch64-linux #201485

Merged
merged 2 commits into from
Nov 30, 2022

Commits on Nov 28, 2022

  1. llvmPackages_14: Use GCC 11 on aarch64-linux

    The libcxx library needs a C++20 capable compiler toolchain since version 14, but aarch64-linux uses GCC 9 by default.
    
    However, building libcxxabi fails when using GCC 10, see [llvm/llvm-project#56828]. So let's use GCC 11 instead.
    
    [llvm/llvm-project#56828]: llvm/llvm-project#56828
    avdv committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    9ed661d View commit details
    Browse the repository at this point in the history
  2. llvmPackages_14: Add -lgcc to NIX_LDFLAGS to lld, lldb, llvm, compile…

    …r-rt and clang
    
    This is required to workaround NixOS#201254.
    avdv committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    176a7a3 View commit details
    Browse the repository at this point in the history