Author: arichardson
Date: Sun Jun 23 10:47:07 2019
New Revision: 349298
URL: https://svnweb.freebsd.org/changeset/base/349298
Log:
Fix two WARNS=6 warnings in opendir.c and telldir.c
This is in preparation for compiling these files as part of rtld (which is
built with WARNS=6). See https:
Author: arichardson
Date: Wed Jun 26 15:43:20 2019
New Revision: 349416
URL: https://svnweb.freebsd.org/changeset/base/349416
Log:
Fix -Wsign-compare warnings in realpath.c
This is needed in order to build realpath.c as part of rtld.
Modified:
head/lib/libc/stdlib/realpath.c
Modified: h
Author: arichardson
Date: Wed Jun 26 15:43:26 2019
New Revision: 349417
URL: https://svnweb.freebsd.org/changeset/base/349417
Log:
Use rtld_putstr() instead of write() for the rtld msg() macro
This removes an unnecessary libc dependency from rtld.
See https://reviews.freebsd.org/D20663 fo
Author: arichardson
Date: Sun Jun 30 11:49:58 2019
New Revision: 349554
URL: https://svnweb.freebsd.org/changeset/base/349554
Log:
Reduce size of rtld by 22% by pulling in less code from libc
Currently RTLD is linked against libc_nossp_pic which means that any libc
symbol used in rtld can
Alex Richardson
*
* This software was developed by SRI International and the University of
* Cambridge Computer Laboratory (Department of Computer Science and
Modified: head/libexec/rtld-elf/rtld-libc/rtld_libc.c
Author: arichardson
Date: Sun Jun 30 17:03:14 2019
New Revision: 349561
URL: https://svnweb.freebsd.org/changeset/base/349561
Log:
Fix CROSS_TOOLCHAIN=amd64-gcc build after r349554
Apparently clang can remove the reference to __umoddi3 but GCC keeps it.
Reported by: lwhsu
Modified:
Author: arichardson
Date: Mon Jul 1 11:47:45 2019
New Revision: 349576
URL: https://svnweb.freebsd.org/changeset/base/349576
Log:
Fix generation of krb5-config with LC_CTYPE=*.UTF-8
When building on MacOS with a UTF-8 locale sed will fail when reading
krb-config.in due to invalid charact
Author: arichardson
Date: Mon Jul 1 11:52:54 2019
New Revision: 349577
URL: https://svnweb.freebsd.org/changeset/base/349577
Log:
Allow bootstrapping elftoolchain on MacOS and Linux
This is required in order to build on non-FreeBSD systems without setting
all the XAR/XSTRINGS/etc. variab
Author: arichardson
Date: Tue Jul 2 22:11:07 2019
New Revision: 349615
URL: https://svnweb.freebsd.org/changeset/base/349615
Log:
Fix build race when building rtld
I found this on one of the CheriBSD Jenkins builders. Using
beforelinking instead of ${PROG} should fix the dependency for t
Author: arichardson
Date: Fri Jun 7 15:23:52 2019
New Revision: 348777
URL: https://svnweb.freebsd.org/changeset/base/348777
Log:
Add a basic clang-format configuration file
This gets reasonably close to the existing format in sys/kern but will
probably require some changes to upstream c
Author: arichardson
Date: Wed Dec 5 10:57:57 2018
New Revision: 341514
URL: https://svnweb.freebsd.org/changeset/base/341514
Log:
Fix newvers.sh with BUILD_WITH_STRICT_TMPPATH=1
newvers.sh runs mkfifo which did not exist before this change.
However, I didn't notice before because it is r
Author: arichardson
Date: Wed Dec 5 10:58:02 2018
New Revision: 341515
URL: https://svnweb.freebsd.org/changeset/base/341515
Log:
Allow bootstrapping libopenbsd on Linux
The getdtablecount.c file won't compile on Linux but it seems like none of
the bootstrap tools actually need it.
Author: arichardson
Date: Fri Dec 14 21:16:04 2018
New Revision: 342101
URL: https://svnweb.freebsd.org/changeset/base/342101
Log:
Allow bootstrapping libnv on macOS and Linux
MacOS/Linux do not define struct cmsgcred but we need to bootstrap libnv
when building on non-FreeBSD systems. Si
Author: arichardson
Date: Fri Dec 14 23:53:28 2018
New Revision: 342105
URL: https://svnweb.freebsd.org/changeset/base/342105
Log:
make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH
This fixes building in CheriBSD with a strict tmp path since we don't
bootstrap a cpp but pass
Author: arichardson
Date: Fri Jun 29 21:15:26 2018
New Revision: 335805
URL: https://svnweb.freebsd.org/changeset/base/335805
Log:
Don't change directory owner to root when building with -DNO_ROOT
Currently the mtree calls in Makefile.inc1 all change the directory owner
to match the spec
Author: arichardson
Date: Fri Jun 29 21:15:17 2018
New Revision: 335804
URL: https://svnweb.freebsd.org/changeset/base/335804
Log:
Fix missing files in METALOG with -DNO_ROOT
By using INSTALL_LINK instead of calling ln during install the files
end up in the METALOG file as well if we use
Author: arichardson
Date: Wed Oct 28 11:53:55 2020
New Revision: 367099
URL: https://svnweb.freebsd.org/changeset/base/367099
Log:
clang-format: place sys/systm.h immediately after sys/param.h
Should fix one of the objections to r366993.
See also https://reviews.freebsd.org/D26981.
R
Author: arichardson
Date: Wed Oct 28 11:54:09 2020
New Revision: 367102
URL: https://svnweb.freebsd.org/changeset/base/367102
Log:
Speed up Cirrus CI by using CROSS_TOOLCHAIN
Installing the llvm11 package instead of bootstrapping it from the source
tree reduces the build time by about 20
Author: arichardson
Date: Wed Oct 28 11:54:04 2020
New Revision: 367101
URL: https://svnweb.freebsd.org/changeset/base/367101
Log:
Significantly reduce compile time for googletest internal tests
Clang's optimizer spends a really long time on these tests at -O2, so we now
use -O0 instead.
Author: arichardson
Date: Wed Oct 28 11:54:00 2020
New Revision: 367100
URL: https://svnweb.freebsd.org/changeset/base/367100
Log:
clang-format: Avoid breaking after the opening paren of function definitions
This depends on https://reviews.llvm.org/D90246 to have any effect, but once
that
Author: arichardson
Date: Wed Nov 4 14:31:52 2020
New Revision: 367331
URL: https://svnweb.freebsd.org/changeset/base/367331
Log:
Fix bad libbxo format strings in jls
The existing format string for the empty case was trying to read varargs
values that weren't passed to xo_emit. This appe
Author: arichardson
Date: Fri Nov 13 13:18:48 2020
New Revision: 367636
URL: https://svnweb.freebsd.org/changeset/base/367636
Log:
Makefile.inc1: remove no-longer required variable
This variable is unsed since r364760 but I forgot to delete it in that commit.
Reported By: bdrewery
Mo
Author: arichardson
Date: Mon Nov 16 11:38:51 2020
New Revision: 367720
URL: https://svnweb.freebsd.org/changeset/base/367720
Log:
Revert "When building on Ubuntu bootstrap bmake with bash as the default
shell"
This reverts r365950 since the latest bmake update includes fixes for the test
Author: arichardson
Date: Thu Nov 26 13:31:57 2020
New Revision: 368055
URL: https://svnweb.freebsd.org/changeset/base/368055
Log:
Significantly speed up libthr/mutex_test and make more reliable
Instead of using a simple global++ as the data race, with this change we
perform the increment
Author: arichardson
Date: Thu Nov 26 17:37:22 2020
New Revision: 368070
URL: https://svnweb.freebsd.org/changeset/base/368070
Log:
Add .cfi_{start,end}proc for RISC-V assembly functions
This allows GDB to print more useful backtraces when setting a breakpoint
on an assembly function.
Author: arichardson
Date: Thu Nov 26 17:37:27 2020
New Revision: 368071
URL: https://svnweb.freebsd.org/changeset/base/368071
Log:
bsd.lib.mk: Work around build system raciness
We are seeing regular build failures due to libc.so being installed again and
another parallel make job tries to
Author: arichardson
Date: Fri Dec 4 15:53:37 2020
New Revision: 368337
URL: https://svnweb.freebsd.org/changeset/base/368337
Log:
crunchgen: fix NULL-deref bug introduced in r364647
While porting over the local changes from CheriBSD for upstreaming, I
accidentally committed a broken vers
Author: arichardson
Date: Fri Dec 4 15:53:44 2020
New Revision: 368338
URL: https://svnweb.freebsd.org/changeset/base/368338
Log:
make.py: Also pass STRIPBIN
This is required for cross-building to allow stripping the installed binaries.
Submitted By: Henry Vogt
Modified:
head/tool
Author: arichardson
Date: Thu Jan 16 14:14:50 2020
New Revision: 356789
URL: https://svnweb.freebsd.org/changeset/base/356789
Log:
Merge commit 894f742acb from llvm git (by me):
[MIPS][ELF] Use PC-relative relocations in .eh_frame when possible
When compiling position-independent e
Author: arichardson
Date: Thu Jan 16 14:14:55 2020
New Revision: 356790
URL: https://svnweb.freebsd.org/changeset/base/356790
Log:
Allow bootstrapping mkimg on macOS/Linux
On these systems the (u)int64_t typedefs will not be implicitly defined by the
previous includes, so include in the
Author: arichardson
Date: Thu Jan 16 14:15:00 2020
New Revision: 356791
URL: https://svnweb.freebsd.org/changeset/base/356791
Log:
Allow building bin/cat on non-FreeBSD systems
`cat -l` is needed during the installworld phase and other system's cat
don't support that flag. To avoid portab
Author: arichardson
Date: Mon Jan 27 12:02:47 2020
New Revision: 357170
URL: https://svnweb.freebsd.org/changeset/base/357170
Log:
Build hard-float lib32 for mips64hf/mips64elhf
This should fix linker errors when building with clang+lld.
After this change the lib32 compat libraries are no
Author: arichardson
Date: Mon Jan 27 12:02:41 2020
New Revision: 357169
URL: https://svnweb.freebsd.org/changeset/base/357169
Log:
Allow bootstrapping makefs on older FreeBSD hosts and Linux/macOS
In order to do so we need to install the msdosfs headers to the bootstrap
sysroot and avoid
Author: arichardson
Date: Tue Feb 4 00:06:16 2020
New Revision: 357480
URL: https://svnweb.freebsd.org/changeset/base/357480
Log:
Set the LMA of the riscv kernel to the OpenSBI jump target by default
This allows us to boot FreeBSD RISCV on QEMU using the -kernel command line
options. Whe
Author: arichardson
Date: Fri Jun 5 08:46:55 2020
New Revision: 361830
URL: https://svnweb.freebsd.org/changeset/base/361830
Log:
csu: Avoid additional nops in the MIPS INIT_CALL_SEQ macro
Since we had a .set reorder, the nop after the "jal" was being placed after
the delay slot, resulti
Author: arichardson
Date: Fri Jun 5 08:46:50 2020
New Revision: 361829
URL: https://svnweb.freebsd.org/changeset/base/361829
Log:
Avoid using non-portable dd status=none flag
Copying the approach chosen in r309412. This fixes building the libc tests
on a macOS host since the macOS /bin/d
Author: arichardson
Date: Fri Jun 5 13:54:13 2020
New Revision: 361833
URL: https://svnweb.freebsd.org/changeset/base/361833
Log:
Allow assembling skein_block_asm.s with clang
GNU as seems to allow macro arguments without the '\' but clang is more
strict in that regard.
This change mak
Author: arichardson
Date: Mon Jun 8 08:51:52 2020
New Revision: 361903
URL: https://svnweb.freebsd.org/changeset/base/361903
Log:
RISC-V: handle DTB aligned to less than 2MB
By default OpenSBI and BBL will pass the DTB at a 2MB-aligned address.
However, by default there are no 2MB aligne
Author: arichardson
Date: Mon Jun 8 08:51:57 2020
New Revision: 361904
URL: https://svnweb.freebsd.org/changeset/base/361904
Log:
sys/riscv: Remove debug printfs
They are only visible with EARLY_PRINTF so don't show up by default.
Reviewed By: mhorne
Differential Revision: https://
Author: arichardson
Date: Mon Jun 8 08:52:02 2020
New Revision: 361905
URL: https://svnweb.freebsd.org/changeset/base/361905
Log:
RISC-V: Check that the DTB doesn't overlap with kernel
This can happen with very large kernels (e.g. ones embedding a root
filesystem). The DTB written by Ope
Author: arichardson
Date: Thu Sep 10 14:11:24 2020
New Revision: 365575
URL: https://svnweb.freebsd.org/changeset/base/365575
Log:
Use the correct config names for some .clang-format entries
Those values are enum entries and should use "Never" instead of "false".
clang-format currently ac
Author: arichardson
Date: Thu Sep 10 14:11:29 2020
New Revision: 365576
URL: https://svnweb.freebsd.org/changeset/base/365576
Log:
Set AlignTrailingComments in the clang-format config
This seems to be fairly common in existing code and often looks better when
adding trailing comments to e
Author: arichardson
Date: Thu Sep 10 15:37:07 2020
New Revision: 365580
URL: https://svnweb.freebsd.org/changeset/base/365580
Log:
Remove -I flag for include path that doesn't exist
Found this while trying to get macOS bootstrap to work again after OpenZFS
merge.
Reviewed By: #zfs, f
Author: arichardson
Date: Thu Sep 10 15:37:19 2020
New Revision: 365582
URL: https://svnweb.freebsd.org/changeset/base/365582
Log:
Fix -Wpointer-sign warnings in bwstring.c
Modified:
head/usr.bin/sort/bwstring.c
Modified: head/usr.bin/sort/bwstring.c
=
Author: arichardson
Date: Thu Sep 10 15:37:15 2020
New Revision: 365581
URL: https://svnweb.freebsd.org/changeset/base/365581
Log:
Fix a noisy -Wundef warning when bootstrapping tools
Modified:
head/kerberos5/include/config.h
Modified: head/kerberos5/include/config.h
Author: arichardson
Date: Thu Sep 10 15:37:29 2020
New Revision: 365584
URL: https://svnweb.freebsd.org/changeset/base/365584
Log:
Ensure that the makewhatis symlink is added in the bootstrap-tools stage
We currently set MK_MAN=no in $BSARGS so MK_MAN_UTILS will also be false
which means
Author: arichardson
Date: Thu Sep 10 15:37:24 2020
New Revision: 365583
URL: https://svnweb.freebsd.org/changeset/base/365583
Log:
Silence GCC's -Wno-unused-result during bootstrap
Unlike clang, GCC still warns even with (void) casts
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425)
Mo
Author: arichardson
Date: Mon Sep 14 08:51:18 2020
New Revision: 365708
URL: https://svnweb.freebsd.org/changeset/base/365708
Log:
pfctl_test: avoid 200 calls to atf_get_srcdir
I have been trying to reduce the time that testsuite runs take for CheriBSD
on QEMU (currently about 22 hours).
Author: arichardson
Date: Thu Sep 17 15:07:25 2020
New Revision: 365836
URL: https://svnweb.freebsd.org/changeset/base/365836
Log:
Stop using lorder and ranlib when building libraries
Use of ranlib or lorder is no longer necessary with current linkers
(probably anything newer than ~1990)
Author: arichardson
Date: Fri Sep 18 11:22:34 2020
New Revision: 365876
URL: https://svnweb.freebsd.org/changeset/base/365876
Log:
libarchive: fix mismatch between library and test configuration
I was investigating libarchive test failures on CheriBSD and it turns out
we get a reproducibl
Author: arichardson
Date: Fri Sep 18 14:05:31 2020
New Revision: 365882
URL: https://svnweb.freebsd.org/changeset/base/365882
Log:
Remove unnecessary include "../Makefile.inc"
This is already pulled in by bsd.init.mk.
Reported By: kevans
Modified:
head/lib/libarchive/tests/Makefile
Author: arichardson
Date: Sat Sep 19 12:08:16 2020
New Revision: 365901
URL: https://svnweb.freebsd.org/changeset/base/365901
Log:
Fix dtrace tools bootstrap on non-FreeBSD after OpenZFS import
This required surprisingly few build system changes and only two changes to
the
openZFS compat
Author: arichardson
Date: Mon Sep 21 09:03:37 2020
New Revision: 365940
URL: https://svnweb.freebsd.org/changeset/base/365940
Log:
Fix -Wpointer-sign warnings in usr.bin/grep
Reviewed By: kevans
Differential Revision: https://reviews.freebsd.org/D26479
Modified:
head/usr.bin/grep/file
Author: arichardson
Date: Mon Sep 21 09:03:42 2020
New Revision: 365941
URL: https://svnweb.freebsd.org/changeset/base/365941
Log:
Fix vi build on Linux/macOS
This absolute include causes a build failure on Linux for me:
.../cheri/freebsd/contrib/nvi/cl/../common/common.h:10:10: fatal err
Author: arichardson
Date: Mon Sep 21 09:03:32 2020
New Revision: 365939
URL: https://svnweb.freebsd.org/changeset/base/365939
Log:
Prefer bootstrapped tools when running certctl.sh
Otherwise we get lots of warnings when building on Linux/macOS during
installworld:
Scanning
/local/scrat
build/make.pyMon Sep 21 15:48:57 2020(r365949)
@@ -0,0 +1,241 @@
+#!/usr/bin/env python3
+# PYTHON_ARGCOMPLETE_OKAY
+# -
+# SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+#
+# Copyright (c) 2018 Alex Richardson
+#
+# Redistribution and use in source and binary forms, with or wi
Author: arichardson
Date: Mon Sep 21 15:49:02 2020
New Revision: 365950
URL: https://svnweb.freebsd.org/changeset/base/365950
Log:
When building on Ubuntu bootstrap bmake with bash as the default shell
The Ubuntu /bin/sh (dash) removes all environment variables that contain
characters out
Author: arichardson
Date: Mon Sep 21 19:03:07 2020
New Revision: 365968
URL: https://svnweb.freebsd.org/changeset/base/365968
Log:
awk: Fix subobject out-of-bounds access
When matching a regex with ^, it would attempt to access
gototab[NSTATES][NCHARS+2], and therefore access the state fo
Author: arichardson
Date: Mon Sep 21 19:03:12 2020
New Revision: 365969
URL: https://svnweb.freebsd.org/changeset/base/365969
Log:
Fix another UBSan error in awk
This applies my upstreamed fix:
https://github.com/onetrueawk/awk/commit/ad9bd2f40a89ec9533b92254b86a756cf4f40fd4
Found By:
Author: arichardson
Date: Mon Sep 21 19:03:17 2020
New Revision: 365970
URL: https://svnweb.freebsd.org/changeset/base/365970
Log:
mkcsmapper: Fix UBSan signed shift error
usr.bin/mkcsmapper/yacc.y:466:18: runtime error: left shift of 1 by 31 places
cannot be represented in type 'int'
Mod
Author: arichardson
Date: Wed Sep 23 12:54:37 2020
New Revision: 366074
URL: https://svnweb.freebsd.org/changeset/base/366074
Log:
Add github CI for testing cross-building from Linux and macOS
This builds the kernel-toolchain target and an amd64 GENERIC kernel on
Ubuntu 18.04, 20.04 and t
Author: arichardson
Date: Wed Sep 23 12:54:42 2020
New Revision: 366075
URL: https://svnweb.freebsd.org/changeset/base/366075
Log:
byacc: fix UBSan signed shift range error
I've submitted this patch upstream, so apply this to contrib/ until a new
version containing this change has been re
Author: arichardson
Date: Mon Oct 12 10:42:19 2020
New Revision: 366633
URL: https://svnweb.freebsd.org/changeset/base/366633
Log:
Don't use install(1) for the library symlinks in the build directory
It appears this was changed from ln to use install in rS245752. I noticed
this because my
Author: arichardson
Date: Mon Oct 12 10:42:14 2020
New Revision: 366632
URL: https://svnweb.freebsd.org/changeset/base/366632
Log:
Fix building on Linux/macOS after r366622
We have to bootstrap arc4random.c, so guard the FenestrasX code to avoid
using it on Linux/macOS.
Reviewed By:
Author: arichardson
Date: Mon Oct 12 10:42:28 2020
New Revision: 366635
URL: https://svnweb.freebsd.org/changeset/base/366635
Log:
Fix build with -DBOOTSTRAP_ALL_TOOLS
sbin/sysctl can no longer be bootstrapped on FreeBSD 12 after r366465,
so create a symlink to the host tool instead of tr
Author: arichardson
Date: Mon Oct 12 10:42:33 2020
New Revision: 366636
URL: https://svnweb.freebsd.org/changeset/base/366636
Log:
Enable SUBDIR_PARELLEL in lib/libclang_rt
I noticed that this part of the build was taking much longer than
expected. Turns out it's due to not running the su
Author: arichardson
Date: Mon Oct 12 10:42:24 2020
New Revision: 366634
URL: https://svnweb.freebsd.org/changeset/base/366634
Log:
Fix buildworld on Linux/macOS after nvi update
This re-applies r365941 which was lost in the nvi update.
Modified:
head/contrib/nvi/common/common.h
Modified
Author: arichardson
Date: Mon Oct 12 11:27:08 2020
New Revision: 366644
URL: https://svnweb.freebsd.org/changeset/base/366644
Log:
Link efi programs with -pie rather than -shared
This was causing build failures in CheriBSD where we were passing -pie
already by default.
Reviewed By:
Author: arichardson
Date: Tue Oct 13 08:14:33 2020
New Revision: 34
URL: https://svnweb.freebsd.org/changeset/base/34
Log:
Stop using -O instead of -O2 for MIPS
Until clang 11 that was equivalent to -O2, but clang changed it to -O1 so
generated MIPS code will now be unnecessarily
Author: arichardson
Date: Wed Oct 14 12:28:41 2020
New Revision: 366697
URL: https://svnweb.freebsd.org/changeset/base/366697
Log:
install(1): Avoid unncessary fstatfs() calls and use mmap() based on size
According to git blame the trymmap() function was added in 1996 to skip
mmap() calls
Author: arichardson
Date: Wed Oct 14 12:28:48 2020
New Revision: 366698
URL: https://svnweb.freebsd.org/changeset/base/366698
Log:
Don't build the malo module with clang 10
Compiling it with LLVM 10 triggers https://bugs.llvm.org/show_bug.cgi?id=44351
While LLVM 11 is the default compiler
Author: arichardson
Date: Wed Oct 14 12:28:54 2020
New Revision: 366699
URL: https://svnweb.freebsd.org/changeset/base/366699
Log:
Fix more -Wundef warnings during bootstrap
Modified:
head/kerberos5/include/config.h
head/tools/build/Makefile
head/tools/build/cross-build/include/common/sys
ause file is newly added)
+++ head/sbin/pfctl/tests/pfctl_test.c Wed Oct 14 17:39:50 2020
(r366708)
@@ -0,0 +1,230 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright 2020 Alex Richardson
+ *
+ * This software was developed by SRI International and the University o
Author: arichardson
Date: Sun Oct 18 18:35:23 2020
New Revision: 366815
URL: https://svnweb.freebsd.org/changeset/base/366815
Log:
Significantly speed up mkimg_test
It turns out that the majority of the test time for the mkimg tests isn't
mkimg itself but rather the use of jot and hexdump
Author: arichardson
Date: Mon Oct 19 19:50:57 2020
New Revision: 366850
URL: https://svnweb.freebsd.org/changeset/base/366850
Log:
Major improvement to build parallelism for googletest internal tests
Currently the googletest internal tests build after the matching library.
However, each o
Author: arichardson
Date: Mon Oct 19 19:51:03 2020
New Revision: 366851
URL: https://svnweb.freebsd.org/changeset/base/366851
Log:
Enable SUBDIR_PARALLEL for lib/googletest
This saves a few seconds in a parallel build since we can build the
gtest_main and gmock subdirectories in parallel.
Author: arichardson
Date: Wed Jul 15 12:07:47 2020
New Revision: 363216
URL: https://svnweb.freebsd.org/changeset/base/363216
Log:
Avoid rebuilding libpmc in every incremental rebuild
Generate libpmc_events.c in a temporary file first and only overwrite it
if the files are actually differ
:00:00 1970 (empty, because file is newly added)
+++ head/usr.bin/localedef/bootstrap/_ctype.h Wed Jul 15 12:07:59 2020
(r363218)
@@ -0,0 +1,48 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright 2018-2020 Alex Richardson
+ *
+ * This software was developed by SRI I
Author: arichardson
Date: Wed Jul 15 12:08:06 2020
New Revision: 363219
URL: https://svnweb.freebsd.org/changeset/base/363219
Log:
Fix BUILD_WITH_STRICT_TMPPATH builds
We need dd in $PATH for some of the MK_BOOT code and some tests also use it.
Obtained from:CheriBSD
Modified:
Author: arichardson
Date: Wed Jul 15 12:07:53 2020
New Revision: 363217
URL: https://svnweb.freebsd.org/changeset/base/363217
Log:
Add missing newline and return in localedef error message
I hit those error messages when using a localedef built against headers
that don't match the target
Author: arichardson
Date: Wed Jul 15 17:24:34 2020
New Revision: 363229
URL: https://svnweb.freebsd.org/changeset/base/363229
Log:
Remove warning that is no longer accurate after r361853
We now build the skein assembly with clangs integrated assembler.
Reviewed By: emaste
Differenti
Author: arichardson
Date: Wed Jul 15 17:24:39 2020
New Revision: 363230
URL: https://svnweb.freebsd.org/changeset/base/363230
Log:
Allow install(1)'s create_tempfile() to work on Linux hosts
GLibc expects six 'X' characters in the mkstemp template argument and
will return EINVAL otherwise
Author: arichardson
Date: Fri Jul 24 08:40:04 2020
New Revision: 363471
URL: https://svnweb.freebsd.org/changeset/base/363471
Log:
Include TMPFS in all the GENERIC kernel configs
Being able to use tmpfs without kernel modules is very useful when building
small MFS_ROOT kernels without a r
Author: arichardson
Date: Fri Jul 31 11:28:09 2020
New Revision: 363730
URL: https://svnweb.freebsd.org/changeset/base/363730
Log:
Include virtio support in std.MALTA
The MALTA kernel config is generally used for QEMU and having support
for VirtIO there by default is quite useful.
Re
Author: arichardson
Date: Mon Aug 3 18:08:04 2020
New Revision: 363805
URL: https://svnweb.freebsd.org/changeset/base/363805
Log:
Allow building setmode.c on Linux/macOS
We bootstrap this file to allow compiling FreeBSD on Linux systems since
some boostrap tools use setmode(). Unfortunat
Author: arichardson
Date: Mon Aug 3 18:08:10 2020
New Revision: 363806
URL: https://svnweb.freebsd.org/changeset/base/363806
Log:
Allow bootstrapping mtree on Linux systems
Linux glibc has a dummy lchmod that always fails and emitting a linker
warning when used. Don't fail the build due
Author: arichardson
Date: Wed Jan 9 11:13:05 2019
New Revision: 342882
URL: https://svnweb.freebsd.org/changeset/base/342882
Log:
Avoid bsd.files.mk duplicate rule warning for bfd ldscripts
Without this change I get lots of
warning: duplicate script for target
"_FILESINS_ldscripts/elf64
Author: arichardson
Date: Mon Mar 23 17:51:44 2020
New Revision: 359252
URL: https://svnweb.freebsd.org/changeset/base/359252
Log:
Fix newvers.sh on macOS 10.15
It appears that the macOS /bin/sh echo now defaults to -e and therefore the
`#define VERSTR` included newline characters instead
Author: arichardson
Date: Mon Mar 23 17:51:39 2020
New Revision: 359251
URL: https://svnweb.freebsd.org/changeset/base/359251
Log:
Update arch.7 .Dd for r359233
Suggested by: lwhsu
Modified:
head/share/man/man7/arch.7
Modified: head/share/man/man7/arch.7
Author: arichardson
Date: Sat Apr 18 12:54:47 2020
New Revision: 360073
URL: https://svnweb.freebsd.org/changeset/base/360073
Log:
Fix various warnings in tests/sys/kqueue and bump WARNS
Reviewed By: kevans
Differential Revision: https://reviews.freebsd.org/D24296
Modified:
head/tests
Author: arichardson
Date: Sat Apr 18 12:54:40 2020
New Revision: 360072
URL: https://svnweb.freebsd.org/changeset/base/360072
Log:
More fixes to build the kernel with a compiler that defaults to -fno-common
Using the same approach as the last commit for the files used by genassym.sh.
O
Author: arichardson
Date: Sat Apr 18 12:54:35 2020
New Revision: 360071
URL: https://svnweb.freebsd.org/changeset/base/360071
Log:
Allow kernel modules to build with a compiler that defaults to -fno-common
This uses the same approach as r359691.
Reviewed By: brooks
Differential Revi
Author: arichardson
Date: Tue Apr 21 15:55:08 2020
New Revision: 360152
URL: https://svnweb.freebsd.org/changeset/base/360152
Log:
Remove extern from function declarations in common.h
Suggested by: cem
Modified:
head/tests/sys/kqueue/libkqueue/common.h
Modified: head/tests/sys/kqueue/li
Author: arichardson
Date: Mon May 11 08:40:33 2020
New Revision: 360894
URL: https://svnweb.freebsd.org/changeset/base/360894
Log:
Avoid using non-portable dd conv=osync option
The same thing can be achieved using the bs=$SIZE and conv=sync options.
Unlike conv=osync, conv=sync is support
Author: arichardson
Date: Fri Nov 15 16:43:36 2019
New Revision: 354736
URL: https://svnweb.freebsd.org/changeset/base/354736
Log:
Use __ as the separator for the exported vars in bsd.compiler/linker.mk
By using '__' instead of '.' as the separator we can also support systems
that use das
Author: arichardson
Date: Fri Nov 15 18:34:23 2019
New Revision: 354738
URL: https://svnweb.freebsd.org/changeset/base/354738
Log:
Fix contents= being ignored in msdosfs makefs mtree
I noticed this while trying to build an EFI boot image
Reviewed By: emaste
Differential Revision: ht
Author: arichardson
Date: Fri Nov 15 18:34:36 2019
New Revision: 354740
URL: https://svnweb.freebsd.org/changeset/base/354740
Log:
Fix build race in bsd.files.mk
We need to ensure that installdirs-FOO runs before installfiles-FOO since
otherwise the directory may not exist when we attempt
Author: arichardson
Date: Fri Nov 15 18:34:30 2019
New Revision: 354739
URL: https://svnweb.freebsd.org/changeset/base/354739
Log:
makefs: Also set UFS di_birthtime when building on Linux
Since st_birthtime doesn't exists on Linux (unless you use statx(2)), we
instead populate it with the
Author: arichardson
Date: Sun Nov 17 19:04:02 2019
New Revision: 354796
URL: https://svnweb.freebsd.org/changeset/base/354796
Log:
Fix error found by new clang operator precendence warning
error: operator '?:' has lower precedence than '|'; '|' will be evaluated
first
I discovered thi
Author: arichardson
Date: Wed Nov 20 17:24:49 2019
New Revision: 354901
URL: https://svnweb.freebsd.org/changeset/base/354901
Log:
Allow boostrapping xinstall on Linux
Linux does not have st_flags so we have to avoid using it there.
Reviewed By: emaste, imp
Differential Revision: ht
1 - 100 of 200 matches
Mail list logo