[Bug 1389295] [NEW] arm-linux-gnueabihf-g++ -g -marm -mapcs-frame -O2 crashes when including <iostream> and <sstream>

Patrick Doyle wpdster at gmail.com
Tue Nov 4 16:01:44 UTC 2014


Public bug reported:

The following command:

$ arm-linux-gnueabihf-g++ -c -o Error.o -g -marm -mapcs-frame -O2
Error.cpp

crashes when run on my (up to date) Ubuntu 14.04 LTS machine.  It
produces the following output:

In file included from /usr/arm-linux-gnueabihf/include/c++/4.8.2/sstream:600:0,
                 from Error.cpp:2:
/usr/arm-linux-gnueabihf/include/c++/4.8.2/bits/sstream.tcc: In function ‘(static initializers for /usr/arm-linux-gnueabihf/include/c++/4.8.2/bits/sstream.tcc)’:
/usr/arm-linux-gnueabihf/include/c++/4.8.2/bits/sstream.tcc:286:1: internal compiler error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1078
 } // namespace std
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
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-linux-gnueabihf
gcc-arm-linux-gnueabihf:
  Installed: 4:4.8.2-1
  Candidate: 4:4.8.2-1
  Version table:
 *** 4:4.8.2-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: g++-4.8-arm-linux-gnueabihf 4.8.2-16ubuntu4cross0.11
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
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/gcc-cross/arm-linux-gnueabihf/4.8/cc1plus
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)

** Affects: gcc-4.8-armhf-cross (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-crash trusty

** Attachment added: "ccN9IKrf.out"
   https://bugs.launchpad.net/bugs/1389295/+attachment/4252891/+files/ccN9IKrf.out

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

Title:
  arm-linux-gnueabihf-g++ -g -marm -mapcs-frame -O2 crashes when
  including <iostream> and <sstream>

Status in “gcc-4.8-armhf-cross” package in Ubuntu:
  New

Bug description:
  The following command:

  $ arm-linux-gnueabihf-g++ -c -o Error.o -g -marm -mapcs-frame -O2
  Error.cpp

  crashes when run on my (up to date) Ubuntu 14.04 LTS machine.  It
  produces the following output:

  In file included from /usr/arm-linux-gnueabihf/include/c++/4.8.2/sstream:600:0,
                   from Error.cpp:2:
  /usr/arm-linux-gnueabihf/include/c++/4.8.2/bits/sstream.tcc: In function ‘(static initializers for /usr/arm-linux-gnueabihf/include/c++/4.8.2/bits/sstream.tcc)’:
  /usr/arm-linux-gnueabihf/include/c++/4.8.2/bits/sstream.tcc:286:1: internal compiler error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1078
   } // namespace std
   ^
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
  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-linux-gnueabihf
  gcc-arm-linux-gnueabihf:
    Installed: 4:4.8.2-1
    Candidate: 4:4.8.2-1
    Version table:
   *** 4:4.8.2-1 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: g++-4.8-arm-linux-gnueabihf 4.8.2-16ubuntu4cross0.11
  ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
  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/gcc-cross/arm-linux-gnueabihf/4.8/cc1plus
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf-cross/+bug/1389295/+subscriptions



More information about the foundations-bugs mailing list