This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj on intel mac patches
- From: Sandro Tolaini <tolaini at libero dot it>
- To: Andi Vajda <andi at osafoundation dot org>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 22 May 2006 21:54:36 +0200
- Subject: Re: gcj on intel mac patches
- References: <Pine.OSX.4.64.0605221155100.941@zoe.local>
On 22/mag/2006, at 21:07, Andi Vajda wrote:
A few weeks ago you sent patches to this list that made it possible
to build gcj on Intel Mac OS X. I was able to build gcj once from
the trunk with your patches. The executable I then built with that
gcj were not functional.
What kind of problems are you having with the executables? I've not
built gcc recently, but we are using gcj 4.0.2+patches for our
product, and it is surely working (except for stack unwinding). I can
send you 4.0.2 patches if you are interested.
I'm trying to get into debugging this again but now trunk gcj 4.2
with your
patches no longer builds. While building boehm-gc, I get:
/Users/vajda/gcc-4.2/build/./gcc/xgcc -B/Users/vajda/gcc-4.2/
build/./gcc/ -B/Users/vajda/gcc-4.2/install/i386-apple-darwin8.6.1/
bin/ -B/Users/vajda/gcc-4.2/install/i386-apple-darwin8.6.1/lib/ -
isystem /Users/vajda/gcc-4.2/install/i386-apple-darwin8.6.1/include
-isystem /Users/vajda/gcc-4.2/install/i386-apple-darwin8.6.1/sys-
include -DHAVE_CONFIG_H -I/Users/vajda/gcc-4.2/trunk/boehm-gc/
include -fexceptions -Iinclude -I././targ-include -I.//libc/include
-O2 -g -O2 -fexceptions -Iinclude -I././targ-include -I.//libc/
include -c ../../../trunk/boehm-gc/pthread_support.c -fno-common -
DPIC -o .libs/pthread_support.o
../../../trunk/boehm-gc/pthread_support.c: In function
'GC_attach_thread':
../../../trunk/boehm-gc/pthread_support.c:1184: error: 'struct
thread_stop_info' has no member named 'stack_ptr'
This seems tied to some changes in the boehm gc codebase that has
occurred after my patch submission. I'll give it a try when I have
some spare time, but at the moment I'm quite busy.
On another note, how hard would it be to rework these patches for
gcj 3.4.6
or gcj 4.1.0 ?
As I said before, 4.0.2 (and probably 4.0.3) can be patched
successfully. Don't know about 4.1 branch (probably yes, choosing the
right libffi patch).
Cheers,
Sandro