Tobias Nygren writes: > On Fri, 19 Sep 2025 17:18:13 +1000 > matthew green <[email protected]> wrote: > > > i don't recommend using it yet, but if you're keen, you can try builds > > with -V HAVE_GCC=14 and see what happens. > > I did and found one problem not mentioned in the README. > I think is an mknative problem? > GCC on aarch64 generates references to libbid functions which do not > get linked: > > ../aarch64--netbsd/bin/ld: /work/src/../obj/destdir.evbarm/lib/libgcc_s.so: > undefined reference to `__bid_addtd3' > ../aarch64--netbsd/bin/ld: /work/src/../obj/destdir.evbarm/lib/libgcc_s.so: > undefined reference to `__mulbitint3' > ../aarch64--netbsd/bin/ld: /work/src/../obj/destdir.evbarm/lib/libgcc_s.so: > undefined reference to `__bid_adddd3' > > Example is from building GNU flex. > > Digging a bit more the default of --enable-decimal-float was changed > from "no" to "yes" between GCC 12 and 13 and accepts > --enable-decimal-float={no,yes,bid,dpd} > > mknative does not seem to know about libbid but we do set > -DENABLE_DECIMAL_BID_FORMAT for libgcc so I think we need to either > make some changes to mknative for libgcc or rerun mknative w/ > --enable-decimal-float=no.
huh, i can't get libgcc to build with CTF currently. i'll have a look at this, thanks for digging! .mrg.
