autobuild3 icon indicating copy to clipboard operation
autobuild3 copied to clipboard

Discuss to drop -fno-integrated-as for clang

Open Icenowy opened this issue 6 years ago • 2 comments

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 avatar Apr 17 '19 06:04 Icenowy

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

emscripten
yosys

Icenowy avatar Apr 24 '19 15:04 Icenowy

kicad in testing also failed because of BFC.

Icenowy avatar May 23 '19 03:05 Icenowy