On Wed, 4 Nov 2026, RVP wrote:
The full release build of the latest netbsd-11 hasn't completed yet, but libgmp has already been built:
A `release' build on Ubuntu 26.04.1 completed successfully. I did the same on Pop!_OS 22.04 in QEMU, and that too compiled GMP successfully, but, the build didn't complete due to lack of space. Pop!_OS details: ``` $ cat /etc/lsb-release DISTRIB_ID=Pop DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Pop!_OS 22.04 LTS" $ uname -a Linux pop-os 6.16.3-76061603-generic #202508231538~1758561135~22.04~171c8de SMP PREEMPT_DYNAMIC Mon S x86_64 x86_64 x86_64 GNU/Linux $ cc --version cc (Ubuntu 11.4.0-1ubuntu1~22.04.2) 11.4.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 --version ld.so (Ubuntu GLIBC 2.35-0ubuntu3.11) stable release version 2.35. Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ ``` You wrote on Tue, 3 Nov 2026:
@Greg, after building the tools, I have the same two `config.m4` files in the tools dir: ``` $ find /home/user/workspace/netbsd-11-obj/ -name config.m4 /home/user/workspace/netbsd-11-obj/external/lgpl3/gmp/lib/libgmp/config.m4 /home/user/workspace/netbsd-11-obj/tools/gmp/build/config.m4
``` The 2nd config.m4 is created by configure during the tools build phase. The 1st is copied from the pre-generated files in the source, as martin@ pointed out: ``` rm -f /home/user/workspace/netbsd-11-obj/external/lgpl3/gmp/lib/libgmp/config.m4 && cp /home/user/workspace/netbsd-11-src/external/lgpl3/gmp/lib/libgmp/arch/x86_64/config.m4 \ /home/user/workspace/netbsd-11-obj/external/lgpl3/gmp/lib/libgmp/config.m4 ``` Can you: 1. check if `netbsd-11-src/external/lgpl3/gmp/lib/libgmp/arch/x86_64/config.m4' and `netbsd-11-obj/external/lgpl3/gmp/lib/libgmp/config.m4' are the same? 2. cat(1) `netbsd-11-obj/tools/gmp/build/config.m4'? 3. retry after wiping the object dir? -RVP
