← Back to team overview

touch-packages team mailing list archive

[Bug 1313389] Re: Installing gccgo breaks clang++

 

** Attachment added: "clang build output without gccgo installed"
   https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.6/+bug/1313389/+attachment/4407449/+files/clang-without-gccgo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to llvm-toolchain-3.4 in
Ubuntu.
https://bugs.launchpad.net/bugs/1313389

Title:
  Installing gccgo breaks clang++

Status in llvm-toolchain-3.4 package in Ubuntu:
  New
Status in llvm-toolchain-3.5 package in Ubuntu:
  New
Status in llvm-toolchain-3.6 package in Ubuntu:
  New

Bug description:
  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.

  The same issue occurs with gccgo-5 and GCC 5, which installs a partial
  GCC 5 installation, enough for the clang++ driver to try to use it but
  not including libstdc++ so clang++ fails to build.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04, Ubuntu 15.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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1313389/+subscriptions