why do you expect a working C++ without install the appropriate libstdc++-<N>-dev package? libgcc-<N>-dev doesn't contain the C++ files.
pinning doesn't solve anything here. The main problem seems to be, that clang uses *only* heuristics, and doesn't offer an explicit (command line) option to specify that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2154746 Title: Installing libgcc-16-dev and clang-N together breaks clang++ (cannot find -lstdc++) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-22/+bug/2154746/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
