83069000 | 18-Oct-2024 |
Kyle Evans <kevans@FreeBSD.org> |
cross-build: fix missing <sys/md4.h> the proper way
Add it to tools/build/Makefile with a short note of where it's needed, rather than hamfistedly copying it into the tools/build hierarchy.
Reporte
cross-build: fix missing <sys/md4.h> the proper way
Add it to tools/build/Makefile with a short note of where it's needed, rather than hamfistedly copying it into the tools/build hierarchy.
Reported by: jrtc27 Reviewed by: jrtc27 Fixes: aad507854efd13c43 ("Fix the cross-build after recent commits") Differential Revision: https://reviews.freebsd.org/D46854
show more ...
|
18cf1e50 | 25-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
cross-build: Define DEFFILEMODE and ALLPERMS if not defined
GLIBC defines these, but MUSL does not. FreeBSD's bootstrap code uses these defines, so define them if they aren't yet defined.
Co-author
cross-build: Define DEFFILEMODE and ALLPERMS if not defined
GLIBC defines these, but MUSL does not. FreeBSD's bootstrap code uses these defines, so define them if they aren't yet defined.
Co-authored-by: Val Packett <val@packett.cool> Sponsored by: Netflix Pull Request: https://github.com/freebsd/freebsd-src/pull/1066 Differential Revision: https://reviews.freebsd.org/D45375
show more ...
|
744991d4 | 25-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
cross-build: progname.c is used only on linux, so no ifdefs needed
The logic in the makefile ensures this is only present on Linux, so no ifdef is needed. I overlooked comments to the effect in the
cross-build: progname.c is used only on linux, so no ifdefs needed
The logic in the makefile ensures this is only present on Linux, so no ifdef is needed. I overlooked comments to the effect in the original pull request somehow.
Fixes: 0e03402139da Suggested by: arichards, jrtc27 Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D45374
show more ...
|
0e034021 | 26-May-2024 |
Warner Losh <imp@FreeBSD.org> |
cross-build: This is not glibc specific, but Linux specific
Neither glibc nor musl define these interfaces, so provide them for all Linux builds.
Sponsored by: Netflix Reviewed by: val_packett.co
cross-build: This is not glibc specific, but Linux specific
Neither glibc nor musl define these interfaces, so provide them for all Linux builds.
Sponsored by: Netflix Reviewed by: val_packett.cool Differential Revision: https://reviews.freebsd.org/D45355
show more ...
|
3c5f0da5 | 26-May-2024 |
Warner Losh <imp@FreeBSD.org> |
cross-build: Define __*int*_t and include sys/cdefs.h
FreeBSD assumes that sys/types.h includes sys/cdefs.h, so add it here. FreeBSD also needs __*int*_t defined for software we bootstrap (a lot of
cross-build: Define __*int*_t and include sys/cdefs.h
FreeBSD assumes that sys/types.h includes sys/cdefs.h, so add it here. FreeBSD also needs __*int*_t defined for software we bootstrap (a lot of it). GLIBC defines these, but musl does not, so we have to define them here, even though it looks backwards. There's no good #define to key off of, so use !defined GLIBC since on Linux defacto there's only two libc implementations.
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/D45354
show more ...
|
27326f89 | 26-May-2024 |
Warner Losh <imp@FreeBSD.org> |
cross-build: string.h uses mode_t, so we need sys/types.h
string.h defines strmode with a mode_t argument. POSIX states that one must include sys/types.h to get mode_t, so do that here. This makes m
cross-build: string.h uses mode_t, so we need sys/types.h
string.h defines strmode with a mode_t argument. POSIX states that one must include sys/types.h to get mode_t, so do that here. This makes musl happier. We know that sys/types.h will include sys/cdefs.h, so just replace the latter with the former.
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/D45353
show more ...
|
76efd90a | 26-May-2024 |
Warner Losh <imp@FreeBSD.org> |
cross-build: Include sys/types.h from sys/param.h
FreeBSD has a style(9) enforced assumption that sys/param.h includes sys/types.h. However, Linux under musl doesn't do this so go ahead and explicit
cross-build: Include sys/types.h from sys/param.h
FreeBSD has a style(9) enforced assumption that sys/param.h includes sys/types.h. However, Linux under musl doesn't do this so go ahead and explicitly include it here. It won't hurt on the glibc systems, and helps musl.
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/D45352
show more ...
|