Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829498 - sys-devel/llvm-roc-4.3.0-r1 - /.../FuzzerInterceptors.cpp: error: size_t was not declared in this scope
Summary: sys-devel/llvm-roc-4.3.0-r1 - /.../FuzzerInterceptors.cpp: error: size_t was ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-17 19:40 UTC by Toralf Förster
Modified: 2022-04-02 17:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,14.91 KB, text/plain)
2021-12-17 19:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,89.88 KB, text/plain)
2021-12-17 19:40 UTC, Toralf Förster
Details
environment (environment,91.19 KB, text/plain)
2021-12-17 19:40 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.20 KB, application/x-bzip)
2021-12-17 19:40 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,15.15 KB, application/x-bzip)
2021-12-17 19:40 UTC, Toralf Förster
Details
sys-devel:llvm-roc-4.3.0-r1:20211217-193301.log (sys-devel:llvm-roc-4.3.0-r1:20211217-193301.log,263.50 KB, text/plain)
2021-12-17 19:40 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,34.23 KB, application/x-bzip)
2021-12-17 19:40 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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