Your message dated Sun, 24 Aug 2025 16:05:03 +0000
with message-id <[email protected]>
and subject line Bug#1111616: fixed in libuv1 1.51.0-2
has caused the Debian Bug report #1111616,
regarding libuv1: Please include patch to disable io_uring on sh4
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1111616: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1111616
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libuv1
Version: 1.50.0-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: sh4
X-Debbugs-Cc: [email protected]
Hello,
on sh4, libuv1 with io_uring support enabled often causes cmake to crash [1]:
-- Performing Test C_COMPILER_SUPPORTS_-Werror__undefined-inline
-- Performing Test C_COMPILER_SUPPORTS_-Werror__undefined-inline - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Werror__undefined-internal
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
dh_auto_configure: error: cd build-soup3 && DEB_PYTHON_INSTALL_LAYOUT=deb
PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON
-DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON
-DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run
-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON -GNinja -DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_INSTALL_LIBDIR=lib/sh4-linux-gnu -DBUILD_TESTING:BOOL=OFF -DPORT=GTK
-DCMAKE_INSTALL_LIBEXECDIR=lib/sh4-linux-gnu -DCMAKE_C_FLAGS_RELEASE=
-DCMAKE_C_FLAGS_DEBUG= -DCMAKE_CXX_FLAGS_RELEASE= -DCMAKE_CXX_FLAGS_DEBUG=
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DUSE_LIBBACKTRACE=OFF
-DENABLE_MINIBROWSER=ON -DUSE_SYSPROF_CAPTURE=ON -DFORCE_32BIT=ON
-DDEBUG_FISSION=OFF -DENABLE_DOCUMENTATION=OFF -DCMAKE_BUILD_TYPE=Release
-DENABLE_BUBBLEWRAP_SANDBOX=OFF -DUSE_SOUP2=OFF -DUSE_GTK4=OFF
-DENABLE_WEBDRIVER=ON -DENABLE_DOCUMENTATION=OFF .. died with signal 11
make[1]: *** [debian/rules:313: override_dh_auto_configure] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:253: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit
status 2
This can be worked around by just disabling io_uring support on sh4:
--- libuv1-1.50.0.orig/src/unix/linux.c
+++ libuv1-1.50.0/src/unix/linux.c
@@ -470,6 +470,8 @@ static int uv__use_io_uring(uint32_t fla
#elif defined(__powerpc64__) || defined(__ppc64__)
/* See https://github.com/libuv/libuv/issues/4283. */
return 0; /* Random SIGSEGV in signal handler. */
+#elif defined(__sh__)
+ return 0;
#else
/* Ternary: unknown=0, yes=1, no=-1 */
static _Atomic int use_io_uring;
Thus, could you please include this patch for the next libuv1 to fix these
crashes?
Thanks,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--- libuv1-1.50.0.orig/src/unix/linux.c
+++ libuv1-1.50.0/src/unix/linux.c
@@ -470,6 +470,8 @@ static int uv__use_io_uring(uint32_t fla
#elif defined(__powerpc64__) || defined(__ppc64__)
/* See https://github.com/libuv/libuv/issues/4283. */
return 0; /* Random SIGSEGV in signal handler. */
+#elif defined(__sh__)
+ return 0;
#else
/* Ternary: unknown=0, yes=1, no=-1 */
static _Atomic int use_io_uring;
--- End Message ---
--- Begin Message ---
Source: libuv1
Source-Version: 1.51.0-2
Done: Jérémy Lal <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libuv1, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jérémy Lal <[email protected]> (supplier of updated libuv1 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 24 Aug 2025 17:48:29 +0200
Source: libuv1
Architecture: source
Version: 1.51.0-2
Distribution: unstable
Urgency: medium
Maintainer: Dominique Dumont <[email protected]>
Changed-By: Jérémy Lal <[email protected]>
Closes: 1111616
Changes:
libuv1 (1.51.0-2) unstable; urgency=medium
.
[ Dominique Dumont ]
* control: add kapouer as uploader, rm lucab
.
[ Jérémy Lal ]
* Release to unstable.
* patch: disable io_uring on sh4. Closes: #1111616.
Checksums-Sha1:
2e9ee6374b36acdb39792383a2a01758c286786d 2141 libuv1_1.51.0-2.dsc
35d25ca2260ab9befcdec19af030b999b018d6a6 22740 libuv1_1.51.0-2.debian.tar.xz
5f0715763b34d18dba3bbbc9d3284f876593cd13 7657 libuv1_1.51.0-2_source.buildinfo
Checksums-Sha256:
5251c1d4179fb832f8140b66011b5e4a859a7efbcdc17b09ec39b46768233bfd 2141
libuv1_1.51.0-2.dsc
e1e0b5b823a7ad74b2c1812a554443e8ec4da823f98e8106c9e270d9b45f98f2 22740
libuv1_1.51.0-2.debian.tar.xz
3171cf3c1e506628280e015c2642f05a1a9413d7d0babc7c49b3a0de44df8a39 7657
libuv1_1.51.0-2_source.buildinfo
Files:
8ef9ec989bd036fd86a6f0230ad8eccb 2141 libs optional libuv1_1.51.0-2.dsc
edb81463a9c6feac7cf0d427b2fe06d6 22740 libs optional
libuv1_1.51.0-2.debian.tar.xz
3d12772ed3b350c7cd244683064a4932 7657 libs optional
libuv1_1.51.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCAAwFiEEA8Tnq7iA9SQwbkgVZhHAXt0583QFAmirNJsSHGthcG91ZXJA
bWVsaXgub3JnAAoJEGYRwF7dOfN0IS0P/0DvAN8ZIwrk4udyjUb7QkJOmOFgHCa8
CXhd6sRp32eRvlJXjUDBDMQVRQd+HZcZoU0t5mwki/b7JO8E/56RbL8IBaJiWf9i
IOUe0Yaa2+orMswtvu2dPC7TOmahqjVomX06aijSVc1JjDhd8nx0yCGUrNfVKmmy
A4bfShsMF6aGyk7CDw/ZvbiJ2Pqz5Wi5mAvBJWkKr88l0SSrHBq1XTzoyvzMp8TR
33IGiAqLM8tdtQFk43yIayTno/PHiaDO/41kAqHxPbKBOeztR49e6r8uwUEowvuV
H8dCzAtO9gwwxLOj/dTigqVRkSFKvLFjprjGmCGE/dmHaid6k1+oZdzDUlrWEJZ2
9YiKuRxCnG1EM/F/ExD26FmtixQZkO6mXTOYWBflhZI92nn0MiL7xUjkjIRmSdyP
Jbi8MmYvu2lTTonq/+ZzPvt7bvV0PBYT9PBhOevcVPMoNWD1CCKCdJA6a5t5kXac
EslGP/3yFN9IaHGNnB+2bM+DUzyryp3/XARYeVePLLafro4tpojt13xUB+EtqUVw
sUTScx9TKZBRhF/IHpnnlpfVcDfCMtniw/v8OxqfKYt+Cjbn6EwpIcoiNfvH0+4E
sZizPJGPHibKBaE9FOloS9yrbAy5KfH1USlbiTEAjBv2z0gb7uIrpk3qXFkUeFC8
tU1eUtiQC5Iw
=OIlE
-----END PGP SIGNATURE-----
pgpLaYblpXscz.pgp
Description: PGP signature
--- End Message ---