Power PC Build

Michael Franz mvfranz at gmail.com
Mon Jan 12 17:05:48 PST 2009


> The ecj patch provides most of the fixes that make it possible to
> build with other JDKs so it needs to be applied.  As I've said before,
> I doubt it will work with Apple's proprietary JDK.

I have applied all of the ecj patches.  The thing that was causing the patch
to fail is this

--- patches/ecj/icedtea-pr261.patch.orig    2009-01-12 19:13:15.000000000
+++ patches/ecj/icedtea-pr261.patch    2009-01-12 19:13:38.000000000 -0500
@@ -21,7 +21,7 @@
 --- openjdk-ecj.orig/jdk/make/java/nio/Makefile    2008-12-02
15:52:07.000000000 +0000
 +++ openjdk-ecj/jdk/make/java/nio/Makefile    2008-12-02 15:59:32.000000000
 @@ -85,6 +85,9 @@
- ifeq ($(PLATFORM), linux)
+ ifneq (,$(findstring $(PLATFORM), linux bsd))
  FILES_java += \
          sun/nio/ch/AbstractPollSelectorImpl.java \

I still cannot get anything other than hotspot to compile correctly.  There
are a bunch of manual steps that I have to do for that (hotspot).

How can a patch be created that would handle both versions of the file?

> Only because the BSD porters are working in a separate OpenJDK7 tree,
> making its use incredibly niche (i.e. it can't provide a TCK-passing
> Free Java for *BSD until such a time as there is a Free TCK for 7,
> that's some years off).  I think the work would be better placed
> directly in IcedTea where it can be used with 6 + 7.

I think the plan is to get the BSD port working correctly and then merge the
changes into the main repo, but I could be wrong on that.  I know that the
merges from the main repo are applied to the bsd port.

> Cheers,
> --
> Andrew :-)
> Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20090112/42ba108b/attachment.html 

More information about the bsd-port-dev mailing list