Hi Michael,
On 06/10/2025 17:33, Michael Tremer wrote:
Hello Adolf,
If you like I can revert this, but I would also be as happy if you just add the
patch:
https://github.com/netwide-assembler/nasm/commit/a65be7d59b6beeffd1447ae662823e926ee1a45a.patch
I have submitted the patch already and I tested it with aarch64 builder and it
built successfully.
Remind me how you get the patch from github. I tried for ages to find a button
somewhere to do that and in the end I had to create my own patch my manually
making the changes and then creating a diff patch file.
Regards,
Adolf.
-Michael
On 6 Oct 2025, at 13:50, Adolf Belka <[email protected]> wrote:
Hi All,
I have found that there was a typo in the nasm-3.00 code that causes
32bit.64bit arm builds to fail. A pull request fix was merged in the nasm git
repo two days ago.
Please revert my patch for the nasm-3.00 update and I will submit a new version
including the new patch fix which I will confirm first bu building with the
aarch64 builder.
Regards,
Adolf.
On 06/10/2025 14:14, IPFire Nightly Builder wrote:
https://nightly.ipfire.org/next/2025-10-06%2010%3A46%3A40%20%2B0000-511ec913/aarch64
commit 511ec9136e981a01f7ca8c88409930ce57b7b7e7
Author: Adolf Belka <[email protected]>
Date: Sun Oct 5 20:18:09 2025 +0200
core199: Ship glib
Signed-off-by: Adolf Belka <[email protected]>
Signed-off-by: Michael Tremer <[email protected]>
https://git.ipfire.org/?p=ipfire-2.x.git;a=shortlog;h=511ec9136e981a01f7ca8c88409930ce57b7b7e7
Packaged toolchain compilation
Building IPFire
stage2 [
1 ][ DONE ]
linux (6.12.41) HEADERS=1 [
20 ][ DONE ]
man-pages (6.14) [
10 ][ DONE ]
glibc (2.42) [
5:37 ][ DONE ]
tzdata (2025b) [
2 ][ DONE ]
cleanup-toolchain [
0 ][ DONE ]
zlib-ng (2.2.5) [
5 ][ DONE ]
zstd (1.5.7) [
2 ][ DONE ]
autoconf (2.72) [
2 ][ DONE ]
autoconf-archive (2024.10.16) [
2 ][ DONE ]
automake (1.18.1) [
3 ][ DONE ]
help2man (1.49.3) [
0 ][ DONE ]
libtool (2.5.4) [
6 ][ DONE ]
binutils (2.45) [
47 ][ DONE ]
gmp (6.3.0) [
30 ][ DONE ]
mpfr (4.2.2) [
17 ][ DONE ]
libmpc (1.3.1) [
5 ][ DONE ]
pkg-config (0.29.2) [
22 ][ DONE ]
libxcrypt (4.4.38) [
16 ][ DONE ]
file (5.45) [
7 ][ DONE ]
gcc (15.2.0) [
5:32 ][ DONE ]
attr (2.5.2) [
4 ][ DONE ]
acl (2.3.2) [
8 ][ DONE ]
sed (4.9) [
27 ][ DONE ]
berkeley (5.3.28) [
25 ][ DONE ]
coreutils (9.7) [
1:13 ][ DONE ]
iana-etc (20250505) [
0 ][ DONE ]
m4 (1.4.20) [
43 ][ DONE ]
bison (3.8.2) [
31 ][ DONE ]
ncurses (6.5) [
29 ][ DONE ]
perl (5.36.0) [
1:49 ][ DONE ]
readline (8.3) [
6 ][ DONE ]
bzip2 (1.0.8) [
1 ][ DONE ]
xz (5.8.1) [
13 ][ DONE ]
lzip (1.25) [
1 ][ DONE ]
pcre (8.45) [
7 ][ DONE ]
pcre2 (10.46) [
7 ][ DONE ]
gettext (0.26) [
3:39 ][ DONE ]
bash (5.3) [
29 ][ DONE ]
diffutils (3.12) [
38 ][ DONE ]
ed (1.22.2) [
1 ][ DONE ]
findutils (4.10.0) [
41 ][ DONE ]
flex (2.6.4) [
9 ][ DONE ]
gawk (5.3.2) [
15 ][ DONE ]
go (1.20.4) [
17 ][ DONE ]
grep (3.12) [
37 ][ DONE ]
groff (1.23.0) [
35 ][ DONE ]
gperf (3.3) [
11 ][ DONE ]
gzip (1.14) [
17 ][ DONE ]
hostname (3.20) [
1 ][ DONE ]
whois (5.6.4) [
0 ][ DONE ]
kbd (2.8.0) [
13 ][ DONE ]
less (679) [
4 ][ DONE ]
procps (4.0.5) [
19 ][ DONE ]
make (4.4.1) [
13 ][ DONE ]
libpipeline (1.5.8) [
20 ][ DONE ]
man (2.13.1) [
56 ][ DONE ]
net-tools (2.10) [
2 ][ DONE ]
patch (2.8) [
22 ][ DONE ]
psmisc (23.7) [
6 ][ DONE ]
shadow (4.18.0) [
14 ][ DONE ]
sysklogd (1.5.1) [
0 ][ DONE ]
sysvinit (3.11) [
1 ][ DONE ]
tar (1.35) [
35 ][ DONE ]
texinfo (7.2) [
37 ][ DONE ]
util-linux (2.41.1) [
32 ][ DONE ]
vim (9.1.1406) [
15 ][ DONE ]
e2fsprogs (1.47.3) [
15 ][ DONE ]
jq (1.8.1) [
9 ][ DONE ]
configroot [
1 ][ DONE ]
initscripts [
1 ][ DONE ]
backup [
0 ][ DONE ]
rust (1.83.0) [
20 ][ DONE ]
openssl (3.5.4) [
3:11 ][ DONE ]
popt (1.19) [
4 ][ DONE ]
libedit (20250104-3.1) [
6 ][ DONE ]
expat (2.7.3) [
6 ][ DONE ]
libffi (3.5.2) [
5 ][ DONE ]
gdbm (1.26) [
11 ][ DONE ]
sqlite (3500400) [
45 ][ DONE ]
python3 (3.10.8) [
52 ][ DONE ]
python3-wheel (0.45.1) [
0 ][ DONE ]
python3-toml (0.10.2) [
1 ][ DONE ]
python3-setuptools (80.9.0) [
2 ][ DONE ]
python3-pyproject2setuppy (22) [
1 ][ DONE ]
python3-packaging (25.0) [
0 ][ DONE ]
python3-pep517 (0.13.0) [
0 ][ DONE ]
python3-build (0.8.0) [
1 ][ DONE ]
python3-install (0.0.3) [
0 ][ DONE ]
python3-urllib3 (1.26.12) [
1 ][ DONE ]
python3-charset-normalizer (2.1.1) [
1 ][ DONE ]
python3-idna (3.4) [
1 ][ DONE ]
python3-certifi (2022.9.24) [
0 ][ DONE ]
python3-requests (2.28.1) [
1 ][ DONE ]
python3-docutils (0.19) [
2 ][ DONE ]
python3-flit (3.7.1) [
1 ][ DONE ]
python3-more_itertools (10.7.0) [
1 ][ DONE ]
ninja (1.12.1) [
4 ][ DONE ]
meson (1.9.0) [
2 ][ DONE ]
pam (1.7.1) [
8 ][ DONE ]
libcap (2.76) [
2 ][ DONE ]
libcap-ng (0.8.5) [
4 ][ DONE ]
libpcap (1.10.5) [
6 ][ DONE ]
ppp (2.5.2) [
17 ][ DONE ]
pptp (1.10.0) [
1 ][ DONE ]
unzip (60) [
2 ][ DONE ]
which (2.23) [
3 ][ DONE ]
bc (1.08.1) [
3 ][ DONE ]
cpio (2.15) [
28 ][ DONE ]
libaio (0.3.113) [
1 ][ DONE ]
freetype (2.14.1) [
5 ][ DONE ]
libmnl (1.0.5) [
2 ][ DONE ]
libnfnetlink (1.0.2) [
2 ][ DONE ]
libnetfilter_queue (1.0.5) [
3 ][ DONE ]
libnetfilter_conntrack (1.1.0) [
4 ][ DONE ]
libnetfilter_cthelper (1.0.1) [
3 ][ DONE ]
libnetfilter_cttimeout (1.0.1) [
3 ][ DONE ]
iptables (1.8.11) [
6 ][ DONE ]
iproute2 (6.17.0) [
21 ][ DONE ]
screen (5.0.1) [
5 ][ DONE ]
elfutils (0.193) [
20 ][ DONE ]
libconfig (1.8.1) [
17 ][ DONE ]
curl (8.16.0) [
34 ][ DONE ]
libarchive (3.8.1) [
27 ][ DONE ]
cmake (4.1.1) [
1:35 ][ DONE ]
json-c (0.18) [
7 ][ DONE ]
tcl (8.6.14) [
30 ][ DONE ]
python3-MarkupSafe (2.1.3) [
0 ][ DONE ]
python3-Jinja2 (3.1.2) [
1 ][ DONE ]
kmod (34.2) [
3 ][ DONE ]
udev (254) [
21 ][ DONE ]
libusb (1.0.29) [
4 ][ DONE ]
mdadm (4.4) [
1 ][ DONE ]
dracut-ng (108) [
2 ][ DONE ]
lvm2 (2.03.35) [
12 ][ DONE ]
multipath-tools (0.8.9) [
1 ][ DONE ]
glib (2.86.0) [
1:45 ][ DONE ]
json-glib (1.10.6) [
5 ][ DONE ]
libgudev (238) [
3 ][ DONE ]
libgpg-error (1.54) [
12 ][ DONE ]
libgcrypt (1.11.2) [
15 ][ DONE ]
libassuan (3.0.1) [
8 ][ DONE ]
nettle (3.10.2) [
10 ][ DONE ]
libsodium (1.0.20) [
13 ][ DONE ]
libevent2 (2.1.12-stable) [
13 ][ DONE ]
apr (1.7.6) [
21 ][ DONE ]
aprutil (1.6.3) [
5 ][ DONE ]
unbound (1.24.0) [
22 ][ DONE ]
libtasn1 (4.20.0) [
16 ][ DONE ]
libunistring (1.3) [
1:07 ][ DONE ]
gnutls (3.8.10) [
1:07 ][ DONE ]
libuv (1.49.2) [
9 ][ DONE ]
liburcu (0.15.1) [
16 ][ DONE ]
bind (9.20.13) [
26 ][ DONE ]
dhcp (4.4.3-P1) [
31 ][ DONE ]
dhcpcd (10.2.4) [
2 ][ DONE ]
boost (1_88_0) [
4:31 ][ DONE ]
linux-atm (2.5.2) [
16 ][ DONE ]
libqmi (1.34.0) [
39 ][ DONE ]
c-ares (1.34.3) [
14 ][ DONE ]
rust-dissimilar (1.0.3) [
1 ][ DONE ]
rust-cfg-if (1.0.0) [
1 ][ DONE ]
rust-libc (0.2.108) [
2 ][ DONE ]
rust-getrandom (0.2.4) [
1 ][ DONE ]
rust-typenum (1.15.0) [
2 ][ DONE ]
rust-version-check (0.9.4) [
2 ][ DONE ]
rust-generic-array (0.14.4) [
2 ][ DONE ]
rust-crypto-common (0.1.1) [
3 ][ DONE ]
rust-cipher (0.3.0) [
3 ][ DONE ]
rust-hex (0.4.3) [
0 ][ DONE ]
rust-unicode-xid (0.2.1) [
1 ][ DONE ]
rust-unicode-ident (1.0.14) [
0 ][ DONE ]
rust-proc-macro2 (1.0.92) [
4 ][ DONE ]
rust-quote (1.0.37) [
3 ][ DONE ]
rust-syn-1.0.109 (1.0.109) [
12 ][ DONE ]
rust-syn (2.0.90) [
12 ][ DONE ]
rust-home (0.5.3) [
1 ][ DONE ]
rust-lazy-static (1.4.0) [
0 ][ DONE ]
rust-memchr (2.7.4) [
2 ][ DONE ]
rust-aho-corasick (0.7.18) [
3 ][ DONE ]
rust-regex-syntax (0.6.25) [
8 ][ DONE ]
rust-regex (1.5.3) [
17 ][ DONE ]
rust-ucd-trie (0.1.3) [
0 ][ DONE ]
rust-pest (2.1.3) [
2 ][ DONE ]
rust-semver-parser (0.7.0) [
1 ][ DONE ]
rust-semver (0.9.0) [
1 ][ DONE ]
rust-same-file (1.0.6) [
1 ][ DONE ]
rust-walkdir (2.3.2) [
1 ][ DONE ]
rust-dirs (1.0.5) [
2 ][ DONE ]
rust-toolchain_find (0.1.4) [
13 ][ DONE ]
rust-serde_derive (1.0.216) [
26 ][ DONE ]
rust-serde (1.0.216) [
5 ][ DONE ]
rust-itoa (1.0.1) [
0 ][ DONE ]
rust-ryu (1.0.9) [
1 ][ DONE ]
rust-serde_json (1.0.133) [
8 ][ DONE ]
rust-synstructure (0.13.1) [
15 ][ DONE ]
rust-block-buffer (0.9.0) [
2 ][ DONE ]
rust-digest (0.9.0) [
3 ][ DONE ]
rust-ppv-lite86 (0.2.16) [
1 ][ DONE ]
rust-rand_core (0.6.3) [
0 ][ DONE ]
rust-rand_core-0.4.2 (0.4.2) [
1 ][ DONE ]
rust-rand_core-0.3.1 (0.3.1) [
0 ][ DONE ]
rust-rand_chacha (0.3.1) [
2 ][ DONE ]
rust-rand_hc (0.3.1) [
1 ][ DONE ]
rust-rand (0.8.4) [
4 ][ DONE ]
rust-rdrand (0.4.0) [
0 ][ DONE ]
rust-rand-0.4 (0.4.6) [
3 ][ DONE ]
rust-log (0.4.14) [
1 ][ DONE ]
rust-num_cpus (1.13.1) [
2 ][ DONE ]
rust-crossbeam-utils (0.8.6) [
1 ][ DONE ]
rust-autocfg (1.0.1) [
1 ][ DONE ]
rust-memoffset (0.6.5) [
2 ][ DONE ]
rust-scopeguard (1.1.0) [
0 ][ DONE ]
rust-crossbeam-epoch (0.9.6) [
2 ][ DONE ]
rust-crossbeam-deque (0.8.1) [
3 ][ DONE ]
rust-either (1.6.1) [
0 ][ DONE ]
rust-crossbeam-channel (0.5.2) [
2 ][ DONE ]
rust-rayon-core (1.9.1) [
4 ][ DONE ]
rust-rayon (1.5.1) [
6 ][ DONE ]
rust-remove_dir_all (0.5.3) [
1 ][ DONE ]
rust-tempdir (0.3.7) [
2 ][ DONE ]
rust-glob (0.3.0) [
2 ][ DONE ]
rust-once_cell (1.9.0) [
0 ][ DONE ]
rust-termcolor (1.1.2) [
1 ][ DONE ]
rust-serde_spanned (0.6.8) [
1 ][ DONE ]
rust-toml_datetime (0.6.8) [
0 ][ DONE ]
rust-equivalent (1.0.1) [
1 ][ DONE ]
rust-allocator-api2 (0.2.21) [
1 ][ DONE ]
rust-foldhash (0.1.3) [
0 ][ DONE ]
rust-hashbrown (0.15.2) [
2 ][ DONE ]
rust-indexmap (2.7.0) [
2 ][ DONE ]
rust-winnow (0.6.20) [
4 ][ DONE ]
rust-toml_edit (0.22.22) [
15 ][ DONE ]
rust-toml (0.8.19) [
18 ][ DONE ]
rust-target-triple (0.1.3) [
0 ][ DONE ]
rust-trybuild (1.0.101) [
46 ][ DONE ]
rust-unindent (0.1.11) [
1 ][ DONE ]
rust-proc-macro-hack (0.5.19) [
3 ][ DONE ]
rust-indoc-impl (0.3.7) [
13 ][ DONE ]
rust-indoc-impl-0.3.6 (0.3.6) [
12 ][ DONE ]
rust-indoc (1.0.3) [
2 ][ DONE ]
rust-indoc-0.3.6 (0.3.6) [
12 ][ DONE ]
rust-instant (0.1.12) [
1 ][ DONE ]
rust-lock_api (0.4.5) [
0 ][ DONE ]
rust-smallvec (1.8.0) [
1 ][ DONE ]
rust-parking_lot_core (0.8.5) [
2 ][ DONE ]
rust-parking_lot (0.11.2) [
2 ][ DONE ]
rust-paste-impl (0.1.18) [
5 ][ DONE ]
rust-paste (1.0.3) [
2 ][ DONE ]
rust-paste-0.1.18 (0.1.18) [
5 ][ DONE ]
rust-ctor (0.2.9) [
23 ][ DONE ]
rust-ghost (0.1.2) [
14 ][ DONE ]
rust-inventory-impl (0.1.11) [
12 ][ DONE ]
rust-inventory (0.3.15) [
1 ][ DONE ]
rust-pyo3-build-config (0.15.2) [
6 ][ DONE ]
rust-pyo3-macros-backend (0.15.2) [
25 ][ DONE ]
rust-pyo3-macros (0.15.2) [
29 ][ DONE ]
rust-pyo3 (0.15.2) [
38 ][ DONE ]
rust-num-traits (0.2.15) [
3 ][ DONE ]
rust-num-integer (0.1.45) [
3 ][ DONE ]
rust-num_threads (0.1.5) [
1 ][ DONE ]
rust-time (0.1.43) [
2 ][ DONE ]
rust-iana-time-zone (0.1.51) [
1 ][ DONE ]
rust-chrono (0.4.22) [
6 ][ DONE ]
rust-asn1_derive (0.12.2) [
16 ][ DONE ]
rust-asn1 (0.12.2) [
17 ][ DONE ]
rust-proc-macro-error-attr (1.0.4) [
5 ][ DONE ]
rust-proc-macro-error (1.0.4) [
5 ][ DONE ]
rust-Inflector (0.11.4) [
13 ][ DONE ]
rust-ouroboros_macro (0.15.5) [
30 ][ DONE ]
rust-aliasable (0.1.3) [
0 ][ DONE ]
rust-stable_deref_trait (1.2.0) [
1 ][ DONE ]
rust-ouroboros (0.15.5) [
29 ][ DONE ]
rust-base64 (0.13.0) [
1 ][ DONE ]
rust-pem (1.1.0) [
1 ][ DONE ]
gdb (16.1) [
1:26 ][ DONE ]
grub (0e36779-bootstrapped) [
1:00 ][ DONE ]
mandoc (1.14.6) [
2 ][ DONE ]
efivar (38) [
2 ][ DONE ]
efibootmgr (18) [
1 ][ DONE ]
p11-kit (0.25.8) [
10 ][ DONE ]
ca-certificates (20250317) [
3 ][ DONE ]
fireinfo (2.2.1) [
13 ][ DONE ]
libnet (1.3) [
5 ][ DONE ]
libnl-3 (3.11.0) [
15 ][ DONE ]
libidn2 (2.3.7) [
15 ][ DONE ]
nasm (3.00) [
12 ][ FAIL ]
In file included from ./include/nasmlib.h:12,
from ./include/nasm.h:15,
from ./include/insns.h:12,
from disasm/ndisasm.c:13:
./include/bytesex.h: In function 'getu32':
./include/bytesex.h:218:12: error: implicit declaration of function
'l32toh'; did you mean 'le32toh'? [-Wimplicit-function-declaration]
218 | return l32toh(((const struct unaligned32 *)p)->v);
| ^~~~~~
| le32toh
make[1]: *** [Makefile:111: disasm/ndisasm.o] Error 1
In file included from ./include/nasmlib.h:12,
from nasmlib/readnum.c:12:
./include/bytesex.h: In function 'getu32':
./include/bytesex.h:218:12: error: implicit declaration of function
'l32toh'; did you mean 'le32toh'? [-Wimplicit-function-declaration]
218 | return l32toh(((const struct unaligned32 *)p)->v);
| ^~~~~~
| le32toh
make[1]: *** [Makefile:111: nasmlib/readnum.o] Error 1
In file included from ./include/nasmlib.h:12,
from ./include/nasm.h:15,
from asm/nasm.c:11:
./include/bytesex.h: In function 'getu32':
./include/bytesex.h:218:12: error: implicit declaration of function
'l32toh'; did you mean 'le32toh'? [-Wimplicit-function-declaration]
218 | return l32toh(((const struct unaligned32 *)p)->v);
| ^~~~~~
| le32toh
make[1]: *** [Makefile:111: asm/nasm.o] Error 1
make[1]: Leaving directory '/usr/src/nasm-3.00'
make: *** [nasm:74: /usr/src/log/nasm-3.00] Error 2
make: Leaving directory '/usr/src/lfs'
ERROR: Building nasm [ FAIL ]
Check /build/nightly/next/log_aarch64/_build.ipfire.log for errors if
applicable[ FAIL ]