dev-java/eclipse-ecj-3.3.0-r8, dev-java/gcj-jdk-4.3-r4, building dev-java/icedtea6-1.7 if ! test -d /var/tmp/portage/dev-java/icedtea6-1.7/work/icedtea6-1.7/bootstrap/jdk1.6.0 ; \ then \ /usr/lib/jvm/gcj-jdk/bin/javac -g -d lib/hotspot-tools \ -source 1.5 \ -sourcepath \ 'hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:/var/tmp/portage/dev-java/icedtea6-1.7/work/icedtea6-1.7/generated:/var/tmp/portage/dev-java/icedtea6-1.7/work/icedtea6-1.7/rt:/var/tmp/portage/dev-java/icedtea6-1.7/work/icedtea6-1.7/rt:/var/tmp/portage/dev-java/icedtea6-1.7/work/icedtea6-1.7/plugin/icedteanp/java' \ -classpath \'\' -bootclasspath \'\' @hotspot-tools-source-files.txt ; \ else \ /var/tmp/portage/dev-java/icedtea6-1.7/work/icedtea6-1.7/bootstrap/jdk1.6.0/bin/javac -g \ -d lib/hotspot-tools \ -source 1.5 \ -sourcepath \ 'hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:/var/tmp/portage/dev-java/icedtea6-1.7/work/icedtea6-1.7/generated:/var/tmp/portage/dev-java/icedtea6-1.7/work/icedtea6-1.7/rt:/var/tmp/portage/dev-java/icedtea6-1.7/work/icedtea6-1.7/rt:/var/tmp/portage/dev-java/icedtea6-1.7/work/icedtea6-1.7/plugin/icedteanp/java' \ -classpath \'\' -bootclasspath \'\' @hotspot-tools-source-files.txt ; \ fi ls: cannot access /etc/env.d/gcc/*4.3*: No such file or directory incorrect classpath: '' incorrect classpath: '' ---------- 1. ERROR in hotspot-tools/com/sun/codemodel/internal/JFormatter.java (at line 0) /* ^ Internal compiler error java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.syntheticMethods(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.lookup.SyntheticMethodBinding.<init>(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.addSyntheticEnumMethod(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.lookup.ClassScope.buildMethods(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.lookup.ClassScope.buildFieldsAndMethods(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.lookup.ClassScope.buildFieldsAndMethods(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.Compiler.compile(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.batch.Main.compile(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.batch.Main.main(native_ecj-3.3.so) ---------- 1 problem (1 error)make: *** [stamps/hotspot-tools-class-files.stamp] Error 255 Reproducible: Always
Confirmed with the icedtea-6.1.7 ebuild of today.
This should get fixed if you remerge eclipse-ecj:3.3 and gcj-jdk to update its paths to your current gcc version.
(In reply to comment #2) > This should get fixed if you remerge eclipse-ecj:3.3 and gcj-jdk to update its > paths to your current gcc version. This does not help, it still crashes (eclipse-ecj-3.3.0-r8, gcj-jdk-4.4.3, trying to build icedtea-6.1.7.1): mkdir -p lib/hotspot-tools if ! test -d /var/tmp/portage/dev-java/icedtea-6.1.7.1/work/icedtea6-1.7.1/bootstrap/jdk1.6.0 ; \ then \ /usr/lib/jvm/gcj-jdk/bin/javac -g -d lib/hotspot-tools \ -source 1.5 \ -sourcepath \ 'hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src -classpath \'\' -bootclasspath \'\' @hotspot-tools-source-files.txt ; \ else \ /var/tmp/portage/dev-java/icedtea-6.1.7.1/work/icedtea6-1.7.1/bootstrap/jdk1.6.0/bin/javac -g \ -d lib/hotspot-tools \ -source 1.5 \ -sourcepath \ 'hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src -classpath \'\' -bootclasspath \'\' @hotspot-tools-source-files.txt ; \ fi incorrect classpath: '' incorrect classpath: '' ---------- 1. ERROR in hotspot-tools/com/sun/codemodel/internal/JFormatter.java (at line 0) /* ^ Internal compiler error java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.syntheticMethods(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.lookup.SyntheticMethodBinding.<init>(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.addSyntheticEnumMethod(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.lookup.ClassScope.buildMethods(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.lookup.ClassScope.buildFieldsAndMethods(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.lookup.ClassScope.buildFieldsAndMethods(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.Compiler.compile(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.batch.Main.compile(native_ecj-3.3.so) at org.eclipse.jdt.internal.compiler.batch.Main.main(native_ecj-3.3.so)
Can you rebuild the eclipse-ecj:3.3 with USE=-gcj and see if it helps?
reopening
(In reply to comment #4) > Can you rebuild the eclipse-ecj:3.3 with USE=-gcj and see if it helps? Sorry, hard to test. I fixed this by temporal emerge of icedtea6-bin, emerging normal icedtea and removal of binary version.
Both eclipse-ecj-3.3 and icedtea6-1.7 are gone by now.