[MacPorts] #65795: harfbuzz-icu can't be compiled on 10.5 i386 anymore

MacPorts noreply at macports.org
Wed Sep 7 18:11:58 UTC 2022

#65795: harfbuzz-icu can't be compiled on 10.5 i386 anymore
  Reporter:  catap         |      Owner:  mascguy
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  harfbuzz-icu  |

Comment (by kencu):

 TLDR; try adding legacysupport. Usually works.

 this error in the MacOSX10.5 and 10.6 math headers is quite commonly noted
 when using older gcc versions or when building with clang against the
 libgcc headers, and is usually fixed by adding legacysupport:



 It was fixed in clang when building with libc++ with this patch in the
 libc++ headers, which I carried along to all newer clangs since, so you
 don't see it there:


 gcc7+ fixed this internally, so you won't see this issue any longer when
 building with new gcc versions, even without legacysupport.

 I had to fix this manually when building webkit2-gtk using clang and
 -stdlib=macoports-libstdc++ many many years ago:


 but it's possible that last fix might be able to be replaced by using
 legacysupport now; I haven't tried that.

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

More information about the macports-tickets mailing list