Source-Changes-HG archive

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

[src/trunk]: src lcWrap.c is miscompiled on vax, which results in input failu...



details:   https://anonhg.NetBSD.org/src/rev/8e9663c34857
branches:  trunk
changeset: 821734:8e9663c34857
user:      rin <rin%NetBSD.org@localhost>
date:      Thu Feb 16 01:02:28 2017 +0000

description:
lcWrap.c is miscompiled on vax, which results in input failure via XIM.
Besides, some clients, e.g., pkgsrc/x11/kterm, receives SIGSEGV.

diffstat:

 doc/HACKS                                    |  11 ++++++++++-
 external/mit/xorg/lib/libX11/Makefile.libx11 |   7 ++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r 732febd09394 -r 8e9663c34857 doc/HACKS
--- a/doc/HACKS Wed Feb 15 22:47:27 2017 +0000
+++ b/doc/HACKS Thu Feb 16 01:02:28 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.182 2017/02/14 09:59:16 rin Exp $
+# $NetBSD: HACKS,v 1.183 2017/02/16 01:02:28 rin Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -566,6 +566,15 @@
                mandoc(1) receives SIGILL in in_line_argn() from mdoc_macro.c.
        kcah
 
+       hack    libX11 miscompile
+       date    Thu Feb 16 10:00:22 JST 2017
+       who     rin
+       file    src/external/mit/xorg/lib/libX11/Makefile.libx11 : 1.18
+       descr
+               lcWrap.c is miscompiled, which results in input failure via XIM.
+               Besides, some clients, e.g., pkgsrc/x11/kterm, receives SIGSEGV.
+       kcah
+
 port   arm
 
        hack    gcc-unsigned-compare
diff -r 732febd09394 -r 8e9663c34857 external/mit/xorg/lib/libX11/Makefile.libx11
--- a/external/mit/xorg/lib/libX11/Makefile.libx11      Wed Feb 15 22:47:27 2017 +0000
+++ b/external/mit/xorg/lib/libX11/Makefile.libx11      Thu Feb 16 01:02:28 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.libx11,v 1.17 2015/11/21 11:15:31 tsutsui Exp $
+#      $NetBSD: Makefile.libx11,v 1.18 2017/02/16 01:02:28 rin Exp $
 
 LIB=   X11
 .PATH: ${X11SRCDIR.${LIB}}/src
@@ -464,6 +464,11 @@
 COPTS.XlibInt.c+=      -Wno-error      # XXX xcmiscstr.h
 COPTS.XKBBind.c+=      -Wno-deprecated-declarations    # uses XKeycodeToKeysym
 
+# XXX
+.if ${MACHINE} == "vax"
+COPTS.lcWrap.c+=       -O0
+.endif
+
 CWARNFLAGS.clang+=     -Wno-string-plus-int
 
 .include "${NETBSDSRCDIR}/external/mit/xorg/tools/makekeys/Makefile.makekeys"



Home | Main Index | Thread Index | Old Index