Skip to content

Unable to build on Power9 with 12.0.0-rc1 #48334

@llvmbot

Description

@llvmbot
Bugzilla Link 48990
Resolution FIXED
Resolved on Aug 05, 2021 08:12
Version unspecified
OS All
Blocks #48661
Attachments Build log for Power9 Ubuntu
Reporter LLVM Bugzilla Contributor
CC @tstellar

Extended Description

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),
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions