PR 10656 and PR 10657

Carl Eugen Hoyos ce@hoyos.ws
Thu May 8 07:16:00 GMT 2003


On Wed, 2003-05-07 at 15:30, Jeff Sturm wrote:
> On 6 May 2003, Mark Mitchell wrote:
> > These PRs represent serious problems with the Java front end --
problems
> > that prevent building GCC if Java is enabled.  Both problems occur on
> > Solaris machines.
>
> I have a patch for PR 10656, but cannot test it myself on Solaris 7.  I
> may have some help.  Is tomorrow too late for 3.3?

I tested the part of the patch concerning v8.S by deleting the line
containing .register: The bootstrap succeeds, but ffitest fails:
When linked against the dynamic library, ffitest fails immediately with
bus error, linked against the static libffi.a, the following output can be
seen:

$ ffitest
709 return value tests run
long double return value tests ok!
2 vs 2
float arg tests ok!
strlen tests passed
double return value tests ok!
many arg tests ok!
1383096 promotion tests run
structure test 1 ok!

3.26278e-309
0
4.55
5.66
structure test 2 ok!
246
246
structure test 3 ok!
structure test 4 ok!
structure test 5 ok!
5.55
6.66
6.55
7.66
structure test 6 ok!
5.55
55.5
6.66
6.55
56.5
7.66
structure test 7 ok!
5.55
55.5
-5.55
-55.5
6.55
56.5
-4.55
-54.5
structure test 8 ok!
5.55
5
6.55
6
structure test 9 ok!

Enter FFI_CLOSURES

1 2 3 4 127 429 7 8 9 10 11 12 13 19 21 1 3: 680
sh: bus error  ffitest



More information about the Java mailing list