Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/doc/HACKS,v rcsdiff: /ftp/cvs/cvsroot/src/doc/HACKS,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.152 retrieving revision 1.153 diff -u -p -r1.152 -r1.153 --- src/doc/HACKS 2014/06/13 01:17:46 1.152 +++ src/doc/HACKS 2014/12/02 08:31:18 1.153 @@ -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 +