#
77becb93 |
| 05-Oct-2022 |
Brooks Davis <brooks@FreeBSD.org> |
Rename MACHINE_ABI and TARGET_ABI
The MACHINE_ABI and TARGET_ABI variables are used to set the middle of the target triple (e.g., "-unknown-" or "-gnueabihf-"). They are not set by any tool in the b
Rename MACHINE_ABI and TARGET_ABI
The MACHINE_ABI and TARGET_ABI variables are used to set the middle of the target triple (e.g., "-unknown-" or "-gnueabihf-"). They are not set by any tool in the base system and I've only found the latter mentioned in one review online. As such, rename them to to MACHINE_TRIPLE_ABI and TARGET_TRIPLE_ABI to clear the way to use MACHINE_ABI as a supplement to MACHINE_CPU, etc.
Reviewed by: imp, jhb Obtained from: CheriBSD Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D36420
show more ...
|
#
0aa27001 |
| 02-Oct-2022 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Put OPIE to rest.
Differential Revision: https://reviews.freebsd.org/D36592
|
#
fcf12081 |
| 15-Jul-2022 |
Jessica Clarke <jrtc27@FreeBSD.org> |
Makefile.inc1 release bsd.own.mk: Introduce and use TAR_CMD
Our uses of tar rely on BSDisms, and so do not work in environments where GNU tar is the default tar. Providing a TAR_CMD variable like so
Makefile.inc1 release bsd.own.mk: Introduce and use TAR_CMD
Our uses of tar rely on BSDisms, and so do not work in environments where GNU tar is the default tar. Providing a TAR_CMD variable like some other commands allows it to be overridden to use bsdtar in such cases.
Reviewed by: brooks, delphij, gjb Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D35813
show more ...
|
#
5e0a749c |
| 15-Jul-2022 |
Jessica Clarke <jrtc27@FreeBSD.org> |
Makefile.inc1: Set LC_COLLATE in distributeworld for glibc compatibility
distributeworld relies on "foo" sorting directly before "foo type=...", but with glibc both en_US and en_GB have "fooa" sort
Makefile.inc1: Set LC_COLLATE in distributeworld for glibc compatibility
distributeworld relies on "foo" sorting directly before "foo type=...", but with glibc both en_US and en_GB have "fooa" sort between "foo" and "foo z", resulting in some files (in particular, id due to "ident" sorting before "id type=" but after "id") not being included in the meta files and thus not included in the dist tarballs. Forcing use of the C locale ensures this does not occur.
Reviewed by: brooks Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D35812
show more ...
|
#
445421ab |
| 15-Jul-2022 |
Jessica Clarke <jrtc27@FreeBSD.org> |
Makefile.inc1: Honour DB_FROM_SRC for NO_ROOT distributeworld
Currently the host's database files are used, but on non-FreeBSD these are not necessarily sufficient; in particular, Linux does not hav
Makefile.inc1: Honour DB_FROM_SRC for NO_ROOT distributeworld
Currently the host's database files are used, but on non-FreeBSD these are not necessarily sufficient; in particular, Linux does not have a wheel group. Instead, use -N to use the in-tree database files when creating the METALOG entries, as is done for the recursive makes via IMAKE_MTREE.
Reviewed by: brooks Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D35810
show more ...
|
#
93f5ab12 |
| 14-Jul-2022 |
Dimitry Andric <dim@FreeBSD.org> |
Bootstrap crunchgen after removing -dc from linker invocation
In ec81497cc726 crunchgen was updated to remove -dc from the linker invocations in its generated makefile output, as this flag is no lon
Bootstrap crunchgen after removing -dc from linker invocation
In ec81497cc726 crunchgen was updated to remove -dc from the linker invocations in its generated makefile output, as this flag is no longer necessary, and is going to be an error with lld 15.
Update the BOOTSTRAPPING conditions for copying the crunchgen binary from the host, or actually bootstrapping it when necessary. Since ec81497cc726 did not bump __FreeBSD_version, I have chosen the nearest values.
Fixes: ec81497cc726 MFC after: 3 days
show more ...
|
#
7e45839a |
| 14-Jul-2022 |
Jessica Clarke <jrtc27@FreeBSD.org> |
Makefile.inc1: Fix -DNO_ROOT distributeworld certctl usage
Currently for distributeworld we pass DESTDIR to certctl.sh as an environment variable, which sets the default value in the script. However
Makefile.inc1: Fix -DNO_ROOT distributeworld certctl usage
Currently for distributeworld we pass DESTDIR to certctl.sh as an environment variable, which sets the default value in the script. However, for -DNO_ROOT builds, CERTCTLFLAGS has METALOG_INSTALLFLAGS which includes -D ${DESTDIR}, overriding the custom DESTDIR pointing at the base dist directory.
Moreover, in order to ensure that the METALOG includes the base/ prefix for all the files, we need to have certctl call install with -D set to DESTDIR/DISTDIR without the /base suffix but also ensure the files get installed to DESTDIR/DISTDIR/base.
Fix these by passing the custom DESTDIR to certctl via -D rather than in the environment and to pass the /base suffix in the distributeworld case via the newly-added -d option.
We also need to run certctl rehash before we generate the .meta files from the METALOG, not after, otherwise they won't include the METALOG additions, so move the certctl rehash call.
Finally, add a missing semicolon that results in no message being printed in the missing openssl case. By not including the semicolon, else echo "..." is treated as extra arguments to certctl, which is lax in its argument parsing and ignores additional arguments, and the semicolon and fi after the intended echo terminate the if statement as normal so there's no syntax error at the shell level. This is harmless as we weren't trying to do anything other than echo anyway, all that happens is the echo doesn't actually get run.
Reported by: markj (missing semicolon) Reviewed by: brooks, kevans Obtained from: CheriBSD MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D35809
show more ...
|
#
b1807136 |
| 13-Jul-2022 |
Jessica Clarke <jrtc27@FreeBSD.org> |
Makefile.inc1: Add a missing ${dist} to distributeworld for usr/include/i386
Not including ${dist} results in the following non-fatal error printed once per extra distribution:
mkdir //usr/obj/u
Makefile.inc1: Add a missing ${dist} to distributeworld for usr/include/i386
Not including ${dist} results in the following non-fatal error printed once per extra distribution:
mkdir //usr/obj/usr/src/amd64.amd64/release/dist/usr/include/i386 mkdir: //usr/obj/usr/src/amd64.amd64/release/dist/usr/include: No such file or directory *** Error code 1 (ignored)
Also fix a whitespace nit on this line whilst here.
Reviewed by: brooks Fixes: a09ea2bbc305 ("amd64: add an i386 include directory")
show more ...
|
#
bda5d2a4 |
| 01-Jul-2022 |
Brooks Davis <brooks@FreeBSD.org> |
installworld: improve portability of ldd use
b3b462229f97 added a case statement to ignore lines containing strings in square brackets such as "[vdso]" and "[preloaded]". On MacOS Monterey where /bi
installworld: improve portability of ldd use
b3b462229f97 added a case statement to ignore lines containing strings in square brackets such as "[vdso]" and "[preloaded]". On MacOS Monterey where /bin/sh may be zsh, this fails with:
/bin/sh: -c: line 0: syntax error near unexpected token `;;'
Invoke grep in the pipeline to remove such lines instead.
Reviewed by: emaste Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D35618
show more ...
|
#
a09ea2bb |
| 13-Jun-2022 |
Brooks Davis <brooks@FreeBSD.org> |
amd64: add an i386 include directory
This directory will hold i386-specific headers that are needed for -m32 support on amd64 and where the amd64 and i386 cases have too little in common for combini
amd64: add an i386 include directory
This directory will hold i386-specific headers that are needed for -m32 support on amd64 and where the amd64 and i386 cases have too little in common for combining them to make sense. Files to be installed will come in later commits.
With the currently required set of files, this could be done with another INCGROUP in include/Makefile, but at least one file that might want -m32 support (ieeefp.h) conflicts with a files installed in /usr/include.
Reviewed by: jhb, imp
show more ...
|
#
f9ee4156 |
| 03-May-2022 |
Alfredo Dal'Ava Junior <alfredo@FreeBSD.org> |
build target triple variable from sys/conf/newvers.sh
Retrieve FreeBSD revision number directly from sys/conf/newvers.sh when building the compiler target triple value, avoiding manual intervention
build target triple variable from sys/conf/newvers.sh
Retrieve FreeBSD revision number directly from sys/conf/newvers.sh when building the compiler target triple value, avoiding manual intervention on other files every new release.
Reviewed by: imp MFC after: 2 months Sponsored by: Instituto de Pesquisas Eldorado (eldorado.org.br) Differential Revision: https://reviews.freebsd.org/D34429
show more ...
|
#
47bcbde9 |
| 17-Apr-2022 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
bintrans: move files to a new directory
And reflect the change in various places.
|
#
4cd4841a |
| 05-Apr-2022 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
Modularize uuencode and uudecode by wrapping them in bintrans.c
The program will be installed as bintrans, uuencode, uudecode, b64encode, and b64decode and will be responsible for running the coders
Modularize uuencode and uudecode by wrapping them in bintrans.c
The program will be installed as bintrans, uuencode, uudecode, b64encode, and b64decode and will be responsible for running the coders according to their historical behavior.
Additionally, bintrans will be able to take a parameter designating the coder and accept all its options in this form: bintrans <coder> [options] and the behavior should be the same as if <coder> [options] was invoked. This has the advantage that adding coders won't require installing them as binaries.
Move uudecode files to uuencode since the latter is the one that provides the manual page.
Reviewed by: delphij (previous version) Differential Revision: https://reviews.freebsd.org/D32943
show more ...
|
#
a8267ecc |
| 01-Apr-2022 |
Ed Maste <emaste@FreeBSD.org> |
Speed up *-old-* make targets by using sed instead of xargs
Targets like 'list-old-files' used "xargs -n1" to produce a list with one file per line. Using xargs resulted in one fork+exec for each A
Speed up *-old-* make targets by using sed instead of xargs
Targets like 'list-old-files' used "xargs -n1" to produce a list with one file per line. Using xargs resulted in one fork+exec for each Argument, resulting in rather long runtime. Instead, use sed to split the list. On one machine `make list-old-files` took 30s wall clock time with xargs and less than 1s with sed.
Reviewed by: jhb MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34741
show more ...
|
#
b3b46222 |
| 01-Apr-2022 |
Ed Maste <emaste@FreeBSD.org> |
installworld: handle ldd including preloaded objects
The installworld target makes a temporary copy of binaries to be used during the install. Libraries that they depend on are also included, found
installworld: handle ldd including preloaded objects
The installworld target makes a temporary copy of binaries to be used during the install. Libraries that they depend on are also included, found by using `ldd`.
After commit 0913953c9ed0 ldd started listing preloaded objects, including [vdso], under a [preloaded] header. Skip ldd output that is enclosed in square brackets.
Reviewed by: cy, kib [earlier version] MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34734
show more ...
|
Revision tags: vendor/libcxxrt/2022-03-09-fd484be8d1e94a1fcf6bc5c67e5c07b65ada19b6, vendor/bc/5.2.3, vendor/llvm-project/llvmorg-14.0.0-rc2-12-g09546e1b5103, vendor/expat/2.4.6 |
|
#
3b17e19f |
| 02-Mar-2022 |
Warner Losh <imp@FreeBSD.org> |
bootstrap: bump minimum supported version
Bump the minimum supported version to build -current from to 11.3R in preparation of removing support for older systems. 11.4R was selected as the most rec
bootstrap: bump minimum supported version
Bump the minimum supported version to build -current from to 11.3R in preparation of removing support for older systems. 11.4R was selected as the most recent version to go out of support.
Sponsored by: Netflix Reviewed by: delphij, emaste Differential Revision: https://reviews.freebsd.org/D32444
show more ...
|
#
33550b47 |
| 02-Mar-2022 |
Warner Losh <imp@FreeBSD.org> |
bootstrap: No need for kbdcontrol bootstrap anymore
We only need kbdcontrol when bootstrapping from FreeBSD 10 or pre-FreeBSD 11.0 current. Since we can no longer build from these versions of FreeBS
bootstrap: No need for kbdcontrol bootstrap anymore
We only need kbdcontrol when bootstrapping from FreeBSD 10 or pre-FreeBSD 11.0 current. Since we can no longer build from these versions of FreeBSD, remove the support for bootstrapping them.
Sponsored by: Netflix
show more ...
|
Revision tags: vendor/openssh/8.9p1, vendor/llvm-project/llvmorg-13.0.1-0-g75e33f71c2da, vendor/llvm-project/llvmorg-14.0.0-rc1-74-g4dc3cb8e3255, vendor/unbound/1.15.0 |
|
#
3e65b7d9 |
| 11-Feb-2022 |
Warner Losh <imp@FreeBSD.org> |
cleankernel: A target to delete the kernel compile file
With the meta-build, it's always a NO_CLEAN build. Provide a way to remove so one can rebuild from scratch. 'cleankernel' will delete the kern
cleankernel: A target to delete the kernel compile file
With the meta-build, it's always a NO_CLEAN build. Provide a way to remove so one can rebuild from scratch. 'cleankernel' will delete the kernel and modules object directories. Document this in build(7).
Sponsored by: Netflix Reviewed by: debdrup, markj Differential Revision: https://reviews.freebsd.org/D32978
show more ...
|
#
ea9a92d2 |
| 10-Feb-2022 |
Ed Maste <emaste@FreeBSD.org> |
Makefile.inc1: synthesize PKG_ABI from newvers.sh variables
Previously we inspected ${WSTAGEDIR}/usr/bin/uname to determine PKG_ABI, but the file will not exist in some cases - for example, if build
Makefile.inc1: synthesize PKG_ABI from newvers.sh variables
Previously we inspected ${WSTAGEDIR}/usr/bin/uname to determine PKG_ABI, but the file will not exist in some cases - for example, if building only kernel packages. We can instead synthesize the PKG_ABI from information already provided by newvers.sh.
Reviewed by: kevans, manu (both earlier rev) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34249
show more ...
|
Revision tags: vendor/NetBSD/bmake/20220208, vendor/bc/5.2.2, vendor/NetBSD/bmake/20220204, vendor/llvm-project/llvmorg-14-init-18315-g190be5457c90, vendor/llvm-project/llvmorg-14-init-18294-gdb01b123d012 |
|
#
bca92be6 |
| 04-Feb-2022 |
John Baldwin <jhb@FreeBSD.org> |
Remove more quotes around Makefile .error/.warn/.info strings.
Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D34175
|
Revision tags: vendor/terminus/terminus-font-4.49.1, vendor/bsddialog/0.1, vendor/llvm-project/llvmorg-14-init-17616-g024a1fab5c35, vendor/dma/2022-01-27 |
|
#
0a902e42 |
| 25-Jan-2022 |
John Baldwin <jhb@FreeBSD.org> |
Stop trimming 'hf' suffixes from MACHINE_ARCH.
This was only used for MIPS hard-float architectures.
Reviewed by: imp Sponsored by: The University of Cambridge, Google Inc. Differential Revision: h
Stop trimming 'hf' suffixes from MACHINE_ARCH.
This was only used for MIPS hard-float architectures.
Reviewed by: imp Sponsored by: The University of Cambridge, Google Inc. Differential Revision: https://reviews.freebsd.org/D34018
show more ...
|
Revision tags: vendor/ena-com/2.5.0, vendor/wpa/2.10, vendor/expat/2.4.3 |
|
#
6f6fbfa3 |
| 15-Jan-2022 |
Ed Maste <emaste@FreeBSD.org> |
Remove quotes around Makefile .error/.warn/.info strings
The text after .error et al is emitted verbatim.
Reviewed by: sjg Sponsored by: The FreeBSD Foundation Differential Revision: https://review
Remove quotes around Makefile .error/.warn/.info strings
The text after .error et al is emitted verbatim.
Reviewed by: sjg Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33904
show more ...
|
#
77da558c |
| 20-Jan-2022 |
John Baldwin <jhb@FreeBSD.org> |
check/delete-old: Auto-generate lib32 entries for libraries.
- Add usr/lib32/libfoo.so.N for lib/libfoo.so.N.
- Add usr/lib32/foo for usr/lib/foo.
- Treat casper libraries special since they are i
check/delete-old: Auto-generate lib32 entries for libraries.
- Add usr/lib32/libfoo.so.N for lib/libfoo.so.N.
- Add usr/lib32/foo for usr/lib/foo.
- Treat casper libraries special since they are installed to /usr/lib32 instead of /usr/lib32/casper and thus map usr/lib/casper/foo to usr/lib32/foo.
Note that OLD_DIRS and MOVED_LIBS entries are not duplicated, only OLD_FILES and OLD_LIBS.
Reviewed by: imp, emaste Sponsored by: The University of Cambridge, Google Inc. Differential Revision: https://reviews.freebsd.org/D33324
show more ...
|
#
57ba3f00 |
| 20-Jan-2022 |
John Baldwin <jhb@FreeBSD.org> |
Use MOVED_LIBS for libraries moved between /usr/lib and /lib.
Add a MOVED_LIBS variable similar to OLD_LIBS except that MOVED_LIBS is used for the cases that a library's name doesn't change, but it
Use MOVED_LIBS for libraries moved between /usr/lib and /lib.
Add a MOVED_LIBS variable similar to OLD_LIBS except that MOVED_LIBS is used for the cases that a library's name doesn't change, but it just moves between /usr/lib and /lib. This will be used by a future change to auto-generate lib32 old files entries for which these cases need to be ignored (a moved library remains in /usr/lib32).
Suggested by: emaste Reviewed by: emaste Sponsored by: The University of Cambridge, Google Inc. Differential Revision: https://reviews.freebsd.org/D33848
show more ...
|
#
21baf42c |
| 11-Jan-2022 |
John Baldwin <jhb@FreeBSD.org> |
Add list-old-{dirs,files,libs} targets.
These targets generate a raw list of the candidate old files roughly corresponding to the values of OLD_DIRS, OLD_FILES, and OLD_LIBS. Currently list-old-file
Add list-old-{dirs,files,libs} targets.
These targets generate a raw list of the candidate old files roughly corresponding to the values of OLD_DIRS, OLD_FILES, and OLD_LIBS. Currently list-old-files also includes uncompressed manpages in addition to compressed manpages.
Use these targets in the implementation of check-old-* and delete-old-* to replace duplicated logic.
Reviewed by: imp, emaste Sponsored by: The University of Cambridge, Google Inc. Differential Revision: https://reviews.freebsd.org/D33327
show more ...
|