[patch] let build stage1 build with ecj-3.5.x

Matthias Klose doko at ubuntu.com
Fri Aug 21 00:35:21 PDT 2009


Trying to build icedtea6 with gcj-4.4 using ecj from the 3.5 release branch; the 
build failed for a bug now fixed on the 3.5 branch, but now still fails because 
a -classpath '' argument is missing. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=285466, Olivier writes:


The problem comes from your classpath.

<classpath id="FOLDER"
path="/scratch/packages/openjdk/u/ecjbug/hotspot-tools/"/>
<classpath id="FOLDER"
path="/scratch/packages/openjdk/u/ecjbug/openjdk/jdk/src/share/classes/"/>
<classpath id="FOLDER"
path="/scratch/packages/openjdk/u/ecjbug/openjdk/jdk/src/solaris/classes/"/>
<classpath id="FOLDER"
path="/scratch/packages/openjdk/u/ecjbug/openjdk/langtools/src/share/classes/"/>
<classpath id="FOLDER"
path="/scratch/packages/openjdk/u/ecjbug/openjdk/jaxp/src/share/classes/"/>
<classpath id="FOLDER"
path="/scratch/packages/openjdk/u/ecjbug/openjdk/corba/src/share/classes/"/>
<classpath id="FOLDER"
path="/scratch/packages/openjdk/u/ecjbug/openjdk/jaxws/src/share/classes/"/>
<classpath id="FOLDER" path="/scratch/packages/openjdk/u/ecjbug/generated/"/>
<classpath id="FOLDER" path="/scratch/packages/openjdk/u/ecjbug/rt/"/>
<classpath id="FOLDER" path="/scratch/packages/openjdk/u/ecjbug/"/>

the last entry should not be there.

Did you change something in the way you invoke the batch compiler?
If no classpath is set up we add the current user directory on the classpath
and this could explain why this folder is added to the classpath.

The patch just adds the empty classpath argument. Bootstrap succeeds with 
ecj-3.5 from the branch.

Patch should be applied to the 1.5 release branch and 1.7.

   Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cp.diff
Type: text/x-diff
Size: 1526 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090821/9da598d7/cp.diff 


More information about the distro-pkg-dev mailing list