Your message dated Tue, 09 Sep 2025 17:34:28 +0000 with message-id <E1uw2Ee-002Tzv-1K@fasolo.debian.org> and subject line Bug#1114747: fixed in ggml 0.0~git20250712.d62df60-5 has caused the Debian Bug report #1114747, regarding ggml: please disable vector instructions on riscv64 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 owner@bugs.debian.org immediately.) -- 1114747: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114747 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: ggml: please disable vector instructions on riscv64
- From: Aurelien Jarno <aurel32@debian.org>
- Date: Tue, 09 Sep 2025 06:43:40 +0200
- Message-id: <[🔎] 175739302019.1633860.2663620547928923802.reportbug@ohm.local>
Source: ggml Version: 0.0~git20250712.d62df60-4 Severity: important X-Debbugs-Cc: debian-riscv@lists.debian.org User: debian-riscv@lists.debian.org Usertags: riscv64 Control: affects -1 llama.cpp Dear maintainer, ggml enables vector instructions by default on riscv64. This is currently not part of the ISA baseline in Debian and the build daemons do not have support for them. This causes an autopkgtest failure: | 178s autopkgtest [03:26:52]: test libggml0-backend-blas: /usr/libexec/ggml/runtests | 178s autopkgtest [03:26:52]: test libggml0-backend-blas: [----------------------- | 179s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) | 179s load_backend: loaded BLAS backend from /usr/lib/riscv64-linux-gnu/ggml/backends0/libggml-blas.so | 179s load_backend: loaded CPU backend from /usr/lib/riscv64-linux-gnu/ggml/backends0/libggml-cpu.so | 179s Illegal instruction This also causes llama.cpp to FTBFS. The patch below disables vector instructions on riscv64 and fix the issues: --- ggml-0.0~git20250712.d62df60/debian/rules +++ ggml-0.0~git20250712.d62df60/debian/rules @@ -46,6 +46,11 @@ endif endif +# Do not enable vector instructions on riscv64, not part of the baseline +ifeq ($(DEB_HOST_ARCH),riscv64) +CMAKE_OPTS += -DGGML_RVV=OFF +endif + endif # pkg.ggml.cuda Regards Aurelien
--- End Message ---
--- Begin Message ---
- To: 1114747-close@bugs.debian.org
- Subject: Bug#1114747: fixed in ggml 0.0~git20250712.d62df60-5
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Tue, 09 Sep 2025 17:34:28 +0000
- Message-id: <E1uw2Ee-002Tzv-1K@fasolo.debian.org>
- Reply-to: Christian Kastner <ckk@debian.org>
Source: ggml Source-Version: 0.0~git20250712.d62df60-5 Done: Christian Kastner <ckk@debian.org> We believe that the bug you reported is fixed in the latest version of ggml, 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 1114747@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Christian Kastner <ckk@debian.org> (supplier of updated ggml 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 ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Tue, 09 Sep 2025 19:17:03 +0200 Source: ggml Architecture: source Version: 0.0~git20250712.d62df60-5 Distribution: unstable Urgency: medium Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org> Changed-By: Christian Kastner <ckk@debian.org> Closes: 1114747 Changes: ggml (0.0~git20250712.d62df60-5) unstable; urgency=medium . * For architectures that don't yet support GGML_CPU_ALL_VARIANTS, disable all features not supported by our baseline spec. Thanks to Aurelien for the pointer. (Closes: #1114747) Checksums-Sha1: 7553c94533571dc0fff32355b03a9e931238ae39 3411 ggml_0.0~git20250712.d62df60-5.dsc 82e3c19e4e7a26f65ac0122007fc309b21d9b353 11740 ggml_0.0~git20250712.d62df60-5.debian.tar.xz 616ce062f8a691baa059cd9adac74eb2b741028f 6423 ggml_0.0~git20250712.d62df60-5_source.buildinfo Checksums-Sha256: c12c89dd88e51ee6d72cc205809e63d72ee47ef5fcc1e8069aea501293f2650b 3411 ggml_0.0~git20250712.d62df60-5.dsc dcd3fca117e1b193133e099ae0bc33597bac21bc002cc0a27bf32dcc356dc4d8 11740 ggml_0.0~git20250712.d62df60-5.debian.tar.xz 018c48d707911e3668ea73a0a856875f67a731ced0044b4b3221de156defd80a 6423 ggml_0.0~git20250712.d62df60-5_source.buildinfo Files: d2aed2bc1d937c984d0a608ecef45452 3411 libs optional ggml_0.0~git20250712.d62df60-5.dsc c9c5931f6b75359c02cee05ffa1493c0 11740 libs optional ggml_0.0~git20250712.d62df60-5.debian.tar.xz ec25b3ea88e3b251717a6296e1daf322 6423 libs optional ggml_0.0~git20250712.d62df60-5_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEQZ9+mkfDq5UZ8bCjOZU6N95Os2sFAmjAYZcACgkQOZU6N95O s2vTLRAAqh4s49FvUIhlowWzU1Gc5LOuun3qnGQ9zi6esTQjX4erTxzZBKXTAmXz UAcVgg/KXInFuGUFrl8eI+mtUFfKXLxrCBJEMwHXB9RLLWETn5WOa1WsT9l+ikPW ObLfa0hPIgGTWQLuKWmsH5iO4p1HTe1PPURI6cKeh6Lf+gPOMgQK0XRjUE8Jwyg0 QJlDb2s0WZbYk480jiFf3tXwlvGu3Da7KSTNLMznPvoC3lO+lyVqTLrs20rAt0ge yh6+IosyQs8C38m0ZcOAmQRj9h280pMth5UyfhblWIHgd4++E+qRF+trw9EfhWqO qYvdqNkeCZRipTC6+oiYwE54hRMx329kwWKuuT6zkWftlN70E4qK6Kxk3R4E97wv adVU2H8HeDd3l66Wtjn7m3hXLxCTk9WCT6X4qdXSFkg+16lYx5lzss5Rk85Ll2tO 0zQ9jBxZ4VDg6w0Z+skx1YkZewZtdsSRVA9Z+SZNXTCeqsT2mzD/4mUfRrbIogSq Rb5wdBPx/8CtI9jV15I/i+Nt6cP378TlKzM+aeIlQCy8UmMDemaNBkx1bu43QPDf nYuTVCSAhIw9WxzabBKiJMfGHwHbz0oUBBhpLFiyQ7+8f8gdKJFU+izkVZ0gadAy iajFRqpSNaQ1LXHRFsUbmk8AVaFkVirf0njbgFYLuhp3ZGGRcoo= =w7uU -----END PGP SIGNATURE-----Attachment: pgpAvwZAZkezi.pgp
Description: PGP signature
--- End Message ---