[llvm-bugs] [Bug 48990] New: Unable to build on Power9 with 12.0.0-rc1

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 1 10:30:56 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=48990

            Bug ID: 48990
           Summary: Unable to build on Power9 with 12.0.0-rc1
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: albionllvm at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 24472
  --> https://bugs.llvm.org/attachment.cgi?id=24472&action=edit
Build log for Power9 Ubuntu

Building 12.0.0-rc1, stage 2 on Power9 with RHEL and Ubuntu produces the
following (and similar errors, see attachment):

/home/conanap/12rc1/stage2/build/include/c++/v1/math.h:463:12: error: expected
'(' for function-style cast or type construction
    return isinf(__lcpp_x);
           ^~~~~~~~~~~~~~~
/usr/include/math.h:661:20: note: expanded from macro 'isinf'
#  define isinf(x) __MATH_TG ((x), __isinf, (x))
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/math.h:546:54: note: expanded from macro '__MATH_TG'
     (__builtin_types_compatible_p (__typeof (TG_ARG), float),          \
...

-- 
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/20210201/359954c9/attachment.html>


More information about the llvm-bugs mailing list