diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-12-03 17:09:30 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-12-05 10:18:15 -0800 |
| commit | 3eeab49ede5db9c8ed6f2d527bd885e9e9150ffd (patch) | |
| tree | 8b84ebfa08e8a55a75ddd44b1976538cdaeb4521 | |
| parent | 7443e8739467893d9647ce609aaaa9969fcfc34c (diff) | |
| download | meta-clang-3eeab49ede5db9c8ed6f2d527bd885e9e9150ffd.tar.gz | |
u-boot: Always use gcc compiler to build
Clang-15 fails to compile u-boot on mips right now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | conf/nonclangable.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 5caa770..225fa4b 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
| @@ -137,6 +137,9 @@ TOOLCHAIN:pn-openssh = "gcc" | |||
| 137 | # Workaround oe-core patching problem temporarily | 137 | # Workaround oe-core patching problem temporarily |
| 138 | TOOLCHAIN:pn-rsync = "gcc" | 138 | TOOLCHAIN:pn-rsync = "gcc" |
| 139 | 139 | ||
| 140 | # U-boot does compile with clang but clang-15 crashes compiling it :( | ||
| 141 | TOOLCHAIN:pn-u-boot = "gcc" | ||
| 142 | |||
| 140 | CFLAGS:append:pn-liboil:toolchain-clang:x86-64 = " -fheinous-gnu-extensions " | 143 | CFLAGS:append:pn-liboil:toolchain-clang:x86-64 = " -fheinous-gnu-extensions " |
| 141 | 144 | ||
| 142 | #../libffi-3.2.1/src/arm/sysv.S:363:2: error: invalid instruction, did you mean: fldmiax? | 145 | #../libffi-3.2.1/src/arm/sysv.S:363:2: error: invalid instruction, did you mean: fldmiax? |
