/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfgminer-miner.o: warning: relocation against `cpus' in read-only section `.text' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfgminer-miner.o: in function `_bfg_clean_up': miner.c:(.text+0xc371): undefined reference to `cpus' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating DT_TEXTREL in a PIE collect2: error: ld returned 1 exit status make[2]: *** [Makefile:1257: bfgminer] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-20210303-131616 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 11.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.1.0 Python 3.8.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) * Available Rust versions: [1] rust-1.50.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Fri Mar 12 01:20:54 UTC 2021 emerge -qpvO net-misc/bfgminer [ebuild N ] net-misc/bfgminer-5.5.0 USE="examples hashfast libusb ncurses sha256d udev unicode -adl -alchemist -avalon -avalonmm -bfsb -bfx -bifury -bigpic -bitforce -bitfury -bitmain -cointerra -cpumining -drillbit -dualminer -gridseed -hardened -hashbuster -hashbuster2 -icarus -jingtian -keccak -klondike -littlefury -lm-sensors -metabank -minion -modminer -nanofury -opencl -proxy -proxy_getwork -proxy_stratum -rockminer -screen -scrypt -twinfury -udev-broad-rules -x6500 -zeusminer -ztex"
Created attachment 690900 [details] emerge-info.txt
Created attachment 690903 [details] emerge-history.txt
Created attachment 690906 [details] environment
Created attachment 690909 [details] etc.portage.tar.bz2
Created attachment 690912 [details] logs.tar.bz2
Created attachment 690915 [details] net-misc:bfgminer-5.5.0:20210312-013559.log
Created attachment 690918 [details] temp.tar.bz2
Created attachment 691029 [details, diff] Upstream fix This is due to the -fno-common fixes. Attached upstream fix.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4be638d4edd1a5128130ae9aee2f63b6c7626a8 commit b4be638d4edd1a5128130ae9aee2f63b6c7626a8 Author: Luke Dashjr <luke-jr+git@utopios.org> AuthorDate: 2021-10-26 21:41:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-31 03:05:46 +0000 net-misc/bfgminer: Upstream patch to fix build failure with USE=-cpumining Closes: https://bugs.gentoo.org/775560 Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org> Closes: https://github.com/gentoo/gentoo/pull/22718 Signed-off-by: Sam James <sam@gentoo.org> net-misc/bfgminer/bfgminer-5.5.0-r2.ebuild | 1 + .../files/bfgminer-5.5.0-cpus-undefined.patch | 23 ++++++++++++++++++++++ 2 files changed, 24 insertions(+)