This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: libjava "make install" is broken again
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 04 Mar 2002 15:59:33 +1300
- Subject: Re: libjava "make install" is broken again
- References: <Pine.LNX.4.10.10203032135060.3438-100000@mars.deadcafe.org>
Jeff Sturm wrote:
>One workaround is to forget about libgcjgc.so and libzgcj.so and link them
>as convenience libraries instead. I'm not sure why we have these; at one
>time it may have seemed feasible to have pluggable GC but it certainly
>isn't now.
>
I agree. The only argument against doing that is that is that it would
be nice to have boehm-gc installed as a separate .so that can be used by
random non-Java programs. I know Hans has been working towards that by
making most of the compile-time flags that used to enable specific GCJ
support into runtime options. It isn't much good as long as its called
"libgcjgc", though. And having it as a separate library does keep the
possiblity of version skew, since libgcj and the gc are rather tightly
dependent on each other.
It is certainly wrong for gcj to dynamically link binaries directly
against libgcjgc - which is what is done currently.
>I've wanted to patch the build for a while to remove libgcjgc.so and
>libzgcj.so, but didn't get around to it because it doesn't really fix
>anything that's "broken". Except that it may prevent the relink.
>
libzgcj.so is silly. Linux systems at least seem to have a libz.so
anyway, so we should just use that if it is available. Or we could just
switch to the pure-Java java.util.zip implementation that classpath has.
regards
Bryce.