llvmPackages_15.libcxxStdenv's clang++ is broken in nixos-unstable #213901
Labels
0.kind: bug
Something is broken
6.topic: llvm/clang
Issues related to llvmPackages, clangStdenv and related
Describe the bug
clang++ cannot compile a simple c++ program.
Steps To Reproduce
cat flake.nix flake.lock a.cpp
flake.nix:
flake.lock: (latest commit of nixos-unstable as of 2023-02-01)
a.cpp:
nix develop
clang++ a.cpp
output:
Expected behavior
The program compiles.
Additional context
I did a strace of the compiler. The command that fails is:
After removing
-lc++
from the arguments,ld
no longer complains about not finding l.Notify maintainers
@Ericson2314 @sternenseemann @lovek323 @dtzWill @primeos
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: