-
Notifications
You must be signed in to change notification settings - Fork 57
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
[Issue]: hipcc
errors out when using both -pedantic
and -save-temps
#240
Comments
Hi @maartenarnst, thanks for pointing this out. Yes, this is essentially the same issue discussed in llvm#63284; Is this blocking anything? On my end this only emits some extra warnings, which is messy but still functional. One possible workaround that comes to mind, although inconvenient, is to check only the preprocessor stage for |
Hi @schung-amd. Thank you for the reply and for discussing about it with the internal team. On our side, it is not blocking anything. Just for context, we are implementing a portable code with |
Glad you have a workaround in place. As this appears to be a general |
OK. Thanks in any case. Following your suggestion, I've just mentioned the issue in the thread that we had referenced from the upstream LLVM. Let's close this issue here. |
Problem Description
We're seeing
hipcc
error out when using both-pedantic
and-save-temps
flags.It may be related to:
-pedantic
issues-Wgnu-line-marker
that it wrote itself in-frewrite-includes
output llvm/llvm-project#63284Operating System
Ubuntu 24.04
CPU
AMD Ryzen 5950X
GPU
AMD Radeon Pro VII
ROCm Version
ROCm 6.3.0
ROCm Component
HIPCC
Steps to Reproduce
Dockerfile.hipcc
This fails with:
It seems the underlying issue is an issue with
clang
.Dockerfile.clang
This fails with:
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: