Bug#1016628: gcc-12: makes nodejs testsuite fail on mips64el/riscv64 only
Package: gcc-12
Version: 12.1.0-7
Severity: important
X-Debbugs-Cc: YunQiang Su <wzssyqa@gmail.com>
Control: forwarded -1 https://github.com/nodejs/node/issues/44126
Hi,
If nodejs 18.6.0 is built using gcc-12, several tests fail,
but not when built using gcc-11 (all other things being equal).
*Only* on mips64el and riscv64.
In the logs, some new warnings show up, maybe that can help:
https://buildd.debian.org/status/fetch.php?pkg=nodejs&arch=mips64el&ver=18.6.0%2Bdfsg-4&stamp=1659454899&raw=0
in particular:
/usr/include/c++/12/bits/atomic_base.h:488:31: warning: ‘long unsigned int __atomic_load_8(const volatile void*, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
488 | return __atomic_load_n(&_M_i, int(__m));
Jérémy
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.18.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gcc-12 depends on:
ii binutils 2.38.90.20220713-2
ii cpp-12 12.1.0-7
ii gcc-12-base 12.1.0-7
ii libc6 2.33-8
ii libcc1-0 12.1.0-7
ii libgcc-12-dev 12.1.0-7
ii libgcc-s1 12.1.0-7
ii libgmp10 2:6.2.1+dfsg1-1
ii libisl23 0.25-1
ii libmpc3 1.2.1-2
ii libmpfr6 4.1.0-3
ii libstdc++6 12.1.0-7
ii libzstd1 1.5.2+dfsg-1
ii zlib1g 1:1.2.11.dfsg-4
Versions of packages gcc-12 recommends:
ii libc6-dev 2.33-8
Versions of packages gcc-12 suggests:
pn gcc-12-doc <none>
pn gcc-12-locales <none>
pn gcc-12-multilib <none>
-- no debconf information
Reply to: