rust194: for now don't make "known target in 'unknown' list" fatal.
The "m68k-unknown-netbsd" entry may be in that list for a while,
until upstream LLVM is fixed to not only emit 16-bit PC-relative
relocations, which are ... inadequate for rust.
This should get rid of this as a fatal error if you need to rebuild
newer rust compilers using older pkgsrc rust compilers, which have
since 1.93 made m68k-unknown-netbsd a "known" target.
lint: don't rely on the floating point rounding mode
When checking whether a floating point constant can be converted to an
integer constant with the same value, ULLONG_MAX is not representable
exactly in a 64-bit long double, so the comparison value could have been
rounded down, leading to wrong warnings about lossy conversions.
Perform exact calculations instead.
scamper: Update net/scamper to 20260331
* add initial implementation of RFC 4656 OWAMP. the implementation is
functional but incomplete, and all owamp interfaces (e.g., warts,
json, command line interface, python interface, and the
implementation itself) are subject to change.
* document current owamp command line interface in scamper man page.
* remove unused scamper_privsep_open_udp and scamper_privsep_open_tcp.
* print out monitor field -- the name of the system that did the
measurement -- in all json objects. previously, only "trace" and
"tracelb" measurements printed that field.
* do not leak IP4 raw sockets, triggered with use of -O raw in ping
and trace.
* trace: add -O back to conduct traceroutes with decreasing TTL values.
this requires use of -m ttl option.
* trace: when -N > 1 is used on a path with a loop, update json to
show path until loop condition was met, rather than on the first
occurrence of an address involved in a loop.
* trace: emit traceroute flags in json output.
[88 lines not shown]
lint: remove temporary code to identify floating point bug
On sparc64, SoftFloat 2a invoked undefined behavior, returning wrong
results. The code added here didn't trigger, as the ATF_SH environment
variable was not set in the real test run.
See tests/lib/libc/t_long_double.c for more specialized tests to
pinpoint the exact problem.
tests/libc: clean up test for long double
Previously, the test had invoked undefined behavior when converting long
double to uint64_t, by using input values outside the portable range.
Explicitly mark this part of the test and make it easy to disable.