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

Bug 830055

Summary: sys-cluster/legion-21.09.0-r1 - /.../threads.cc: error: pthread_attr_setaffinity_np 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: cluster
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-cluster:legion-21.09.0-r1:20211226-212905.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-12-27 09:29:47 UTC
too long lines were shrinked:

[101/192] /usr/bin/x86_64-gentoo-linux-musl-g++ -DRealmRuntime_EXPORTS -I/var/tmp/portage/sys-cluster/legion-21.09.0-r1/work/legion-legion-21.09.0/runtime -I/var/tmp/portage/sys-cluster/legion-21.09.0-r1/work/legion-legion-21.09.0_build/runtime  -pipe -march=native -fno-diagnostics-color -O2 -march=
FAILED: runtime/CMakeFiles/RealmRuntime.dir/realm/threads.cc.o 
/usr/bin/x86_64-gentoo-linux-musl-g++ -DRealmRuntime_EXPORTS -I/var/tmp/portage/sys-cluster/legion-21.09.0-r1/work/legion-legion-21.09.0/runtime -I/var/tmp/portage/sys-cluster/legion-21.09.0-r1/work/legion-legion-21.09.0_build/runtime  -pipe -march=native -fno-diagnostics-color -O2 -march=native -O2
/var/tmp/portage/sys-cluster/legion-21.09.0-r1/work/legion-legion-21.09.0/runtime/realm/threads.cc: In member function 'void Realm::KernelThread::start_thread(const Realm::ThreadLaunchParameters&, const Realm::CoreReservation&)':
/var/tmp/portage/sys-cluster/legion-21.09.0-r1/work/legion-legion-21.09.0/runtime/realm/threads.cc:860:22: error: 'pthread_attr_setaffinity_np' was not declared in this scope; did you mean 'pthread_setaffinity_np'?
  860 |       CHECK_PTHREAD( pthread_attr_setaffinity_np(&attr,
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211222-090216

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
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:

  HEAD of ::gentoo
commit 37c76a779e7867c4044bc8e2db428a29f173a46a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 26 20:07:29 2021 +0000

    2021-12-26 20:07:27 UTC

emerge -qpvO sys-cluster/legion
[ebuild  N    ] sys-cluster/legion-21.09.0-r1  USE="-examples -gasnet -hwloc -test"
Comment 1 Toralf Förster gentoo-dev 2021-12-27 09:29:48 UTC
Created attachment 760293 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-27 09:29:49 UTC
Created attachment 760294 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-27 09:29:51 UTC
Created attachment 760295 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-27 09:29:52 UTC
Created attachment 760296 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-27 09:29:52 UTC
Created attachment 760297 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-27 09:29:54 UTC
Created attachment 760298 [details]
sys-cluster:legion-21.09.0-r1:20211226-212905.log
Comment 7 Toralf Förster gentoo-dev 2021-12-27 09:29:55 UTC
Created attachment 760299 [details]
temp.tar.bz2