[RFR]: 8187004: No valid toolchains defined for BSD

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Wed Aug 30 20:30:08 UTC 2017


Hello!

I started working on fixing OpenJDK on BSD today and already ran into
the first issue which is the configure script being unable to find a
usable toolchain.

This happens because there are no valid toolchains defined for BSD in
common/autoconf/toolchain.m4. Since both clang and gcc are supported
on most BSD systems, this can be trivially resolved with:

diff -r 1147dee33745 common/autoconf/toolchain.m4
--- a/common/autoconf/toolchain.m4      Tue Aug 29 17:17:57 2017 +0200
+++ b/common/autoconf/toolchain.m4      Wed Aug 30 22:22:49 2017 +0200
@@ -42,6 +42,7 @@
  VALID_TOOLCHAINS_macosx="gcc clang"
  VALID_TOOLCHAINS_aix="xlc"
  VALID_TOOLCHAINS_windows="microsoft"
+VALID_TOOLCHAINS_bsd="gcc clang"
  
  # Toolchain descriptions
  TOOLCHAIN_DESCRIPTION_clang="clang/LLVM"

Webrev can be found in [1].

Adrian

> [1] http://cr.openjdk.java.net/~glaubitz/8187004/webrev.00/

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



More information about the build-dev mailing list