Update clang support for ARM
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 21 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | arm: Only support ARM64_CRC32 when using GCCarch/ | +1 | 2 replies | |
| 2/9 | clang: Add $(CLANG_TARGET) to LDPPFLAGSMakefile | +1 | 2 replies | |
| 3/9 | clang: Don't look for libgccMakefile | +2 | 2 replies | |
| 4/9 | arm: Centralize fixed register logicarch/ arch/ | +8 | 2 replies | |
| 5/9 | armv7: Use isb/dsb directly in start.Sarch/ | +4 | 2 replies | |
| 6/9 | boot/image-board.c: Silence warning in select_ramdiskboot/ | +1 | 2 replies | |
| 7/9 | usb: gadget: f_mass_storage: Rework do_request_sense slightlydrivers/ | +1 | 2 replies | |
| 8/9 | clang: efi payload: Silence unaligned access warninginclude/ | +12 | 2 replies | |
| 9/9 | doc: clang: Update and correct support notesdoc/ | +4 | 3 replies |
Reviews trailers per patch
8 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Marek Vasut | Simon Glass |
|---|---|---|
| 1/9 | R-b | |
| 2/9 | R-b | |
| 3/9 | R-b | |
| 4/9 | R-b | |
| 5/9 | R-b | |
| 6/9 | R-b | |
| 7/9 | R-b | |
| 8/9 | ||
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] Update clang support for ARM
Hey all,
I decided to take a look again at what's needed to build and boot ARM platforms when building with clang. The good news is that this generally works now. Some size-constrained platforms don't build right now but I was able to test a reasonable part of my lab. This series also depends on:
https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
to fix the warning there.
At this point LTO + clang requires a bit more work, and to use llvm-ld. As the platform I was trying was still too large to link even with this, I've set that investigation aside for now.
I've boot tested clang-16 on Pi 3 (32bit, 64bit, arm64) and libretech-cc, and I'll be testing pine64_plus soon along with maybe mx6cuboxi and seeing what the failures are on am65x_evm / j721e_evm (these platforms require a bit more scripting on my part to make build and test clean).
Signature · 1 line
Tom