Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727008 - net-misc/bfgminer-5.5.0: stabilisation (was: fails to build with -fno-common or gcc-10)
Summary: net-misc/bfgminer-5.5.0: stabilisation (was: fails to build with -fno-common ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords: CC-ARCHES, PATCH, PullRequest
Depends on: 771672
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-06-03 20:05 UTC by Toralf Förster
Modified: 2021-02-25 19:07 UTC (History)
2 users (show)

See Also:
Package list:
net-misc/bfgminer-5.5.0 net-libs/libblkmaker-0.6.0 dev-libs/libbase58-0.1.4-r1
Runtime testing required: ---
nattka: sanity-check+


Attachments
emerge-info.txt (emerge-info.txt,15.28 KB, text/plain)
2020-06-03 20:05 UTC, Toralf Förster
no flags Details
emerge-history.txt (emerge-history.txt,149.20 KB, text/plain)
2020-06-03 20:05 UTC, Toralf Förster
no flags Details
environment (environment,80.81 KB, text/plain)
2020-06-03 20:05 UTC, Toralf Förster
no flags Details
etc.portage.tbz2 (etc.portage.tbz2,15.72 KB, application/x-bzip)
2020-06-03 20:05 UTC, Toralf Förster
no flags Details
logs.tbz2 (logs.tbz2,13.69 KB, application/x-bzip)
2020-06-03 20:05 UTC, Toralf Förster
no flags Details
net-misc:bfgminer-5.5.0:20200603-173912.log (net-misc:bfgminer-5.5.0:20200603-173912.log,30.06 KB, text/plain)
2020-06-03 20:05 UTC, Toralf Förster
no flags Details
temp.tbz2 (temp.tbz2,24.03 KB, application/x-bzip)
2020-06-03 20:05 UTC, Toralf Förster
no flags Details
Patch for -fno-common (bfgminer-no-common.patch,3.16 KB, patch)
2020-06-03 22:31 UTC, Luke-Jr
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-06-03 20:05:22 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfgminer-deviceapi.o:(.bss+0x10): multiple definition of `cgsleep_us_r'; bfgminer-miner.o:(.bss+0x658): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfgminer-util.o:(.data.rel.local+0x8): multiple definition of `cgsleep_us_r'; bfgminer-miner.o:(.bss+0x658): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl-20200531-222015

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
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.7
  [2]   python3.8 (fallback)
  [3]   python3.6 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.43.1 *
The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed 03 Jun 2020 03:35:35 PM UTC
/var/db/repos/libressl	Tue 02 Jun 2020 02:35:03 AM UTC

emerge -qpvO net-misc/bfgminer
[ebuild  N    ] net-misc/bfgminer-5.5.0  USE="hardened libusb modminer ncurses sha256d udev unicode -adl -alchemist -avalon -avalonmm -bfsb -bfx -bifury -bigpic -bitforce -bitfury -bitmain -cointerra -cpumining -drillbit -dualminer -examples -gridseed -hashbuster -hashbuster2 -hashfast -icarus -jingtian -keccak -klondike -littlefury -lm-sensors -metabank -minion -nanofury -opencl -proxy -proxy_getwork -proxy_stratum -rockminer -screen -scrypt -twinfury -udev-broad-rules -x6500 -zeusminer -ztex"
Comment 1 Toralf Förster gentoo-dev 2020-06-03 20:05:25 UTC
Created attachment 643304 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-06-03 20:05:28 UTC
Created attachment 643306 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-06-03 20:05:30 UTC
Created attachment 643308 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-06-03 20:05:33 UTC
Created attachment 643310 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-06-03 20:05:36 UTC
Created attachment 643312 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-06-03 20:05:39 UTC
Created attachment 643314 [details]
net-misc:bfgminer-5.5.0:20200603-173912.log
Comment 7 Toralf Förster gentoo-dev 2020-06-03 20:05:41 UTC
Created attachment 643316 [details]
temp.tbz2
Comment 8 Luke-Jr 2020-06-03 22:31:58 UTC
Created attachment 643338 [details, diff]
Patch for -fno-common

Not sure when I'll do a release upstream, but for now, here's a patch to fix the issues with -fno-common (GCC 9.3 at least)
Comment 9 Larry the Git Cow gentoo-dev 2021-01-09 22:18:32 UTC
The bug has been referenced in the following commit(s):

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

commit 686fb76ffda2943cfd8adab9b1c738bb84e11635
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-01-09 22:18:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-01-09 22:18:28 +0000

    net-misc/bfgminer: add gcc 10 patch
    
    Thanks-to: Luke-Jr <luke-jr+gentoobugs@utopios.org>
    Bug: https://bugs.gentoo.org/727008
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/bfgminer/bfgminer-5.5.0.ebuild            |  6 +-
 .../bfgminer/files/bfgminer-5.5.0-fno-common.patch | 83 ++++++++++++++++++++++
 2 files changed, 88 insertions(+), 1 deletion(-)
Comment 10 Andreas Sturmlechner gentoo-dev 2021-01-24 10:20:09 UTC
Could you please move on with net-libs/libblkmaker as well here? See bug 544858.
Comment 11 Andreas Sturmlechner gentoo-dev 2021-01-24 13:20:40 UTC
Adding net-libs/libblkmaker-0.6.0 to the list based on luke-jrs comment in the other bug...
Comment 12 NATTkA bot gentoo-dev 2021-01-24 13:25:05 UTC Comment hidden (obsolete)
Comment 13 Sam James archtester gentoo-dev Security 2021-02-24 23:37:50 UTC
amd64 done
Comment 14 Sam James archtester gentoo-dev Security 2021-02-24 23:43:57 UTC
x86 done

all arches done
Comment 15 Larry the Git Cow gentoo-dev 2021-02-25 19:07:42 UTC
The bug has been referenced in the following commit(s):

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

commit 6f4322b04a37ba19827aef515a845569731f06a1
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-25 07:53:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-25 19:07:33 +0000

    net-misc/bfgminer: Remove old
    
    Bug: https://bugs.gentoo.org/727008
    
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/bfgminer/Manifest              |   1 -
 net-misc/bfgminer/bfgminer-5.4.2.ebuild | 192 --------------------------------
 net-misc/bfgminer/metadata.xml          |   1 -
 3 files changed, 194 deletions(-)

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

commit 8c86f87ecbd277366f423e658a8c402eda7abcd0
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-25 09:42:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-25 19:07:32 +0000

    dev-libs/libbase58: Remove old
    
    Bug: https://bugs.gentoo.org/727008
    
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libbase58/libbase58-0.1.4.ebuild | 28 ----------------------------
 1 file changed, 28 deletions(-)

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

commit 118ae08d35247b35ab6d480db9c3b3959b685e04
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-25 07:45:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-25 19:07:32 +0000

    net-libs/libblkmaker: Remove old
    
    Bug: https://bugs.gentoo.org/727008
    
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/libblkmaker/Manifest                 |  3 ---
 net-libs/libblkmaker/libblkmaker-0.3.2.ebuild | 26 --------------------------
 net-libs/libblkmaker/libblkmaker-0.4.3.ebuild | 24 ------------------------
 net-libs/libblkmaker/libblkmaker-0.5.3.ebuild | 25 -------------------------
 4 files changed, 78 deletions(-)