2014-04-27 16:44:17 |
Václav Haisman |
bug |
|
|
added bug |
2014-04-27 16:45:39 |
Václav Haisman |
attachment added |
|
bad behaviour https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-snapshot/+bug/1313389/+attachment/4098506/+files/bad.txt |
|
2014-04-27 16:46:24 |
Václav Haisman |
attachment added |
|
good behaviour https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-snapshot/+bug/1313389/+attachment/4098507/+files/good.txt |
|
2014-10-03 16:43:39 |
Matthias Klose |
affects |
llvm-toolchain-snapshot (Ubuntu) |
llvm-toolchain-3.4 (Ubuntu) |
|
2014-10-03 16:43:48 |
Matthias Klose |
bug task added |
|
llvm-toolchain-3.5 (Ubuntu) |
|
2015-05-31 09:56:10 |
Robert Knight |
bug task added |
|
llvm-toolchain-3.6 (Ubuntu) |
|
2015-05-31 09:56:30 |
Robert Knight |
summary |
Installing gccgo-4.9 breaks clang++ |
Installing gccgo breaks clang++ |
|
2015-05-31 09:59:55 |
Robert Knight |
tags |
amd64 apport-bug trusty |
amd64 apport-bug trusty vivid |
|
2015-05-31 10:00:44 |
Robert Knight |
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.
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) |
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) |
|
2015-05-31 10:02:39 |
Robert Knight |
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 |
|
2015-05-31 10:03:07 |
Robert Knight |
attachment added |
|
clang++ failing build output with gccgo installed https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.6/+bug/1313389/+attachment/4407450/+files/clang-with-gccgo.txt |
|
2015-05-31 10:03:20 |
Robert Knight |
bug |
|
|
added subscriber Robert Knight |
2015-11-02 11:04:01 |
Launchpad Janitor |
llvm-toolchain-3.4 (Ubuntu): status |
New |
Confirmed |
|
2015-11-02 11:04:01 |
Launchpad Janitor |
llvm-toolchain-3.5 (Ubuntu): status |
New |
Confirmed |
|
2015-11-02 11:04:01 |
Launchpad Janitor |
llvm-toolchain-3.6 (Ubuntu): status |
New |
Confirmed |
|
2015-11-02 11:04:27 |
Per Sedholm |
bug |
|
|
added subscriber Per Sedholm |