cc -O2 -pipe -march=native -DSIZEOF_WARNING=1 specs/sys/select.c -o bin/sys/select specs/sys/select.c: In function main: specs/sys/select.c:6:54: error: __fd_mask undeclared (first use in this function); did you mean fd_mask? 6 | printf($sizeof{ &__fd_mask } = 0x%lx;\n, sizeof(__fd_mask)); | ^~~~~~~~~ | fd_mask ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200328-141627 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-gentoo-linux-musl-9.3.0 * clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.42.0 * The following VMs are available for generation-2: Available Java Virtual Machines: (none found) timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Sat Apr 11 12:44:28 UTC 2020 /var/db/repos/musl Wed Apr 8 18:15:58 UTC 2020 emerge -qpvO dev-perl/perl-headers [ebuild N ] dev-perl/perl-headers-0.0.1 USE="debug sizeof-warning"
Created attachment 632242 [details] emerge-info.txt
Created attachment 632244 [details] dev-perl:perl-headers-0.0.1:20200411-132124.log
Created attachment 632246 [details] emerge-history.txt
Created attachment 632248 [details] environment
Created attachment 632250 [details] etc.portage.tbz2
Created attachment 632252 [details] temp.tbz2
May need #include <sys/select.h>
(In reply to Sam James from comment #7) > May need > #include <sys/select.h> No, that one is actually included. Sounds more like sys/select.h does not provide the definition on musl.
(In reply to Andreas K. Hüttel from comment #8) > (In reply to Sam James from comment #7) > > May need > > #include <sys/select.h> > > No, that one is actually included. Sounds more like sys/select.h does not > provide the definition on musl. Yep. musl only provides fd_mask, not __fd_mask
tinderbox_musl has reproduced this issue with version 0.0.2 - Updating summary.