From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22460 invoked by alias); 27 Feb 2003 22:16: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 22441 invoked by uid 71); 27 Feb 2003 22:16:01 -0000 Resent-Date: 27 Feb 2003 22:16:01 -0000 Resent-Message-ID: <20030227221601.22440.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, sherw@mail.com Received: (qmail 17075 invoked by uid 48); 27 Feb 2003 22:06:40 -0000 Message-Id: <20030227220640.17074.qmail@sources.redhat.com> Date: Thu, 27 Feb 2003 22:16:00 -0000 From: sherw@mail.com Reply-To: sherw@mail.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c/9883: segfault while compiling libgcc2.c X-SW-Source: 2003-02/txt/msg01447.txt.bz2 List-Id: >Number: 9883 >Category: c >Synopsis: segfault while compiling libgcc2.c >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Feb 27 22:16:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: sherw@mail.com >Release: gcc version 3.2 (Debian) >Organization: >Environment: Configured with: ../src/configure -v --enable-languages=c --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --with-gxx-include-dir=/usr/mipsel/include/g++ --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --build=i386-linux --host=i386-linux --target=mipsel Thread model: single Linux 2.4.20 on i686 >Description: Internal compiler error while compiling libgcc2.c (crosscompile, target mipsel) >How-To-Repeat: $ ./xgcc -B/b/gcc-mipsel-3.2/build/gcc/ -B/usr/mipsel/bin/ -B/usr/mipsel/lib/ -isystem /usr/mipsel/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -G 0 -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/config -I../../src/gcc/../include -msoft-float -DL_floatdidf -c ../../src/gcc/libgcc2.c -o libgcc/soft-float/_floatdidf.o ../../src/gcc/libgcc2.c: In function `__floatdidf': ../../src/gcc/libgcc2.c:1061: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="libgcc2.i" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="libgcc2.i" IyAxICIuLi8uLi9zcmMvZ2NjL2xpYmdjYzIuYyIKIyAxICI8YnVpbHQtaW4+IgojIDEgIjxjb21t YW5kIGxpbmU+IgojIDEgIi4uLy4uL3NyYy9nY2MvbGliZ2NjMi5jIgojIDM2ICIuLi8uLi9zcmMv Z2NjL2xpYmdjYzIuYyIKIyAxICJ0Y29uZmlnLmgiIDEKCgoKCgpzdHJ1Y3QgcnR4X2RlZjsKdHlw ZWRlZiBzdHJ1Y3QgcnR4X2RlZiAqcnR4OwpzdHJ1Y3QgcnR2ZWNfZGVmOwp0eXBlZGVmIHN0cnVj dCBydHZlY19kZWYgKnJ0dmVjOwp1bmlvbiB0cmVlX25vZGU7CnR5cGVkZWYgdW5pb24gdHJlZV9u b2RlICp0cmVlOwoKCiMgMSAiLi4vLi4vc3JjL2luY2x1ZGUvYW5zaWRlY2wuaCIgMQojIDE1ICJ0 Y29uZmlnLmgiIDIKIyAxICIuLi8uLi9zcmMvZ2NjL2NvbmZpZy9taXBzL2VsZmwuaCIgMQojIDI2 ICIuLi8uLi9zcmMvZ2NjL2NvbmZ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