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

Bug 906902

Summary: sys-libs/compiler-rt-sanitizers-15.0.7 - /.../sanitizer_platform_limits_posix.cpp: error: use of undeclared identifier dirent64
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: llvm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=928936
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
sys-libs:compiler-rt-sanitizers-15.0.7:20230521-182110.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-05-21 19:00:49 UTC
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-15.0.7/work/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:352:44: note: expanded from macro 'COMPILER_CHECK'
#define COMPILER_CHECK(pred) static_assert(pred, "")
                                           ^
/usr/include/bits/dirent.h:5:8: note: 'dirent' declared here
struct dirent {
       ^
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-15.0.7/work/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1094:23: error: use of undeclared identifier 'dirent64'
CHECK_SIZE_AND_OFFSET(dirent64, d_ino);
                      ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j5-20230521-051504

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-13 *
clang/llvm (if any):
clang version 16.0.4
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.4
Python 3.11.3
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.69.0 *
php cli (if any):
go version go1.20.4 linux/amd64

  HEAD of ::gentoo
commit 0def790941a96ffdef651ff48629ba493bc0a406
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun May 21 16:03:57 2023 +0000

    2023-05-21 16:03:57 UTC

emerge -qpvO sys-libs/compiler-rt-sanitizers
[ebuild   R   ] sys-libs/compiler-rt-sanitizers-16.0.4  USE="asan clang dfsan hwasan libfuzzer lsan memprof msan orc profile safestack scudo tsan verify-sig xray -cfi -debug (-gwp-asan) (-shadowcallstack) -test -ubsan"
Comment 1 Toralf Förster gentoo-dev 2023-05-21 19:00:50 UTC
Created attachment 862137 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-21 19:00:51 UTC
Created attachment 862138 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-05-21 19:00:52 UTC
Created attachment 862139 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-05-21 19:00:53 UTC
Created attachment 862140 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-05-21 19:00:54 UTC
Created attachment 862141 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-05-21 19:00:55 UTC
Created attachment 862142 [details]
sys-libs:compiler-rt-sanitizers-15.0.7:20230521-182110.log
Comment 7 Toralf Förster gentoo-dev 2023-05-21 19:00:56 UTC
Created attachment 862143 [details]
temp.tar.bz2