<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">I tried a build from source and it showed following for AVX</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">-- Performing Test C_HAS_AVX_1</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-- Performing Test C_HAS_AVX_1 - Failed</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-- Performing Test C_HAS_AVX_2</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-- Performing Test C_HAS_AVX_2 - Success</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-- Performing Test C_HAS_AVX2_1</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-- Performing Test C_HAS_AVX2_1 - Failed</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-- Performing Test C_HAS_AVX2_2</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-- Performing Test C_HAS_AVX2_2 - Success</span></div></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Will download the tar file and try with AVX disabled. I tried it on my iMac 2017 macOS 10.14.6 and it works fine on this one.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">Regards,</span></div><div class="">
<div><div class="" style="font-size: 12pt; margin: 0cm 0cm 0.0001pt; font-family: "Times New Roman", serif;"><span class="" style="font-size: 9pt; font-family: Arial, sans-serif;"><b class="">Horst Simon</b></span></div><div class="" style="font-size: 12pt; margin: 0cm 0cm 0.0001pt; font-family: "Times New Roman", serif;"><br class=""></div></div></div><div><blockquote type="cite" class=""><div class="">On 09 Sep 2019, at 21:47, Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class="">On 09/09/2019 12:35 pm, Horst Simon wrote:<br class=""><blockquote type="cite" class="">Thanks for the replies, it is a Macbook Pro 2011 i try to run it on, <br class=""></blockquote><br class="">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.<br class=""><br class="">One easy way to check is to force a build from source, and see what that does. The build should then detect what the build machine, your machine, supports and thus disable what is causing the problem.<br class=""><br class="">If that works, then please file a ticket at<br class=""><br class=""><a href="https://trac.macports.org/wiki/Tickets" class="">https://trac.macports.org/wiki/Tickets</a><br class=""><br class="">asking the maintainer or spamd to address the issue, by disabling the automatic CPU capabilities detection in the default builds.<br class=""><br class="">cheers Chris<br class=""><br class=""><br class=""><blockquote type="cite" class="">will try the suggestions<br class="">Horst<br class=""><blockquote type="cite" class="">*Horst Simon*<br class="">Mobile: +61 414 303-433 <tel:+61%20414%20303-433><br class="">Phone: +61 3 8555-2322 <tel:+61%203%208555-2322><br class="">Email: horst.simon@optusnet.com.au <mailto:horst.simopn@optusnet.com.au><br class="">______________________________________________________________________<br class="">Please consider your environmental<br class="">responsibility before printing this email.<br class=""><br class="">This message (including any attachments) is intended only for the use of the individual or entity<br class="">to which it is addressed and may contain information that is non-public, proprietary, privileged,<br class="">confidential, and exempt from disclosure under applicable law or may constitute as attorney work<br class="">product. If you are not the intended recipient, you are hereby notified that any use, dissemination,<br class="">distribution, or copying of this communication is strictly prohibited. If you have received this<br class="">communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile<br class="">or (ii) delete this message immediately if this is an electronic communication.<br class=""></blockquote>On 9 Sep 2019, at 20:57, Chris Jones <jonesc@hep.phy.cam.ac.uk <mailto:jonesc@hep.phy.cam.ac.uk>> wrote:<br class=""><blockquote type="cite" class=""><br class=""><blockquote type="cite" class="">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.<br class="">https://ports.macports.org/port/rspamd/builds<br class=""></blockquote><br class="">from the 10.13 configure step<br class=""><br class="">-- Performing Test HAVE_AVX2_C_COMPILER<br class="">-- Performing Test HAVE_AVX2_C_COMPILER - Success<br class="">-- Compilation of avx asm set is supported<br class="">-- Compilation of sse2 asm set is supported<br class="">-- Compilation of sse3 asm set is supported<br class="">-- Compilation of ssse3 asm set is supported<br class="">-- Compilation of sse41 asm set is supported<br class="">-- Compilation of sse42 asm set is supported<br class="">-- AVX2 support is added<br class="">-- AVX support is added<br class="">-- SSE2 support is added<br class="">-- SSE41 support is added<br class="">-- SSE42 support is added<br class=""><br class="">enabling AVX(2) is likely the issue here, as this is not guaranteed to be available. My 2011 mac mini running 10.13 does not have AVX2, for instance.<br class=""><br class="">So the (default) build needs to be configured to not enable AVX, even if the host CPU (buildbot) supports it.<br class=""><br class="">Chris<br class=""><br class=""><blockquote type="cite" class="">Chris<br class=""></blockquote></blockquote></blockquote></div></div></blockquote></div><br class=""></body></html>