This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
objc/6107: sparc-sun-solaris2.7 gcc-3.1 extra objc testsuite failures w/-m64
- From: ghazi at caip dot rutgers dot edu
- To: gcc-gnats at gcc dot gnu dot org
- Date: 30 Mar 2002 15:01:45 -0000
- Subject: objc/6107: sparc-sun-solaris2.7 gcc-3.1 extra objc testsuite failures w/-m64
- Reply-to: ghazi at caip dot rutgers dot edu
>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: