Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump Revert previous



details:   https://anonhg.NetBSD.org/src/rev/fb076d1c6d34
branches:  trunk
changeset: 745717:fb076d1c6d34
user:      kamil <kamil%NetBSD.org@localhost>
date:      Mon Mar 09 14:45:41 2020 +0000

description:
Revert previous

Requested by <riastradh>

diffstat:

 sys/rump/Makefile.rump |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r a8a9b91eb4e1 -r fb076d1c6d34 sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump    Mon Mar 09 13:36:10 2020 +0000
+++ b/sys/rump/Makefile.rump    Mon Mar 09 14:45:41 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rump,v 1.126 2020/03/09 00:03:00 kamil Exp $
+#      $NetBSD: Makefile.rump,v 1.127 2020/03/09 14:45:41 kamil Exp $
 #
 
 .if !defined(_RUMP_MK)
@@ -22,9 +22,7 @@
 # We are compiling the kernel code with no-delete-null-pointer-checks,
 # and compiling without it, causes issues at least on sh3 by adding
 # aborts after kern_assert on NULL pointer checks.
-# no-delete-null-pointer-checks is required in Clang/LLVM at least for
-# NULL + 0 operations that trigger LLVM UBSan and could be miscompiled.
-CFLAGS+=    -fno-delete-null-pointer-checks
+CFLAGS+=    ${${ACTIVE_CC} == "gcc":? -fno-delete-null-pointer-checks :}
 
 # Define baseline cpu for mips ports, required for
 # rumpcomp_sync_icache() hypercall.



Home | Main Index | Thread Index | Old Index