public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/11410] New: ffitest failures on Solaris 8/SPARC
@ 2003-07-02 18:21 gcc-bugzilla at gcc dot gnu dot org
2003-07-24 5:49 ` [Bug target/11410] " andreast at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2003-07-02 18:21 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11410
Summary: ffitest failures on Solaris 8/SPARC
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ro at techfak dot uni-bielefeld dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
The libffi test ffitest fails for both 32-bit and 64-bit (sparcv9):
in sparc-sun-solaris2.8/libffi, run
LD_LIBRARY_PATH=../../gcc ./ffitest
The test ends with
Enter FFI_CLOSURES
1 2 3 4 127 429 7 8 9 10 11 12 13 19 21 1 3: 680
Bus Error
In gdb, you find
Program received signal SIGSEGV, Segmentation fault.
0x00011364 in closure_test_fn1 (cif=0xffbee864, resp=0xffbee7f8,
args=0xffbee748, userdata=0x3)
at /vol/gnu/src/gcc/gcc-dist/libffi/src/ffitest.c:325
1: x/i $pc 0x11364 <closure_test_fn1+156>: ldd [ %i0 ], %f8
%i0 (= cif) is not properly aligned for an 8-byte value, as can be observed
using truss:
9025: Incurred fault #5, FLTACCESS %pc = 0x00011364
9025: siginfo: SIGBUS BUS_ADRALN addr=0xFFBEE8EC
9025: Received signal #10, SIGBUS [default]
9025: siginfo: SIGBUS BUS_ADRALN addr=0xFFBEE8EC
9025: *** process killed ***
The SPARC-V9 test also fails, though in a different way:
in sparc-sun-solaris2.8/sparcv9/libffi, run
LD_LIBRARY_PATH=../../../gcc/sparcv9 ./ffitest
The test ends with
Enter FFI_CLOSURES
1 2 3 4 127 429 7 8 -2147483648 10 11 2147483647 13 19 21 1 3: 658
Test failure: /vol/gnu/src/gcc/gcc-dist/libffi/src/ffitest.c line 1203
If you disable the exit(EXIT_FAILURE) in ffitest.c (fail), the test finds
yet more errors:
1 2 3 4 127 429 7 8 -2147483648 10 11 2147483647 13 19 21 1 3: 658
Test failure: /vol/gnu/src/gcc/gcc-dist/libffi/src/ffitest.c line 1203
1 2 3 4 127 5 0 8 -2147483648 10 11 2147483647 13 19 21 1 3: 227
Test failure: /vol/gnu/src/gcc/gcc-dist/libffi/src/ffitest.c line 1235
1 2 3 4 127 5 0 8 -2147483648 10 11 2147483647 13 0 21 1 3: 208
Test failure: /vol/gnu/src/gcc/gcc-dist/libffi/src/ffitest.c line 1267
1 2 3 4 5 6 0 0 -2147483648 10 0 2147483647 13 0 0 1 3: 47
Test failure: /vol/gnu/src/gcc/gcc-dist/libffi/src/ffitest.c line 1300
Environment:
System: SunOS tikal 5.8 Generic_108528-19 sun4u sparc SUNW,Sun-Blade-1000
Architecture: sun4
host: sparc-sun-solaris2.8
build: sparc-sun-solaris2.8
target: sparc-sun-solaris2.8
configured with: /vol/gnu/src/gcc/gcc-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls
How-To-Repeat:
Run ffitest as described above.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/11410] ffitest failures on Solaris 8/SPARC
2003-07-02 18:21 [Bug target/11410] New: ffitest failures on Solaris 8/SPARC gcc-bugzilla at gcc dot gnu dot org
@ 2003-07-24 5:49 ` andreast at gcc dot gnu dot org
2003-07-29 4:49 ` pinskia at physics dot uc dot edu
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: andreast at gcc dot gnu dot org @ 2003-07-24 5:49 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11410
andreast at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-07-24 05:49:25
date| |
------- Additional Comments From andreast at gcc dot gnu dot org 2003-07-24 05:49 -------
Confirmed on both 32-bit and 64-bit. Affects 3.3.x and mainline.
A patch for the 64-bit part is in testing.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/11410] ffitest failures on Solaris 8/SPARC
2003-07-02 18:21 [Bug target/11410] New: ffitest failures on Solaris 8/SPARC gcc-bugzilla at gcc dot gnu dot org
2003-07-24 5:49 ` [Bug target/11410] " andreast at gcc dot gnu dot org
@ 2003-07-29 4:49 ` pinskia at physics dot uc dot edu
2003-07-29 5:11 ` andreast at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-29 4:49 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11410
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jsturm at one-point dot com
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-29 04:49 -------
*** Bug 10683 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/11410] ffitest failures on Solaris 8/SPARC
2003-07-02 18:21 [Bug target/11410] New: ffitest failures on Solaris 8/SPARC gcc-bugzilla at gcc dot gnu dot org
2003-07-24 5:49 ` [Bug target/11410] " andreast at gcc dot gnu dot org
2003-07-29 4:49 ` pinskia at physics dot uc dot edu
@ 2003-07-29 5:11 ` andreast at gcc dot gnu dot org
2003-07-30 4:04 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: andreast at gcc dot gnu dot org @ 2003-07-29 5:11 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11410
------- Additional Comments From andreast at gcc dot gnu dot org 2003-07-29 05:11 -------
Here is half of the solution to this PR:
http://gcc.gnu.org/ml/gcc-patches/2003-07/msg02612.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/11410] ffitest failures on Solaris 8/SPARC
2003-07-02 18:21 [Bug target/11410] New: ffitest failures on Solaris 8/SPARC gcc-bugzilla at gcc dot gnu dot org
` (2 preceding siblings ...)
2003-07-29 5:11 ` andreast at gcc dot gnu dot org
@ 2003-07-30 4:04 ` cvs-commit at gcc dot gnu dot org
2004-01-11 1:36 ` [Bug libgcj/11410] " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-07-30 4:04 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11410
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-30 04:04 -------
Subject: Bug 11410
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: andreast@gcc.gnu.org 2003-07-30 04:04:24
Modified files:
libffi : ChangeLog
libffi/src/sparc: ffi.c v9.S
Log message:
2003-07-28 Andreas Tobler <a.tobler@schweiz.ch>
* src/sparc/ffi.c: Handle all floating point registers.
* src/sparc/v9.S: Likewise. Fixes second part of PR target/11410.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/ChangeLog.diff?cvsroot=gcc&r1=1.112&r2=1.113
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/src/sparc/ffi.c.diff?cvsroot=gcc&r1=1.5&r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/src/sparc/v9.S.diff?cvsroot=gcc&r1=1.6&r2=1.7
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/11410] ffitest failures on Solaris 8/SPARC
2003-07-02 18:21 [Bug target/11410] New: ffitest failures on Solaris 8/SPARC gcc-bugzilla at gcc dot gnu dot org
` (3 preceding siblings ...)
2003-07-30 4:04 ` cvs-commit at gcc dot gnu dot org
@ 2004-01-11 1:36 ` pinskia at gcc dot gnu dot org
2004-01-25 7:24 ` ebotcazou at gcc dot gnu dot org
2004-01-25 7:26 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-11 1:36 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11410
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/11410] ffitest failures on Solaris 8/SPARC
2003-07-02 18:21 [Bug target/11410] New: ffitest failures on Solaris 8/SPARC gcc-bugzilla at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-01-11 1:36 ` [Bug libgcj/11410] " pinskia at gcc dot gnu dot org
@ 2004-01-25 7:24 ` ebotcazou at gcc dot gnu dot org
2004-01-25 7:26 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-01-25 7:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-01-25 07:24 -------
All testsuite failures are fixed as of today.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11410
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/11410] ffitest failures on Solaris 8/SPARC
2003-07-02 18:21 [Bug target/11410] New: ffitest failures on Solaris 8/SPARC gcc-bugzilla at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-01-25 7:24 ` ebotcazou at gcc dot gnu dot org
@ 2004-01-25 7:26 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-25 7:26 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11410
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-01-25 7:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-02 18:21 [Bug target/11410] New: ffitest failures on Solaris 8/SPARC gcc-bugzilla at gcc dot gnu dot org
2003-07-24 5:49 ` [Bug target/11410] " andreast at gcc dot gnu dot org
2003-07-29 4:49 ` pinskia at physics dot uc dot edu
2003-07-29 5:11 ` andreast at gcc dot gnu dot org
2003-07-30 4:04 ` cvs-commit at gcc dot gnu dot org
2004-01-11 1:36 ` [Bug libgcj/11410] " pinskia at gcc dot gnu dot org
2004-01-25 7:24 ` ebotcazou at gcc dot gnu dot org
2004-01-25 7:26 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).