sys/atomic.h: Nix const qualifiers on temporaries added in previous.
The temporaries aren't modified, so in principle const is correct,
but on some ports (notably, sparc) we pass pointers to them through
__UNVOLATILE which objects to the const qualifier:
> In file included from /home/source/ab/HEAD/src/lib/librump/../../sys/rump/librump/rumpkern/sleepq.c:28:
> /home/source/ab/HEAD/src/lib/librump/../../sys/rump/librump/rumpkern/sleepq.c: In function 'lwp_unlock_to':
> /home/source/ab/HEAD/src/lib/librump/../../sys/rump/../sys/cdefs.h:202:49: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual]
> 202 | #define __UNVOLATILE(a) ((void *)(unsigned long)(volatile void *)(a))
> | ^
> /home/source/ab/HEAD/src/lib/librump/../../sys/rump/../sys/atomic.h:448:30: note: in expansion of macro '__UNVOLATILE'
> 448 | __do_atomic_store(p, __UNVOLATILE(&v), sizeof(v))
> | ^~~~~~~~~~~~
> /home/source/ab/HEAD/src/lib/librump/../../sys/rump/../sys/atomic.h:495:9: note: in expansion of macro '__DO_ATOMIC_STORE'
> 495 | __DO_ATOMIC_STORE(__as_ptr, __as_val); \
> | ^~~~~~~~~~~~~~~~~
> /home/source/ab/HEAD/src/lib/librump/../../sys/rump/librump/rumpkern/sleepq.c:187:9: note: in expansion of macro 'atomic_store_release'
> 187 | atomic_store_release(&l->l_mutex, new);
[4 lines not shown]
Improve metadata fetching to work more reliably across
IPv4-only, IPv6-only, and dual-stack instances.
AWS does not by default enable the metadata service on
IPv6; you have to specify '--metadata-options "HttpProtocolIpv6=enabled"'.
Without this, even a dual-stack instance can't fetch
metadata from the IPv6 endpoint.
In addition, reaching the metadata service takes some
time, so we can't trivially check for network
readiness and instead need to actually try to fetch a
file. Ok.
While here, don't overwrite a hostname that is set
from /etc/rc.conf and only set the hostname if
otherwise unset.
Import elftoolchain revision [r4324] (previous was [r4037]).
Changes since the previous vendor import.
common/
- Add/update the sets of symbols defined by recent psABI revisions
for: Aarch64, Alpha, AMD64, SPARC, ARM, IA64, M68K, MIPS, MIPS64,
OpenRisc, PARISC, PPC, PPC64, RISC-V, S390, and SuperH.
- Add support for the LoongArch architecture.
- Add symbols in v4.3-DRAFT of the ELF Generic ABI definition.
- Improve compatibility with NetBSD's set of ELF definitions.
libelf/
- Address Coverity Scan reports.
- Bug fix ar(1) header parsing.
- Manual page fixes.
libdwarf/
- Address Coverity Scan reports.
- Support for the DWARF5 ".debug_str_offsets" section (ticket #620).
- Support LoongArch.
- Manual page fixes.
bulk-test-boost: Add missing packages
gnuradio-uhd and gr-osmosdr were previously not included. At least
gnuradio-uhd is recently broken, apparently by the latest boost
update.
sys/atomic.h: Avoid needless stack spillage with typeof_unqual.
Using typeof_unqual strips the volatile qualifier on the local
temporaries, so the compiler doesn't issue store/load cycles for
access to them.
PR kern/60272: sys/atomic.h: unnecessary stack spillage
g-golf: Update to 0.8.7
Note that the gtk4 dependency is beyond what pkgsrc provides. But
this is wip!
** May 2026
*** Noteworthy changes in 0.8.7
**** API missing fix
***** Adding the missing g-value-set-variant api
** May 2026
*** Noteworthy changes in 0.8.6
**** Dependencies
[21 lines not shown]
mk/locking.mk: simplify sanity check
The .for loop made the code unnecessarily difficult to read and more
expensive to execute.
While here, use full pathnames in the error messages.