Public bug reported: After installing gcc-4.9 from http://ppa.launchpad.net/ubuntu- toolchain-r, clang-3.5 (from local/universe) fails to compile certain C++11 files because of a header-file confusion and missing symbol:
In file included from /home/bertin/work/src/Scratch/KDE/kdevelop/kdevplatform-git/plugins/classbrowser/classmodel.cpp:25: In file included from /home/bertin/work/src/Scratch/KDE/kdevelop/kdevplatform-git/plugins/classbrowser/allclassesfolder.h:25: In file included from /home/bertin/work/src/Scratch/KDE/kdevelop/kdevplatform-git/plugins/classbrowser/documentclassesfolder.h:26: In file included from /usr/include/boost/multi_index_container.hpp:18: In file included from /usr/include/boost/config.hpp:40: In file included from /usr/include/boost/config/select_stdlib_config.hpp:18: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/cstddef:51:11: error: no member named 'max_align_t' in the global namespace using ::max_align_t; ~~^ 1 error generated. This is in fact a known issue in clang: cf. https://bbs.archlinux.org/viewtopic.php?pid=1412567 and https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/llvm&id=4e73667cd27e34f8268fc29e4e524b51687333ca It was addressed in clang/llvm revision rL201729 : http://reviews.llvm.org/rL201729 . Please update the clang-3.5 package to at least that revision. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: clang-3.5 1:3.5~svn201651-1ubuntu1 ProcVersionSignature: Ubuntu 3.13.0-39.66-ConKolivas-AMDFam10 3.13.11.8 Uname: Linux 3.13.11.8-ck1-kubuntu-amdf10-rjvb x86_64 NonfreeKernelModules: ufsd zfs zunicode zavl zcommon znvpair ApportVersion: 2.14.2-0ubuntu3 Architecture: amd64 Date: Wed Dec 10 18:53:38 2014 InstallationDate: Installed on 2014-05-03 (221 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1) SourcePackage: llvm-toolchain-snapshot UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: llvm-toolchain-snapshot (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug third-party-packages trusty update-request -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1401202 Title: clang-3.5 fails to compile C++11 files after installing gcc-4.9 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-snapshot/+bug/1401202/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs