This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Fix -findirect-dispatch Java failures on SPARC/Linux
- From: Andrew Haley <aph at redhat dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Sun, 06 Dec 2009 19:08:22 +0000
- Subject: Re: Fix -findirect-dispatch Java failures on SPARC/Linux
- References: <200912061638.24336.ebotcazou@adacore.com>
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.