Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Discuss to drop -fno-integrated-as for clang #107

Open
Icenowy opened this issue Apr 17, 2019 · 2 comments
Open

Discuss to drop -fno-integrated-as for clang #107

Icenowy opened this issue Apr 17, 2019 · 2 comments
Labels

Comments

@Icenowy
Copy link
Contributor

Icenowy commented Apr 17, 2019

Currently llvm-as seems to be not so weird, and clang seems to have some different opinion on instructions with binutils, at least on AArch64:

  • BFC, which is a pseudo instruction in ARMv8.2 (translated to a real instruction to v8.0), will be produced by clang in v8.0 mode, but rejected by GNU as in v8.0 mode.
  • PMULL, which is a instruction in ARMv8.0 extension, will be produced by clang when -march=armv8-a+crc, but will only be accepted by GNU as when -march=armv8-a+aes. (of course this can be solved by +crc+aes).
@Icenowy
Copy link
Contributor Author

Icenowy commented Apr 24, 2019

Known packages to fail to build because of BFC of clang:

emscripten
yosys

@Icenowy
Copy link
Contributor Author

Icenowy commented May 23, 2019

kicad in testing also failed because of BFC.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants