Re: OpenJDK 1.7 build notes

2012-01-24 Thread Chris Turner

Update:

On Tue, Jan 03, 2012 at 05:57:54PM -0600, Chris Turner wrote:
> 
> x64 built through 1.6, however am encountering some build errors on 1.7.
> These do seem to be build configuration errors, and not e.g. JVM runtime
> errors, so I suspect they will not be too hard to correct.
>

Got 1.7 to build properly on 64 bit from 1.6 without much tweaking -
basically the 'defs.make' needs to understand x86_64 as well
as amd64 - so for the impatient - follow the previous 1.4,1.5,1.6 
bootstrap instructions +

  bmake configure
  
  bmake install package

should yield a 1.7 install & package.

Am currently doing a sanity rebuild to make sure I've recorded all 
of the changes, then will try a native 1.7 -> 1.7 hosted build - 

If all is well there, will be working to get the patches / boostrap 
tarballs in after that.

Cheers,

- Chris



Re: OpenJDK 1.7 build notes

2012-01-04 Thread Makoto YAMAKURA
Hi,

2012/1/4 Chris Turner :
> On 12/18/11 02:21, Chris Turner wrote:
>
> Update:
>
> x64 built through 1.6, however am encountering some build errors on 1.7.
> These do seem to be build configuration errors, and not e.g. JVM runtime
> errors, so I suspect they will not be too hard to correct.

This maybe fixes the build error.
http://mail.openjdk.java.net/pipermail/bsd-port-dev/2010-October/001312.html

I could go further with the change, but got a fatal error (javac got
SIGBUS and dump) in second 'Entering langtools for target(s) all'
phase...

Regards,


Re: OpenJDK 1.7 build notes

2012-01-03 Thread Chris Turner

On 12/18/11 02:21, Chris Turner wrote:

I'll also try to repeat the process on x64 and see where that goes
as soon as I get a chance to get a build / test environment setup
(probably a few weeks)


Update:

x64 built through 1.6, however am encountering some build errors on 1.7.
These do seem to be build configuration errors, and not e.g. JVM runtime
errors, so I suspect they will not be too hard to correct.

For those wanting any jdk on x64 - the makefiles previously announced
along with your own copy of the JDK source should build the 1.6 system,
with the exception that jdk 1.6 required a hack to the pkgsrc 'gcc' wrapper
to -I the correct directory for freetype (workdir-include/freetype iirc),
and for some reason the pkg_alternatives setup didn't work on my 1.6 package,
so to use you might need to link these in manually, etc.

However, I have run over my alloted time to proceed at the moment, so I
will likely be picking this up again in a few weeks time.

Cheers,

- Chris


Re: OpenJDK 1.7 build notes

2011-12-26 Thread Venkatesh Srinivas
Awesome, thanks!

Any chance you could distribute your packages for i386? If I
understand correctly, the OpenJDK license would allow this. [just the
build jdk17 packages, not the bootstrap].

Thanks!
-- vs


Re: OpenJDK 1.7 build notes

2011-12-18 Thread Francois Tigeot
On Sun, Dec 18, 2011 at 02:21:32AM -0600, Chris Turner wrote:
> 
> After some effort i've managed to rebuild the openjdk1.7
> on DragonFly/i386 from a fresh boostrap (in retrospect,
> possibly not needed).. anyhow - my notes / hacked up pkgsrc patches
> are outlined here & here:
> 
> http://leaf.dragonflybsd.org/~cat/df-jdk/openjdk-dragonfly-i386.txt
> http://leaf.dragonflybsd.org/~cat/df-jdk/

Great news! I'm awaiting impatiently to see the results on x86_64 :)
 
-- 
Francois Tigeot


OpenJDK 1.7 build notes

2011-12-18 Thread Chris Turner


Hello All -

After some effort i've managed to rebuild the openjdk1.7
on DragonFly/i386 from a fresh boostrap (in retrospect,
possibly not needed).. anyhow - my notes / hacked up pkgsrc patches
are outlined here & here:

http://leaf.dragonflybsd.org/~cat/df-jdk/openjdk-dragonfly-i386.txt
http://leaf.dragonflybsd.org/~cat/df-jdk/

I'll follow up on getting these pushed through properly, but thought
the notes might be of note in the meantime and also for posterity
should anyone else need to bootstrap the jdk later on.

I'll also try to repeat the process on x64 and see where that goes
as soon as I get a chance to get a build / test environment setup
(probably a few weeks)

Thanks for the effort of all of those in the 'real work' at getting
the port / package going along this far to begin with.

Cheers,

- Chris