#
7fa2f2a6 |
| 06-Jan-2021 |
Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> |
Rename NO_WERROR -> MK_WERROR=no
As suggested in D27598. This also supports MK_WERROR.clang=no and MK_WERROR.gcc=no to support the existing NO_WERROR.<compiler> uses.
Reviewed By: brooks Differenti
Rename NO_WERROR -> MK_WERROR=no
As suggested in D27598. This also supports MK_WERROR.clang=no and MK_WERROR.gcc=no to support the existing NO_WERROR.<compiler> uses.
Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D27601
show more ...
|
#
94ffff68 |
| 06-Jan-2021 |
Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> |
Stop passing MK_WARNS=no for bootstrap tools
I got annoyed by the number of warnings that the CheriBSD build was emitting. It turns out that we are emitting lots of warnings during bootstrap because
Stop passing MK_WARNS=no for bootstrap tools
I got annoyed by the number of warnings that the CheriBSD build was emitting. It turns out that we are emitting lots of warnings during bootstrap because bootstrap tools are built with the default compiler flags and ignore the warnings flags that are set in bsd.sys.mk.
Looking at git blame, it appears that MK_WARNS=no has been passed since rS112869, replacing the -DNO_WERROR option that was added in rS87775.
This commit changes MK_WARNS=no back to -DNO_WERROR. We need to pass -DNO_WERROR, since the system compiler might have new warnings that we don't know about yet, and we shouldn't fail the build in that case.
Reviewed By: imp, brooks Differential Revision: https://reviews.freebsd.org/D27598
show more ...
|
#
821aa63a |
| 04-Jan-2021 |
Baptiste Daroussin <bapt@FreeBSD.org> |
ncurses: only keep the version with widechar support
Only keep the widechar version of ncurses as libncursesw.so.9
Keep the old name to avoid breaking the ABI compatibility (the non widechar versio
ncurses: only keep the version with widechar support
Only keep the widechar version of ncurses as libncursesw.so.9
Keep the old name to avoid breaking the ABI compatibility (the non widechar version libncurses.so.9 is not binary compatible with libncursesw.so.9) since all ports and base are already only linking against the widechar version we can simply remove libncurses.so.9
Since the .9 version only lived in the dev branch and never ended in a release, it is simply removed and not added to any binary compat package.
Add symlinks to keep build time compatibility for anyone linking against -lncurses
show more ...
|
Revision tags: release/12.2.0 |
|
#
7eb9f755 |
| 08-Oct-2020 |
Warner Losh <imp@FreeBSD.org> |
Race in 32-bit fixed
Use install insteald of install.sh for 32-bit builds to fight races there.
Reviewed by: markj
|
#
75766799 |
| 08-Sep-2020 |
Ed Maste <emaste@FreeBSD.org> |
Add WITH_/WITHOUT_CLEAN option to replace NO_CLEAN
This allows use of the standard src.conf configuration for controlling whether the tree is cleaned before build or not. The default is still to cl
Add WITH_/WITHOUT_CLEAN option to replace NO_CLEAN
This allows use of the standard src.conf configuration for controlling whether the tree is cleaned before build or not. The default is still to clean.
Setting either NOCLEAN or NO_CLEAN will mention the new src.conf option. NOCLEAN remains a .warning, while for now NO_CLEAN is .info.
Reviewed by: bdrewery (earlier version) MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D22762
show more ...
|
Revision tags: release/11.4.0 |
|
#
eb61f7bd |
| 26-Mar-2020 |
Emmanuel Vadot <manu@FreeBSD.org> |
Stop building libl and liby
Those libs aren't needed anymore so stop building them for the bootstrap tools or the compat libs.
Reviewed by: bapt, emaste X-Differential Revision: D24171
|
#
a4330302 |
| 07-Nov-2019 |
Brooks Davis <brooks@FreeBSD.org> |
libcompat: build 32-bit rtld and ldd as part of "everything"
Alter bsd.compat.mk to set MACHINE and MACHINE_ARCH when included directly so MD paths in Makefiles work. In the process centralize setti
libcompat: build 32-bit rtld and ldd as part of "everything"
Alter bsd.compat.mk to set MACHINE and MACHINE_ARCH when included directly so MD paths in Makefiles work. In the process centralize setting them in LIBCOMPATWMAKEENV.
Alter .PATH and CFLAGS settings in work when the Makefile is included.
While here only support LIB32 on supported platforms rather than always enabling it and requiring users of MK_LIB32 to filter based TARGET/MACHINE_ARCH.
The net effect of this change is to make Makefile.libcompat only build compatability libraries.
Changes relative to r354449:
Correct detection of the compiler type when bsd.compat.mk is used outside Makefile.libcompat. Previously it always matched the clang case.
Set LDFLAGS including the linker emulation for mips where -m32 seems to be insufficent.
Reviewed by: imp, kib (origional version in r354449) Obtained from: CheriBSD (conceptually) Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D22251
show more ...
|
#
ccad77fe |
| 07-Nov-2019 |
Brooks Davis <brooks@FreeBSD.org> |
Revert r354449: libcompat: build 32-bit rtld and ldd as part of "everything"
Additional testing is required..
|
#
36712a94 |
| 07-Nov-2019 |
Brooks Davis <brooks@FreeBSD.org> |
libcompat: build 32-bit rtld and ldd as part of "everything"
Alter bsd.compat.mk to set MACHINE and MACHINE_ARCH when included directly so MD paths in Makefiles work. In the process centralize setti
libcompat: build 32-bit rtld and ldd as part of "everything"
Alter bsd.compat.mk to set MACHINE and MACHINE_ARCH when included directly so MD paths in Makefiles work. In the process centralize setting them in LIBCOMPATWMAKEENV.
Alter .PATH and CFLAGS settings in work when the Makefile is included.
While here only support LIB32 on supported platforms rather than always enabling it and requiring users of MK_LIB32 to filter based TARGET/MACHINE_ARCH.
The net effect of this change is to make Makefile.libcompat only build compatability libraries.
Reviewed by: imp, kib Obtained from: CheriBSD (conceptually) Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D22251
show more ...
|
Revision tags: release/12.1.0 |
|
#
5dab1313 |
| 15-Oct-2019 |
Brooks Davis <brooks@FreeBSD.org> |
Build compat libraries before "everything".
This is required for us to link programs against compat versions of libraries.
Reviewed by: bdrewery, jhb Sponsored by: DARPA, AFRL
|
#
bbcf7edd |
| 15-Oct-2019 |
Brooks Davis <brooks@FreeBSD.org> |
Move the per-ARCH definitions to bsd.compat.mk.
This is the first step if refactoring the definitions to allow programs to be selectively linked against libcompat libraries.
Reviewed by: bdrewery S
Move the per-ARCH definitions to bsd.compat.mk.
This is the first step if refactoring the definitions to allow programs to be selectively linked against libcompat libraries.
Reviewed by: bdrewery Sponsored by: DARPA, AFRL
show more ...
|
#
571fc82c |
| 11-Oct-2019 |
Brooks Davis <brooks@FreeBSD.org> |
Centralize adding OBJCOPY=${XOBJCOPY} to LIB32WMAKEFLAGS.
Reviewed by: emaste, imp Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D21983
|
#
a63915c2 |
| 28-Jul-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @r350386
Sponsored by: The FreeBSD Foundation
|
#
78aee653 |
| 25-Jul-2019 |
Ed Maste <emaste@FreeBSD.org> |
libsysdecode: use the proper include directory
Reported by: cy Reviewed by: lwhsu Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21068
|
#
99c2d8c2 |
| 25-Jul-2019 |
Li-Wen Hsu <lwhsu@FreeBSD.org> |
Workaround the build failure on platforms have lib32 after r350301
Error message:
make[5]: make[5]: don't know how to make /usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/sys/netinet/in.h. Stop
make[5]
Workaround the build failure on platforms have lib32 after r350301
Error message:
make[5]: make[5]: don't know how to make /usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/sys/netinet/in.h. Stop
make[5]: stopped in /usr/src/lib/libsysdecode
Sponsored by: The FreeBSD Foundation
show more ...
|
Revision tags: release/11.3.0 |
|
#
89ebdc94 |
| 29-Jun-2019 |
Tijl Coosemans <tijl@FreeBSD.org> |
Build lib32 libl. The library is built from usr.bin/lex/lib. It would be better to move this directory to lib/libl, but this requires more extensive changes to Makefile.inc1. This simple fix can b
Build lib32 libl. The library is built from usr.bin/lex/lib. It would be better to move this directory to lib/libl, but this requires more extensive changes to Makefile.inc1. This simple fix can be MFCed quickly.
PR: 238874 Reviewed by: imp MFC after: 3 days
show more ...
|
Revision tags: release/12.0.0 |
|
#
6149ed01 |
| 14-Nov-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340368 through r340426.
|
#
23d772ee |
| 12-Nov-2018 |
Brooks Davis <brooks@FreeBSD.org> |
Use ...-freebsd13.0 in -target strings.
Reported by: Mark Millard
|
#
2a22df74 |
| 04-Nov-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r339813 through r340125.
|
#
01b7ad04 |
| 03-Nov-2018 |
Ed Maste <emaste@FreeBSD.org> |
libcompat: disable retpoline when building build tools
These are built with the host toolchain which may not support retpoline. While here, move the MK_ overrides to a separate line and sort them al
libcompat: disable retpoline when building build tools
These are built with the host toolchain which may not support retpoline. While here, move the MK_ overrides to a separate line and sort them alphabetically to support future changes.
MFC with: r339511 Sponsored by: The FreeBSD Foundation
show more ...
|
#
7847e041 |
| 24-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r338026 through r338297, and resolve conflicts.
|
#
a00cd954 |
| 23-Aug-2018 |
Alex Richardson <arichardson@FreeBSD.org> |
Fix non-FreeBSD host lib32 build for TARGET=amd64
When building on non-FreeBSD systems we need to pass an explicit target triple to clang otherwise it will attempt to build with the host triple. Thi
Fix non-FreeBSD host lib32 build for TARGET=amd64
When building on non-FreeBSD systems we need to pass an explicit target triple to clang otherwise it will attempt to build with the host triple. This also has advantages when building on a FreeBSD host: we now tell clang that we are targeting at least FreeBSD 12.0 instead of an older version so it can enable newer features.
Reviewed By: brooks (mentor) Approved By: jhb (mentor) Differential Revision: https://reviews.freebsd.org/D16842
show more ...
|
#
14b841d4 |
| 11-Aug-2018 |
Kyle Evans <kevans@FreeBSD.org> |
MFH @ r337607, in preparation for boarding
|
#
bbd7a929 |
| 04-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r336870 through r337285, and resolve conflicts.
|
#
52f9bacb |
| 03-Aug-2018 |
John Baldwin <jhb@FreeBSD.org> |
Install the 32-bit compat sanitizer libraries.
The lib32 build was already building the i386 version of the clang sanitizers (libclang_rt) but they were not being installed. This enables the instal
Install the 32-bit compat sanitizer libraries.
The lib32 build was already building the i386 version of the clang sanitizers (libclang_rt) but they were not being installed. This enables the installation.
MK_TOOLCHAIN=no was originally added to the install make environment to disable includes so that NO_INCS could be removed. The MK_TOOLCHAIN in bsd.incs.mk was subsequently renamed to MK_INCLUDES, but bsd.lib.mk doesn't even include bsd.incs.mk when LIBRARIES_ONLY is defined which the install make environment for compat libs now defines. However, setting MK_TOOLCHAIN=no forced MK_CLANG=no which disabled libclang_rt during the install32 phase. Remove MK_TOOLCHAIN=no since LIBRARIES_ONLY is now sufficient.
Since the libcompat environment overrides both LIBDIR and SHLIBDIR, libclang_rt/Makefile.inc has to set both variables to force the libraries to be installed to the location expected by the compiler.
Reviewed by: bdrewery, dim MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D16574
show more ...
|