History log of /netbsd-src/lib/Makefile (Results 1 – 25 of 307)
Revision Date Author Comments
# 4b3febd8 18-Jan-2025 christos <christos@NetBSD.org>

Re-enable userspace rcu now that sh3/sparc/vax have been fixed.


# ddedc19b 17-Jan-2025 christos <christos@NetBSD.org>

remove userspace rcu from the build for now. Need to add
- non v9 sparc support
- sh3 support
- vax support


# f6b23865 17-Jan-2025 christos <christos@NetBSD.org>

Add liburcu to the build and move libuv to the next trench since it is
not needed sooner.


# 45707f09 11-Jan-2025 mrg <mrg@NetBSD.org>

move libzstd into the earlier depend group.

both libarchive and libfile depend upon libzstd, but they were all in the
same group and if you try hard enough, you can trigger a build failure in
one of

move libzstd into the earlier depend group.

both libarchive and libfile depend upon libzstd, but they were all in the
same group and if you try hard enough, you can trigger a build failure in
one of them if it hasn't finished building libzstd yet.

(surprised no one else hit this since october 30.)

show more ...


# 7c5d5dfd 30-Oct-2024 christos <christos@NetBSD.org>

Hook zstd to the build and enable it for libarchive and file.


# 81b0ebe0 23-Sep-2024 christos <christos@NetBSD.org>

Handle multiple versions of jemalloc


# 3fe1e851 28-Aug-2024 christos <christos@NetBSD.org>

Fix gdb's llvm build


# a5330f4c 01-Jul-2024 mrg <mrg@NetBSD.org>

GCC sanitizers: only build the sanitizers if $MKGCCCMDS != "no".

there's a minor use-case for the configuration of "building sanitizers
for distribution, but not the compiler", but it's pretty uncom

GCC sanitizers: only build the sanitizers if $MKGCCCMDS != "no".

there's a minor use-case for the configuration of "building sanitizers
for distribution, but not the compiler", but it's pretty uncommon, and
the latest sanitizers don't build at all on m68000 so enhance the
option to not build /usr/bin/gcc (which simply can't modern GCC on a
sun2) to not build the sanitizers either.

(if we were to split these, MKGCCSANITIZER would be good variable.)

update set lists for far too many files, including fixing MKDEBUG for
a couple of builds.

show more ...


# ee803f23 26-Feb-2024 mrg <mrg@NetBSD.org>

revert previous - it doesn't mean what i thought and some builds broke.


# 35db73b0 25-Feb-2024 mrg <mrg@NetBSD.org>

skip sanitizers if MKSANITIZER "no".


# 40ca0b46 06-Sep-2023 riastradh <riastradh@NetBSD.org>

lib: Handle various external lib directories with build_install.

This way, update builds track shlib major bumps correctly.

For example, suppose you had built Heimdal's libkrb5.so.27 and
libgssapi.

lib: Handle various external lib directories with build_install.

This way, update builds track shlib major bumps correctly.

For example, suppose you had built Heimdal's libkrb5.so.27 and
libgssapi.so.11 linked against it, and then you updated past the recent
shlib major bump raising them to libkrb5.so.28 and libgssapi.so.12.

Without this change, the build will make the following sequence of
targets (interleaved with some others):

1. make dependall in libkrb5
2. make dependall in libgssapi
3. make install in libkrb5
4. make install in libgssapi

The existing .WAIT tags in SUBDIR ensure that (1) happens before (2)
and (3) happens before (4). Unfortunately, this sequence is wrong,
because it will produce the following effect:

1. make dependall in libkrb5 builds libkrb5.so.28
2. make dependall in libgssapi builds libgssapi.so.12, linked against
libkrb5.so.27
3. make install in libkrb5 installs libkrb5.so.28
4. make install in libgssapi installs libgssapi.so.12

Why the out-of-date libkrb5.so.27 in step (2)? Because we just pass
-L${DESTDIR}/usr/lib -lkrb5 to the linker (or the equivalent with
--sysroot and implied -L/usr/lib), and ${DESTDIR}/usr/lib still has
only libkrb5.so.27 by the time of step (2), not libkrb5.so.28.

Now any applications that link against libkrb5.so _and_ libgssapi.so
will get libkrb5.so.28 and libgssapi.so.12 -- but transitively, via
libgssapi.so.12, they will also get libkrb5.so.27, which is a recipe
for disaster.

Splicing the Heimdal library subdirectories into lib/Makefile, as
this does, ensures that we run make dependall _and_ make install in
libkrb5 _before_ make dependall in libgssapi, giving the following
correct sequence:

1. make dependall in libkrb5 builds libkrb5.so.28
2. make install in libkrb5 installs libkrb5.so.28
3. make dependall in libgssapi builds libgssapi.so.12, linked against
libkrb5.so.28
4. make install in libgssapi installs libgssapi.so.12

Note that LIBDPLIBS isn't enough here, as implemented. LIBDPLIBS
ensures that the incremental build will remake libgssapi.so. But it
doesn't ensure that the new libkrb5.so.28 is available before then,
so it doesn't prevent this problem.

We use the same mechanism for crypto/external/bsd/openssl/lib
already; this just extends it to other external library collections.

As an alternative, in principle perhaps we could teach LIBDPLIBS to
ensure that libkrb5.so comes out of the libkrb5 objdir, and not out
of ${DESTDIR}/usr/lib. But that requires some work to make happen,
and make it reliable, whereas this approach we've already confirmed
works without other adverse consequences (besides leaving
grody-looking mechanism lying around) for the libcrypto major bump
already. We need to get this pulled up to the branch so all the
other major bumps it required are handled correctly by update builds.

XXX pullup-10

show more ...


# c0141d3a 20-Aug-2023 rin <rin@NetBSD.org>

lib/Makefile: Hook libgmp also for MKGDB=yes build

Now, gdb 13 can be built by clang, at least on amd64.


# 85e497af 17-Jun-2023 christos <christos@NetBSD.org>

Include the OpenSSL Makefile fragment so that build_install works on each
OpenSSL subdirectory.


# dd3ee07d 30-May-2022 rin <rin@NetBSD.org>

Introduce libc_aligned.so for evbppc-powerpc32, which provides
strictly-aligned versions of memcmp(3), bcopy(3), memcpy(3), and
memmove(3).

This is used for 403 by ld.so.conf with machdep.no_unalign

Introduce libc_aligned.so for evbppc-powerpc32, which provides
strictly-aligned versions of memcmp(3), bcopy(3), memcpy(3), and
memmove(3).

This is used for 403 by ld.so.conf with machdep.no_unaligned variable.

With this library, unaligned memory accesses are significantly reduced
for 403 (from several hundreds to few tens per sec under heavy load);
only ld.elf_so (typically few times per fork) and statically-linked
binaries do such access.

show more ...


# 1569bcc0 22-Nov-2021 nia <nia@NetBSD.org>

cgdconfig(8): Add an argon2id password-based key generation method

This provides an extra level of side-channel and cracking resistance
compared to the pre-existing pkcs5_pbkdf2/sha1 method used for

cgdconfig(8): Add an argon2id password-based key generation method

This provides an extra level of side-channel and cracking resistance
compared to the pre-existing pkcs5_pbkdf2/sha1 method used for
password-based disk encryption.

Several new keygen parameters are supported:

memory (integer, in kilobytes)
parallelism (integer, usually the number of CPU cores)
version (integer, usually 19...)

We do our best to calibrate these automatically when the paramsfile
is initially generated.

lgtm riastradh@

show more ...


# e8ee02e0 25-Apr-2021 christos <christos@NetBSD.org>

Use ${MACHINE_MIPS64}


# 3d432367 09-Apr-2021 jkoshy <jkoshy@NetBSD.org>

Avoid duplicate directory traversals when building Elftoolchain sources.


# d2544b1c 08-Apr-2021 jkoshy <jkoshy@NetBSD.org>

Redo r1.288: traverse the complete imported Elftoolchain tree during a build.


# ffb100ca 06-Apr-2021 jkoshy <jkoshy@NetBSD.org>

Attempt to unbreak the build by reverting r1.288.


# f42f5ef4 06-Apr-2021 jkoshy <jkoshy@NetBSD.org>

Traverse the complete imported Elftoolchain tree during a build.


# d54a6e0c 07-Mar-2021 christos <christos@NetBSD.org>

Add blocklist support to libwrap which enables all programs using libwrap
to block access from hosts we deny. (libwrap support from Greg A. Woods)


# 0a229fd3 29-Oct-2020 nia <nia@NetBSD.org>

lib: Move sqlite, since it depends on libm


# c9f4e317 26-Sep-2020 jmcneill <jmcneill@NetBSD.org>

Add HAVE_NVMM and use it to control the build of NVMM related components.
Defined to "yes" on amd64, "no" everywhere else.


# 2f0bfbf3 15-Jun-2020 christos <christos@NetBSD.org>

Rename blacklist -> blocklist


# 56e4243b 24-May-2020 christos <christos@NetBSD.org>

Add libuv


12345678910>>...13