[Momonga-devel.ja:03630] java-1.6.0-openjdk について


y です

java-1.6.0-openjdk が環境によってはビルド出来ない件ですが、
以下のような情報を見つけました。

http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=152
https://bugzilla.redhat.com/show_bug.cgi?id=444672

両者とも解決には至っていませんが、workaroud として二つ方法があるようで、

workaroundその1:  /usr/bin/ecj  に -client を追加する

> #!/bin/sh
> CLASSPATH=/usr/share/java/eclipse-ecj.jar${CLASSPATH:+:}$CLASSPATH \
>  java -client org.eclipse.jdt.internal.compiler.batch.Main "$@"

workaroundその2: /usr/lib/eclipse/eclipse.ini に2行追加する

> On Ubuntu Hardy Heron adding the following lines to the bottom of eclipse.ini
> makes the SIGSEGV crash go away for me:
> -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
> -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,

以上の方法で、うまくビルドできる場合があるようです。

取り急ぎですが、FYIということで。