From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23213 invoked by alias); 7 Jun 2002 12:56:06 -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 23134 invoked by uid 71); 7 Jun 2002 12:56:04 -0000 Resent-Date: 7 Jun 2002 12:56:04 -0000 Resent-Message-ID: <20020607125604.23133.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, Bruno Haible Received:(qmail 16214 invoked from network); 7 Jun 2002 12:51:59 -0000 Received: from unknown (HELO sceaux.ilog.fr) (193.55.64.10) by sources.redhat.com with SMTP; 7 Jun 2002 12:51:59 -0000 Received: from ftp.ilog.fr (ftp.ilog.fr [193.55.64.11]) by sceaux.ilog.fr (8.11.6/8.11.6) with SMTP id g57CnGB09152 for ; Fri, 7 Jun 2002 14:49:16 +0200 (MET DST) Received: from laposte.ilog.fr ([193.55.64.67]) by ftp.ilog.fr (NAVGW 2.5.1.16) with SMTP id M2002060714515621820 for ; Fri, 07 Jun 2002 14:51:56 +0200 Received: from honolulu.ilog.fr ([172.17.4.144]) by laposte.ilog.fr (8.11.6/8.11.5) with ESMTP id g57Cpt223245; Fri, 7 Jun 2002 14:51:55 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id OAA03588; Fri, 7 Jun 2002 14:47:55 +0200 Message-Id:<15616.43899.269735.378568@honolulu.ilog.fr> Date: Fri, 07 Jun 2002 05:56:00 -0000 From: Bruno Haible To: gcc-gnats@gcc.gnu.org Subject: other/6955: collect2 says "core dumped" when there is no core X-SW-Source: 2002-06/txt/msg00147.txt.bz2 List-Id: >Number: 6955 >Category: other >Synopsis: collect2 says "core dumped" when there is no core >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Jun 07 05:56:04 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Bruno Haible >Release: 3.1 >Organization: GNU hackers >Environment: System: Linux linuix 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: sparc64-unknown-linux-gnu configured with: /packages2/gcc-3.1/configure --enable-shared --disable-nls --target=sparc64-linux --prefix=/cross/sparc64-linux-tools --with-local-prefix=/cross/sparc64-linux/local --with-as=/cross/sparc64-linux-tools/bin/sparc64-linux-as --with-gnu-as --with-ld=/cross/sparc64-linux-tools/bin/sparc64-linux-ld --with-gnu-ld --enable-languages=c >Description: When ld, called by collect2, crashes without a core dump, collect2 says collect2: ld terminated with signal 11 [Segmentation fault], core dumped But when I set "ulimit -c unlimited" and repeat the step, so that I get a core dump, collect2 says merely collect2: ld terminated with signal 11 [Segmentation fault] >How-To-Repeat: Give a link command line that makes ld crash. Once with "ulimit -c 0", once with "ulimit -c unlimited". >Fix: In collect2.c, function collect_wait, change status & 0200 ? "" : ", core dumped" to status & 0200 ? ", core dumped" : "" >Release-Note: >Audit-Trail: >Unformatted: