#
8ea6c115 |
| 24-Nov-2024 |
Stefan Eßer <se@FreeBSD.org> |
usr.bin/bc: remove OpenBSD derived bc and dc commands
In 2020, an improved implementation of the bc and dc commands developed by Gavin D. Howard has been imported into FreeBSD. It has replaced the O
usr.bin/bc: remove OpenBSD derived bc and dc commands
In 2020, an improved implementation of the bc and dc commands developed by Gavin D. Howard has been imported into FreeBSD. It has replaced the OpenBSD-derived versions of these commands in all currently supported FreeBSD releases.
The OpenBSD versions could still be built using the WITHOUT_GH_BC option. There have been no reports of problems or unexpected deviations from the OpenBSD version for some time, therefore keeping the OpenBSD version is no longer required in FreeBSD.
This commit removes the option to build the OpenBSD version and corresponding source files from -CURRENT. No MFC is planned, all currently released FreeBSD versions should retain the build option.
The WITHOUT_GH_BC option is no longer accepted and will cause make buildworld to fail.
Reviewed by: des, emaste Approved by: des Relnotes: yes Differential Revision: https://reviews.freebsd.org/D46876
show more ...
|
#
23dee252 |
| 25-Oct-2024 |
Warner Losh <imp@FreeBSD.org> |
loader: Change this BIOS tradeoff: Add back zip and use text only
After talking with a number of people about the removal of some things to make the loader fit, readjust things a little.
Add back G
loader: Change this BIOS tradeoff: Add back zip and use text only
After talking with a number of people about the removal of some things to make the loader fit, readjust things a little.
Add back GZIP and BZIP2 compression support. Many of the downstream MFC packaging systems depend on this. This adds back 20k to the size of the loader.
Make the boot loader text-only by default. This saves 40k in size. Net, we're 20k smaller. The graphics loader for BIOS is less useful than the zip functionality: You can still boot w/a text only one it and you can build a custom one if you really want it. It's also the default we use for dual console.
This should be merged back into stable/14 and stable/13 so it's in the next release for each of these. That way we have only one release (13.4) with the other defaults.
MFC After: 3 days Sponsored by: Netflix Reviewed by: olce, rgrimes, emaste Differential Revision: https://reviews.freebsd.org/D47203
show more ...
|
#
eade2001 |
| 16-Sep-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
jemalloc: set LG_VADDR to 64 on amd64
and allow to revert it back to 48 with WITHOUT_JEMALLOC_LG_VADDR_WIDE build option.
Reviewed by: andrew, emaste Sponsored by: Advanced Micro Devices (AMD) Spon
jemalloc: set LG_VADDR to 64 on amd64
and allow to revert it back to 48 with WITHOUT_JEMALLOC_LG_VADDR_WIDE build option.
Reviewed by: andrew, emaste Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D46686
show more ...
|
Revision tags: release/13.4.0, release/14.1.0 |
|
#
fe3f792f |
| 14-May-2024 |
Ahmad Khalifa <ahmadkhalifa570@gmail.com> |
Add build option for the ia32 loader
In preparation for supporting 64-bit machines with 32-bit UEFI firmware, add a build option for compiling the ia32 loader. Currently unused.
Reviewed by: imp Pu
Add build option for the ia32 loader
In preparation for supporting 64-bit machines with 32-bit UEFI firmware, add a build option for compiling the ia32 loader. Currently unused.
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1098
show more ...
|
#
24affded |
| 07-Sep-2024 |
Mark Johnston <markj@FreeBSD.org> |
src.conf: Add a MK_ZFS_TESTS knob
The in-tree ZFS test suite is somewhat outdated and I see a number of failures there. I tend to think that we want to integrate the OpenZFS test suite somehow, rep
src.conf: Add a MK_ZFS_TESTS knob
The in-tree ZFS test suite is somewhat outdated and I see a number of failures there. I tend to think that we want to integrate the OpenZFS test suite somehow, replacing the legacy one, though it's also possible to run that as a separate test suite.
In any case, if one wants to run the OpenZFS test suite separately, it's useful to be able to disable installation of the legacy ZFS test suite, so let's provide a src.conf option to do that.
Reviewed by: asomers MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D46476
show more ...
|
#
20d35d58 |
| 05-Aug-2024 |
Warner Losh <imp@FreeBSD.org> |
loader: Add WITH/WITHOUT_LOADER_PXEBOOT build option
Make it possible to disable pxeboot. This loader will fail to build when it's too large. When /boot/loader needs to be larger like that, this opt
loader: Add WITH/WITHOUT_LOADER_PXEBOOT build option
Make it possible to disable pxeboot. This loader will fail to build when it's too large. When /boot/loader needs to be larger like that, this options will disable a component whose build will fail. It is an explicit option rather than implicit when things are too large to force the user to make the explicit tradeoffs rather than wonder why they have a stale pxeboot or other odd failure mode.
MFC After: 3 days Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D46212
show more ...
|
#
ba373fca |
| 29-Jul-2024 |
Ed Maste <emaste@FreeBSD.org> |
Do not clean (in buildworld/buildkernel) by default
As discussed on the freebsd-arch mailing list[1]. For historical reasons FreeBSD's buildworld and buildkernel targets started by cleaning the obj
Do not clean (in buildworld/buildkernel) by default
As discussed on the freebsd-arch mailing list[1]. For historical reasons FreeBSD's buildworld and buildkernel targets started by cleaning the object tree, for traditional (non-metamode) builds.
Cleaning is not necessary when dependencies are properly tracked, and we have a somewhat kludgey script[2] to handle some known cases where deps were mishandled by traditional builds. Be consistent with the vast majority of open source build systems by default, and do not clean at the beginning of buildworld or buildkernel.
Users may set WITH_CLEAN in src.conf(5) to restore the previous behaviour, or run `make cleanworld` and/or `make cleankernel` before starting a build.
[1] https://lists.freebsd.org/archives/freebsd-arch/2024-July/000727.html [2] tools/build/depend-cleanup.sh
Reviewed by: jhb, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D46172
show more ...
|
#
16d8dfde |
| 17-May-2024 |
Brooks Davis <brooks@FreeBSD.org> |
aarch64: disable LIB32 with gcc
gcc doesn't have -m32 support on aarch64 so mark LIB32 broken there.
We have to check both COMPILER_TYPE and X_COMPILER_TYPE becuase X_COMPILER_TYPE is only conditio
aarch64: disable LIB32 with gcc
gcc doesn't have -m32 support on aarch64 so mark LIB32 broken there.
We have to check both COMPILER_TYPE and X_COMPILER_TYPE becuase X_COMPILER_TYPE is only conditionally set and COMPILER_TYPE is the host compiler in Makefile.inc1.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D45089
show more ...
|
#
68cbb072 |
| 25-Apr-2024 |
Brooks Davis <brooks@FreeBSD.org> |
Revert "config.mk: Add MK_VIMAGE knob"
This commit broke "make makeman" checks in github CI due to a lack of option description files. The split between VIMAGE and VIMAGE_SUPPORT is not clearly jus
Revert "config.mk: Add MK_VIMAGE knob"
This commit broke "make makeman" checks in github CI due to a lack of option description files. The split between VIMAGE and VIMAGE_SUPPORT is not clearly justified and the code is broken because there is no opt_vimage.h (it's in opt_global.h).
This reverts commit 22ca6db50f4e6bd75a141f57cf953d8de6531a06.
show more ...
|
#
ee3187f6 |
| 23-Apr-2024 |
John Baldwin <jhb@FreeBSD.org> |
Remove the MK_NVME build option
The drivers and utilities are now built and installed unconditionally.
Reviewed by: imp, emaste Sponsored by: Chelsio Communications Differential Revision: https://r
Remove the MK_NVME build option
The drivers and utilities are now built and installed unconditionally.
Reviewed by: imp, emaste Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D44843
show more ...
|
#
91d35fb6 |
| 23-Apr-2024 |
Ed Maste <emaste@FreeBSD.org> |
Remove WITHOUT_CAPSICUM build support
Capsicum is non-optional as of c24c117b9644 ("Remove WITHOUT_{CAPSICUM,CASPER} options").
`#ifndef WITHOUT_CAPSICUM` is left in the source for the benefit of d
Remove WITHOUT_CAPSICUM build support
Capsicum is non-optional as of c24c117b9644 ("Remove WITHOUT_{CAPSICUM,CASPER} options").
`#ifndef WITHOUT_CAPSICUM` is left in the source for the benefit of downstream consumers, but is never defined in FreeBSD.
Reviewed by: oshogbo Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D42077
show more ...
|
#
2fda3ab0 |
| 17-Apr-2024 |
Warner Losh <imp@FreeBSD.org> |
WITH_NVME: Remove from broken.
NVME works everywhere, so we can eliminate this. We may remove the option altogether.
Sponsored by: Netflix Discussed with: ken, jhb
|
#
22ca6db5 |
| 09-Apr-2024 |
Stephen J. Kiernan <stevek@FreeBSD.org> |
config.mk: Add MK_VIMAGE knob
Default to VIMAGE as yes. Add VIMAGE to __DEFAULT_DEPENDENT_OPTIONS (to define VIMAGE_SUPPORT)
Only output VIMAGE to opt_global.h when VIMAGE support is wanted.
Obtai
config.mk: Add MK_VIMAGE knob
Default to VIMAGE as yes. Add VIMAGE to __DEFAULT_DEPENDENT_OPTIONS (to define VIMAGE_SUPPORT)
Only output VIMAGE to opt_global.h when VIMAGE support is wanted.
Obtained from: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D39636
show more ...
|
Revision tags: release/13.3.0, release/14.0.0, release/13.2.0, release/12.4.0 |
|
#
a42d6f76 |
| 23-Nov-2022 |
Baptiste Daroussin <bapt@FreeBSD.org> |
nuageinit: add basic support for cloudinit.
this is a very early script to support cloudinit, it does not intend to be a full featured cloudinit client, but will support a good enough subset to be v
nuageinit: add basic support for cloudinit.
this is a very early script to support cloudinit, it does not intend to be a full featured cloudinit client, but will support a good enough subset to be viable in most case.
It support nocloud and openstack config-2 config drive mode (iso9660 or msdosfs)
The following features are currently supported: - adding users (including a default user named 'freebsd' with password 'freebsd' - adding groups - adding ssh keys - static ipv4, static ipv6, dynamic ipv4
With this one is able to use the 'bring your own image feature" out of box.
It is expected that the script grows the support of other clouds supporting cloud-init, contributions are welcomed.
It is designed to be only run once via the firstboot mecanism.
Sponsored by: OVHCloud MFC After: 3 weeks Differential Revision: https://reviews.freebsd.org/D44141
show more ...
|
#
0da51f1f |
| 22-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
Add missing .endif
Last second move from inside the prior block to outside bites me.
Noticed by: jrtc23 Fixes: dcb621efd664 Sponsored by: Netflix
|
#
dcb621ef |
| 22-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader: Mark BEARSSL broken on powerpc
When BEARSSL is enabled, we pull in libsecureboot, which has EFI dependencies which don't exist on powerpc. This needs to be detangled, but until then mark it
loader: Mark BEARSSL broken on powerpc
When BEARSSL is enabled, we pull in libsecureboot, which has EFI dependencies which don't exist on powerpc. This needs to be detangled, but until then mark it as broken.
Sponsored by: Netflix
show more ...
|
#
63e9c976 |
| 18-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader: Add new option WITH_LOADER_BIOS_TEXTONLY
This option will omit all the graphics support, the teken terminal library, video mode support, etc and support a simple, basic, text-only video cons
loader: Add new option WITH_LOADER_BIOS_TEXTONLY
This option will omit all the graphics support, the teken terminal library, video mode support, etc and support a simple, basic, text-only video console for the x86 BIOS boot loader. It uses the FreeBSD 12 version of vidconsole.c. It defaults to NO.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D43912
show more ...
|
#
73ff7384 |
| 11-Feb-2024 |
Dimitry Andric <dim@FreeBSD.org> |
Optionally create full debuginfo for llvm-related executables
Commit de6feefdb7cfd limited the amount of debuginfo generated for clang and other llvm-related executables. This was done to save disk
Optionally create full debuginfo for llvm-related executables
Commit de6feefdb7cfd limited the amount of debuginfo generated for clang and other llvm-related executables. This was done to save disk space and memory during building, but it makes debugging any of these executables much harder.
Add a new src.conf(5) setting, WITH_LLVM_FULL_DEBUGINFO, to generate full debuginfo instead. This is off by default, but could for example be enabled for release builds or snapshots, so llvm executables are easier to debug.
Reviewed by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43839
show more ...
|
#
ec4c2adb |
| 13-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
Retire LLD_IS_LD option
The option was added to parallel the CLANG_IS_CC which was removed in commit 20a66ab4bf8511e51e11321b775d36c92e77fa69.
Reviewed by: imp, dim, emaste Differential Revision: h
Retire LLD_IS_LD option
The option was added to parallel the CLANG_IS_CC which was removed in commit 20a66ab4bf8511e51e11321b775d36c92e77fa69.
Reviewed by: imp, dim, emaste Differential Revision: https://reviews.freebsd.org/D42575
show more ...
|
#
38981026 |
| 10-Oct-2023 |
Baptiste Daroussin <bapt@FreeBSD.org> |
dialog(1): switch off dialog(1) by default
Every direct consumers in base have switch to use bsddialog(1) by default
|
#
166a655f |
| 05-Oct-2023 |
Baptiste Daroussin <bapt@FreeBSD.org> |
bsdinstall: decouple from the MK_DIALOG option
bsdinstall does not depend on libdialog(3) or anything using libdialog(3) for a while now, it does not need to depend on MK_DIALOG anymore
|
#
f9df6097 |
| 23-Sep-2023 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Add support for host32 for DIRDEPS_BUILD
Allow building 32bit libs for host.
Move CFLAGS additions from local.sys.dirdeps.mk (which is too early and impacts CFLAGS defaults) to local.sys.mk
Review
Add support for host32 for DIRDEPS_BUILD
Allow building 32bit libs for host.
Move CFLAGS additions from local.sys.dirdeps.mk (which is too early and impacts CFLAGS defaults) to local.sys.mk
Reviewed by: stevek Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D41946
show more ...
|
#
09e32b2f |
| 01-Sep-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: add LIBC_MALLOC option
This will enable alternative mallocs to be included in the tree and selected by setting LIBC_MALLOC. As there is only one today (jemalloc) this option does nothing, but
libc: add LIBC_MALLOC option
This will enable alternative mallocs to be included in the tree and selected by setting LIBC_MALLOC. As there is only one today (jemalloc) this option does nothing, but we expect to add other implementations in the future. This will also reduce diffs to CheriBSD.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D41660
show more ...
|
#
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
#
6de02228 |
| 02-Aug-2023 |
Domagoj Stolfa <ds815@cam.ac.uk> |
dtrace: Add WITH_DTRACE_ASAN
See commit 4ae6991228105eb34989c870194ae7b0a1e23be4. This version of the commit avoids inadvertently changing SHLIBDIR for libdtrace.so.
|