Skip to content
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

[Clang][PowerPC] Clang does not define soft float macros with -msoft-float #105972

Closed
alexrp opened this issue Aug 25, 2024 · 2 comments · Fixed by #106012
Closed

[Clang][PowerPC] Clang does not define soft float macros with -msoft-float #105972

alexrp opened this issue Aug 25, 2024 · 2 comments · Fixed by #106012
Assignees
Labels
backend:PowerPC clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl'

Comments

@alexrp
Copy link
Member

alexrp commented Aug 25, 2024

GCC defines at least _SOFT_FLOAT, _SOFT_DOUBLE, and __NO_FPRS__. Clang not defining these makes it impossible to build musl for PowerPC in soft float mode, for example.

@github-actions github-actions bot added the clang Clang issues not falling into any other category label Aug 25, 2024
@EugeneZelenko EugeneZelenko added backend:PowerPC clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' and removed clang Clang issues not falling into any other category labels Aug 25, 2024
@llvmbot
Copy link
Collaborator

llvmbot commented Aug 25, 2024

@llvm/issue-subscribers-backend-powerpc

Author: Alex Rønne Petersen (alexrp)

GCC defines at least `_SOFT_FLOAT`, `_SOFT_DOUBLE`, and `__NO_FPRS__`. Clang not defining these makes it impossible to build musl for PowerPC in soft float mode, for example.

@llvmbot
Copy link
Collaborator

llvmbot commented Aug 25, 2024

@llvm/issue-subscribers-clang-driver

Author: Alex Rønne Petersen (alexrp)

GCC defines at least `_SOFT_FLOAT`, `_SOFT_DOUBLE`, and `__NO_FPRS__`. Clang not defining these makes it impossible to build musl for PowerPC in soft float mode, for example.

alexrp added a commit to alexrp/llvm-project that referenced this issue Aug 25, 2024
alexrp added a commit to alexrp/llvm-project that referenced this issue Aug 26, 2024
Fixes llvm#105972.

Co-authored-by: Qiu Chaofan <qcf@ecnelises.com>
alexrp added a commit to alexrp/llvm-project that referenced this issue Aug 27, 2024
Fixes llvm#105972.

Co-authored-by: Qiu Chaofan <qcf@ecnelises.com>
alexrp added a commit to alexrp/llvm-project that referenced this issue Aug 27, 2024
Fixes llvm#105972.

Co-authored-by: Qiu Chaofan <qcf@ecnelises.com>
alexrp added a commit to alexrp/llvm-project that referenced this issue Aug 27, 2024
Fixes llvm#105972.

Co-authored-by: Qiu Chaofan <qcf@ecnelises.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:PowerPC clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl'
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@alexrp @EugeneZelenko @llvmbot and others