Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 829498

Summary: sys-devel/llvm-roc-4.3.0-r1 - /.../FuzzerInterceptors.cpp: error: size_t was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: candrews
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-devel:llvm-roc-4.3.0-r1:20211217-193301.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-12-17 19:40:29 UTC
/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"
Comment 1 Toralf Förster gentoo-dev 2021-12-17 19:40:30 UTC
Created attachment 759496 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-17 19:40:31 UTC
Created attachment 759497 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-17 19:40:32 UTC
Created attachment 759498 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-17 19:40:33 UTC
Created attachment 759499 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-17 19:40:34 UTC
Created attachment 759500 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-17 19:40:36 UTC
Created attachment 759501 [details]
sys-devel:llvm-roc-4.3.0-r1:20211217-193301.log
Comment 7 Toralf Förster gentoo-dev 2021-12-17 19:40:37 UTC
Created attachment 759502 [details]
temp.tar.bz2
Comment 8 tt_1 2022-04-02 17:20:39 UTC
you can try this patch:
https://reviews.llvm.org/D105425