Re: Classpath 0.95 / 0.96 pre: Configure bug, Out of mem with javac

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 02 October 2007 09:20:54 kus Kusche Klaus wrote:
> Hello!
>
> Two problems when building classpath 0.96 pre (about 1 week old),
> similar problem in 0.95, on 32 bit x86 linux (Gentoo):
>
> 1. "javac" runs out of memory when making in subdirectory lib
> when compiling "@classes".
>
> This is an original Sun javac version 1.6.0_02.
>
> javac works and successfully compiles code
> in several other make steps, but "@classes" is just too much for it.
>
> 2. To avoid that problem, I installed ecj and configured Classpath
> with "--with-ecj=... --without-javac"
> (but left javac installed on my system).
>
> Configure sets *both* JAVAC=... and ECJ=...,
> but sets FOUND_ECJ_FALSE and FOUND_JAVAC_TRUE (*wrong*).
>
> Hence, this did not help against problem 1.
>
> The only way I found to avoid the classes being compiled with javac
> was editing lib/Makefile by hand after running configure
> (commenting the JCOMPILER line with javac
> and uncommenting the one with ecj).
>
> ecj has no problems compiling "@classes"
> (hence, the path given in "--with-ecj=..." points to a working ecj).
>
> I was unable to teach configure not to use javac.
>
> Specifying "--without-xxx" should always be obeyed,
> no matter what configure actually finds.
>
>
> Greetings

Can you please file this as a bug report:

http://gcc.gnu.org/bugzilla/

and we'll look into it ASAP.
-- 
Andrew :)



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux