diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-09-15 21:11:41 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-09-17 16:55:30 -0700 |
commit | b25eccbb8149de9f9c543e109df7592077e4d27c (patch) | |
tree | 54de9516305c8150d02678c9eb1c5769740ed371 /conf | |
parent | 62ecc1496d6b09a930fb6b8c021232b005fe67e9 (diff) | |
download | meta-clang-b25eccbb8149de9f9c543e109df7592077e4d27c.tar.gz |
grub: Use clang to compile it on all except aarch64/riscv
It still fails on aarch64 with many errors like
| build-grub-module-verifier: error: sleep: unsupported relocation 0x108.
Similar reloc errors seen with grub-efi on rv32 as well
on rv64 clang crashes :(
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/nonclangable.conf | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 3581a3a..918d79b 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -1,4 +1,13 @@ | |||
1 | TOOLCHAIN:pn-cpufrequtils = "gcc" | 1 | TOOLCHAIN:pn-cpufrequtils = "gcc" |
2 | |||
3 | # | grub-mkimage: error: relocation 0x2b is not implemented yet. | ||
4 | TOOLCHAIN:pn-grub-efi:aarch64 = "gcc" | ||
5 | TOOLCHAIN:pn-grub-efi:riscv32 = "gcc" | ||
6 | # clang-15 crashes | ||
7 | TOOLCHAIN:pn-grub-efi:riscv64 = "gcc" | ||
8 | TOOLCHAIN:pn-grub:riscv64 = "gcc" | ||
9 | # | build-grub-module-verifier: error: search_label: unsupported relocation 0x108. | ||
10 | TOOLCHAIN:pn-grub:aarch64 = "gcc" | ||
2 | # crash embeds version of gdb which is not buildable with clang | 11 | # crash embeds version of gdb which is not buildable with clang |
3 | TOOLCHAIN:pn-crash = "gcc" | 12 | TOOLCHAIN:pn-crash = "gcc" |
4 | # | ../../elfutils-0.187/libasm/asm_newscn.c:49:22: error: field 'pattern' with variable sized type 'struct FillPattern' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end] | 13 | # | ../../elfutils-0.187/libasm/asm_newscn.c:49:22: error: field 'pattern' with variable sized type 'struct FillPattern' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end] |
@@ -16,8 +25,6 @@ TOOLCHAIN:pn-glibc-mtrace = "gcc" | |||
16 | TOOLCHAIN:pn-glibc-scripts = "gcc" | 25 | TOOLCHAIN:pn-glibc-scripts = "gcc" |
17 | TOOLCHAIN:pn-glibc-testsuite = "gcc" | 26 | TOOLCHAIN:pn-glibc-testsuite = "gcc" |
18 | TOOLCHAIN:pn-glibc-tests = "gcc" | 27 | TOOLCHAIN:pn-glibc-tests = "gcc" |
19 | TOOLCHAIN:pn-grub = "gcc" | ||
20 | TOOLCHAIN:pn-grub-efi = "gcc" | ||
21 | 28 | ||
22 | #| prelink-rtld: error while loading shared libraries: ld.so.1 | 29 | #| prelink-rtld: error while loading shared libraries: ld.so.1 |
23 | #| /lib64/ld.so.1: No such file or directory | 30 | #| /lib64/ld.so.1: No such file or directory |