[MacPorts] #58605: cryptlib @3.4.5: Build fails due to undefined _Static_assert

MacPorts noreply at macports.org
Wed May 27 01:54:44 UTC 2020


#58605: cryptlib @3.4.5: Build fails due to undefined _Static_assert
-------------------------+-------------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  snowleopard
      Port:  cryptlib    |
-------------------------+-------------------------

Comment (by kencu):

 This doesn't happen any more, now that 10.6.8 defaults to clang-9.0.

 However, build still fails because the clang-9.0 on 10.6.8 has the
 sanitzers disabled:
 {{{
 /opt/local/bin/clang-mp-9.0 -Os -isystem/opt/local/include -arch x86_64 -c
 -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xafe58b0d
 -DHAS_ODBC -I/usr/include -DHAS_LDAP -DHAS_ZLIB -Wno-pointer-sign -Wno-
 switch -fsanitize=safe-stack -fPIC -fno-common -DHAS_RECURSIVE_MUTEX
 -DOSVERSION=10 -fomit-frame-pointer -o ./shared-obj/bn_asm.o bn/bn_asm.c
 clang: error: unsupported option '-fsanitize=safe-stack' for target
 'x86_64-apple-darwin10.8.0'
 clang: error: unsupported option '-fsanitize=safe-stack' for target
 'x86_64-apple-darwin10.8.0'
 }}}

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


More information about the macports-tickets mailing list