| From | Sent On | Attachments |
|---|---|---|
| Eric Richardson | Jan 7, 2009 8:55 pm | |
| Christian Thalinger | Jan 8, 2009 1:21 am | |
| Michael Franz | Jan 8, 2009 4:14 am | |
| Andrew John Hughes | Jan 8, 2009 4:45 am | |
| Eric Richardson | Jan 8, 2009 9:05 am | |
| Eric Richardson | Jan 8, 2009 9:10 am | |
| Eric Richardson | Jan 8, 2009 9:16 am | |
| Eric Richardson | Jan 9, 2009 10:13 am | |
| Christian Thalinger | Jan 10, 2009 1:49 am | |
| Mark Wielaard | Jan 11, 2009 4:28 am | |
| Christian Thalinger | Jan 11, 2009 4:51 am | |
| Mark Wielaard | Jan 11, 2009 5:10 am | .patch |
| Christian Thalinger | Jan 11, 2009 5:16 am | |
| Andrew John Hughes | Jan 11, 2009 9:18 am | |
| Christian Thalinger | Jan 11, 2009 9:37 am | |
| Mark Wielaard | Jan 11, 2009 10:22 am |
| Subject: | Problem Compiling Java | |
|---|---|---|
| From: | Eric Richardson (ekri...@gmail.com) | |
| Date: | Jan 7, 2009 8:55:48 pm | |
| List: | net.java.openjdk.bsd-port-dev | |
Hello,
Before I burn too many cycles trying to figure out what is going on I thought I'd see if anyone has any ideas. I'm working with icetea6 on Power PC Mac OS X. I know that the BSD stuff is in Icedtea7 but since I am trying to compile with the Apple jdk5 java and am waiting for icedtea7 to remove the --with-libgcj-jar as I can't get past the ./configure step with icetea7. Since this is removed in icedtea6 I can get past ./configure but it ignores the --with-project=bsd. I figure, perhaps wrongly that I should be able to compile Java at least. The VirtualMachineImpl.java has an import of ClassTypeImpl in the same package which in turn imports com.sun.jdi,* which has ClassType but the incorrect classpath error mentions a ClassType in a different package. I changed the Makefile to get more memory.
Eric
patrizia-imac-g5:icedtea6 eric$ make if ! test -d /Users/eric/java/icedtea6/bootstrap/jdk1.6.0 ; \ then \ /opt/local/bin/ecj -nowarn -J-Xmx4096m -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:/Users/eric/java/icedtea6/generated:/Users/eric/java/icedtea6/rt' \ -bootclasspath '' @hotspot-tools-source-files.txt ; \ else \ /Users/eric/java/icedtea6/bootstrap/jdk1.6.0/bin/javac -J-Xmx4096m -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:/Users/eric/java/icedtea6/generated:/Users/eric/java/icedtea6/rt' \ -bootclasspath '' @hotspot-tools-source-files.txt ; \ fi incorrect classpath: hotspot-tools/com/sun/codemodel/internal/ClassType.java
---------- 1. ERROR in /Users/eric/java/icedtea6/openjdk/jdk/src/share/classes/com/sun/tools/jdi/VirtualMachineImpl.java (at line 0) /* ^ Internal compiler error java.lang.OutOfMemoryError: Java heap space at org.eclipse.jdt.internal.compiler.util.Util.getInputStreamAsCharArray(Unknown Source) at org.eclipse.jdt.internal.compiler.util.Util.getFileCharContent(Unknown Source) at org.eclipse.jdt.internal.compiler.batch.CompilationUnit.getContents(Unknown Source) at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Unknown Source) at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Unknown Source) at org.eclipse.jdt.internal.compiler.parser.Parser.dietParse(Unknown Source) at org.eclipse.jdt.internal.compiler.Compiler.accept(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.Scope.getPackage(Unknown Source) at org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference.getTypeBinding(Unknown Source) at org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.resolveTypeFor(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.fields(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.faultInTypesForFieldsAndMethods(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.faultInTypes(Unknown Source) at org.eclipse.jdt.internal.compiler.Compiler.process(Unknown Source) at org.eclipse.jdt.internal.compiler.Compiler.compile(Unknown Source) at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Unknown Source) at org.eclipse.jdt.internal.compiler.batch.Main.compile(Unknown Source) at org.eclipse.jdt.internal.compiler.batch.Main.main(Unknown Source)
---------- 1 problem (1 error)make: *** [stamps/hotspot-tools-class-files.stamp] Error 255






.patch