Hi!

I am currently working on some fixes for the linux-sparc port.

The first problem is common/autoconf/platform.m4 tries passing the
compiler flags "-xarch=sparc" on sparcv9 which is not understood
by gcc on linux-sparc.

This problem is trivially solved by extending the test condition

        elif test "x$OPENJDK_$1_CPU" = xsparcv9;

to

        elif test "x$OPENJDK_$1_OS-$OPENJDK_$1_CPU" = xsolaris-sparcv9;

which is what the attached patch in the bug report does.

Note:

This is my very first issue opened in the Java Bug System, so please
bear with me if there are any issues with my report. FWIW, I still need
to understand how to push the patch to the webreview system.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to