arm-linux-gnueabihf-g++ -g -marm -mapcs-frame -O2 crashes when including <iostream> and <sstream>
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.8-armhf-cross (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The following command:
$ arm-linux-
crashes when run on my (up to date) Ubuntu 14.04 LTS machine. It produces the following output:
In file included from /usr/arm-
/usr/arm-
/usr/arm-
} // namespace std
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
Preprocessed source stored into /tmp/ccN9IKrf.out file, please attach this to your bugreport.
Error.cpp looks like this:
#include <iostream>
#include <sstream>
//#include <exception>
//int test = 0;
I will attach it, once I get a chance, as well as the preprocessed source file as requested.
$ lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
$ apt-cache policy gcc-arm-
gcc-arm-
Installed: 4:4.8.2-1
Candidate: 4:4.8.2-1
Version table:
*** 4:4.8.2-1 0
500 http://
100 /var/lib/
ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: g++-4.8-
ProcVersionSign
Uname: Linux 3.13.0-39-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
Date: Tue Nov 4 10:50:08 2014
ExecutablePath: /usr/lib/
InstallationDate: Installed on 2012-09-24 (771 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
SourcePackage: gcc-4.8-armhf-cross
UpgradeStatus: Upgraded to trusty on 2014-09-30 (35 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.