NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Building NetBSD 11 Release from Source Fails on Linux/MacOS
On Wed, 4 Nov 2026, Helge Pfeiffer wrote:
Therefore, I believe there is something wrong with the cross-build chain, I guess I stumbled on a bug.
My questions are:
a) Is there somebody on the mailing list who can build NetBSD 11 from source on a host OS that is not NetBSD or FreeBSD?
The full release build of the latest netbsd-11 hasn't completed yet, but libgmp
has already been built:
```
--- sqr_diag_addlsh1.s ---
/home/rvp/netbsd-11/tools/bin/nbm4 -DCONFIG_TOP_SRCDIR=/home/rvp/netbsd-11/src/external/lgpl3/gmp/lib/libgmp/../../dist -I/home/rvp/netbsd-11/src/external/lgpl3/gmp/lib/libgmp -I/home/rvp/netbsd-11/obj/external/lgpl3/gmp/lib/libgmp/dummy -I/home/rvp/netbsd-11/src/external/lgpl3/gmp/lib/libgmp/../../dist/ -I/home/rvp/netbsd-11/src/external/lgpl3/gmp/lib/libgmp/../../dist/mpn -I/home/rvp/netbsd-11/obj/external/lgpl3/gmp/lib/libgmp -DPIC -DOPERATION_sqr_diag_addlsh1 /home/rvp/netbsd-11/src/external/lgpl3/gmp/lib/libgmp/../../dist/mpn/x86_64/sqr_diag_addlsh1.asm > sqr_diag_addlsh1.s
```
This is on Ubuntu 26.04.1 LTS.
Host env./tools:
```
$ uname -a
Linux CoreBook 7.0.0-42-generic #42-Ubuntu SMP PREEMPT_DYNAMIC Thu Oct 15 08:06:44 UTC 2026 x86_64 GNU/Linux
$ cc --version
cc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
Copyright (C) 2025 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.
$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.46
Copyright (C) 2026 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public Licence version 3 or (at your option) a later version.
This program has absolutely no warranty.
$ /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 --version
ld.so (Ubuntu GLIBC 2.43-2ubuntu2.4) stable release version 2.43.
Copyright (C) 2026 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.
```
Does your Linux use glibc or musl?
-RVP
Home |
Main Index |
Thread Index |
Old Index