This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18831] New: section .stack overlaps section .text
- From: "peter at spierepf dot dyndns dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Dec 2004 18:10:51 -0000
- Subject: [Bug c++/18831] New: section .stack overlaps section .text
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compiling a simple helloworld program has overlapping stack and text sections:
//-----------------------------------------
using namespace std;
#include <iostream>
int main() {
cout << "Hello World!" << endl;
}
//------------------------------------------
An equivalent c program compiles fine.
Peter
--
Summary: section .stack overlaps section .text
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: peter at spierepf dot dyndns dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux
GCC host triplet: i686-pc-linux
GCC target triplet: sh-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18831