This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/13141] FAIL: InvokeReturn output - source compiled test


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]