-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
llvmPackages_16: Make the pkgsLLVM.stdenv work
What changed: * Fixed crtbeginS.o and crtendS.o missing (they may or may not be called crt{begin_end},{,_shared}. * Fixed implicit function declaration causing build errors for various builds by supplying -Wno-implicit-function-declaration. * Fixed __cxxabi_config.h missing, by adding -I${cxxabi}/include/c++/v1 in the wrapper. * Fixed libcxx failing to build due to missing libunwind symbols by including libunwind as a buildInput, and setting -DLIBCXX_ADDITIONAL_LIBRARIES=unwind for stdenv.hostPlatform.useLLVM == true. * libcxxabi wants to find libunwind at libunwind_shared.so, so symlink it there in libunwind. * Drop unneeded musl hack patch from libcxx. What was tested: * x86_64-linux, aarch64-linux, the stdenv builds. * Additionally I was able to get nix to build, with an overlay to fix a couple of minor issues in downstream packages (overlay supplied in PR #246577. * aarch64-darwin fails spuriously in a single LLVM test strip-preserve-atime.test checking atime timestamps.
- Loading branch information
Showing
5 changed files
with
50 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters