Summary: | [java-overlay] dev-java/gcj-jdk-4.3-r4 + dev-java/eclipse-ecj-3.3.0-r8 fails to build dev-java/icedtea6-1.7: incorrect classpath + ICE | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dennis Schridde <dschridde+gentoobugs> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | bircoph |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 247140 |
Description
Dennis Schridde
2010-01-30 20:48:40 UTC
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. |