Porting gcj to i386-darwin

2006-03-10 Thread Sandro Tolaini
Hi everyone, I would like to port gcj/libgcj to i386-darwin. Is there someone already working on that? Considering that powerpc-darwin is a supported platform, it should not prove to be too hard. However, I need some hints on how to proceed. At configure phase, GCC woes for: target-libmud

Re: Porting gcj to i386-darwin

2006-03-10 Thread Sandro Tolaini
On 10/mar/2006, at 20:42, Tom Tromey wrote: libffi and mudflap were covered by Paolo and Andrew. I have done some work on sysv.S and now libffi compiles fine on OSX/ Intel. Unfortunately, I had to put some #ifdef __APPLE__ this file because Apple ships an old cctools with as that doesn't u

Re: Porting gcj to i386-darwin

2006-03-10 Thread Sandro Tolaini
On 11/mar/2006, at 02:09, Tom Tromey wrote: Yes, one of the test cases in the libjava test suite checks this. Offhand I forget which one... but if you do a 'make check' and send the list of FAILs we can help analyze them. (This would be better done on the gcj list, [EMAIL PROTECTED]) This is

Re: Patch for i386-darwin: test suite results

2006-03-19 Thread Sandro Tolaini
On 17/mar/2006, at 00:57, Andrew Pinski wrote: Actually it looks like libffi is still not working as you no longer have eh info for x86-darwin. This is why all the gij tests fail. I have implemented EH for Darwin/x86 and now much more tests pass: Test Run By sandro on Sun Mar 19 10:12:14 20

Forward port darwin/i386 support 4.0 => 4.2 problems

2006-03-24 Thread Sandro Tolaini
I have successfully forward ported libffi changes from 4.0 to 4.2, but I have some problems running the testsuite. Here are the results: # of expected passes1052 # of unexpected failures8 # of unsupported tests 8 Looking at the failures, I have: FAIL: libffi.call/

Re: Forward port darwin/i386 support 4.0 => 4.2 problems

2006-03-24 Thread Sandro Tolaini
On 24/mar/2006, at 10:50, Sandro Tolaini wrote: I'm attaching the patch against a current svn checkout. Forgot to say that boehm-gc needs to be upgraded to 6.7. I've not included patches for this, simply import it from the original distribution. Cheers, Sandro

Boehm GC memory leak on Darwin

2006-03-25 Thread Sandro Tolaini
This has been discussed and patched on the gc mailing list. I think that incorporating the patch is mandatory for all the 4.x branches: http://www.hpl.hp.com/hosted/linux/mail-archives/gc/2005-December/ 001071.html Cheers, Sandro

Re: Forward port darwin/i386 support 4.0 => 4.2 problems

2006-03-25 Thread Sandro Tolaini
On 24/mar/2006, at 14:24, Andrew Pinski wrote: This looks like you did not update your cctools to the newest one which was posted which includes this symbol. Updated cctools, now the not found symbol has changed: dyld: _dyld_bind_fully_image_containing_address() error dyld: Symbol not foun

GCJ on Darwin/i386 patches

2006-03-26 Thread Sandro Tolaini
Finally, I managed to fix up libffi and run testing on libjava under Darwin/i386. Here is the libffi testsuite output: Test Run By sandro on Sun Mar 26 10:49:37 2006 Native configuration is i386-apple-darwin8.5.2 === libffi tests === Schedule of variations: unix Running

Boehm GC memory leak on Darwin

2006-04-08 Thread Sandro Tolaini
t the patch should be applied to every maintained branch. Please maintainers, check this in! Cheers, Sandro Tolaini

Re: RFC: x86 Linux stack alignment requirement

2006-06-07 Thread Sandro Tolaini
On 07/giu/2006, at 18:22, H. J. Lu wrote: The x86 psABI is very old and doesn't cover XMM registers. I'd like to update x86 Linux calling convention for XMM register usage. I am not sure if I should update stack alignment requirement. Maybe you'll want to check how this is handled in Darwin/x