[MacPorts] #60698: mod_gnutls: error: use of unknown builtin '__builtin_add_overflow'

MacPorts noreply at macports.org
Tue Jun 23 13:59:47 UTC 2020


#60698: mod_gnutls: error: use of unknown builtin '__builtin_add_overflow'
-------------------------+-------------------------------------------------
  Reporter:  ryandesign  |      Owner:  Schamschula
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:  yosemite mavericks mountainlion
      Port:  mod_gnutls  |  lion
-------------------------+-------------------------------------------------

Comment (by ryandesign):

 Well. sqlite appears to have been using the clang version to decide which
 features are available, which is terrible; they should have been using
 `__has_feature` or something. And they were using open source clang
 numbers, not understanding that Apple has a different clang version
 numbering scheme.

 If mod_gnutls is doing the same thing in their code, then indeed they
 should fix their code too. I don't think that's what they're doing though.
 Looking at their code briefly, they seem to assume that all clangs support
 `__builtin_add_overflow`, which evidently they don't.

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


More information about the macports-tickets mailing list