Source: yaramod Severity: normal X-Debbugs-Cc: wuruil...@loongson.cn Dear Maintainer,
yaramod compiles incorrectly on loongarch platform, attachment patch resolves the issue. I have verified the patch on loongarch platform and it compiles successfully. Please merge the attached patch. -- System Information: Debian Release: trixie/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: loong64 (loongarch64) Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect
Description: <short summary of the patch> TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . yaramod (3.21.0-1.1) unstable; urgency=medium . * Non-maintainer upload. * Trigger rebuild against Python 3.12 as the default version. * debian/tests/unittest.sh: Bump hardcoded YARAMOD_VERSION to 3.21.0. Author: Boyuan Yang <by...@debian.org> --- The information above should follow the Patch Tagging Guidelines, please checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>) Bug: <upstream-bugtracker-url> Bug-Debian: https://bugs.debian.org/<bugnumber> Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> Forwarded: (no|not-needed|<patch-forwarded-url>) Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>) Reviewed-By: <name and email of someone who approved/reviewed the patch> Last-Update: 2024-09-29 --- yaramod-3.21.0.orig/deps/pybind11/tools/pybind11Common.cmake +++ yaramod-3.21.0/deps/pybind11/tools/pybind11Common.cmake @@ -318,7 +318,7 @@ function(_pybind11_generate_lto target p set(cxx_append ";-fno-fat-lto-objects") endif() - if(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64le" OR CMAKE_SYSTEM_PROCESSOR MATCHES "mips64") + if(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64le" OR CMAKE_SYSTEM_PROCESSOR MATCHES "mips64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "loong64") set(NO_FLTO_ARCH TRUE) else() set(NO_FLTO_ARCH FALSE)