[MacPorts] #70278: chez-scheme @10.0.0: error: use of unknown builtin '__builtin_add_overflow'
MacPorts
noreply at macports.org
Sun Jun 23 11:58:58 UTC 2024
#70278: chez-scheme @10.0.0: error: use of unknown builtin '__builtin_add_overflow'
-------------------------+-------------------------------------------------
Reporter: | Owner: mohd-akram
barracuda156 |
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords: yosemite, mavericks, mountainlion,
Port: chez- | lion
scheme |
-------------------------+-------------------------------------------------
Comment (by barracuda156):
Replying to [comment:2 ryandesign]:
> In #60698 we worked around the problem by blacklisting `{clang < 800}`.
It would be better if chez-scheme would only use `__builtin_add_overflow`
if the compiler supports it. At present, they use it if
`USE_OVERFLOW_INTRINSICS` is defined, and they define it for gcc 5 or
greater or any version of clang, which is clearly wrong. I filed a bug
report with them here: https://github.com/cisco/ChezScheme/issues/845
Thank you, Ryan!
--
Ticket URL: <https://trac.macports.org/ticket/70278#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list