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

Bug 712874

Summary: net-p2p/cpuminer-opt-3.12.13 : sha512_avx2.c:(.text+<snip>): undefined reference to htobe64
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: candrews
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-p2p:cpuminer-opt-3.12.13:20200316-095640.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-16 13:31:25 UTC
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: algo/hodl/cpuminer-sha512_avx2.o: in function sha512Compute32b_parallel:
sha512_avx2.c:(.text+0x3ae7): undefined reference to htobe64
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: sha512_avx2.c:(.text+0x3b18): undefined reference to htobe64
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:2233: cpuminer] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200311-204810

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] 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-bin-1.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 16 Mar 2020 08:16:29 +0000
emerge -qpvO net-p2p/cpuminer-opt
[ebuild  N    ] net-p2p/cpuminer-opt-3.12.13  USE="-curl -libressl" CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2020-03-16 13:31:28 UTC
Created attachment 620552 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-16 13:31:31 UTC
Created attachment 620554 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-16 13:31:34 UTC
Created attachment 620556 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-16 13:31:36 UTC
Created attachment 620558 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-16 13:31:39 UTC
Created attachment 620560 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-16 13:31:42 UTC
Created attachment 620562 [details]
net-p2p:cpuminer-opt-3.12.13:20200316-095640.log
Comment 7 Toralf Förster gentoo-dev 2020-03-16 13:31:45 UTC
Created attachment 620564 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-16 16:12:41 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.