Don't mess with sync builtins, it breaks the build with Clang.
This commit is contained in:
parent
a6248a6ae6
commit
d0136af983
2 changed files with 30 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.15 2015/03/06 12:11:54 tnn Exp $
|
||||
$NetBSD: distinfo,v 1.16 2015/03/24 14:24:38 joerg Exp $
|
||||
|
||||
SHA1 (openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz) = 7408f52d3bbe35c2b14bbd3215cbf60f1335d334
|
||||
RMD160 (openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz) = 24f1577b5fc86d137f070aedb4610c8c89e45815
|
||||
|
@ -54,6 +54,7 @@ SHA1 (patch-hotspot_src_cpu_zero_vm_methodHandles__zero.cpp) = 9f7acf1eff3baba43
|
|||
SHA1 (patch-hotspot_src_cpu_zero_vm_nativeInst__zero.cpp) = dcd83b65a7d74e153a3e1c44f8c7980827ec20c7
|
||||
SHA1 (patch-hotspot_src_os__cpu_bsd__zero_vm_atomic__bsd__zero.inline.hpp) = e87224f8b67dc78fa411d30beff82ce5ccbb4cc5
|
||||
SHA1 (patch-hotspot_src_os__cpu_bsd__zero_vm_orderAccess__bsd__zero.inline.hpp) = 6311d68db9064afc470f1d9fd37e63011899659a
|
||||
SHA1 (patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp) = 4fa018be66fad39aa0a922dfb86c79661a7379f2
|
||||
SHA1 (patch-hotspot_src_os_bsd_vm_osThread__bsd.cpp) = c34887b4bf0873c70a44adaaa9be38614603e1d4
|
||||
SHA1 (patch-hotspot_src_os_posix_vm_os__posix.cpp) = f38d3ea8002bc8c58d1cf05e70424858dabd2991
|
||||
SHA1 (patch-hotspot_src_share_vm_opto_node.cpp) = aacb4e03f62f1a6f9b38de39a966c318b70b1293
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
$NetBSD: patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp,v 1.1 2015/03/24 14:24:38 joerg Exp $
|
||||
|
||||
clang objects to redefining builtins.
|
||||
|
||||
--- hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp.orig 2015-03-22 20:58:57.000000000 +0000
|
||||
+++ hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp
|
||||
@@ -446,21 +446,6 @@ extern "C" {
|
||||
}
|
||||
};
|
||||
|
||||
-/////////////////////////////////////////////////////////////////////////////
|
||||
-// Implementations of atomic operations not supported by processors.
|
||||
-// -- http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/Atomic-Builtins.html
|
||||
-
|
||||
-#ifndef _LP64
|
||||
-extern "C" {
|
||||
- long long unsigned int __sync_val_compare_and_swap_8(
|
||||
- volatile void *ptr,
|
||||
- long long unsigned int oldval,
|
||||
- long long unsigned int newval) {
|
||||
- ShouldNotCallThis();
|
||||
- }
|
||||
-};
|
||||
-#endif // !_LP64
|
||||
-
|
||||
#ifndef PRODUCT
|
||||
void os::verify_stack_alignment() {
|
||||
}
|
Loading…
Reference in a new issue