-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
Comments
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 |
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. |
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. |
Is this bug still present in llvm 12.0.1-rc1? |
This is fixed with 12.0.1 |
mentioned in issue llvm/llvm-bugzilla-archive#49058 |
mentioned in issue #48661 |
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),
...
The text was updated successfully, but these errors were encountered: