Public bug reported: The clang++ driver will not find standard C++ headers and the libstdc++ library when there is gccgo-4.9 package installed as well. This appears to be due to gccgo-4.9 installing few things into /usr/bin/lib/gcc/x86_64-linux-gnu/4.9. The clang++ driver sees this directory and thinks it contains full C++ headers and run time installation when it does not, because there are only some parts relevant to gccgo-4.9. Uninstalling gccgo-4.9 fixes the issue because clang++ then finds only the 4.8 directory and uses that.
ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: clang-3.5 1:3.5~svn201651-1ubuntu1 ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9 Uname: Linux 3.13.0-24-generic x86_64 ApportVersion: 2.14.1-0ubuntu3 Architecture: amd64 CurrentDesktop: XFCE Date: Sun Apr 27 18:38:36 2014 InstallationDate: Installed on 2011-11-13 (896 days ago) InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012) SourcePackage: llvm-toolchain-snapshot UpgradeStatus: Upgraded to trusty on 2014-04-19 (8 days ago) ** Affects: llvm-toolchain-snapshot (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1313389 Title: Installing gccgo-4.9 breaks clang++ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-snapshot/+bug/1313389/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs