add hack for libmandoc on vax:

mandoc(1) receives SIGILL in in_line_argn() from mdoc_macro.c
This commit is contained in:
rin 2017-02-14 09:05:17 +00:00
parent c7032ba2aa
commit 98803e7305
2 changed files with 15 additions and 2 deletions

View File

@ -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 # This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs. # (mostly) compiler bugs.
@ -557,6 +557,14 @@ port vax
hosts via ssh fails. hosts via ssh fails.
kcah 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 port arm
hack gcc-unsigned-compare hack gcc-unsigned-compare

View File

@ -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 LIBISPRIVATE= yes
@ -36,4 +36,9 @@ tbl_opts.c
MAN= mandoc.3 MAN= mandoc.3
# XXX
.if ${MACHINE} == "vax"
COPTS.mdoc_macro.c+=-O0
.endif
.include <bsd.lib.mk> .include <bsd.lib.mk>