[Bug c++/18831] New: section .stack overlaps section .text
peter at spierepf dot dyndns dot org
gcc-bugzilla@gcc.gnu.org
Sat Dec 4 18:11:00 GMT 2004
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
More information about the Gcc-bugs
mailing list