Source-Changes-HG archive

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

[src/trunk]: src/doc Note riscv compiler workarounds for libasan



details:   https://anonhg.NetBSD.org/src/rev/c69d7b480afa
branches:  trunk
changeset: 334693:c69d7b480afa
user:      dennis <dennis%NetBSD.org@localhost>
date:      Tue Dec 02 08:31:18 2014 +0000

description:
Note riscv compiler workarounds for libasan

diffstat:

 doc/HACKS |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 26c834cc8dcb -r c69d7b480afa doc/HACKS
--- a/doc/HACKS Tue Dec 02 04:43:35 2014 +0000
+++ b/doc/HACKS Tue Dec 02 08:31:18 2014 +0000
@@ -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 @@
 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
+



Home | Main Index | Thread Index | Old Index