The NetBSD Project

CVS log for src/Makefile

[BACK] Up to [] / src

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: netbsd-9

Revision 1.327.2.2 / (download) - annotate - [select for diffs], Sun Sep 1 10:44:22 2019 UTC (16 months, 2 weeks ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.327.2.1: +2 -2 lines
Diff to previous 1.327.2.1 (colored) to branchpoint 1.327 (colored) next main 1.328 (colored)

Pull up following revision(s) (requested by kamil in ticket #126):

	external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-m64/Makefile: revision 1.3
	external/bsd/compiler_rt/lib/clang/lib/netbsd/msan_cxx-m64/Makefile: revision 1.3
	external/gpl2/lvm2/ revision 1.5
	common/lib/libc/gmon/mcount.c: revision 1.14
	Makefile: revision 1.331
	share/mk/Makefile: revision 1.51
	external/bsd/fetch/lib/Makefile: revision 1.12
	external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m64/Makefile: revision 1.3
	tests/lib/libc/net/Makefile: revision 1.12
	external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone_cxx-m64/Makefile: revision 1.3
	external/bsd/compiler_rt/lib/clang/lib/netbsd/msan-m64/Makefile: revision 1.3
	distrib/sets/lists/base/mi: revision 1.1213
	share/mk/ revision 1.380
	external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-m64/Makefile: revision 1.3
	external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64/Makefile: revision 1.3
	share/mk/ revision 1.1
	share/mk/ revision 1.323
	external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan-m64/Makefile: revision 1.3
	external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan_cxx-m64/Makefile: revision 1.3
	lib/libc/gen/sysctlgetmibinfo.c: revision 1.14

Enhance the support of LLVM sanitizers

Define _REENTRANT for MKSANITIZER build. This is needed for at least stdio
code. This caused new build issued with duplicated symbols in few places
and rump kernel code picking different code paths borrowed from libc.

Handle all this in one go.

Add to share common code used by programs and libraries.

Switch from realall to beforeinstall target in .syms files. This is more
reliable in MKSANITIZER.

Revision 1.327.2.1 / (download) - annotate - [select for diffs], Sun Sep 1 10:36:26 2019 UTC (16 months, 2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.327: +22 -2 lines
Diff to previous 1.327 (colored)

Pull up following revision(s) (requested by kamil in ticket #122):

	external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-m64/Makefile: revision 1.2
	distrib/sets/lists/base/md.amd64: revision 1.280
	external/bsd/compiler_rt/lib/clang/lib/netbsd/msan_cxx-m64/Makefile: revision 1.2
	distrib/sets/lists/comp/md.amd64: revision 1.272
	external/bsd/compiler_rt/lib/clang/lib/Makefile: revision 1.2
	external/bsd/compiler_rt/lib/clang/lib/Makefile: revision 1.3
	distrib/sets/lists/comp/md.i386: revision 1.190
	external/bsd/compiler_rt/lib/clang/Makefile: revision 1.2
	Makefile: revision 1.330
	external/bsd/compiler_rt/lib/clang/lib/netbsd/xray-m64/Makefile: revision 1.2
	external/bsd/compiler_rt/lib/clang/lib/netbsd/safestack-m32/Makefile: revision 1.2
	external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m64/Makefile: revision 1.2
	distrib/sets/lists/base/md.i386: revision 1.153
	distrib/sets/lists/base/md.i386: revision 1.154
	external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone_cxx-m64/Makefile: revision 1.2
	external/bsd/Makefile: revision 1.65
	external/bsd/compiler_rt/lib/clang/lib/netbsd/ revision 1.2
	external/bsd/compiler_rt/lib/clang/lib/netbsd/ revision 1.2
	external/bsd/compiler_rt/lib/clang/lib/netbsd/msan-m64/Makefile: revision 1.2
	external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-m64/Makefile: revision 1.2
	external/bsd/compiler_rt/lib/clang/lib/netbsd/safestack-m64/Makefile: revision 1.2
	external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64/Makefile: revision 1.2
	distrib/sets/lists/base/md.amd64: revision 1.279
	external/bsd/compiler_rt/Makefile: revision 1.2
	external/bsd/compiler_rt/lib/clang/lib/netbsd/Makefile: revision 1.2
	external/bsd/compiler_rt/lib/clang/lib/netbsd/Makefile: revision 1.3
	external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan-m64/Makefile: revision 1.2
	Makefile: revision 1.328
	Makefile: revision 1.329
	external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan_cxx-m64/Makefile: revision 1.2

Fix building compiler_rt with MKCOMPAT=no; approved by kamil@

Enhance MKSANITIZER support

Add i386 support for LLVM sanitizers.

Add new build phases do-sanitizer-* for building LLVM sanitizers after libs
and before other programs. This phase is important as sanitizers need
to link with libs and sanitized programs must link with sanitizer runtimes.

Fix LLVM sanitizer build by GCC (HAVE_LLVM=no)

Do not error if a priority from 0 to 100 is used for constructor or

Use -Wno-error to silence all errors from this warning type. There should
be used -Wno-prio-ctor-dtor, but it's not supported by GCC7.

Rework the LLVM compiler_rt build rules

Register external/bsd/compiler_rt as a _SUBDIR. This will allow to handle
properly includes specific for compiler_rt.

Centralize build_install target for external/bsd/compiler_rt.
With the above changes MKOBJDIR is now respected properly for me.

Do not install LLVM sanitizers into TOOLDIR for !HAVE_LLVM.

Correct the build rules of LLVM sanitizers

Fix generation of .a.syms files in LLVM sanitizers. The old rules weren't
functional and sometimes they were fatal in the build.

Add the .a.syms files to distribution sets.
These files are generated only in certain .a files in 64bit version of

Correct the location of files with LLVM sanitizers. Move the LLVM sanitizer
entries from base to comp files.

Revision 1.327 / (download) - annotate - [select for diffs], Fri Jun 14 09:12:42 2019 UTC (19 months ago) by martin
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.326: +3 -2 lines
Diff to previous 1.326 (colored)

Use the generated "postinstall" in the objdir for postinstall-check
and postinstall-fix targets - we do not have a simple postinstall script
in the source tree any more.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>