This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: RFA: [PATCH]: MIPS enhancements to libgcj...
David Daney writes:
> Rainer Orth wrote:
>
> >
> >This shouldn't be configure options in my opinion, but the problem should
> >be detected by autoconf if at all possible. Otherwise, just enable it in
> >configure.{in, host} for the affected platforms.
> >
> > Rainer
> >
> >
> The only way I know of to detect the got overflow problem is to build
> libgcj and see what happens. I don't think that can reasonably be done
> with autoconf (chicken and egg problem).
>
> The only way to test for broken dladdr is likewise to build libgcj,
> install it on the target and run it. Again something that cannot be
> done with autoconf
Can't you do this in configure.host? i.e. if this is a MIPS target,
build with -xgot and don't use dladdr(). I don't like adding all
these new configure options, especially for temporary workarounds.
Andrew.