Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715434 - dev-libs/roct-thunk-interface-3.1.0 : /.../topology.c: note: each undeclared identifier is reported only once for each function it
Summary: dev-libs/roct-thunk-interface-3.1.0 : /.../topology.c: note: each undeclared ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
: 715912 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-03-30 11:56 UTC by Toralf Förster
Modified: 2024-03-10 02:16 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.20 KB, text/plain)
2020-03-30 11:56 UTC, Toralf Förster
Details
CMakeCache.txt (CMakeCache.txt,18.52 KB, text/plain)
2020-03-30 11:56 UTC, Toralf Förster
Details
dev-libs:roct-thunk-interface-3.1.0:20200330-111638.log (dev-libs:roct-thunk-interface-3.1.0:20200330-111638.log,28.07 KB, text/plain)
2020-03-30 11:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,83.12 KB, text/plain)
2020-03-30 11:56 UTC, Toralf Förster
Details
environment (environment,104.96 KB, text/plain)
2020-03-30 11:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.14 KB, application/x-bzip)
2020-03-30 11:56 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.38 KB, application/x-bzip)
2020-03-30 11:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.66 KB, application/x-bzip)
2020-03-30 11:56 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 2020-03-30 11:56:30 UTC
[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
Comment 1 Toralf Förster gentoo-dev 2020-03-30 11:56:33 UTC
Created attachment 627306 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-30 11:56:35 UTC
Created attachment 627308 [details]
CMakeCache.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-30 11:56:38 UTC
Created attachment 627310 [details]
dev-libs:roct-thunk-interface-3.1.0:20200330-111638.log
Comment 4 Toralf Förster gentoo-dev 2020-03-30 11:56:41 UTC
Created attachment 627312 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2020-03-30 11:56:44 UTC
Created attachment 627314 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2020-03-30 11:56:46 UTC
Created attachment 627316 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-30 11:56:49 UTC
Created attachment 627318 [details]
logs.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-30 11:56:52 UTC
Created attachment 627320 [details]
temp.tbz2
Comment 9 Toralf Förster gentoo-dev 2021-12-10 16:40:04 UTC
*** Bug 715912 has been marked as a duplicate of this bug. ***
Comment 10 Sv. Lockal 2024-03-09 13:39:30 UTC
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
Comment 11 Larry the Git Cow gentoo-dev 2024-03-10 02:16:47 UTC
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(-)