Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build on Power9 with 12.0.0-rc1 #48334

Closed
llvmbot opened this issue Feb 1, 2021 · 7 comments
Closed

Unable to build on Power9 with 12.0.0-rc1 #48334

llvmbot opened this issue Feb 1, 2021 · 7 comments
Labels
bugzilla Issues migrated from bugzilla

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Feb 1, 2021

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

@llvmbot
Copy link
Collaborator Author

llvmbot commented Feb 4, 2021

The error seems to stem from the commit that enabled Float128 by default on Power9 when built without shared libraries: https://github.ibm.com/compiler/llvm-project/commit/6bf29dbb1541aff717e52b5c5fb12b84f5b38f21

@llvmbot
Copy link
Collaborator Author

llvmbot commented Feb 4, 2021

Apologies that was a link to the private repo. This is the correct commit on the public repo: 6bf29db

I'm currently communicating with the author to continue debugging the issue.

@tstellar
Copy link
Collaborator

This bug was not resolved in time for the 12.0.0 release, so it will have to wait for 12.0.1.

If you feel this is a high-priority bug that should be fixed for 12.0.0, please re-add release-12.0.0 to the Blocks field and add a comment explaining why this is high-priority.

@tstellar
Copy link
Collaborator

tstellar commented Jun 4, 2021

Is this bug still present in llvm 12.0.1-rc1?

@llvmbot
Copy link
Collaborator Author

llvmbot commented Aug 5, 2021

This is fixed with 12.0.1

@llvmbot
Copy link
Collaborator Author

llvmbot commented Nov 27, 2021

mentioned in issue llvm/llvm-bugzilla-archive#49058

@tstellar
Copy link
Collaborator

mentioned in issue #48661

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 11, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla
Projects
None yet
Development

No branches or pull requests

2 participants