[13/19] Building C object CMakeFiles/hsakmt.dir/src/perfctr.c.o FAILED: CMakeFiles/hsakmt.dir/src/perfctr.c.o /usr/bin/x86_64-gentoo-linux-musl-gcc -Dhsakmt_EXPORTS -I/var/tmp/portage/dev-libs/roct-thunk-interface-3.1.0/work/ROCT-Thunk-Interface-roc-3.1.0/include -I/var/tmp/portage/dev-libs/roct-thunk-interface-3.1.0/work/ROCT-Thunk-Interface-roc-3.1.0/src -DNDEBUG -O2 -pipe -march=native -fPIC -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/perfctr.c.o -MF CMakeFiles/hsakmt.dir/src/perfctr.c.o.d -o CMakeFiles/hsakmt.dir/src/perfctr.c.o -c /var/tmp/portage/dev-libs/roct-thunk-interface-3.1.0/work/ROCT-Thunk-Interface-roc-3.1.0/src/perfctr.c ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-20200328-201618 ------------------------------------------------------------------- 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 * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Mon Mar 30 09:38:55 UTC 2020 /var/db/repos/musl Fri Mar 27 00:25:27 UTC 2020 emerge -qpvO dev-libs/roct-thunk-interface [ebuild N ] dev-libs/roct-thunk-interface-3.1.0
Created attachment 627306 [details] emerge-info.txt
Created attachment 627308 [details] CMakeCache.txt
Created attachment 627310 [details] dev-libs:roct-thunk-interface-3.1.0:20200330-111638.log
Created attachment 627312 [details] emerge-history.txt
Created attachment 627314 [details] environment
Created attachment 627316 [details] etc.portage.tbz2
Created attachment 627318 [details] logs.tbz2
Created attachment 627320 [details] temp.tbz2
*** Bug 715912 has been marked as a duplicate of this bug. ***
From log: /var/tmp/portage/dev-libs/roct-thunk-interface-3.1.0/work/ROCT-Thunk-Interface-roc-3.1.0/src/libhsakmt.h:57:12: error: expected identifier or ‘(’ before numeric constant 57 | extern int PAGE_SIZE; | ^~~~~~~~~ This is a duplicate of https://bugs.gentoo.org/830944
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48a7cd1cc7ff9034442c2aa88a66087b6b19360a commit 48a7cd1cc7ff9034442c2aa88a66087b6b19360a Author: Sv. Lockal <lockalsash@gmail.com> AuthorDate: 2024-03-09 13:57:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-10 02:16:13 +0000 dev-libs/roct-thunk-interface: fix compilation with musl for 5.7.1 and 6.0.0 Upstream PR: https://github.com/ROCm/ROCT-Thunk-Interface/pull/96 Upstream bug: https://github.com/ROCm/ROCT-Thunk-Interface/issues/65 Closes: https://bugs.gentoo.org/830944 Closes: https://bugs.gentoo.org/715434 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> .../files/roct-thunk-interface-5.7.1-musl.patch | 61 ++++++++++++++++++++++ ...ebuild => roct-thunk-interface-5.7.1-r1.ebuild} | 7 ++- ...ebuild => roct-thunk-interface-6.0.0-r1.ebuild} | 7 ++- 3 files changed, 71 insertions(+), 4 deletions(-)