-
Notifications
You must be signed in to change notification settings - Fork 236
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
Network build stage fails in clang call with segfault #1456
Comments
@pfultz2 is there any changes needed for rbuild or cmakes? Your guidance would be appreciated :) BTW~ could we host half/rbuild/cget to https://github.com/ROCmSoftwarePlatform ? |
This is most likely due to generate expressions in the flags for hip that we capture in cmake, and we need to update our parsing of cmake flags to handle generator expressions. In MIGraphX, I updated the parsing to evaluate some of the generator expressions here. However, MIOpen fixed the issue by just removing .a files in #1264, but this doesnt really fix the issue since the order or other generator expressions can break it again. I believe @causten had made you aware of these changes in email. I suggest removing |
@JehandadKhan and @DrizztDoUrden could you take a look at this issue with Paul?
|
@junliume I am going to look into this & fix asap. |
@junliume Can you please assign this to me to make it better visible, thanks. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Issue is pined on top until fixed |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@pfultz2 Can we use TargetFlags.cmake in MIGraphX or something else also needs to change? |
Update all ROCm 5.2 targeted PR/issues as blockers. |
I am hoping to deliver PR tomorrow. |
Just stumbled over the following error when building a CNN using ROCM 5.2 with the pre-build tensorflow-rocm package.
Running on Arch Linux and build ROCm from source. Version 4.3 worked on Arch without the error below.
It seemes that an
-isystem
is missing after-isystem /opt/rocm/include
infront of/opt/rocm/llvm/lib/clang/14.0.0/lib/linux/libclang_rt.builtins-x86_64.a
.Building manually in this temporary directory with the missing
-isystem
works without errors/warnings.Not sure where this originates from but I thought it might be related to MIOpen, considering the file that starts the build.
Happy to provide further information if needed.
The text was updated successfully, but these errors were encountered: