tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gcc 16 bootstrap, stage 2 and 3 differ



On Mon, Aug 17, 2026 at 01:22:09PM +0100, Matthew Green wrote:
> matthew green writes:
> > hm, i can't reproduce this on my slightly older -current
> > (april), but recent pkgsrc.  that is a ryzen 3950x.
> >
> > i'll try a newer -current next.
> 
> this one worked too.  fresh -current update on my test box,
> building gcc16 worked.
> 
> i did *not* build a completely fresh pkgsrc, only lang/gcc16
> itself updated, so i'll try a clean fully frseh pkgsrc too.

Well, the package works because of this section in Makefile.common:

.if !empty(PKGSRC_COMPILER:Mclang) || ${OPSYS} == "DragonFly" \
    || ${OPSYS} == "NetBSD"
# GCC 16.1.0's stage2/stage3 bootstrap comparison currently fails on
# NetBSD/x86_64, so disable it. Revisit on updates.
# https://gcc.gnu.org/pipermail/gcc-help/2026-August/145120.html
CONFIGURE_ARGS+=       --disable-bootstrap
.endif

Did you comment out that CONFIGURE_ARGS line when testing?
 Thomas


Home | Main Index | Thread Index | Old Index