Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VM Performance / Java to Machine Code Compiler



On Wednesday, April 28, 2004, at 12:27 PM, Erik wrote:

> As far as I can tell, gcj isn't with gcc on 10.3 by default, so the
> build
> your own gcc seems to be the way here. Gcc reports:
>
I basically followed the directions here...
http://gcc.gnu.org/java/build-snapshot.html
Except running the gcc/configure is incorrect. That results in
no rule to make target libiberty needed by genmodes or something like
that.
I found the configure should be run from the 'top' directory...
From objdir not ../gcc/configure but just ../configure
I think --prefix is what keeps it from trying to install over your real
live stuff. So you know if you somehow do that or something else goes
wrong please don't tell me I broke your machine.
Some rlim size errors appeared to be because for some reason
.sys/resosurce.h isn't detected? Anyhow changing the SYS_RESOURCE
define in config.in or config.h.in I think to 1 instead of a commented
undef seemed to fix it.
A couple errors seemed to stall it in the make. One actually resulting
in a crash log
Thread 0 Crashed:
#0 0x900743ac in memmove
#1 0x90028ef8 in fread
#2 0x000f20d0 in gt_pch_restore (ggc-common.c:652)
This one checking on some PCH thing.
Another indicating some libf2c or something was missing and I think
maybe one more indicating fortran problems. For all of these I think
entering ctrl+\ caused an interrupted skipping the error and
continuing? I just wanted to see if I got a stack crawl for the one
above.
Anyhow at least so far they seem non-fatal, more complex stuff might
turn them up though.
The missing file I did find on my machine so I must of got it off of
Fink or with some IBM compilers I grabbed a while back.
The build is very slow I think at one point I killed it early somehow
after gcj was built but before libgcj was built.
I thought maybe it had something to do with the missing file error so I
tried 'make' to see if I could get that again starting over from there,
I didn't get the error, so maybe it was off the bootstrap make but it
did it did start all the java stuff in the libgcj java runtime, so I
got it fine anyhow.
About what I can remember that I came across if anyone wants to do it
themselves for a working build. I haven't the slightest what you do to
modify it.
Uploads still cranking...

Mike Hall <mikehall at spacestar dot net>
<http://www.spacestar.net/users/mikehall>
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: VM Performance / Java to Machine Code Compiler (From: Erik <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.