Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828093 - net-misc/xmrig-6.16.2 - /.../ghostrider.cpp: error: HWLOC_OBJ_L3CACHE was not declared in this scope
Summary: net-misc/xmrig-6.16.2 - /.../ghostrider.cpp: error: HWLOC_OBJ_L3CACHE was not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Smith
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-12-03 17:13 UTC by Toralf Förster
Modified: 2021-12-20 18:59 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.45 KB, text/plain)
2021-12-03 17:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,253.57 KB, text/plain)
2021-12-03 17:13 UTC, Toralf Förster
Details
environment (environment,95.38 KB, text/plain)
2021-12-03 17:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,74.19 KB, application/x-bzip)
2021-12-03 17:13 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.02 KB, application/x-bzip)
2021-12-03 17:13 UTC, Toralf Förster
Details
net-misc:xmrig-6.16.2:20211203-155904.log (net-misc:xmrig-6.16.2:20211203-155904.log,272.59 KB, text/plain)
2021-12-03 17:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.41 KB, application/x-bzip)
2021-12-03 17:13 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 2021-12-03 17:13:08 UTC
too long lines were shrinked:

[219/222] /usr/bin/x86_64-pc-linux-gnu-g++ -DASTROBWT_AVX2 -DHAVE_BUILTIN_CLEAR_CACHE -DHAVE_ROTR -DHAVE_SYSLOG_H -DRAPIDJSON_SSE2 -DUNICODE -DXMRIG_64_BIT -DXMRIG_ALGO_ARGON2 -DXMRIG_ALGO_ASTROBWT -DXMRIG_ALGO_GHOSTRIDER -DXMRIG_ALGO_KAWPOW -DXMRIG_ALGO_RANDOMX -DXMRIG_FEATURE_API -DXMRIG_FEATURE_B
FAILED: src/crypto/ghostrider/CMakeFiles/ghostrider.dir/ghostrider.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DASTROBWT_AVX2 -DHAVE_BUILTIN_CLEAR_CACHE -DHAVE_ROTR -DHAVE_SYSLOG_H -DRAPIDJSON_SSE2 -DUNICODE -DXMRIG_64_BIT -DXMRIG_ALGO_ARGON2 -DXMRIG_ALGO_ASTROBWT -DXMRIG_ALGO_GHOSTRIDER -DXMRIG_ALGO_KAWPOW -DXMRIG_ALGO_RANDOMX -DXMRIG_FEATURE_API -DXMRIG_FEATURE_BENCHMARK -
/var/tmp/portage/net-misc/xmrig-6.16.2/work/xmrig-6.16.2/src/crypto/ghostrider/ghostrider.cpp: In function ‘xmrig::ghostrider::HelperThread* xmrig::ghostrider::create_helper_thread(int64_t, const std::vector<long int>&)’:
/var/tmp/portage/net-misc/xmrig-6.16.2/work/xmrig-6.16.2/src/crypto/ghostrider/ghostrider.cpp:486:26: error: ‘HWLOC_OBJ_L3CACHE’ was not declared in this scope; did you mean ‘HWLOC_OBJ_CACHE’?
  486 |         findByType(root, HWLOC_OBJ_L3CACHE, [cpu_index, &is8MB](hwloc_obj_t obj) {
      |                          ^~~~~~~~~~~~~~~~~
      |                          HWLOC_OBJ_CACHE
/var/tmp/portage/net-misc/xmrig-6.16.2/work/xmrig-6.16.2/src/crypto/ghostrider/ghostrider.cpp:510:48: error: ‘HWLOC_OBJ_L1CACHE’ was not declared in this scope; did you mean ‘HWLOC_OBJ_CACHE’?

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20211201-080026

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
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.56.1 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.1 *

  HEAD of ::gentoo
commit bef2af485441c74db516ae95906f198ec983df13
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 3 15:36:35 2021 +0000

    2021-12-03 15:36:34 UTC

emerge -qpvO net-misc/xmrig
[ebuild  N    ] net-misc/xmrig-6.16.2  USE="hwloc ssl -donate -opencl" CPU_FLAGS_X86="sse4_1"
Comment 1 Toralf Förster gentoo-dev 2021-12-03 17:13:10 UTC
Created attachment 757324 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-03 17:13:12 UTC
Created attachment 757325 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-03 17:13:13 UTC
Created attachment 757326 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-03 17:13:15 UTC
Created attachment 757327 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-03 17:13:16 UTC
Created attachment 757328 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-03 17:13:18 UTC
Created attachment 757329 [details]
net-misc:xmrig-6.16.2:20211203-155904.log
Comment 7 Toralf Förster gentoo-dev 2021-12-03 17:13:21 UTC
Created attachment 757330 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-12-20 18:59:46 UTC
The bug has been closed via the following commit(s):

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

commit cb68697d231fe2f9dc362887563706401474cdce
Author:     Matthew Smith <matt@offtopica.uk>
AuthorDate: 2021-12-20 17:25:08 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2021-12-20 18:59:43 +0000

    net-misc/xmrig: Require newer hwloc
    
    Since XMRig 6.16.0 with the GhostRider algo enabled, a newer version
    of hwloc is required.
    
    Closes: https://bugs.gentoo.org/828093
    Signed-off-by: Matthew Smith <matt@offtopica.uk>
    Closes: https://github.com/gentoo/gentoo/pull/23435
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 net-misc/xmrig/xmrig-6.16.0.ebuild | 2 +-
 net-misc/xmrig/xmrig-6.16.1.ebuild | 2 +-
 net-misc/xmrig/xmrig-6.16.2.ebuild | 2 +-
 net-misc/xmrig/xmrig-9999.ebuild   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)