From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30139 invoked by alias); 23 Dec 2002 21:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 30120 invoked by uid 71); 23 Dec 2002 21:56:00 -0000 Resent-Date: 23 Dec 2002 21:56:00 -0000 Resent-Message-ID: <20021223215600.30119.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, anandn@cisco.com Received: (qmail 29830 invoked by uid 61); 23 Dec 2002 21:55:12 -0000 Message-Id: <20021223215512.29827.qmail@sources.redhat.com> Date: Mon, 23 Dec 2002 13:56:00 -0000 From: anandn@cisco.com Reply-To: anandn@cisco.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: other/9046: Programs compiled with g++ (GCC 3.2.1) dumps core X-SW-Source: 2002-12/txt/msg01248.txt.bz2 List-Id: >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: