[MacPorts] #60294: rspamd @2.4: error: unknown type name '_Noreturn'

MacPorts noreply at macports.org
Fri Apr 3 01:29:39 UTC 2020


#60294: rspamd @2.4: error: unknown type name '_Noreturn'
-------------------------+------------------------
  Reporter:  ryandesign  |      Owner:  ryandesign
      Type:  defect      |     Status:  accepted
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:
      Port:  rspamd      |
-------------------------+------------------------
Changes (by ryandesign):

 * owner:  (none) => ryandesign
 * status:  new => accepted


Comment:

 It's using `-std=gnu11` and it's compiling with /usr/bin/clang from Xcode
 4.6.3 which should be fine; src/port1.0/portconfigure.tcl claims Xcode 4.3
 already had support for C11.

 On
 [https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/15415/steps
 /install-port/logs/stdio 10.8] thru
 [https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/112274/steps
 /install-port/logs/stdio 10.10] it fails with:

 {{{
 fatal error: error in backend: Cannot select: intrinsic
 %llvm.x86.aesni.aesenclast
 clang: error: clang frontend command failed with exit code 70 (use -v to
 see invocation)
 Apple LLVM version 7.0.2 (clang-700.1.81)
 Target: x86_64-apple-darwin14.5.0
 Thread model: posix
 clang: note: diagnostic msg: PLEASE submit a bug report to
 http://developer.apple.com/bugreporter/ and include the crash backtrace,
 preprocessed source, and associated run script.
 clang: note: diagnostic msg:
 ********************

 PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
 Preprocessed source(s) and associated run script(s) are located at:
 clang: note: diagnostic msg:
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_mail_rspamd/rspamd/work/.tmp
 /aes_cryptobox-f51cac.c
 clang: note: diagnostic msg:
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_mail_rspamd/rspamd/work/.tmp
 /aes_cryptobox-f51cac.sh
 clang: note: diagnostic msg:

 ********************
 }}}

 The error about `intrinsic %llvm.x86.aesni.aesenclast` also shows up in
 the 10.7 log. Blacklisting `{clang < 800}` seems to fix it.

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


More information about the macports-tickets mailing list