-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Error while installing Flang #109418
Comments
Can you try compiling without |
I specified flags of cmake. What should i do now? These are the instances of WERROR in CMakeCache.txt:
Should I change the flags here. Also, if i do does it install flang without any errors. |
Try setting changing |
Now while building Iam getting errors in this way:
|
This seems to be triggering an error |
|
This suggests that GCC 7.5.0 should be able to compile |
Which one would be better and How do i install that specific version. Does it mean I need to build again from start? |
I, personally, have never built flang with anything older than GCC 11.
That depends on your OS. I can't help you with that.
Yes. |
Here, they mentioned So Iam installing using this version(7.5.0) |
Yes, but I don't think we routinely test with GCC versions that are that old. It could be that the documentation is out of date, but I don't know for sure. |
What is the full cmake command that you are using to configure? And have you tried a fresh build after turning off |
I am using |
By "fresh build", I mean, "have you tried deleting the build directory and starting again including running cmake again" |
I will try it now. Can i use gcc 13 for that? |
Sure. |
I successfully built flangusing gcc 13. Now, when I am building compiler-rt as next step. These are the commands i followed:
I am encountering following errors:
How do I resolve this issue @tarunprabhu |
Those are from clang's sanitizers. I have no idea why they would be failing. Are you doing a clean build? What cmake options have you used? |
Are you building flang and compiler-rt separately out of tree? Do you need to build them separately? |
I have updated my comment. |
Is there a reason you are building flang and compiler-rt separately? Have you tried building them together in-tree |
I am following the steps from Building Flang In-Tree and encountered the error mentioned above. Since I don't require compiler-rt unless it affects Flang's front-end functionality, is it essential in my case? |
No, |
I am getting the following error when trying to install flang in SUSE Linux Enterprise 15 SP 6.
I followed these instructions as per manual:
I couldn't able to build completely:
How do I resolve this issue.
The text was updated successfully, but these errors were encountered: