summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-09-15 21:11:41 -0700
committerKhem Raj <raj.khem@gmail.com>2022-09-17 16:55:30 -0700
commitb25eccbb8149de9f9c543e109df7592077e4d27c (patch)
tree54de9516305c8150d02678c9eb1c5769740ed371 /conf
parent62ecc1496d6b09a930fb6b8c021232b005fe67e9 (diff)
downloadmeta-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.conf11
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 @@
1TOOLCHAIN:pn-cpufrequtils = "gcc" 1TOOLCHAIN:pn-cpufrequtils = "gcc"
2
3# | grub-mkimage: error: relocation 0x2b is not implemented yet.
4TOOLCHAIN:pn-grub-efi:aarch64 = "gcc"
5TOOLCHAIN:pn-grub-efi:riscv32 = "gcc"
6# clang-15 crashes
7TOOLCHAIN:pn-grub-efi:riscv64 = "gcc"
8TOOLCHAIN:pn-grub:riscv64 = "gcc"
9# | build-grub-module-verifier: error: search_label: unsupported relocation 0x108.
10TOOLCHAIN: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
3TOOLCHAIN:pn-crash = "gcc" 12TOOLCHAIN: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"
16TOOLCHAIN:pn-glibc-scripts = "gcc" 25TOOLCHAIN:pn-glibc-scripts = "gcc"
17TOOLCHAIN:pn-glibc-testsuite = "gcc" 26TOOLCHAIN:pn-glibc-testsuite = "gcc"
18TOOLCHAIN:pn-glibc-tests = "gcc" 27TOOLCHAIN:pn-glibc-tests = "gcc"
19TOOLCHAIN:pn-grub = "gcc"
20TOOLCHAIN: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