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: unassignedb...@nondot.org
          Reporter: albionl...@gmail.com
                CC: htmldevelo...@gmail.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to