rtld: introduce PRELOAD_FDS(cherry picked from commit f90218886fc82e7b1fdb9e241adc5d713dadabe3)
Do a sweep and remove most WARNS=6 settingsRepeating the default WARNS here makes it slightly more difficult toexperiment with default WARNS changes, e.g. if we did something absolutelybananas an
Do a sweep and remove most WARNS=6 settingsRepeating the default WARNS here makes it slightly more difficult toexperiment with default WARNS changes, e.g. if we did something absolutelybananas and introduced a WARNS=7 and wanted to try lifting the default tothat.Drop most of them; there is one in the blake2 kernel module, but I suspectit should be dropped -- the default WARNS in the rest of the build doesn'tcurrently apply to kernel modules, and I haven't put too much thought intowhether it makes sense to make it so.
show more ...
Fix regression tests broken by r337067.MFC after: 2 weeksSponsored by: DARPA, AFRL
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
Increase WARNS for rtld-elf testsATF tests have a default WARNS of 0, unlike other usermode programs.Reviewed by: ngie, julianMFC after: 3 weeksSponsored by: Spectra Logic CorporationDiffe
Increase WARNS for rtld-elf testsATF tests have a default WARNS of 0, unlike other usermode programs.Reviewed by: ngie, julianMFC after: 3 weeksSponsored by: Spectra Logic CorporationDifferential Revision: https://reviews.freebsd.org/D9933
DIRDEPS_BUILD: Add some missing dirctories to the build.Sponsored by: EMC / Isilon Storage Division
Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedafter r298107Summary of changes:- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that na
Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedafter r298107Summary of changes:- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed- Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc- Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously.- Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk- Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk.- Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo- Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup)Document the proposed changes in share/examples/tests/tests/... via examplesso it's clear that ${PACKAGES}FILES is the suggested way forward in terms ofreplacing FILES. share/mk/bsd.README didn't seem like the appropriate methodof communicating that info.MFC after: never probablyX-MFC with: r298107PR: 209114Relnotes: yesTested with: buildworld, installworld, checkworld; buildworld, packageworldSponsored by: EMC / Isilon Storage Division
DIRDEPS_BUILD: Connect MK_TESTS.Sponsored by: EMC / Isilon Storage Division
Avoid adding the '-release' suffix to non-debug kernel packages.Sponsored by: The FreeBSD Foundation
Fix build race after r295643.Sponsored by: EMC / Isilon Storage Division
Fix LDADD/DPADD that should be LIBADD.Sponsored by: EMC / Isilon Storage Division
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andnetbsd-tests.test.mk (r289151)- Eliminate explicit OBJTOP/SRCTOP setting- Convert all ad hoc NetBSD test integration
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andnetbsd-tests.test.mk (r289151)- Eliminate explicit OBJTOP/SRCTOP setting- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk- Remove unnecessary TESTSDIR setting- Use SRCTOP where possible for clarityMFC after: 2 weeksSponsored by: EMC / Isilon Storage Divison
Fix "make checkdpadd" by "spoofing" DPADDApproved by: jmmv (mentor)Phabric: D631PR: 192769
Similar to r269506, fix LIBDIR to not duplicate TESTSDIRPhabric: D536Reviewed by: jmmvApproved by: jmmv (mentor)Sponsored by: EMC / Isilon Storage Division
Remove unnecessary .PATH directiveAll of the sources for the tests are contained in thecurrent working directory and the subdirectoriesPhabric: D537Reviewed by: jmmvApproved by: jmmv (mentor)
Remove unnecessary .PATH directiveAll of the sources for the tests are contained in thecurrent working directory and the subdirectoriesPhabric: D537Reviewed by: jmmvApproved by: jmmv (mentor)Sponsored by: EMC / Isilon Storage Division
Fix BINDIR to not duplicate "${TESTSDIR}This should fix 'make release' with MK_TESTS != noPhabric: D525 (part of a larger patch)Reviewed by: jmmvApproved by: jmmv (co-mentor)
Move a -L argument from LDADD to LDFLAGSPhabric: D525 (part of a larger patch)Reviewed by: jmmvApproved by: jmmv (co-mentor)
Fix a -Wsecurity warning with clangPhabric: D525 (part of a larger patch)Reviewed by: jmmvApproved by: jmmv (co-mentor)
Remove hardcoded path to TESTSDIR (Makefile, ld_library_pathfds.c) atbuild time by using atf_tc_get_config_var(tc, "srcdir"))This will allow end-users to move the binaries to different locationsa
Remove hardcoded path to TESTSDIR (Makefile, ld_library_pathfds.c) atbuild time by using atf_tc_get_config_var(tc, "srcdir"))This will allow end-users to move the binaries to different locationsafter they've been built without having to rebuild the binaries withthe new pathsPhabric: D525 (part of a larger patch)Reviewed by: jmmvApproved by: jmmv (co-mentor)
libpythagoras needs libm.This fixes "make tinderbox" failures on various architectures whenWITH_TESTS=yes is enabled. Problem introduced in r267679.
Test RTLD's new LD_LIBRARY_PATH_FDS variable.Test LD_LIBRARY_PATH_FDS by linking a binary that requires a sharedlibrary that isn't in any of the usual search paths. Ensure this failswhen we don'
Test RTLD's new LD_LIBRARY_PATH_FDS variable.Test LD_LIBRARY_PATH_FDS by linking a binary that requires a sharedlibrary that isn't in any of the usual search paths. Ensure this failswhen we don't supply LD_LIBRARY_PATH_FDS or we pass invalid informationin it. Ensure it works when we pass the correct directory in variousplaces in the variable.Approved by: rwatson (mentor)MFC after: 3 weeksSponsored by: DARPA/AFRL