Module Name: src
Committed By: dennis
Date: Tue Dec 2 08:31:18 UTC 2014
Modified Files:
src/doc: HACKS
Log Message:
Note riscv compiler workarounds for libasan
To generate a diff of this commit:
cvs rdiff -u -r1.152 -r1.153 src/doc/HACKS
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/doc/HACKS
diff -u src/doc/HACKS:1.152 src/doc/HACKS:1.153
--- src/doc/HACKS:1.152 Fri Jun 13 01:17:46 2014
+++ src/doc/HACKS Tue Dec 2 08:31:18 2014
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.152 2014/06/13 01:17:46 mrg Exp $
+# $NetBSD: HACKS,v 1.153 2014/12/02 08:31:18 dennis Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@@ -982,3 +982,15 @@ file src/sys/arch/vax/boot/boot/Makefile
descr /boot does not work when compiled with -O2 and gcc 4.8
kcah
+port riscv64
+hack compile a couple of libasan files at -O0 for riscv64
+cdate Tue Dec 2 16:17:48 HKT 2014
+who dennis
+file src/external/gpl3/gcc/lib/libasan/Makefile: 1.8
+descr Attempting to compile the libasan files asan_allocator2.cc and
+ sanitizer_netbsd.cc with gcc 4.8.3 at any optimization level
+ other than -O0 results in an internal compiler error. The
+ compiler seems to have trouble around C11 atomics in particular.
+pr 49425
+kcah
+