Skip to content

rccl compilation failed on openEuler RISC-V operating system. #116659

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

Open
Thomas134 opened this issue Nov 18, 2024 · 4 comments
Open

rccl compilation failed on openEuler RISC-V operating system. #116659

Thomas134 opened this issue Nov 18, 2024 · 4 comments
Labels
backend:RISC-V lld LTO Link time optimization (regular/full LTO or ThinLTO)

Comments

@Thomas134
Copy link

OS Environment: openEuler24.03

We use the OBS platform for compilation, so we need to write a spec file. However, there are always errors during the linking process. Different errors occur when using both ld and lld linkers. Here are the compilation results on the OBS build platform. You can view and download the logs locally.

Using lld linker:
file
log

Using ld linker:
file
log

@topperc
Copy link
Collaborator

topperc commented Nov 18, 2024

It think the ld error is because -plugin-opt as passed without enabling LTO so there is no linker plugin being loaded.

@Thomas134
Copy link
Author

It think the ld error is because -plugin-opt as passed without enabling LTO so there is no linker plugin being loaded.

After enabling LTO:
Image
Doesn't support D extension?

@frederick-vs-ja frederick-vs-ja added lld backend:RISC-V LTO Link time optimization (regular/full LTO or ThinLTO) and removed new issue labels Feb 18, 2025
@llvmbot
Copy link
Member

llvmbot commented Feb 18, 2025

@llvm/issue-subscribers-backend-risc-v

Author: None (Thomas134)

OS Environment: openEuler24.03

We use the OBS platform for compilation, so we need to write a spec file. However, there are always errors during the linking process. Different errors occur when using both ld and lld linkers. Here are the compilation results on the OBS build platform. You can view and download the logs locally.

Using lld linker:
file
log

Using ld linker:
file
log

@frederick-vs-ja
Copy link
Contributor

This seems to be duplicate of #69780.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:RISC-V lld LTO Link time optimization (regular/full LTO or ThinLTO)
Projects
None yet
Development

No branches or pull requests

4 participants