public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18831] New: section .stack overlaps section .text
@ 2004-12-04 18:11 peter at spierepf dot dyndns dot org
  2004-12-04 18:13 ` [Bug target/18831] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: peter at spierepf dot dyndns dot org @ 2004-12-04 18:11 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/18831] section .stack overlaps section .text
  2004-12-04 18:11 [Bug c++/18831] New: section .stack overlaps section .text peter at spierepf dot dyndns dot org
@ 2004-12-04 18:13 ` pinskia at gcc dot gnu dot org
  2004-12-05 16:15 ` pinskia at gcc dot gnu dot org
  2004-12-06 14:19 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-04 18:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-04 18:13 -------
This really sounds like a binutils problem rather than a gcc problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |target


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18831


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/18831] section .stack overlaps section .text
  2004-12-04 18:11 [Bug c++/18831] New: section .stack overlaps section .text peter at spierepf dot dyndns dot org
  2004-12-04 18:13 ` [Bug target/18831] " pinskia at gcc dot gnu dot org
@ 2004-12-05 16:15 ` pinskia at gcc dot gnu dot org
  2004-12-06 14:19 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-05 16:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-05 16:15 -------
What version of binutils are you using?
Also could you attach the assembly file which is causing the problem?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |WAITING
  GCC build triplet|i686-pc-linux               |
   GCC host triplet|i686-pc-linux               |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18831


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/18831] section .stack overlaps section .text
  2004-12-04 18:11 [Bug c++/18831] New: section .stack overlaps section .text peter at spierepf dot dyndns dot org
  2004-12-04 18:13 ` [Bug target/18831] " pinskia at gcc dot gnu dot org
  2004-12-05 16:15 ` pinskia at gcc dot gnu dot org
@ 2004-12-06 14:19 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-06 14:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-06 14:18 -------
Not a GCC bug, report this to binutils, <http://sources.redhat.com/bugs.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18831


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-12-06 14:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-04 18:11 [Bug c++/18831] New: section .stack overlaps section .text peter at spierepf dot dyndns dot org
2004-12-04 18:13 ` [Bug target/18831] " pinskia at gcc dot gnu dot org
2004-12-05 16:15 ` pinskia at gcc dot gnu dot org
2004-12-06 14:19 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).