Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src add hack for libmandoc on vax:
details: https://anonhg.NetBSD.org/src/rev/b771d4636138
branches: trunk
changeset: 351464:b771d4636138
user: rin <rin%NetBSD.org@localhost>
date: Tue Feb 14 09:05:17 2017 +0000
description:
add hack for libmandoc on vax:
mandoc(1) receives SIGILL in in_line_argn() from mdoc_macro.c
diffstat:
doc/HACKS | 10 +++++++++-
external/bsd/mdocml/lib/libmandoc/Makefile | 7 ++++++-
2 files changed, 15 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r 23c87196e953 -r b771d4636138 doc/HACKS
--- a/doc/HACKS Tue Feb 14 09:03:48 2017 +0000
+++ b/doc/HACKS Tue Feb 14 09:05:17 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.179 2017/02/14 09:00:03 rin Exp $
+# $NetBSD: HACKS,v 1.180 2017/02/14 09:05:17 rin Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@@ -557,6 +557,14 @@
hosts via ssh fails.
kcah
+ hack mandoc miscompile
+ date Tue Feb 14 18:03:05 JST 2017
+ who rin
+ file external/bsd/mdocml/lib/libmandoc/Makefile : 1.8
+ descr
+ mandoc(1) receives SIGILL in in_line_argn() from mdoc_macro.c.
+ kcah
+
port arm
hack gcc-unsigned-compare
diff -r 23c87196e953 -r b771d4636138 external/bsd/mdocml/lib/libmandoc/Makefile
--- a/external/bsd/mdocml/lib/libmandoc/Makefile Tue Feb 14 09:03:48 2017 +0000
+++ b/external/bsd/mdocml/lib/libmandoc/Makefile Tue Feb 14 09:05:17 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2016/07/15 19:40:42 christos Exp $
+# $NetBSD: Makefile,v 1.8 2017/02/14 09:05:17 rin Exp $
LIBISPRIVATE= yes
@@ -36,4 +36,9 @@
MAN= mandoc.3
+# XXX
+.if ${MACHINE} == "vax"
+COPTS.mdoc_macro.c+=-O0
+.endif
+
.include <bsd.lib.mk>
Home |
Main Index |
Thread Index |
Old Index