[MacPorts] #57130: clang-7.0: build fails in compiler-rt/lib/xray on darwin < 15 due to several issues

MacPorts noreply at macports.org
Fri Sep 14 04:50:16 UTC 2018


#57130: clang-7.0: build fails in compiler-rt/lib/xray on darwin < 15 due to
several issues
------------------------+----------------------
  Reporter:  kencu      |      Owner:  jeremyhu
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  clang-7.0  |
------------------------+----------------------

Comment (by kencu):

 On `10.9`:
 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-7.0/clang-7.0/work/llvm-7.0.0rc2.src/projects
 /compiler-rt/lib/xray/xray_basic_logging.cc:300:32: error: use of
 undeclared identifier 'CLOCK_REALTIME'
     int result = clock_gettime(CLOCK_REALTIME, &TS);
                                ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-7.0/clang-7.0/work/llvm-7.0.0rc2.src/projects
 /compiler-rt/lib/xray/xray_basic_logging.cc:320:36: error: use of
 undeclared identifier 'CLOCK_REALTIME'
         int result = clock_gettime(CLOCK_REALTIME, &TS);
                                    ^
 2 errors generated.
 make[2]: *** [projects/compiler-
 rt/lib/xray/CMakeFiles/RTXrayBASIC.osx.dir/xray_basic_logging.cc.o] Error
 1
 }}}

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


More information about the macports-tickets mailing list