From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7580 invoked by alias); 30 Mar 2002 15:06: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 7549 invoked by uid 71); 30 Mar 2002 15:06:00 -0000 Resent-Date: 30 Mar 2002 15:06:00 -0000 Resent-Message-ID: <20020330150600.7548.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, ghazi@caip.rutgers.edu Received:(qmail 5691 invoked by uid 61); 30 Mar 2002 15:01:45 -0000 Message-Id:<20020330150145.5690.qmail@sources.redhat.com> Date: Sat, 30 Mar 2002 07:06:00 -0000 From: ghazi@caip.rutgers.edu Reply-To: ghazi@caip.rutgers.edu To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: objc/6107: sparc-sun-solaris2.7 gcc-3.1 extra objc testsuite failures w/-m64 X-SW-Source: 2002-03/txt/msg01255.txt.bz2 List-Id: >Number: 6107 >Category: objc >Synopsis: sparc-sun-solaris2.7 gcc-3.1 extra objc testsuite failures w/-m64 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Sat Mar 30 07:06:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Kaveh Ghazi >Release: gcc version 3.1 20020328 (prerelease) >Organization: >Environment: sparc-sun-solaris2.7 native as/ld >Description: These are all excess failures exposed by adding -m64: Running target unix/-m64 FAIL: objc/execute/bycopy-3.m execution, -O0 FAIL: objc/execute/bycopy-3.m execution, -O1 FAIL: objc/execute/bycopy-3.m execution, -O2 FAIL: objc/execute/bycopy-3.m execution, -O3 -fomit-frame-pointer FAIL: objc/execute/bycopy-3.m execution, -O3 -g FAIL: objc/execute/bycopy-3.m execution, -Os FAIL: objc/execute/formal_protocol-5.m execution, -O0 FAIL: objc/execute/formal_protocol-5.m execution, -O1 FAIL: objc/execute/formal_protocol-5.m execution, -O2 FAIL: objc/execute/formal_protocol-5.m execution, -O3 -fomit-frame-pointer FAIL: objc/execute/formal_protocol-5.m execution, -O3 -g FAIL: objc/execute/formal_protocol-5.m execution, -Os There are no useful error messages in objc.log, when I run the left behind excecutables by hand they simply bus error. Running one of them under gdb I get: Starting program: /teal/caip5/ghazi/gcc-testing/branch/build/gcc/testsuite/./formal_protocol-6.x0 Program received signal SIGBUS, Bus error. 0x18748 in objc_msg_lookup (receiver=0x35bf0, op=0x35bd0) at /teal/caip5/ghazi/gcc-testing/branch/egcc-3.1-CVS20020328/libobjc/sendmsg.c:171 171 result = sarray_get_safe (receiver->class_pointer->dtable, (gdb) bt #0 0x18748 in objc_msg_lookup (receiver=0x35bf0, op=0x35bd0) at /teal/caip5/ghazi/gcc-testing/branch/egcc-3.1-CVS20020328/libobjc/sendmsg.c:171 #1 0x13404 in main () (gdb) list 166 objc_msg_lookup(id receiver, SEL op) 167 { 168 IMP result; 169 if(receiver) 170 { 171 result = sarray_get_safe (receiver->class_pointer->dtable, 172 (sidx)op->sel_id); 173 if (result == 0) 174 { 175 /* Not a valid method */ >How-To-Repeat: bootstrap on solaris2.7 and run the testsuite with -m64 >Fix: >Release-Note: >Audit-Trail: >Unformatted: