Source-Changes-HG archive

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

[src/trunk]: src put back lsan



details:   https://anonhg.NetBSD.org/src/rev/3783e784d6d1
branches:  trunk
changeset: 833507:3783e784d6d1
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jun 28 10:14:01 2018 +0000

description:
put back lsan

diffstat:

 distrib/sets/lists/base/shl.mi         |  8 ++++----
 distrib/sets/lists/comp/mi             |  6 +++---
 distrib/sets/lists/comp/shl.mi         |  4 ++--
 distrib/sets/lists/debug/mi            |  4 ++--
 distrib/sets/lists/debug/shl.mi        |  4 ++--
 external/gpl3/gcc/lib/Makefile         |  4 ++--
 external/gpl3/gcc/lib/libasan/Makefile |  6 +++---
 lib/Makefile                           |  4 ++--
 8 files changed, 20 insertions(+), 20 deletions(-)

diffs (158 lines):

diff -r a1c61cf6b64c -r 3783e784d6d1 distrib/sets/lists/base/shl.mi
--- a/distrib/sets/lists/base/shl.mi    Thu Jun 28 09:12:21 2018 +0000
+++ b/distrib/sets/lists/base/shl.mi    Thu Jun 28 10:14:01 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.841 2018/06/27 06:08:15 martin Exp $
+# $NetBSD: shl.mi,v 1.842 2018/06/28 10:14:01 christos Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -381,9 +381,9 @@
 ./usr/lib/libldap_r.so                         base-ldap-shlib         ldap,compatfile
 ./usr/lib/libldap_r.so.4                       base-ldap-shlib         ldap,compatfile
 ./usr/lib/libldap_r.so.4.3                     base-ldap-shlib         ldap,compatfile
-#./usr/lib/liblsan.so                          base-sys-shlib          compatfile,gcc
-#./usr/lib/liblsan.so.1                                base-sys-shlib          compatfile,gcc=6
-#./usr/lib/liblsan.so.1.0                      base-sys-shlib          compatfile,gcc=6
+./usr/lib/liblsan.so                           base-sys-shlib          compatfile,gcc
+./usr/lib/liblsan.so.1                         base-sys-shlib          compatfile,gcc=6
+./usr/lib/liblsan.so.1.0                       base-sys-shlib          compatfile,gcc=6
 ./usr/lib/liblua.so                            base-sys-shlib          compatfile
 ./usr/lib/liblua.so.5                          base-sys-shlib          compatfile
 ./usr/lib/liblua.so.5.3                                base-sys-shlib          compatfile
diff -r a1c61cf6b64c -r 3783e784d6d1 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Thu Jun 28 09:12:21 2018 +0000
+++ b/distrib/sets/lists/comp/mi        Thu Jun 28 10:14:01 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mi,v 1.2205 2018/06/27 06:08:15 martin Exp $
+#      $NetBSD: mi,v 1.2206 2018/06/28 10:14:01 christos Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 ./etc/mtree/set.comp                           comp-sys-root
@@ -3423,8 +3423,8 @@
 ./usr/lib/libldap_p.a                          comp-ldap-proflib       compatfile,ldap,profile
 ./usr/lib/libldap_r.a                          comp-ldap-lib           compatfile,ldap
 ./usr/lib/libldap_r_p.a                                comp-ldap-proflib       compatfile,ldap,profile
-#./usr/lib/liblsan.a                           comp-c-lib              compatfile,gcc
-#./usr/lib/liblsan_p.a                         comp-c-proflib          compatfile,profile,gcc
+./usr/lib/liblsan.a                            comp-c-lib              compatfile,gcc
+./usr/lib/liblsan_p.a                          comp-c-proflib          compatfile,profile,gcc
 ./usr/lib/liblua.a                             comp-c-lib              compatfile
 ./usr/lib/liblua_p.a                           comp-c-proflib          compatfile,profile
 ./usr/lib/liblutok.a                           comp-c-lib              compatfile,kyua
diff -r a1c61cf6b64c -r 3783e784d6d1 distrib/sets/lists/comp/shl.mi
--- a/distrib/sets/lists/comp/shl.mi    Thu Jun 28 09:12:21 2018 +0000
+++ b/distrib/sets/lists/comp/shl.mi    Thu Jun 28 10:14:01 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.318 2018/06/27 06:08:15 martin Exp $
+# $NetBSD: shl.mi,v 1.319 2018/06/28 10:14:01 christos Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -83,7 +83,7 @@
 ./usr/lib/liblber_pic.a                                comp-ldap-piclib        compatfile,picinstall,ldap
 ./usr/lib/libldap_pic.a                                comp-ldap-piclib        compatfile,picinstall,ldap
 ./usr/lib/libldap_r_pic.a                      comp-ldap-piclib        compatfile,picinstall,ldap
-#./usr/lib/liblsan_pic.a                               comp-c-piclib           compatfile,picinstall,gcc
+./usr/lib/liblsan_pic.a                                comp-c-piclib           compatfile,picinstall,gcc
 ./usr/lib/liblua_pic.a                         comp-c-piclib           compatfile,picinstall
 ./usr/lib/liblutok_pic.a                       comp-c-piclib           compatfile,picinstall,kyua
 ./usr/lib/liblwres_pic.a                       comp-bind-piclib        compatfile,picinstall
diff -r a1c61cf6b64c -r 3783e784d6d1 distrib/sets/lists/debug/mi
--- a/distrib/sets/lists/debug/mi       Thu Jun 28 09:12:21 2018 +0000
+++ b/distrib/sets/lists/debug/mi       Thu Jun 28 10:14:01 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.254 2018/06/27 06:08:15 martin Exp $
+# $NetBSD: mi,v 1.255 2018/06/28 10:14:01 christos Exp $
 ./etc/mtree/set.debug                           comp-sys-root
 ./usr/lib                                      comp-sys-usr            compatdir
 ./usr/lib/i18n/libBIG5_g.a                     comp-c-debuglib         debuglib,compatfile
@@ -95,7 +95,7 @@
 ./usr/lib/liblber_g.a                          comp-c-debuglib         debuglib,ldap,compatfile
 ./usr/lib/libldap_g.a                          comp-c-debuglib         debuglib,ldap,compatfile
 ./usr/lib/libldap_r_g.a                                comp-c-debuglib         debuglib,ldap,compatfile
-#./usr/lib/liblsan_g.a                         comp-c-debuglib         debuglib,compatfile,gcc
+./usr/lib/liblsan_g.a                          comp-c-debuglib         debuglib,compatfile,gcc
 ./usr/lib/liblua_g.a                           comp-c-debuglib         debuglib,compatfile
 ./usr/lib/liblwres_g.a                         comp-c-debuglib         debuglib,compatfile
 ./usr/lib/liblzf_g.a                           comp-c-debuglib         debuglib,compatfile
diff -r a1c61cf6b64c -r 3783e784d6d1 distrib/sets/lists/debug/shl.mi
--- a/distrib/sets/lists/debug/shl.mi   Thu Jun 28 09:12:21 2018 +0000
+++ b/distrib/sets/lists/debug/shl.mi   Thu Jun 28 10:14:01 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.200 2018/06/27 06:08:15 martin Exp $
+# $NetBSD: shl.mi,v 1.201 2018/06/28 10:14:01 christos Exp $
 ./usr/lib/libbfd_g.a                                           comp-c-debuglib debuglib,compatfile,binutils
 ./usr/libdata/debug/lib                                                base-sys-usr    debug,dynamicroot,compatdir
 ./usr/libdata/debug/lib/libblacklist.so.0.0.debug              comp-sys-debug  debug,dynamicroot
@@ -131,7 +131,7 @@
 ./usr/libdata/debug/usr/lib/liblber.so.3.3.debug               comp-ldap-debug debug,compatfile,ldap
 ./usr/libdata/debug/usr/lib/libldap.so.4.3.debug               comp-ldap-debug debug,compatfile,ldap
 ./usr/libdata/debug/usr/lib/libldap_r.so.4.3.debug             comp-ldap-debug debug,compatfile,ldap
-#./usr/libdata/debug/usr/lib/liblsan.so.1.0.debug              comp-sys-debug  debug,compatfile,gcc=6
+./usr/libdata/debug/usr/lib/liblsan.so.1.0.debug               comp-sys-debug  debug,compatfile,gcc=6
 ./usr/libdata/debug/usr/lib/liblua.so.5.3.debug                        comp-sys-debug  debug,compatfile
 ./usr/libdata/debug/usr/lib/liblutok.so.1.0.debug              comp-obsolete   debug,compatfile,obsolete
 ./usr/libdata/debug/usr/lib/liblutok.so.2.0.debug              comp-kyua-debug debug,compatfile,kyua
diff -r a1c61cf6b64c -r 3783e784d6d1 external/gpl3/gcc/lib/Makefile
--- a/external/gpl3/gcc/lib/Makefile    Thu Jun 28 09:12:21 2018 +0000
+++ b/external/gpl3/gcc/lib/Makefile    Thu Jun 28 10:14:01 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.15 2018/06/27 06:06:39 martin Exp $
+#      $NetBSD: Makefile,v 1.16 2018/06/28 10:15:01 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -13,6 +13,6 @@
 SUBDIR+= libsupc++ libstdc++-v3
 .endif
 
-SUBDIR+= .WAIT libasan libubsan
+SUBDIR+= .WAIT libasan liblsan libubsan
 
 .include <bsd.subdir.mk>
diff -r a1c61cf6b64c -r 3783e784d6d1 external/gpl3/gcc/lib/libasan/Makefile
--- a/external/gpl3/gcc/lib/libasan/Makefile    Thu Jun 28 09:12:21 2018 +0000
+++ b/external/gpl3/gcc/lib/libasan/Makefile    Thu Jun 28 10:14:01 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2018/06/09 22:39:29 christos Exp $
+# $NetBSD: Makefile,v 1.25 2018/06/28 10:15:01 christos Exp $
 
 UNSUPPORTED_COMPILER.clang=    # defined
 NOSANITIZER=   # defined
@@ -8,7 +8,7 @@
 .include "../Makefile.inc"
 .include "../Makefile.sanitizer"
 
-.PATH: ${SANITIZER}/asan
+.PATH: ${SANITIZER}/asan ${SANITIZER}/lsan
 
 ASAN_SRCS= \
 asan_activation.cc \
@@ -37,7 +37,7 @@
 asan_win_dynamic_runtime_thunk.cc
 
 LIB=   asan
-SRCS+= ${ASAN_SRCS}
+SRCS+= ${ASAN_SRCS} lsan_common.cc lsan_common_linux.cc
 LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt
 
 .if ${MACHINE_ARCH} == "vax"
diff -r a1c61cf6b64c -r 3783e784d6d1 lib/Makefile
--- a/lib/Makefile      Thu Jun 28 09:12:21 2018 +0000
+++ b/lib/Makefile      Thu Jun 28 10:14:01 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.257 2018/05/28 21:05:00 chs Exp $
+#      $NetBSD: Makefile,v 1.258 2018/06/28 10:14:27 christos Exp $
 #      from: @(#)Makefile      5.25.1.1 (Berkeley) 5/7/91
 
 .include <bsd.own.mk>
@@ -165,7 +165,7 @@
 #==================== 2nd library dependency barrier ====================
 SUBDIR+=       .WAIT
 
-.for sanitizer in asan ubsan
+.for sanitizer in asan lsan ubsan
 .if exists(../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/lib${sanitizer})
 SUBDIR+= ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/lib${sanitizer}
 .endif



Home | Main Index | Thread Index | Old Index