Comment 0 for bug 1313389

Revision history for this message
Václav Haisman (vzeman79) wrote : Installing gccgo-4.9 breaks clang++

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)