Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937428 - dev-libs/rocr-runtime-6.1.2 - [icu-75.1] /.../os_linux.cpp: error: pthread_attr_setaffinity_np was not declared in this scope
Summary: dev-libs/rocr-runtime-6.1.2 - [icu-75.1] /.../os_linux.cpp: error: pthread_at...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-06 07:08 UTC by Toralf Förster
Modified: 2025-01-05 21:49 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.05 KB, text/plain)
2024-08-06 07:08 UTC, Toralf Förster
Details
dev-libs:rocr-runtime-6.1.2:20240806-023432.log (dev-libs:rocr-runtime-6.1.2:20240806-023432.log,62.72 KB, text/plain)
2024-08-06 07:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,184.35 KB, text/plain)
2024-08-06 07:08 UTC, Toralf Förster
Details
environment (environment,103.74 KB, text/plain)
2024-08-06 07:08 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.00 KB, application/x-xz)
2024-08-06 07:08 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,40.06 KB, application/x-xz)
2024-08-06 07:08 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,49.02 KB, application/x-xz)
2024-08-06 07:08 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 2024-08-06 07:08:06 UTC
too long lines were shrinked:

[84/152] /usr/bin/x86_64-pc-linux-musl-g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.13.0-local-build-unknown\" -DUNIX_OS -D__STDC_CO
[85/152] /usr/bin/x86_64-pc-linux-musl-g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.13.0-local-build-unknown\" -DUNIX_OS -D__STDC_CO
[86/152] /usr/bin/x86_64-pc-linux-musl-g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.13.0-local-build-unknown\" -DUNIX_OS -D__STDC_CO
FAILED: CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o 
/usr/bin/x86_64-pc-linux-musl-g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.13.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MA
/var/tmp/portage/dev-libs/rocr-runtime-6.1.2/work/ROCR-Runtime-rocm-6.1.2/src/core/util/lnx/os_linux.cpp: In constructor 'rocr::os::os_thread::os_thread(rocr::os::ThreadEntry, void*, rocr::uint)':
/var/tmp/portage/dev-libs/rocr-runtime-6.1.2/work/ROCR-Runtime-rocm-6.1.2/src/core/util/lnx/os_linux.cpp:139:13: error: 'pthread_attr_setaffinity_np' was not declared in this scope; did you mean 'pthread_setaffinity_np'?
  139 |       err = pthread_attr_setaffinity_np(&attrib, CPU_ALLOC_SIZE(cores), cpuset);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl-20240803-100502

  UNMASKED:
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-musl-14 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Rust versions:
  [1]   rust-bin-1.79.0 *
php cli (if any):
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit d09262633e1ca96eafbf4b11f24c679d01805f32
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 6 00:48:59 2024 +0000

    2024-08-06 00:48:58 UTC

emerge -qpvO dev-libs/rocr-runtime
[ebuild  N    ] dev-libs/rocr-runtime-6.1.2  USE="-debug" LLVM_SLOT="18"
Comment 1 Toralf Förster gentoo-dev 2024-08-06 07:08:07 UTC
Created attachment 899235 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-06 07:08:09 UTC
Created attachment 899236 [details]
dev-libs:rocr-runtime-6.1.2:20240806-023432.log
Comment 3 Toralf Förster gentoo-dev 2024-08-06 07:08:11 UTC
Created attachment 899237 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-08-06 07:08:13 UTC
Created attachment 899238 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-06 07:08:13 UTC
Created attachment 899239 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-06 07:08:15 UTC
Created attachment 899240 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-06 07:08:16 UTC
Created attachment 899241 [details]
qlist-info.txt.xz
Comment 8 Larry the Git Cow gentoo-dev 2025-01-05 21:49:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a94c8570e93134e0677f7f35f90b9f1367d2843

commit 8a94c8570e93134e0677f7f35f90b9f1367d2843
Author:     Sv. Lockal <lockalsash@gmail.com>
AuthorDate: 2024-12-08 13:35:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-05 21:46:26 +0000

    dev-libs/rocr-runtime: add 6.3.0, drop 6.2.4
    
    Closes: https://bugs.gentoo.org/940510
    Closes: https://bugs.gentoo.org/937528
    Closes: https://bugs.gentoo.org/937428
    Closes: https://bugs.gentoo.org/935627
    Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/rocr-runtime/Manifest                     |   2 +-
 .../files/rocr-runtime-6.2.0-ld-lld.patch          |  17 ++++
 .../files/rocr-runtime-6.2.0-no-aqlprofiler.patch  |  27 ++++++
 .../files/rocr-runtime-6.2.2-gcc15-stdint.patch    |  11 +++
 .../files/rocr-runtime-6.3.0-musl.patch            | 107 +++++++++++++++++++++
 .../rocr-runtime-6.3.0-use-system-hsakmt.patch     |  20 ++++
 dev-libs/rocr-runtime/rocr-runtime-6.1.2.ebuild    |   4 +-
 ...time-6.2.4.ebuild => rocr-runtime-6.3.0.ebuild} |  26 +++--
 8 files changed, 202 insertions(+), 12 deletions(-)