[MacPorts] #60671: ispc-clang: use of undeclared identifier 'MAP_ANONYMOUS', 'CLOCK_MONOTONIC', 'CLOCK_REALTIME', 'clock_gettime'

MacPorts noreply at macports.org
Sat Jun 20 15:52:06 UTC 2020


#60671: ispc-clang: use of undeclared identifier 'MAP_ANONYMOUS',
'CLOCK_MONOTONIC', 'CLOCK_REALTIME', 'clock_gettime'
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  tenomoto
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:  yosemite
      Port:  ispc-clang  |
-------------------------+----------------------

Comment (by kencu):

 all the patches would have to be rejigged as Chris is building llvm-10 a
 bit differently with different folder layouts. Probably not worth the
 effort, unless some brooding programmer on a very tight budget wants to
 build software with {{{ipsc}}} on a 2006-vintage Mac somewhere :> In which
 case, they can fix it.

 that conflicting definition for {{{getattrlistat}}} has been fixed in a
 newer legacysupport but not rolled out yet. You could install {{{legacy-
 support-devel}}} and see if that does work here, as it is supposed to fix
 this.

 In our clang-10 I didn't use legacysupport. I just turned off features
 that wouldn't build. This combo should get you down to 10.7 I think,
 unless {{{ipsc}}} actually needs one of those features, in which case back
 to {{{legacy-support-devel}}} I guess.
 {{{
 -DCOMPILER_RT_BUILD_XRAY=OFF
 -DCLANG_ENABLE_CLANGD=OFF
 -DCOMPILER_RT_BUILD_SANITIZERS=OFF
 -DCOMPILER_RT_BUILD_LIBFUZZER=OFF
 }}}

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


More information about the macports-tickets mailing list