package/llvm: bump to version 11.0.0
PATCH v10 1/4 package/llvm: bump to version 11.0.0
--- package/llvm/llvm.hash | 2 +- package/llvm/llvm.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/llvm/llvm.hash +1 -1
@@ -1,3 +1,3 @@ # locally calculated -sha256 00a1ee1f389f81e9979f3a640a01c431b3021de0d42278f6508391a2f0b81c9a llvm-9.0.1.src.tar.xz +sha256 913f68c898dfb4a03b397c5e11c6a2f39d0f22ed7665c9cefa87a34423a72469 llvm-11.0.0.src.tar.xz sha256 8d85c1057d742e597985c7d4e6320b015a9139385cff4cbae06ffc0ebe89afee LICENSE.TXT
package/llvm/llvm.mk +1 -1
@@ -5,7 +5,7 @@ ################################################################################ # LLVM, Clang and lld should be version bumped together -LLVM_VERSION = 9.0.1 +LLVM_VERSION = 11.0.0 LLVM_SITE = https://github.com/llvm/llvm-project/releases/download/llvmorg-$(LLVM_VERSION) LLVM_SOURCE = llvm-$(LLVM_VERSION).src.tar.xz LLVM_LICENSE = Apache-2.0 with exceptions
Signature · 1 line
2.17.1
PATCH v10 2/4 package/clang: bump to version 11.0.0
--- package/clang/clang.hash | 2 +- package/clang/clang.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/clang/clang.hash +1 -1
@@ -1,3 +1,3 @@ # locally calculated -sha256 5778512b2e065c204010f88777d44b95250671103e434f9dc7363ab2e3804253 clang-9.0.1.src.tar.xz +sha256 0f96acace1e8326b39f220ba19e055ba99b0ab21c2475042dbc6a482649c5209 clang-11.0.0.src.tar.xz sha256 ebcd9bbf783a73d05c53ba4d586b8d5813dcdf3bbec50265860ccc885e606f47 LICENSE.TXT
package/clang/clang.mk +1 -1
@@ -5,7 +5,7 @@ ################################################################################ # LLVM, Clang and lld should be version bumped together -CLANG_VERSION = 9.0.1 +CLANG_VERSION = 11.0.0 CLANG_SITE = https://github.com/llvm/llvm-project/releases/download/llvmorg-$(CLANG_VERSION) CLANG_SOURCE = clang-$(CLANG_VERSION).src.tar.xz CLANG_LICENSE = Apache-2.0 with exceptions
Signature · 1 line
2.17.1
PATCH v10 3/4 package/compiler-rt: new package
In reply to Matt WeberThis patch adds support for the compiler-rt (CLANG runtime) library. It builds a set of static libraries and installs them into the CLANG/LLVM toolchain resource folder. These libraries can then be used by developers in the SDK for building target applications for analysis.
What is fuzzing and why libfuzzer?
https://www.moritz.systems/blog/an-introduction-to-llvm-libfuzzer/
The compiler-rt fuzzer and address sanitizer tools require additional LLVM binary tools installed to allow stack trace decoding actively during executable analysis. This patch conditionally enables these tools.
https://github.com/google/sanitizers/wiki/AddressSanitizerCallStack
---
Changes
v1 -> v2
[Romain
- Removed unnecessary host-cmake dependency
v2 -> v3
[Romain
- Update to use COMPILER_RT_INSTALL_PATH for library install
[Ricardo
- Fixed check-package extra line
- Spelling in commit message
v3 -> v4
[Valentin
- Pointed out that non-glibc libraries won't build. Further investigation shows that the lib asan support in compiler-rt doesn't have the libc checks yet to support multiple libraries.
(https://patchwork.ozlabs.org/patch/339938/ was the best example
I could find and it doesn't look like anything has changed in the recent codebase)
v4 -> v5
[Thomas P
- Revisited staging install step and found a cleaner way to use the default and then a hook to setup the runtime library path
v6
- Bumped to 7.0.1 to match current LLVM/Clang version
v7
- Rebased on master for 8.0 LLVM/Clang version
- Added comment about bumping verions of LLVM/Clang and Compiler-rt together
[Romain
- Disabled test cases (-DCOMPILER_RT_INCLUDE_TESTS=OFF)
v8
- Rebased and updated version to 9.x to match llvm/clang
[Romain
- Squashed "[v7,1/5]package/llvm: install target binary/debug tools" to be included in this patch
[Michael D
- compiler-rt symlink creation to include shared folder such that control flow lists work
v9
- Rebased post 2020.05
v10
- Switched compiler-rt site to point towards new github project
- Updated compiler-rt version to 11.0.0
- Tested against master[8640e8ffde3f61c5838] using support/testing/run-tests -o runtest -k \
tests.package.test_clang.TestClangCompilerRT
--- DEVELOPERS | 1 + package/Config.in | 1 + package/compiler-rt/Config.in | 14 +++++++++++ package/compiler-rt/compiler-rt.hash | 3 +++ package/compiler-rt/compiler-rt.mk | 37 ++++++++++++++++++++++++++++ package/llvm/llvm.mk | 11 ++++++++- 6 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 package/compiler-rt/Config.in create mode 100644 package/compiler-rt/compiler-rt.hash create mode 100644 package/compiler-rt/compiler-rt.mk
DEVELOPERS +1 -0
@@ -1709,6 +1709,7 @@ F: package/bridge-utils/ F: package/checkpolicy/ F: package/checksec/ F: package/cgroupfs-mount/ +F: package/compiler-rt/ F: package/crda/ F: package/cunit/ F: package/dacapo/
package/Config.in +1 -0
@@ -1856,6 +1856,7 @@ menu "Other" source "package/clang/Config.in" source "package/clapack/Config.in" source "package/cmocka/Config.in" + source "package/compiler-rt/Config.in" source "package/cppcms/Config.in" source "package/cracklib/Config.in" source "package/dawgdic/Config.in"
package/compiler-rt/Config.in new file +14 -0
@@ -0,0 +1,14 @@ +config BR2_PACKAGE_COMPILER_RT + bool "compiler-rt" + depends on BR2_PACKAGE_LLVM + depends on BR2_TOOLCHAIN_USES_GLIBC # asan lib requires + help + A collection of runtime libraries primarily used by clang and + llvm to provide builtins, sanitizer runtimes, and profiling + at runtime. + + https://compiler-rt.llvm.org/ + +comment "compiler-rt requires llvm to be enabled and a glibc toolchain" + depends on !BR2_PACKAGE_LLVM + depends on !BR2_TOOLCHAIN_USES_GLIBC
package/compiler-rt/compiler-rt.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally computed: +sha256 374aff82ff573a449f9aabbd330a5d0a441181c535a3599996127378112db234 compiler-rt-11.0.0.src.tar.xz +sha256 1a8f1058753f1ba890de984e48f0242a3a5c29a6a8f2ed9fd813f36985387e8d LICENSE.TXT
package/compiler-rt/compiler-rt.mk new file +37 -0
@@ -0,0 +1,37 @@ +################################################################################ +# +# compiler-rt +# +################################################################################ + +# Compiler-RT should be bumped together with LLVM and Clang as the run-time is +# tied to the version of those tools +COMPILER_RT_VERSION = 11.0.0 +COMPILER_RT_SOURCE = compiler-rt-$(COMPILER_RT_VERSION).src.tar.xz +COMPILER_RT_SITE = https://github.com/llvm/llvm-project/releases/download/llvmorg-$(COMPILER_RT_VERSION) +COMPILER_RT_LICENSE = NCSA MIT +COMPILER_RT_LICENSE_FILES = LICENSE.TXT +COMPILER_RT_DEPENDENCIES = host-clang llvm + +COMPILER_RT_INSTALL_STAGING = YES +COMPILER_RT_INSTALL_TARGET = NO + +COMPILER_RT_CONF_OPTS=-DCOMPILER_RT_STANDALONE_BUILD=OFF \ + -DCOMPILER_RT_STANDALONE_BUILD=ON \ + -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=$(GNU_TARGET_NAME) \ + -DLLVM_CONFIG_PATH=$(HOST_DIR)/usr/bin/llvm-config + +# The installation of the target runtime libraries defaults to DESTDIR, however +# host-clang resources directory needs a link so Clang can find the runtime +# libraries in the same location they would be if built as part of the Clang +# build. The "resources" directory is loosely documented and seems to be +# assumed, as compiler-rt is usually build at the same time as Clang and not +# standalone. +define COMPILER_RT_SETUP_RUNTIME_LIBS + mkdir -p $(HOST_DIR)/lib/clang/$(HOST_CLANG_VERSION)/lib + ln -sf ../../../../$(GNU_TARGET_NAME)/sysroot/usr/lib/linux $(HOST_DIR)/lib/clang/$(HOST_CLANG_VERSION)/lib/linux + ln -sf ../../../../$(GNU_TARGET_NAME)/sysroot/usr/share $(HOST_DIR)/lib/clang/$(HOST_CLANG_VERSION)/share +endef +COMPILER_RT_POST_INSTALL_STAGING_HOOKS += COMPILER_RT_SETUP_RUNTIME_LIBS + +$(eval $(cmake-package))
package/llvm/llvm.mk +10 -1
@@ -215,8 +215,17 @@ HOST_LLVM_CONF_OPTS += \ # We need to activate LLVM_INCLUDE_TOOLS, otherwise it does not generate # libLLVM.so LLVM_CONF_OPTS += \ - -DLLVM_INCLUDE_TOOLS=ON \ + -DLLVM_INCLUDE_TOOLS=ON + +# The llvm-symbolizer binary is used by the Compiler-RT Fuzzer +# and AddressSanitizer tools for stack traces. +ifeq ($(BR2_PACKAGE_COMPILER_RT),y) +LLVM_CONF_OPTS += \ + -DLLVM_BUILD_TOOLS=ON +else +LLVM_CONF_OPTS += \ -DLLVM_BUILD_TOOLS=OFF +endif ifeq ($(BR2_PACKAGE_LLVM_RTTI),y) HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_RTTI=ON
Signature · 1 line
2.17.1
PATCH v10 4/4 testing/tests: CLANG compiler-rt runtime test
In reply to Matt WeberThis patch adds a test case that
1) Builds the complete LLVM and CLANG set of host tools
2) Cross-compiles the compiler-rt runtime using CLANG
3) Builds a cross-compiled application using CLANG and the libfuzzer compiler-rt library.
4) Executes the fuzz application (part of the libfuzzer package) on target and checks expected output for a heap-buffer-overflow.
Note: The libfuzzer package is just a tutorial example of how to use
the toolkit provided by llvm (Thus not adding it as a full Buildroot package).
Parts of the following Clang cross-compiler series would clean up the need to set a -B and sysroot when compiling.
http://patchwork.ozlabs.org/project/buildroot/list/?series=129565&state=*
---
Changes
v1 -> v2
[Ricardo
- updated yml with test case
- moved emulator launch cmd to test case from infra
- defconfig in the order provided by savedefconfig
- indent defconfig
- add full package for test code to the test br2-external
- consolidated to one class only
v2 -> v3
- Added Review/tested by Ricardo's
[with the entire series applied on next branch:
https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/121908178
NOTE: this test case takes longer than test_rust, ~2 hours in my host machine with all tarballs previously downloaded]
v4
- None
v5
- Rebased post 2018.11 on master
v6
- Testing of LLVM/Clang bump
v7
- Rebase on master and testing of LLVM/Clang bump to 8.0
- Updated hashes for archive and legal info (legal info changed because of spelling cleanup)
v8
- Cleaned up wording the 4th item of the message above.
[Romain
- Removes a hardcoded toolchain/sysroot path "b option" for libfuzzer pkg build, however requires this series applied.
http://patchwork.ozlabs.org/project/buildroot/list/?series=129565
- updated test case to check for heap overflow string to keep arch generic
- Removed the fixed mcpu arg from clang++ build and dropped --sysroot as cross compiler wrapper now provides this for libfuzzer build
v9
- Rebased post 2020.05
v10
- Updated site for libfuzzer test case and bumped version
- Switched back to have no dependency on clang as cross compiler series
- Fixed a libfuzzer link time gcc ld error by adding sysroot and -B to the BUILD_CMDS since we don't depend on the cross wrapper.
- Tested against master[8640e8ffde3f61c583] using support/testing/run-tests -o runtest -k \
tests.package.test_clang.TestClangCompilerRT
--- .../br2-external/clang-compiler-rt/Config.in | 1 + .../clang-compiler-rt/external.desc | 1 + .../clang-compiler-rt/external.mk | 1 + .../package/libfuzzer/Config.in | 8 ++++ .../package/libfuzzer/libfuzzer.hash | 2 + .../package/libfuzzer/libfuzzer.mk | 24 ++++++++++ support/testing/tests/package/test_clang.py | 46 +++++++++++++++++++ 7 files changed, 83 insertions(+) create mode 100644 support/testing/tests/package/br2-external/clang-compiler-rt/Config.in create mode 100644 support/testing/tests/package/br2-external/clang-compiler-rt/external.desc create mode 100644 support/testing/tests/package/br2-external/clang-compiler-rt/external.mk create mode 100644 support/testing/tests/package/br2-external/clang-compiler-rt/package/libfuzzer/Config.in create mode 100644 support/testing/tests/package/br2-external/clang-compiler-rt/package/libfuzzer/libfuzzer.hash create mode 100644 support/testing/tests/package/br2-external/clang-compiler-rt/package/libfuzzer/libfuzzer.mk create mode 100644 support/testing/tests/package/test_clang.py
support/testing/tests/package/br2-external/clang-compiler-rt/Config.in new file +1 -0
@@ -0,0 +1 @@ +source "$BR2_EXTERNAL_CLANG_COMPILER_RT_PATH/package/libfuzzer/Config.in"
support/testing/tests/package/br2-external/clang-compiler-rt/external.desc new file +1 -0
@@ -0,0 +1 @@ +name: CLANG_COMPILER_RT
support/testing/tests/package/br2-external/clang-compiler-rt/external.mk new file +1 -0
@@ -0,0 +1 @@ +include $(sort $(wildcard $(BR2_EXTERNAL_CLANG_COMPILER_RT_PATH)/package/*/*.mk))
support/testing/tests/package/br2-external/clang-compiler-rt/package/libfuzzer/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBFUZZER + bool "libfuzzer" + help + This project aims at hosting tutorials, + examples, discussions, research proposals, + and other resources related to fuzzing. + + https://github.com/google/fuzzing
support/testing/tests/package/br2-external/clang-compiler-rt/package/libfuzzer/libfuzzer.hash new file +2 -0
@@ -0,0 +1,2 @@ +sha256 c71360c3b1ba1d88b28b0b3cb3a1744d251b87a12f2881224cc53ec26eb7a2db libfuzzer-cec02db916d21baa4db5b8d262d78848b3a35f4b.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
support/testing/tests/package/br2-external/clang-compiler-rt/package/libfuzzer/libfuzzer.mk new file +24 -0
@@ -0,0 +1,24 @@ +################################################################################ +# +# libfuzzer +# +################################################################################ + +LIBFUZZER_VERSION = cec02db916d21baa4db5b8d262d78848b3a35f4b +LIBFUZZER_SITE = $(call github,google,fuzzing,$(LIBFUZZER_VERSION)) +LIBFUZZER_LICENSE = Apache-2.0 +LIBFUZZER_LICENSE_FILES = LICENSE +LIBFUZZER_DEPENDENCIES = compiler-rt + +define LIBFUZZER_BUILD_CMDS + $(HOST_DIR)/bin/clang++ --sysroot=$(STAGING_DIR) \ + -B $(HOST_DIR)/opt/ext-toolchain -fsanitize=address,fuzzer \ + $(@D)/tutorial/libFuzzer/fuzz_me.cc \ + -o $(@D)/fuzz_me +endef + +define LIBFUZZER_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 755 $(@D)/fuzz_me $(TARGET_DIR)/usr/bin/fuzz_me +endef + +$(eval $(generic-package))
support/testing/tests/package/test_clang.py new file +46 -0
46 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH v10 1/4 package/llvm: bump to version 11.0.0
In reply to Matt WeberRomain,
Quoted 21 lines · Matt Weber
Signed-off-by Matthew Weber <[email protected]>--- package/llvm/llvm.hash | 2 +- package/llvm/llvm.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/llvm/llvm.hash +1
-1@@ -1,3 +1,3 @@ # locally calculated -sha256 00a1ee1f389f81e9979f3a640a01c431b3021de0d42278f6508391a2f0b81c9a llvm-9.0.1.src.tar.xz +sha256 913f68c898dfb4a03b397c5e11c6a2f39d0f22ed7665c9cefa87a34423a72469 llvm-11.0.0.src.tar.xz sha256 8d85c1057d742e597985c7d4e6320b015a9139385cff4cbae06ffc0ebe89afee LICENSE.TXTpackage/llvm/llvm.mk +0
-0
package/llvm/llvm.mk line 8
Quoted 5 lines
package/llvm/llvm.mk +1
-1@@ -5,7 +5,7 @@ ################################################################################ # LLVM, Clang and lld should be version bumped together -LLVM_VERSION = 9.0.1 +LLVM_VERSION = 11.0.0
I'm not sure if the bump to 10.x would have had a similar behavior but I enabled mesa32 llvmpipe and got a build failure related to the config wrapper not being present.
https://paste.ack.tf/9858ff
Regards.
Matt
PATCH v10 1/4 package/llvm: bump to version 11.0.0
Quoted 29 lines · Matthew Weber
Romain,
Quoted 23 lines · Matt Weber
Signed-off-by Matthew Weber <[email protected]>--- package/llvm/llvm.hash | 2 +- package/llvm/llvm.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/llvm/llvm.hash +1
-1@@ -1,3 +1,3 @@ # locally calculated -sha256 00a1ee1f389f81e9979f3a640a01c431b3021de0d42278f6508391a2f0b81c9a llvm-9.0.1.src.tar.xz +sha256 913f68c898dfb4a03b397c5e11c6a2f39d0f22ed7665c9cefa87a34423a72469 llvm-11.0.0.src.tar.xz sha256 8d85c1057d742e597985c7d4e6320b015a9139385cff4cbae06ffc0ebe89afee LICENSE.TXTpackage/llvm/llvm.mk +0
-0@@ -5,7 +5,7 @@ ################################################################################
Quoted 9 lines
package/llvm/llvm.mk line 8
Quoted 3 lines
package/llvm/llvm.mk +1
-1# LLVM, Clang and lld should be version bumped together -LLVM_VERSION = 9.0.1 +LLVM_VERSION = 11.0.0I'm not sure if the bump to 10.x would have had a similar behavior but I enabled mesa32 llvmpipe and got a build failure related to the config wrapper not being present.
https://paste.ack.tf/9858ff
I should have included this as well.
Quoted 1 line
find . -name llvm-config
./build/llvm-11.0.0/test/tools/llvm-config ./build/llvm-11.0.0/utils/gn/secondary/llvm/tools/llvm-config ./build/llvm-11.0.0/buildroot-build/bin/llvm-config ./build/llvm-11.0.0/buildroot-build/tools/llvm-config ./build/llvm-11.0.0/tools/llvm-config ./build/host-llvm-11.0.0/test/tools/llvm-config ./build/host-llvm-11.0.0/utils/gn/secondary/llvm/tools/llvm-config ./build/host-llvm-11.0.0/buildroot-build/bin/llvm-config ./build/host-llvm-11.0.0/buildroot-build/tools/llvm-config ./build/host-llvm-11.0.0/tools/llvm-config ./target/usr/bin/llvm-config ./host/aarch64-buildroot-linux-gnu/sysroot/usr/bin/llvm-config ./host/bin/llvm-config
-Matt
PATCH v10 1/4 package/llvm: bump to version 11.0.0
Le 05/02/2021 ? 19:53, Matthew Weber a ?crit?:
Quoted 31 lines
Quoted 29 lines · Matthew Weber
Romain,
Quoted 23 lines · Matt Weber
Signed-off-by Matthew Weber <[email protected]>--- package/llvm/llvm.hash | 2 +- package/llvm/llvm.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/llvm/llvm.hash +1
-1@@ -1,3 +1,3 @@ # locally calculated -sha256 00a1ee1f389f81e9979f3a640a01c431b3021de0d42278f6508391a2f0b81c9a llvm-9.0.1.src.tar.xz +sha256 913f68c898dfb4a03b397c5e11c6a2f39d0f22ed7665c9cefa87a34423a72469 llvm-11.0.0.src.tar.xz sha256 8d85c1057d742e597985c7d4e6320b015a9139385cff4cbae06ffc0ebe89afee LICENSE.TXTpackage/llvm/llvm.mk +0
-0@@ -5,7 +5,7 @@ ################################################################################
Quoted 8 lines
Quoted 8 lines
package/llvm/llvm.mk line 8
Quoted 3 lines
package/llvm/llvm.mk +1
-1# LLVM, Clang and lld should be version bumped together -LLVM_VERSION = 9.0.1 +LLVM_VERSION = 11.0.0I'm not sure if the bump to 10.x would have had a similar behavior but I enabled mesa32 llvmpipe and got a build failure related to the config wrapper not being present.
https://paste.ack.tf/9858ff
Michael Opdenacker is also working on llvm/clang version bump, he had a similar issue with libclc build due to new Cmake build system (I guess):
http://lists.busybox.net/pipermail/buildroot/2021-January/thread.html
I didn't tested llvmpipe with the current mesa version (20.3.3) maybe you have to check with the current Buildroot master.
I'll try to take a look.
Best regards,
Romain
Quoted 25 lines
Quoted 1 line
I should have included this as well.
Quoted 1 line
find . -name llvm-config
./build/llvm-11.0.0/test/tools/llvm-config ./build/llvm-11.0.0/utils/gn/secondary/llvm/tools/llvm-config ./build/llvm-11.0.0/buildroot-build/bin/llvm-config ./build/llvm-11.0.0/buildroot-build/tools/llvm-config ./build/llvm-11.0.0/tools/llvm-config ./build/host-llvm-11.0.0/test/tools/llvm-config ./build/host-llvm-11.0.0/utils/gn/secondary/llvm/tools/llvm-config ./build/host-llvm-11.0.0/buildroot-build/bin/llvm-config ./build/host-llvm-11.0.0/buildroot-build/tools/llvm-config ./build/host-llvm-11.0.0/tools/llvm-config ./target/usr/bin/llvm-config ./host/aarch64-buildroot-linux-gnu/sysroot/usr/bin/llvm-config ./host/bin/llvm-config
-Matt
Romain,
Quoted 42 lines · Romain Naour
Le 05/02/2021 ? 19:53, Matthew Weber a ?crit :
Quoted 31 lines
Quoted 29 lines · Matthew Weber
Romain,
Quoted 23 lines · Matt Weber
Signed-off-by Matthew Weber <[email protected]>--- package/llvm/llvm.hash | 2 +- package/llvm/llvm.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/llvm/llvm.hash +1
-1@@ -1,3 +1,3 @@ # locally calculated -sha256 00a1ee1f389f81e9979f3a640a01c431b3021de0d42278f6508391a2f0b81c9a llvm-9.0.1.src.tar.xz +sha256 913f68c898dfb4a03b397c5e11c6a2f39d0f22ed7665c9cefa87a34423a72469 llvm-11.0.0.src.tar.xz sha256 8d85c1057d742e597985c7d4e6320b015a9139385cff4cbae06ffc0ebe89afee LICENSE.TXTpackage/llvm/llvm.mk +0
-0@@ -5,7 +5,7 @@ ################################################################################Quoted 8 lines
Quoted 8 lines
package/llvm/llvm.mk line 8
Quoted 3 lines
package/llvm/llvm.mk +1
-1# LLVM, Clang and lld should be version bumped together -LLVM_VERSION = 9.0.1 +LLVM_VERSION = 11.0.0I'm not sure if the bump to 10.x would have had a similar behavior but I enabled mesa32 llvmpipe and got a build failure related to the config wrapper not being present.
https://urldefense.com/v3/__https://paste.ack.tf/9858ff__;!!MvWE!QoNoAWacp64SQYehF6CWitDX8KoF1Og3NFr2Zp6DLppPMYoC0FGByGQxwQXIKckXB5jt$
Quoted 8 lines
Michael Opdenacker is also working on llvm/clang version bump, he had a similar issue with libclc build due to new Cmake build system (I guess):
I didn't tested llvmpipe with the current mesa version (20.3.3) maybe you have to check with the current Buildroot master.
I went back and did a completely clean build (vs adding mesa3d on as a new package to my compiler-rt testing) and llvmpipe built ok
(https://paste.ack.tf/a56ce8 )..... So I'll switch gears to look at the libclc but it looks like llvm version bump is generally working OK (good to merge if we want to let auto-builders find the rest of the issues).
-Matt