https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122625
--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #2) > (In reply to d7d1cd from comment #0) > > doesn't occur on versions 14.2 - 15.2. > > The span::__v variable template is only present on trunk, so that's not > surprising. Actually that's not true, it's on the gcc-15 branch too, and https://bugzilla.redhat.com/show_bug.cgi?id=2416560 shows the linker error can happen with 15.2.1 as well. So it's good that the fix has been backported already!
