Fix -findirect-dispatch Java failures on SPARC/Linux

Andrew Haley aph@redhat.com
Sun Dec 6 19:08:00 GMT 2009


Eric Botcazou wrote:
> The problem is
> 
> LIBGCJ_BC_SPEC="%{findirect-dispatch:-fPIC}"
> 
> but you cannot compile with -fPIC without assembling with -K PIC on the SPARC.
> 
> Hence the attached kludge, which yields:
> 
> Native configuration is sparc-unknown-linux-gnu

I don't get it.  Surely this means that -fpic is broken on
SPARC/Linux everywhere.

Andrew.



More information about the Java-patches mailing list