Commit Graph

259 Commits

Author SHA1 Message Date
maxv 18f65af8ea Retire libpmc. It uses the legacy PMC interface in the kernel, which has
support for only one ARM CPU. It used to have x86 support, but it was broken
and I removed it. The legacy PMC interface will be removed from the kernel
too. Sent on tech-kern@ yesterday, thorpej was fine.
2018-07-12 06:52:48 +00:00
christos 0fd9ea3645 put back lsan 2018-06-28 10:14:01 +00:00
chs ba2539a980 merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
 - dtrace FBT probes can now be placed in kernel modules.
 - ZFS now supports mmap().
2018-05-28 21:04:59 +00:00
sevan 4e0254f1b8 Hello libbozohttpd(3)
Enabling as it is a dependency for bozohttpd(3lua).
2018-05-03 22:27:58 +00:00
christos 7351a5d259 Add the netpgp lua bindings so that the compat build can build them. 2018-05-01 19:50:34 +00:00
christos 0c048d5af5 switch everyone to openssl.old 2018-02-04 03:19:51 +00:00
christos 219944fb44 Add a library for the rump resolver interception code so that it will become
easier to hide resolver internals later.
2017-10-10 19:28:33 +00:00
mrg 2a2c35d74b don't build gmp/mpfr/mpc if we're not building GCC commands (MKGCCCMDS==no.) 2017-08-22 08:21:36 +00:00
riastradh ef315f7931 Remove MKCRYPTO option.
Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export.  The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated.  I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S.  Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet...  That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.
2017-05-21 15:28:36 +00:00
maya bee20f7c3c GC deprecated logic. GCC 4.8 is not in tree any more. 2017-02-22 02:58:31 +00:00
kamil 0892a29a1a libpthread_dbg(3) deletion from the base distribution
libpthread_dbg(3) is a remnant library from the M:N thread model
(pre-NetBSD-5.0) API to introspect threads within a process and for use
of debuggers.

Currently in the 1:1 model it's not used in GDB neither in LLDB and it's
not either planned to be used. It's current function to read pthread_t
structures is realizable within a regular debugger capable to
instrospect objects within a tracee (GDB, LLDB...).

Remaining users of this API can still use this library from
pkgsrc/devel/libpthread_dbg.

Sponsored by <The NetBSD Foundation>
2017-02-08 03:44:40 +00:00
macallan f61977ef47 build libc_fp only on mips64* 2016-10-14 17:29:29 +00:00
macallan 8baff5f4bf build and install libc_fp on mips
use with LD_PRELOAD=/lib/libc_fp.so for FPU use via softfloat
2016-10-11 17:02:28 +00:00
christos c90b9921a5 unbound additions 2016-08-20 11:21:50 +00:00
christos 739a312465 conditionalize 2016-06-05 01:23:58 +00:00
christos 4b11f6f5bb add ubsan 2016-06-05 01:20:58 +00:00
christos d433114464 sanitizer for all. 2016-06-04 02:06:46 +00:00
christos bbba7d645f Asan is back 2016-06-04 00:11:01 +00:00
mrg 25c9b8d685 don't build libmudflap* for GCC 5.3.
also, disable libasan here as well (for now).
2016-03-17 00:09:47 +00:00
riastradh 17ca604b7a Skip libctf if MKCTF=no irrespective of MKDTRACE, for real.
Apparently this logic is copied in lib/Makefile and in
external/cddl/osnet/lib/Makefile.  Is the latter even used?
2016-02-29 20:59:35 +00:00
christos 22253bc332 use EXTERNAL_BINUTILS_SUBDIR 2016-01-26 17:47:35 +00:00
christos 26492c8912 switch to the external version of libmalloc 2016-01-13 21:57:26 +00:00
christos 3f38d7cad6 Move blacklistd later now that it depends on libpthread (From Rin Okuyama) 2015-12-31 20:11:32 +00:00
kamil 15fb689c63 Plug-in libpanel(3): Z-order for curses windows 2015-11-22 04:44:30 +00:00
christos 4a21fa14fc Neither libproc or librtld_db require CTF 2015-09-28 17:12:12 +00:00
christos c09ba22ef4 Restore previous: only build libproc and librtld_db for dtrace since many
archs are not supported.
2015-09-25 11:39:08 +00:00
christos dc1fa8fa85 we always build librtld_db and libproc. 2015-09-25 11:35:05 +00:00
martin 2f0225ffc2 librtld_db depends on libproc, so conditionalize it as well 2015-09-25 10:08:35 +00:00
martin e662b1ba49 libproc depends on libctf, so conditionalize it with the same condition 2015-09-25 07:41:53 +00:00
christos 46e2ed0d2c make dtrace follow libproc. 2015-09-24 18:37:33 +00:00
christos 58ad14e816 Hook up libproc and librtld_db into the build 2015-09-24 14:48:36 +00:00
joerg 7cd266968a Restrict libc_vfp to NetBSD/arm. It doesn't make sense for aarch64. 2015-09-22 13:26:14 +00:00
christos b573611377 move libctf after the barrier since it depends on libz 2015-09-17 02:00:33 +00:00
matt 6fa466fc35 Possibly build libc_vfp if MACHINE_CPU is aarch64 too.
Use AFLAGS to pass -mfpu=vfp
2015-07-08 01:08:24 +00:00
matt b63e1aaa52 Add DTRACE and CTF libraries 2015-06-23 16:33:21 +00:00
matt 6e6800cb88 Add libraries created by MKZFS != "no" 2015-06-22 06:03:20 +00:00
matt 9477a260e4 Build external/gpl3/lib/libmudpath{,th} so that MKCOMPAT picks it up 2015-06-22 00:06:38 +00:00
christos 440c00cdaa libasan depends on libstdc++ so move it under the wait barrier. 2015-05-12 19:43:50 +00:00
mrg 422d8988cb xz/lib depends upon pthread so move it to the 1st dependancy point.
libarchive/lib depends upon xz, so move to the 2nd.
2015-04-17 22:17:23 +00:00
christos bdb45807c6 hook into blacklist 2015-01-25 15:47:19 +00:00
christos 28365665a4 Try to future-proof this. Can libasan be built by clang? 2014-10-25 12:54:28 +00:00
joerg 3d415a7996 HAVE_GCC might not be defined at all... 2014-10-24 22:42:40 +00:00
martin 91eb09ff7d Only visit libasan if ${HAVE_GCC} == "48" 2014-10-23 15:29:06 +00:00
christos f6fe66d5cb add asan to the libraries we build. 2014-10-22 23:20:48 +00:00
mrg 26f35dd6b6 remove the build support for GCC 4.1, and any hacks i found for it.
there could still be more -- i only looked for lines matching
both "HAVE_GCC" and "4" as words (grep -w.)
2014-06-13 01:17:45 +00:00
plunky 4a71bf0e0e Move libsjjit and libbpfjit to the pre-dependency section and remove
the unnecessary .WAIT. They are both marked LIBISPRIVATE, which does
mean no link is performed, and there are no dependencies.
2014-05-09 08:36:09 +00:00
joerg 61731496eb Retire USE_COMPILERCRTSTUFF=yes. 2014-04-22 13:20:58 +00:00
christos 0c84150c90 switch to the elftoolchain code. 2014-03-09 17:09:20 +00:00
mrg afa90f2bf5 prepare for moving GCC 4.5 into gcc.old:
- convert to using ${EXTERNAL_GCC_SUBDIR}
- define base-external-gpl3-gcc* subdir as GCC_SUBDIR
- use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly
  because it arranges for ../Makefile.inc to be included earlier, and
  don't bother including the latter if the former is already included.
- move all .PATH: settings after <bsd.{own,lib}.mk> so that all
  valid variables are set before it is evaluated
- rename mknative-gcc* to match their subdir name.

XXX the relationship between the Makefile.inc/Makefile.gcc_path files
    is kind of sketchy, it would be great if this was fixed.
2014-02-26 09:54:32 +00:00
christos 5bf528c548 add smbfs library 2013-12-26 14:15:29 +00:00