public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/13141] New: FAIL: InvokeReturn output - source compiled test
@ 2003-11-20 19:56 daney at gcc dot gnu dot org
2003-11-20 19:59 ` Andreas Tobler
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: daney at gcc dot gnu dot org @ 2003-11-20 19:56 UTC (permalink / raw)
To: gcc-bugs
$ mipsel-linux-gcj --version
mipsel-linux-gcj (GCC) 3.4 20031119 (experimental)
configured as:
../gcccvsw/gcc/configure --host=i686-pc-linux-gnu --target=mipsel-linux
--enable-languages=c,c++,java
--with-headers=/home/mipsel-linux/mipsel-linux/include --prefix=/home/testcvs/
--with-float=soft --with-arch=mips32
make check in libjava results in:
<...>
Executing on host:
/home/daney/mipsel-gcccvs/mipsel-linux/libjava/testsuite/../libtool --silent
--tag=GCJ --mode=link /home/daney/mipsel-gcccvs/gcc/gcj
-B/home/daney/mipsel-gcccvs/gcc/ --encoding=UTF-8
-B/home/daney/mipsel-gcccvs/mipsel-linux/./libjava/
/home/daney/gcccvsw/gcc/libjava/testsuite/libjava.lang/InvokeReturn.java
-no-install --main=InvokeReturn -g
-L/home/daney/mipsel-gcccvs/mipsel-linux/./libjava/.libs -lm -o
/home/daney/mipsel-gcccvs/mipsel-linux/libjava/testsuite/InvokeReturn.exe
(timeout = 300)
PASS: InvokeReturn compilation from source
put /home/daney/mipsel-gcccvs/mipsel-linux/libjava/testsuite/InvokeReturn.exe
/tmp/InvokeRe
turn.exe.6071
local: /home/daney/mipsel-gcccvs/mipsel-linux/libjava/testsuite/InvokeReturn.exe
remote: /tmp/InvokeReturn.exe.6071
227 Entering Passive Mode (192,168,0,112,90,28)
150 Opening BINARY mode data connection for /tmp/InvokeReturn.exe.6071.
226 Transfer complete.
60974 bytes sent in 0.0038 secs (1.6e+04 Kbytes/sec)
ftp> site chmod 0755 /tmp/InvokeReturn.exe.6071
200 CHMOD command successful.
ftp> Executing on proton: /tmp/InvokeReturn.exe.6071 (timeout = 300)
Executing on proton: rm -f /tmp/InvokeReturn.exe.6071 (timeout = 300)
Executed
/home/daney/mipsel-gcccvs/mipsel-linux/libjava/testsuite/InvokeReturn.exe, status 0
true
false
c
5
6
34359738375
0.0
0.0
PASS: InvokeReturn execution - source compiled test
FAIL: InvokeReturn output - source compiled test
<...>
It looks like long, float, and double return values are not correct.
--
Summary: FAIL: InvokeReturn output - source compiled test
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: daney at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: mipsel-linux
GCC target triplet: mipsel-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13141
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug libgcj/13141] New: FAIL: InvokeReturn output - source compiled test
2003-11-20 19:56 [Bug libgcj/13141] New: FAIL: InvokeReturn output - source compiled test daney at gcc dot gnu dot org
@ 2003-11-20 19:59 ` Andreas Tobler
2003-11-20 20:16 ` [Bug libgcj/13141] " toa at pop dot agri dot ch
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Andreas Tobler @ 2003-11-20 19:59 UTC (permalink / raw)
Cc: gcc-bugs
daney at gcc dot gnu dot org wrote:
> /home/daney/mipsel-gcccvs/mipsel-linux/libjava/testsuite/InvokeReturn.exe, status 0
> true
> false
> c
> 5
> 6
> 34359738375
> 0.0
> 0.0
> PASS: InvokeReturn execution - source compiled test
> FAIL: InvokeReturn output - source compiled test
> <...>
>
> It looks like long, float, and double return values are not correct.
>
It looks like libffi closure support is not working ok.
Andreas
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/13141] FAIL: InvokeReturn output - source compiled test
2003-11-20 19:56 [Bug libgcj/13141] New: FAIL: InvokeReturn output - source compiled test daney at gcc dot gnu dot org
2003-11-20 19:59 ` Andreas Tobler
@ 2003-11-20 20:16 ` toa at pop dot agri dot ch
2003-11-20 21:36 ` daney at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: toa at pop dot agri dot ch @ 2003-11-20 20:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From toa at pop dot agri dot ch 2003-11-20 20:16 -------
Subject: Re: New: FAIL: InvokeReturn output - source compiled
test
daney at gcc dot gnu dot org wrote:
> $ mipsel-linux-gcj --version
> mipsel-linux-gcj (GCC) 3.4 20031119 (experimental)
>
> configured as:
>
> ../gcccvsw/gcc/configure --host=i686-pc-linux-gnu --target=mipsel-linux
> --enable-languages=c,c++,java
> --with-headers=/home/mipsel-linux/mipsel-linux/include --prefix=/home/testcvs/
> --with-float=soft --with-arch=mips32
>
> make check in libjava results in:
>
> <...>
> Executing on host:
> /home/daney/mipsel-gcccvs/mipsel-linux/libjava/testsuite/../libtool --silent
> --tag=GCJ --mode=link /home/daney/mipsel-gcccvs/gcc/gcj
> -B/home/daney/mipsel-gcccvs/gcc/ --encoding=UTF-8
> -B/home/daney/mipsel-gcccvs/mipsel-linux/./libjava/
> /home/daney/gcccvsw/gcc/libjava/testsuite/libjava.lang/InvokeReturn.java
> -no-install --main=InvokeReturn -g
> -L/home/daney/mipsel-gcccvs/mipsel-linux/./libjava/.libs -lm -o
> /home/daney/mipsel-gcccvs/mipsel-linux/libjava/testsuite/InvokeReturn.exe
> (timeout = 300)
> PASS: InvokeReturn compilation from source
> put /home/daney/mipsel-gcccvs/mipsel-linux/libjava/testsuite/InvokeReturn.exe
> /tmp/InvokeRe
> turn.exe.6071
>
> local: /home/daney/mipsel-gcccvs/mipsel-linux/libjava/testsuite/InvokeReturn.exe
> remote: /tmp/InvokeReturn.exe.6071
>
> 227 Entering Passive Mode (192,168,0,112,90,28)
>
> 150 Opening BINARY mode data connection for /tmp/InvokeReturn.exe.6071.
>
> 226 Transfer complete.
>
> 60974 bytes sent in 0.0038 secs (1.6e+04 Kbytes/sec)
>
> ftp> site chmod 0755 /tmp/InvokeReturn.exe.6071
>
> 200 CHMOD command successful.
>
> ftp> Executing on proton: /tmp/InvokeReturn.exe.6071 (timeout = 300)
> Executing on proton: rm -f /tmp/InvokeReturn.exe.6071 (timeout = 300)
> Executed
> /home/daney/mipsel-gcccvs/mipsel-linux/libjava/testsuite/InvokeReturn.exe, status 0
> true
> false
> c
> 5
> 6
> 34359738375
> 0.0
> 0.0
> PASS: InvokeReturn execution - source compiled test
> FAIL: InvokeReturn output - source compiled test
> <...>
>
> It looks like long, float, and double return values are not correct.
>
It looks like libffi closure support is not working ok.
Check the cls_float, cls_double, cls_ulonglong testcases in libffi. They
should at least work.
Andreas
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13141
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/13141] FAIL: InvokeReturn output - source compiled test
2003-11-20 19:56 [Bug libgcj/13141] New: FAIL: InvokeReturn output - source compiled test daney at gcc dot gnu dot org
2003-11-20 19:59 ` Andreas Tobler
2003-11-20 20:16 ` [Bug libgcj/13141] " toa at pop dot agri dot ch
@ 2003-11-20 21:36 ` daney at gcc dot gnu dot org
2003-11-25 0:55 ` [Bug libgcj/13141] FAIL: InvokeReturn output - source compiled test <libffi problem> pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: daney at gcc dot gnu dot org @ 2003-11-20 21:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From daney at gcc dot gnu dot org 2003-11-20 21:36 -------
Looks like a ffi problem.
It looks like ffi closures are not really implemented on this platform.
libffi testsuite gives:
<...>
PASS: libffi.call/return_ll.c (test for excess errors)
FAIL: libffi.call/return_ll.c execution test
PASS: libffi.call/return_sc.c (test for excess errors)
PASS: libffi.call/return_sc.c execution test
PASS: libffi.call/return_uc.c (test for excess errors)
PASS: libffi.call/return_uc.c execution test
<...>
I might look into this a little later.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13141
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/13141] FAIL: InvokeReturn output - source compiled test <libffi problem>
2003-11-20 19:56 [Bug libgcj/13141] New: FAIL: InvokeReturn output - source compiled test daney at gcc dot gnu dot org
` (2 preceding siblings ...)
2003-11-20 21:36 ` daney at gcc dot gnu dot org
@ 2003-11-25 0:55 ` pinskia at gcc dot gnu dot org
2004-08-18 19:19 ` daney at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-25 0:55 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-11-25 00:55:45
date| |
Summary|FAIL: InvokeReturn output - |FAIL: InvokeReturn output -
|source compiled test |source compiled test <libffi
| |problem>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13141
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/13141] FAIL: InvokeReturn output - source compiled test <libffi problem>
2003-11-20 19:56 [Bug libgcj/13141] New: FAIL: InvokeReturn output - source compiled test daney at gcc dot gnu dot org
` (3 preceding siblings ...)
2003-11-25 0:55 ` [Bug libgcj/13141] FAIL: InvokeReturn output - source compiled test <libffi problem> pinskia at gcc dot gnu dot org
@ 2004-08-18 19:19 ` daney at gcc dot gnu dot org
2004-08-23 16:49 ` cvs-commit at gcc dot gnu dot org
2004-08-23 16:52 ` daney at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: daney at gcc dot gnu dot org @ 2004-08-18 19:19 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Last reconfirmed|2003-11-25 00:55:45 |2004-08-18 19:19:25
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13141
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/13141] FAIL: InvokeReturn output - source compiled test <libffi problem>
2003-11-20 19:56 [Bug libgcj/13141] New: FAIL: InvokeReturn output - source compiled test daney at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-08-18 19:19 ` daney at gcc dot gnu dot org
@ 2004-08-23 16:49 ` cvs-commit at gcc dot gnu dot org
2004-08-23 16:52 ` daney at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-23 16:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-08-23 16:49 -------
Subject: Bug 13141
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: daney@gcc.gnu.org 2004-08-23 16:49:17
Modified files:
libffi : ChangeLog
libffi/src/mips: ffi.c ffitarget.h o32.S
Log message:
2004-08-23 David Daney <daney@avtrex.com>
PR libgcj/13141
* src/mips/ffitarget.h (FFI_O32_SOFT_FLOAT): New ABI.
* src/mips/ffi.c (ffi_prep_args): Fix alignment calculation.
(ffi_prep_cif_machdep): Handle FFI_O32_SOFT_FLOAT floating point
parameters and return types.
(ffi_call): Handle FFI_O32_SOFT_FLOAT ABI.
(ffi_prep_closure): Ditto.
(ffi_closure_mips_inner_O32): Handle FFI_O32_SOFT_FLOAT ABI, fix
alignment calculations.
* src/mips/o32.S (ffi_closure_O32): Don't use floating point
instructions if FFI_O32_SOFT_FLOAT, make stack frame ABI compliant.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/ChangeLog.diff?cvsroot=gcc&r1=1.186&r2=1.187
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/src/mips/ffi.c.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/src/mips/ffitarget.h.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/src/mips/o32.S.diff?cvsroot=gcc&r1=1.4&r2=1.5
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13141
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/13141] FAIL: InvokeReturn output - source compiled test <libffi problem>
2003-11-20 19:56 [Bug libgcj/13141] New: FAIL: InvokeReturn output - source compiled test daney at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-08-23 16:49 ` cvs-commit at gcc dot gnu dot org
@ 2004-08-23 16:52 ` daney at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: daney at gcc dot gnu dot org @ 2004-08-23 16:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From daney at gcc dot gnu dot org 2004-08-23 16:52 -------
Fixed by the FFI patches.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13141
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-08-23 16:52 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-20 19:56 [Bug libgcj/13141] New: FAIL: InvokeReturn output - source compiled test daney at gcc dot gnu dot org
2003-11-20 19:59 ` Andreas Tobler
2003-11-20 20:16 ` [Bug libgcj/13141] " toa at pop dot agri dot ch
2003-11-20 21:36 ` daney at gcc dot gnu dot org
2003-11-25 0:55 ` [Bug libgcj/13141] FAIL: InvokeReturn output - source compiled test <libffi problem> pinskia at gcc dot gnu dot org
2004-08-18 19:19 ` daney at gcc dot gnu dot org
2004-08-23 16:49 ` cvs-commit at gcc dot gnu dot org
2004-08-23 16:52 ` daney 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).