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

Andrew John Hughes gnu_andrew at member.fsf.org
Fri Aug 21 10:26:21 PDT 2009


2009/8/21 Matthias Klose <doko at ubuntu.com>:
> 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.
>

As mjw says, please ensure this works with at least 3.4 if not 3.3 also.

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

What about 1.6? And IcedTea7?

>  Matthias
>


-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list