[MacPorts] #59040: hyperscan: don't build with -march=native by default

MacPorts noreply at macports.org
Mon Jun 15 19:32:26 UTC 2020


#59040: hyperscan: don't build with -march=native by default
------------------------+--------------------
  Reporter:  hbsimon    |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  hyperscan  |
------------------------+--------------------

Comment (by phifogg):

 I am actually not sure if this is a hyperscan issue, I have manually
 rebuilt the hyperscan binary and they seem to work fine. At least I do not
 get any errors starting them. Rspamd however still failes.

 Using lldb I can see this error message when starting rspamd:

 {{{
 Process 14624 launched: '/opt/local/bin/rspamd' (x86_64)
 Process 14624 stopped
 * thread #1, queue = 'com.apple.main-thread', stop reason =
 EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
     frame #0: 0x000000000024a0c9 librspamd-server.dylib`checkMode(unsigned
 int, hs_compile_error**) + 105
 librspamd-server.dylib`checkMode:
 ->  0x24a0c9 <+105>: popcntl %eax, %eax
     0x24a0cd <+109>: cmpl   $0x1, %eax
     0x24a0d0 <+112>: jne    0x24a15e                  ; <+254>
     0x24a0d6 <+118>: movl   %edi, %ecx
 Target 0: (rspamd) stopped.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59040#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list