FreeBSD Bugzilla – Attachment 203870 Details for
Bug 236566
java/openjdk8: clang 8 crashes during build on aarch64 and armv7 (blocks 647 ports)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
jdk-use-ports-clang.patch
jdk.patch (text/plain), 655 bytes, created by
Val Packett
on 2019-04-21 19:47:36 UTC
(
hide
)
Description:
jdk-use-ports-clang.patch
Filename:
MIME Type:
Creator:
Val Packett
Created:
2019-04-21 19:47:36 UTC
Size:
655 bytes
patch
obsolete
>diff --git i/java/openjdk8/Makefile w/java/openjdk8/Makefile >index 256c9f4b5e7e..a5669386251e 100644 >--- i/java/openjdk8/Makefile >+++ w/java/openjdk8/Makefile >@@ -359,6 +359,13 @@ MAKE_ENV+= USE_CLANG=true > .if ${COMPILER_FEATURES:Mlibc++} > CONFIGURE_ENV+= LIBCXX="-lc++" > .endif >+.if ${ARCH} == "aarch64" >+# base clang trips an LLVM assertion: # (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"), >+# function cast, file .../llvm/Support/Casting.h, line 255 >+BUILD_DEPENDS+= llvm80>0:devel/llvm80 >+CC= clang80 >+CXX= clang++80 >+.endif > .endif > > # GCC is broken with PCH: https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 236566
:
202897
|
202898
| 203870