JDK version 6

Randy McMurchy randy at linuxfromscratch.org
Wed Jul 11 18:58:09 PDT 2007


Hi all,

This is mostly to DJ, but FYI to everyone else, with comments welcome.

I'd like to propose that we ditch 3 of the JDK patches and use seds
instead.

1. The Mozilla plugin patch can be done with:

sed -i '/^.*linux)/ { N; /.*/ { N; /.*/d }}' \
    jdk-build/deploy/make/plugin/adapter/Makefile

2. The broken_demo patch can be done with:

sed -i '/.*mtrace.*/ { N; /.*/ s/.*mtrace.*\n.*/\t  mtrace/ }' \
    jdk-build/j2se/make/mkdemo/jvmti/Makefile

3. The static_cxx patch can be done with:

sed -i 's/= true/= false/' \
    jdk/j2se/make/common/shared/Compiler-gcc.gmk


Additionally, I modified the GCC4 patch to do the following:

1. Remove the fix to the assembly as it is now fixed in the tarball.
2. Add a fix to the vectornode.hpp file
3. Remove the -Werror so that some warnings don't kill the build.

Patch is attached.

-- 
Randy

rmlscsi: [bogomips 1003.28] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
20:46:00 up 13 days, 18:37, 1 user, load average: 0.08, 0.02, 0.01
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jdk-6u2-gcc4-1.patch
Type: text/x-diff
Size: 4205 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-dev/attachments/20070711/ab686460/attachment.patch>


More information about the blfs-dev mailing list