public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/9046: Programs compiled with g++ (GCC 3.2.1) dumps core
@ 2002-12-23 13:56 anandn
  0 siblings, 0 replies; 2+ messages in thread
From: anandn @ 2002-12-23 13:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         9046
>Category:       other
>Synopsis:       Programs compiled with g++ (GCC 3.2.1) dumps core
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 23 13:56:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     anandn@cisco.com
>Release:        GCC 3.2.1
>Organization:
>Environment:
Solaris 2.6. GCC 3.2.1 compiled with GCC 2.95 with binutils 2.13
>Description:
Even simple programs likg

int main ()
{
   return 0;
}

dumps core when compiled with g++. I build gcc 3.2.1 on solaris 2.6 with gcc 2.95 and binutils version 2.13. 
If this program is compiled with gcc, it works. Please help.. I am stuck on this for the last one week. I tried various different things like compiling GCC with Sun cc compiler, building binutils with sun compiler etc. The result is still the same. 

This is the GDB trace

GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16.1-96q4 (sparc-sun-solaris2), 
Copyright 1996 Free Software Foundation, Inc...
Core was generated by `./a.out'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /disk2/sw/gnu/lib/libstdc++.so.5...done.
Reading symbols from /lib/libm.so.1...done.
Reading symbols from /disk2/sw/gnu/lib/libgcc_s.so.1...done.
Reading symbols from /lib/libc.so.1...done.
Reading symbols from /lib/libdl.so.1...done.
Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
#0  __register_frame_info_bases (begin=0xef790000, ob=0xef790000, tbase=0x0, 
    dbase=0x0) at ../../gcc-3.2.1/gcc/unwind-dw2-fde.c:83
../../gcc-3.2.1/gcc/unwind-dw2-fde.c:83: No such file or directory.
(gdb) where
#0  __register_frame_info_bases (begin=0xef790000, ob=0xef790000, tbase=0x0, 
    dbase=0x0) at ../../gcc-3.2.1/gcc/unwind-dw2-fde.c:83
#1  0xef7916b0 in frame_dummy ()
#2  0xef791598 in _init ()
#3  0xef7ca88c in ?? ()
#4  0xef7ca6c8 in ?? ()
#5  0xef7d34ac in ?? ()
#6  0xef7c29bc in ?? ()
Current language:  auto; currently c
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: other/9046: Programs compiled with g++ (GCC 3.2.1) dumps core
@ 2003-01-01 22:43 ehrhardt
  0 siblings, 0 replies; 2+ messages in thread
From: ehrhardt @ 2003-01-01 22:43 UTC (permalink / raw)
  To: anandn, gcc-bugs, gcc-prs, nobody

Synopsis: Programs compiled with g++ (GCC 3.2.1) dumps core

State-Changed-From-To: open->closed
State-Changed-By: cae
State-Changed-When: Wed Jan  1 14:43:15 2003
State-Changed-Why:
    Known incompatibility between SUN's ld.so.1 and GNU binutils.
    Upgrade to binutils 2.13.1 and recompile gcc from scratch.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9046


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

end of thread, other threads:[~2003-01-01 22:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-23 13:56 other/9046: Programs compiled with g++ (GCC 3.2.1) dumps core anandn
2003-01-01 22:43 ehrhardt

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).