[llvm-bugs] [Bug 52575] New: Fail to build LLVM due to cmath on macOS 10.13

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Nov 21 20:35:21 PST 2021


            Bug ID: 52575
           Summary: Fail to build LLVM due to cmath on macOS 10.13
           Product: new-bugs
           Version: 12.0
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: chris at chrislong.dev
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 25464
  --> https://bugs.llvm.org/attachment.cgi?id=25464&action=edit
Full build log

I originally reported this at https://github.com/rust-lang/rust/issues/88068
and was told this is an upstream issue in LLVM; from browsing the Rust source,
it appears the regression appeared between LLVM 11 and 12.

When trying to build Rust using Homebrew on macOS 10.13, I'm receiving several
errors similar to:

error: no member named 'isunordered' in the global namespace
using ::isunordered;

I've attached the whole build log. Per
https://stackoverflow.com/a/68113682/165713, a mitigation seems to be to add a
CMake directive like "set(CMAKE_OSX_SYSROOT
A Rust engineer also suggested possible fixes at

Apologies for not having more detail; I'm new to Rust and even newer to LLVM,
but I'll definitely help here however I can!

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211122/8d03e513/attachment.html>

More information about the llvm-bugs mailing list