Public bug reported: In 16.04 with gcc 5 as default, gccgo-6 fills /usr/lib/gcc/x86_64-linux- gnu/6 which triggers clang to select gcc6 stdlib folders. But the gcc6 installation is incomplete so all compilations will fail with not finding headers or standard libraries.
E.g. #include <cstdio> int main() {} fails with cannot find cstdio See the verbose output where it selects gcc 6 as base. clang++ -v file.cc removing gccgo-6 makes it functional again by choosing the complete gcc 5 installation. ** Affects: llvm-toolchain-3.8 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.8 in Ubuntu. https://bugs.launchpad.net/bugs/1611676 Title: clang++ does not work with gccgo-6 installed Status in llvm-toolchain-3.8 package in Ubuntu: New Bug description: In 16.04 with gcc 5 as default, gccgo-6 fills /usr/lib/gcc/x86_64 -linux-gnu/6 which triggers clang to select gcc6 stdlib folders. But the gcc6 installation is incomplete so all compilations will fail with not finding headers or standard libraries. E.g. #include <cstdio> int main() {} fails with cannot find cstdio See the verbose output where it selects gcc 6 as base. clang++ -v file.cc removing gccgo-6 makes it functional again by choosing the complete gcc 5 installation. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.8/+bug/1611676/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp