| #
e9ac4169
|
| 15-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.
MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
|
| #
364c014d
|
| 26-May-2024 |
Warner Losh <imp@FreeBSD.org> |
cross-tools: fts has different types for cmp routine
fts has different types for its compare rotuine. Other systems, not 4.4BSD based, have a non-const version. Before we tested against __GLIBC__, b
cross-tools: fts has different types for cmp routine
fts has different types for its compare rotuine. Other systems, not 4.4BSD based, have a non-const version. Before we tested against __GLIBC__, but now we test against __linux__ because that's Linux's API and musl doesn't define __GLIBC__.
In addition, link against libftl on this platform since musl doesn't include ftl routines in libc, but rather in libftl.
Co-authored-by: Val Packett <val@packett.cool> Sponsored by: Netflix Pull Request: https://github.com/freebsd/freebsd-src/pull/1066 Reviewed by: val_packett.cool Differential Revision: https://reviews.freebsd.org/D45349
show more ...
|
| #
d0b2dbfa
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
b347c228
|
| 21-Apr-2023 |
Alex Richardson <arichardson@FreeBSD.org> |
cross-build: Add common compatibility headers after OS-specific ones
The current order is rather counter-intuitive and it appears to work fine if we swap the order.
Pull Request: https://github.com
cross-build: Add common compatibility headers after OS-specific ones
The current order is rather counter-intuitive and it appears to work fine if we swap the order.
Pull Request: https://github.com/freebsd/freebsd-src/pull/725 Reviewed by: imp
show more ...
|
| #
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 ...
|
| #
8d5d3295
|
| 06-Dec-2021 |
Jessica Clarke <jrtc27@FreeBSD.org> |
Bootstrap libz when cross-building from non-FreeBSD
This is needed now libdwarf depends on libz.
Fixes: dbf05458e3bd ("libdwarf: Support consumption of compressed ELF sections") MFC after: 1 week
|
| #
5022d54e
|
| 06-Dec-2021 |
Jessica Clarke <jrtc27@FreeBSD.org> |
Makefile.boot: Fix copy/paste error in LIBNV's crossbuild override
Only noticed due to needing to change the surrounding lines, so presumably nothing currently needs this.
MFC after: 1 week
|
| #
05066fad
|
| 06-Dec-2021 |
Jessica Clarke <jrtc27@FreeBSD.org> |
Makefile.boot: Make -Wno-typedef-redefinition Clang-specific
GCC doesn't have this warning and so also doesn't have the flag to disable it, resulting in it spewing a bunch of warnings about the comm
Makefile.boot: Make -Wno-typedef-redefinition Clang-specific
GCC doesn't have this warning and so also doesn't have the flag to disable it, resulting in it spewing a bunch of warnings about the command line option being unrecognised.
MFC after: 1 week
show more ...
|
| #
0348c8fc
|
| 19-Jan-2021 |
Alex Richardson <arichardson@FreeBSD.org> |
getopt: Fix conversion from string-literal to non-const char *
Define a non-const static char EMSG[] = "" to avoid having to add __DECONST() to all uses of EMSG. Also make current_dash a const char
getopt: Fix conversion from string-literal to non-const char *
Define a non-const static char EMSG[] = "" to avoid having to add __DECONST() to all uses of EMSG. Also make current_dash a const char * to fix this warning.
show more ...
|
| #
b500c184
|
| 16-Dec-2020 |
Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> |
Drop some unncessary stale code from Makefile.boot
No longer required after 0e1e341b486cdf4769195ba1e5b3cb32e7387873.
|
| #
4e64fb9f
|
| 14-Dec-2020 |
Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> |
Fix warnings during bootstrap on Linux systems
Most warnings are currently off for the boostrap phase, but once D27598 lands they will be enabled again.
|
| #
79e02149
|
| 19-Sep-2020 |
Alex Richardson <arichardson@FreeBSD.org> |
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 headers which have been upstreamed as ht
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 headers which have been upstreamed as https://github.com/openzfs/zfs/pull/10863
Reviewed By: #zfs, freqlabs Differential Revision: https://reviews.freebsd.org/D26193
show more ...
|
| #
0a81de38
|
| 10-Sep-2020 |
Alex Richardson <arichardson@FreeBSD.org> |
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)
|
| #
e2515283
|
| 27-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
| #
7ec1ec4f
|
| 25-Aug-2020 |
Alex Richardson <arichardson@FreeBSD.org> |
Add missing FreeBSD functions to -legacy when building on macOS/Linux
In most cases this simply builds the file from lib/libc for missing functions (e.g. strlcpy on Linux etc.). In cases where this
Add missing FreeBSD functions to -legacy when building on macOS/Linux
In most cases this simply builds the file from lib/libc for missing functions (e.g. strlcpy on Linux etc.). In cases where this is not possible I've added an implementation to tools/build/cross-build.
The fgetln.c/fgetwln.c/closefrom.c compatibility code was obtained from https://gitlab.freedesktop.org/libbsd/libbsd, but I'm not sure it makes sense to import it into to contrib just for these three bootstrap files.
Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D25978
show more ...
|
| #
7847e041
|
| 24-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r338026 through r338297, and resolve conflicts.
|
| #
e9ac4169
|
| 15-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.
MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
|
| #
364c014d
|
| 26-May-2024 |
Warner Losh <imp@FreeBSD.org> |
cross-tools: fts has different types for cmp routine
fts has different types for its compare rotuine. Other systems, not 4.4BSD based, have a non-const version. Before we tested against __GLIBC__, b
cross-tools: fts has different types for cmp routine
fts has different types for its compare rotuine. Other systems, not 4.4BSD based, have a non-const version. Before we tested against __GLIBC__, but now we test against __linux__ because that's Linux's API and musl doesn't define __GLIBC__.
In addition, link against libftl on this platform since musl doesn't include ftl routines in libc, but rather in libftl.
Co-authored-by: Val Packett <val@packett.cool> Sponsored by: Netflix Pull Request: https://github.com/freebsd/freebsd-src/pull/1066 Reviewed by: val_packett.cool Differential Revision: https://reviews.freebsd.org/D45349
show more ...
|
| #
d0b2dbfa
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
b347c228
|
| 21-Apr-2023 |
Alex Richardson <arichardson@FreeBSD.org> |
cross-build: Add common compatibility headers after OS-specific ones
The current order is rather counter-intuitive and it appears to work fine if we swap the order.
Pull Request: https://github.com
cross-build: Add common compatibility headers after OS-specific ones
The current order is rather counter-intuitive and it appears to work fine if we swap the order.
Pull Request: https://github.com/freebsd/freebsd-src/pull/725 Reviewed by: imp
show more ...
|
| #
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 ...
|
| #
8d5d3295
|
| 06-Dec-2021 |
Jessica Clarke <jrtc27@FreeBSD.org> |
Bootstrap libz when cross-building from non-FreeBSD
This is needed now libdwarf depends on libz.
Fixes: dbf05458e3bd ("libdwarf: Support consumption of compressed ELF sections") MFC after: 1 week
|
| #
5022d54e
|
| 06-Dec-2021 |
Jessica Clarke <jrtc27@FreeBSD.org> |
Makefile.boot: Fix copy/paste error in LIBNV's crossbuild override
Only noticed due to needing to change the surrounding lines, so presumably nothing currently needs this.
MFC after: 1 week
|
| #
05066fad
|
| 06-Dec-2021 |
Jessica Clarke <jrtc27@FreeBSD.org> |
Makefile.boot: Make -Wno-typedef-redefinition Clang-specific
GCC doesn't have this warning and so also doesn't have the flag to disable it, resulting in it spewing a bunch of warnings about the comm
Makefile.boot: Make -Wno-typedef-redefinition Clang-specific
GCC doesn't have this warning and so also doesn't have the flag to disable it, resulting in it spewing a bunch of warnings about the command line option being unrecognised.
MFC after: 1 week
show more ...
|
| #
0348c8fc
|
| 19-Jan-2021 |
Alex Richardson <arichardson@FreeBSD.org> |
getopt: Fix conversion from string-literal to non-const char *
Define a non-const static char EMSG[] = "" to avoid having to add __DECONST() to all uses of EMSG. Also make current_dash a const char
getopt: Fix conversion from string-literal to non-const char *
Define a non-const static char EMSG[] = "" to avoid having to add __DECONST() to all uses of EMSG. Also make current_dash a const char * to fix this warning.
show more ...
|