[Bug 260319] java/openjdk11: various segfaults with llvm13

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 21 Aug 2022 12:08:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260319

--- Comment #34 from Dan Kotowski <dan.kotowski@a9development.com> ---
Confirmed that removing `&& ${ARCH:Mpowerpc64*}` brings llvm12 fully back into
the mix and openjdk11 can build again



diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile
index 4ca7c9933447..3e91d1ea37a2 100644
--- a/java/openjdk11/Makefile
+++ b/java/openjdk11/Makefile
@@ -141,7 +141,7 @@ CONFIGURE_ARGS+=   
--with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFA
                       
--with-extra-cxxflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}"
 .else
 MAKE_ENV+=     USE_CLANG=true
-.if ${COMPILER_VERSION} >= 130 && ${ARCH:Mpowerpc64*}
+.if ${COMPILER_VERSION} >= 130# && ${ARCH:Mpowerpc64*}
 LLVM_VER=      12
 BUILD_DEPENDS+=        clang${LLVM_VER}:devel/llvm${LLVM_VER}
 CC=            ${LOCALBASE}/bin/clang${LLVM_VER}

-- 
You are receiving this mail because:
You are the assignee for the bug.