rspamd can't use hyperscan on 32bit os (i686) even when SSE3 is supported by cpu. # lscpu Architecture: i686 CPU op-mode(s): 32-bit, 64-bit Address sizes: 40 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 6 On-line CPU(s) list: 0-5 Vendor ID: GenuineIntel Model name: Intel Xeon E312xx (Sandy Bridge, IBRS update) CPU family: 6 Model: 42 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 6 Stepping: 1 BogoMIPS: 4987.97 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx pdpe1gb rdtscp lm constant_tsc xtopology cpuid tsc_known_freq pni pclmul qdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx hypervisor lahf_lm cpuid_fault pti ssbd ibrs ibpb stibp tsc_adjust xsaveopt arat umip md_clear Virtualization features: Hypervisor vendor: KVM Virtualization type: full Caches (sum of all): L1d: 192 KiB (6 instances) L1i: 192 KiB (6 instances) L2: 24 MiB (6 instances) L3: 96 MiB (6 instances) Vulnerabilities: Itlb multihit: Processor vulnerable L1tf: Mitigation; PTE Inversion Mds: Mitigation; Clear CPU buffers; SMT Host state unknown Meltdown: Mitigation; PTI Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Spectre v2: Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling Srbds: Not affected Tsx async abort: Not affected rspamd throws in log: cfg; rspamd_config_post_load: CPU doesn't have SSSE3 instructions set required for hyperscan, disable it Reproducible: Always
Created attachment 744678 [details, diff] Support i386 with optimizations Upstream GitHub PR: https://github.com/rspamd/rspamd/pull/3934
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e22b9e780258d9aede2b057cff5e7ab8b9c6af2f commit e22b9e780258d9aede2b057cff5e7ab8b9c6af2f Author: Petr Vaněk <arkamar@atlas.cz> AuthorDate: 2022-11-05 19:20:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-06 06:16:51 +0000 mail-filter/rspamd: drop 3.0-r4, 3.1-r2, 3.2 Issues from two bugs bellow seems to be fixed in more recent versions. Closes: https://bugs.gentoo.org/817866 Closes: https://bugs.gentoo.org/828584 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Sam James <sam@gentoo.org> mail-filter/rspamd/Manifest | 3 - .../files/rspamd-3.0-fix-null-dereference.patch | 46 -------- .../rspamd/files/rspamd-3.0-system-doctest.patch | 72 ------------ .../rspamd/files/rspamd-3.0-system-libfmt.patch | 48 -------- mail-filter/rspamd/rspamd-3.0-r4.ebuild | 128 -------------------- mail-filter/rspamd/rspamd-3.1-r2.ebuild | 128 -------------------- mail-filter/rspamd/rspamd-3.2.ebuild | 129 --------------------- 7 files changed, 554 deletions(-)