Rework check for libclang_rt to see if the needed library exists.Currently libclang_rt is not provided for cross-building and as suchis not connected to cross-tools. For building clang once in un
Rework check for libclang_rt to see if the needed library exists.Currently libclang_rt is not provided for cross-building and as suchis not connected to cross-tools. For building clang once in universeit is likely that libclang_rt won't exist for the universe toolchainbut even if it did it would not support anything but the native arch.So explicitly check for support before enabling h_raw.MFC after: 1 weekReviewed by: dimSponsored by: Dell EMCDifferential Revision: https://reviews.freebsd.org/D16012
show more ...
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
This commit addresses regression introduceded in r302177(WITH_SYSTEM_COMPILER: Enable by default) and it's prerequisite: r300354,caused i386 builds to fail when cross-built on an amd64 host.Revie
This commit addresses regression introduceded in r302177(WITH_SYSTEM_COMPILER: Enable by default) and it's prerequisite: r300354,caused i386 builds to fail when cross-built on an amd64 host.Reviewed by: bdrewery, delphij, gjbApproved by: re (gjb)
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
WITHOUT_TOOLCHAIN: Skip building of h_raw.-fsanitize does not seem to work when a --sysroot is specified and thereis no <sysroot>/usr/lib/clang/3.8.0/lib/freebsd/libclang_rt.ubsan_standalone-*.a.
WITHOUT_TOOLCHAIN: Skip building of h_raw.-fsanitize does not seem to work when a --sysroot is specified and thereis no <sysroot>/usr/lib/clang/3.8.0/lib/freebsd/libclang_rt.ubsan_standalone-*.a.Sponsored 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 regression in r291738: This really wants -lssp.The normal LIBADD is ssp_nonshared. This also had a DPADD on LIBSSP whichdoes not actually exist, it is blank.Sponsored by: EMC / Isilon Stora
Fix regression in r291738: This really wants -lssp.The normal LIBADD is ssp_nonshared. This also had a DPADD on LIBSSP whichdoes not actually exist, it is blank.Sponsored by: EMC / Isilon Storage Division
Fix LDADD/DPADD that should be LIBADD.Sponsored by: EMC / Isilon Storage Division
Not all targets support by clang have a tested or enabled ubsan yet.Only enable h_raw on x86 targets for today so that a buildworld runs tocompletion for clang enabled targets that are not x86. T
Not all targets support by clang have a tested or enabled ubsan yet.Only enable h_raw on x86 targets for today so that a buildworld runs tocompletion for clang enabled targets that are not x86. This should beremoved when validation of the sanitizer has occured for all targetssupported by FreeBSD and clang.
Disable h_raw/h_read with gccI forgot that these testcases fail with gcc 4.2.1; add a note to that effectMFC after: neverSponsored by: EMC / Isilon Storage Division
- Re-enable h_raw with clang 3.7.0+- Fix the compiler check to allow the test to be compiled for gccPR: 196430MFC after: neverSponsored 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
Don't install h_raw if dealing with clang 3.5.0+ to unbreak the tests2 JenkinsjobThe h_raw application doesn't do proper bounds checking without the optionbeing supplied via the build, which mean
Don't install h_raw if dealing with clang 3.5.0+ to unbreak the tests2 JenkinsjobThe h_raw application doesn't do proper bounds checking without the optionbeing supplied via the build, which means that it doesn't throw signals andfail as expectedPR: 196430X-MFC with: r276479
For now, disable using -fsanitize=bounds for the libc ssp tests, whenusing clang 3.5.0, until the runtime support (via compiler-rt) is added.Otherwise, this would lead to link errors about missing
For now, disable using -fsanitize=bounds for the libc ssp tests, whenusing clang 3.5.0, until the runtime support (via compiler-rt) is added.Otherwise, this would lead to link errors about missing supportlibraries.
Add reachover Makefiles for contrib/netbsd-tests/lib/libc; this adds approximately500 new testcasesVarious TODOs have been sprinkled around the Makefiles for items that even needto be ported (mis
Add reachover Makefiles for contrib/netbsd-tests/lib/libc; this adds approximately500 new testcasesVarious TODOs have been sprinkled around the Makefiles for items that even needto be ported (missing features), testcases have issues with building/linking, orissues at runtime.A variant of this code has been tested extensively on amd64 and i38610-STABLE/11-CURRENT for several months without issue. It builds on otherarchitectures, but the code will remain off until I have prove it works onvirtual hardware or real hardware on other architecturesIn collaboration with: pho, Casey Peel <[email protected]>Sponsored by: EMC / Isilon Storage Division