Public bug reported:

Steps to reproduce:

1) Install Clang

  $ sudo apt-get update && sudo apt-get install -y clang

2) Compile and run a C++ helloworld

  $ cat > hello.cxx << EOF
  #include <iostream>
  int main() { std::cout << "hello world\n"; }
  EOF
  
  $ clang++ hello.cxx -o hello && ./hello
  hello world

3) Install gccgo-6

  $ sudo apt-get install -y gccgo-6

4) Compile and run the same helloworld again

  $ clang++ hello.cxx -o hello && ./hello
  hello.cxx:1:10: fatal error: 'iostream' file not found
  #include <iostream>
         ^
1 error generated.

Actual result: the error message above. Expected result: clang++
continues to work.

Tested in a clean fresh Docker container.

# lsb_release -rdc
Description:    Ubuntu 16.04.1 LTS
Release:        16.04
Codename:       xenial

** Affects: gccgo-6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637343

Title:
  gccgo-6 installation breaks the Clang compiler

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gccgo-6/+bug/1637343/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to