/var/tmp/portage/sys-devel/llvm-roc-4.3.0-r1/work/llvm-project-rocm-4.3.0/compiler-rt/lib/fuzzer/FuzzerInterceptors.cpp:62:36: error: 'size_t' has not been declared 62 | size_t n) { | ^~~~~~ /var/tmp/portage/sys-devel/llvm-roc-4.3.0-r1/work/llvm-project-rocm-4.3.0/compiler-rt/lib/fuzzer/FuzzerInterceptors.cpp: In function 'int internal_strcmp_strncmp(const char*, const char*, bool, int)': /var/tmp/portage/sys-devel/llvm-roc-4.3.0-r1/work/llvm-project-rocm-4.3.0/compiler-rt/lib/fuzzer/FuzzerInterceptors.cpp:63:3: error: 'size_t' was not declared in this scope; did you mean 'std::size_t'? 63 | size_t i = 0; | ^~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-j4-20211217-040058 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.1 * Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.57.0 * php cli: [1] php7.3 [2] php7.4 [3] php8.1 * HEAD of ::gentoo commit 1be316ad67fd585b512ed328dbc33d07898dbaa3 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Dec 17 18:36:45 2021 +0000 2021-12-17 18:36:43 UTC emerge -qpvO sys-devel/llvm-roc [ebuild N ] sys-devel/llvm-roc-4.3.0-r1 USE="runtime -debug"
Created attachment 759496 [details] emerge-info.txt
Created attachment 759497 [details] emerge-history.txt
Created attachment 759498 [details] environment
Created attachment 759499 [details] etc.portage.tar.bz2
Created attachment 759500 [details] logs.tar.bz2
Created attachment 759501 [details] sys-devel:llvm-roc-4.3.0-r1:20211217-193301.log
Created attachment 759502 [details] temp.tar.bz2
you can try this patch: https://reviews.llvm.org/D105425