Re: rspamd binaries fail with illegal instruction 4:

2019-09-13 Thread Steven Smith
I’m not an expert either, but it looks like it’s related to hyperscan (“ue2::hs_compile_multi_int”). Possibly related: https://github.com/intel/hyperscan/issues/133 I suggest two paths: 1. Poke at hyperscan and see if that’s the problem on this specific architecture. 2. That’s exactly the inf

Re: rspamd binaries fail with illegal instruction 4:

2019-09-12 Thread Horst Simon
Hi Steven, I was finally able to run a test on the failing rspamd, I am not familiar with reading this core dumps and followed the instructions given in the URL, i got following from lldb: lldb `which /opt/local/bin/rspamd` -c /cores/core.89034 (lldb) target create "/opt/local/bin/rspamd" --c

Re: rspamd binaries fail with illegal instruction 4:

2019-09-12 Thread Ryan Schmidt
On Sep 12, 2019, at 14:10, Chris Jones wrote: > It might be interesting to see exactly what cpu capabilities are support on > the build bots. Could you run > > sysctl -a | grep machdep.cpu.features > On them, and post what it gives ? Sure. Snow Leopard i386 FPU VME DE PSE TSC MSR PAE MCE

Re: rspamd binaries fail with illegal instruction 4:

2019-09-12 Thread Chris Jones
Hi, It might be interesting to see exactly what cpu capabilities are support on the build bots. Could you run sysctl -a | grep machdep.cpu.features On them, and post what it gives ? Chris > On 12 Sep 2019, at 7:46 pm, Ryan Schmidt wrote: > > > >> On Sep 9, 2019, at 02:32, Horst Simon wrote:

Re: rspamd binaries fail with illegal instruction 4:

2019-09-12 Thread Ryan Schmidt
On Sep 9, 2019, at 02:32, Horst Simon wrote: > > I installed rspamd on macOS High Sierra Version 10.13.6, it build and > installed oh, but when starting rspamd it fails with illegal instruction 4:, > the same for rspamadm command. Anyone hs this successful running? > I noticed a couple rece

Re: rspamd binaries fail with illegal instruction 4:

2019-09-09 Thread Steven Smith
> AVX was just a guess. Based in the above it could be sse 4.2 that is the > issue. The machine that is failing lacks this (which actually makes that cpu > pretty old I would guess) A core dump is the most efficient diagnostic. It’s fast and easy. The modern macOS instructions are here: https:

Re: rspamd binaries fail with illegal instruction 4:

2019-09-09 Thread Chris Jones
> On 9 Sep 2019, at 11:21 pm, Horst Simon wrote: > > Hi Chris, > > Failing machine output Macbook Pro 13 inch 2010 > machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE > MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 > MON DSCPL VMX SMX E

Re: rspamd binaries fail with illegal instruction 4:

2019-09-09 Thread Horst Simon
Hi Chris, Failing machine output Macbook Pro 13 inch 2010 machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 XSAVE Working machine output Mac

Re: rspamd binaries fail with illegal instruction 4:

2019-09-09 Thread Chris Jones
what does sysctl -a | grep machdep.cpu.features give on the machine with the issues ? Does it list AVX2 ? rspamd was recently (by Steven Smith) given a bit of an overhaul, adding a few new deps and features, see the history of recent commits at https://github.com/macports/macports-ports/co

Re: rspamd binaries fail with illegal instruction 4:

2019-09-09 Thread Horst Simon
I tried a build from source and it showed following for AVX -- Performing Test C_HAS_AVX_1 -- Performing Test C_HAS_AVX_1 - Failed -- Performing Test C_HAS_AVX_2 -- Performing Test C_HAS_AVX_2 - Success -- Performing Test C_HAS_AVX2_1 -- Performing Test C_HAS_AVX2_1 - Failed -- Performing Test C_H

Re: rspamd binaries fail with illegal instruction 4:

2019-09-09 Thread Chris Jones
On 09/09/2019 12:35 pm, Horst Simon wrote: Thanks for the replies, it is a Macbook Pro 2011 i try to run it on, In which case I am going to bet the issue is your machine does not support avx2, which the default build of rspamd apears to be enabling. One easy way to check is to force a bui

Re: rspamd binaries fail with illegal instruction 4:

2019-09-09 Thread Horst Simon
Thanks for the replies, it is a Macbook Pro 2011 i try to run it on, will try the suggestions Horst > Horst Simon > Mobile: +61 414 303-433 > Phone: +61 3 8555-2322 > Email: horst.si...@optusnet.com.au > __ > Please consider your

Re: rspamd binaries fail with illegal instruction 4:

2019-09-09 Thread Chris Jones
The first thing to do is check the buildbot logs, to see if you can work out what CPU feature the builds are enabling, and then proceed from there. https://ports.macports.org/port/rspamd/builds from the 10.13 configure step -- Performing Test HAVE_AVX2_C_COMPILER -- Performing Test HAVE_AV

Re: rspamd binaries fail with illegal instruction 4:

2019-09-09 Thread Chris Jones
On 09/09/2019 11:17 am, Steven Smith wrote: I installed rspamd on macOS High Sierra Version 10.13.6, it build and installed oh, but when starting rspamd it fails with illegal instruction 4:, the same for rspamadm command. Anyone hs this successful running? I have rspamd running flawlessly o

Re: rspamd binaries fail with illegal instruction 4:

2019-09-09 Thread Steven Smith
> I installed rspamd on macOS High Sierra Version 10.13.6, it build and > installed oh, but when starting rspamd it fails with illegal instruction 4:, > the same for rspamadm command. Anyone hs this successful running? I have rspamd running flawlessly on 10.14. I suggest dumping a core and post

rspamd binaries fail with illegal instruction 4:

2019-09-09 Thread Horst Simon
Hi, I installed rspamd on macOS High Sierra Version 10.13.6, it build and installed oh, but when starting rspamd it fails with illegal instruction 4:, the same for rspamadm command. Anyone hs this successful running? Thanks and Regards, Horst Simon Mobile: +61 414 303-433