[Bug 1585835] Re: g++ 5.3.1 crash with -std=c++0x

Ali Lakhia ali.lakhia at daqri.com
Thu May 26 18:50:49 UTC 2016


Hmm, so after I did this, the crash went away:

> sudo apt-get purge gcc-4.9 gcc-4.9-base

Possibly my system was misconfigured or got confused with both
compilers?

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

Title:
  g++ 5.3.1 crash with -std=c++0x

Status in gcc-5 package in Ubuntu:
  Incomplete

Bug description:
  I'm running on Ubuntu 16.04.

  I'm building an empty main.cpp that only includes a single QT header
  file. This causes my machine to consume lots of CPU and g++ eventually
  crashes with this error:

     g++: internal compiler error: Killed (program cc1plus)
     Please submit a full bug report,
     with preprocessed source if appropriate.
     See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.

  I understand that you may not want to install QT. So, I'm also
  including a preprocessed version of the CPP file. This file also
  repros the bug. To repro, comment out one of the two g++ commands in
  run.sh and run it. Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1585835/+subscriptions



More information about the foundations-bugs mailing list