/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: goptions.o:(.bss+0x0): multiple definition of `main_ui'; gfio.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gerror.o:(.bss+0x0): multiple definition of `main_ui'; gfio.o:(.bss+0x20): first defined here ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_developer-abi32+64-20200626-131934 ------------------------------------------------------------------- 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.9 (fallback) [3] python3.8 (fallback) [4] python3.6 (fallback) [5] python2.7 (fallback) [6] pypy3 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) * Available Rust versions: [1] rust-bin-1.41.1 [2] rust-1.44.1 * The following VMs are available for generation-2: *) IcedTea JDK 3.16.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.0.2 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Fri 03 Jul 2020 06:05:25 AM UTC emerge -qpvO sys-block/fio [ebuild N ] sys-block/fio-3.20 USE="gtk zlib -aio -curl -glusterfs -gnuplot -io-uring -libressl -numa -python -rbd -rdma (-static) -tcmalloc -test -zbc" PYTHON_TARGETS="python3_7 -python3_6 -python3_8"
this seems to be either still an issue or a similarity to the one reported in bug 708546
Created attachment 647456 [details] emerge-info.txt
Created attachment 647458 [details] emerge-history.txt
Created attachment 647460 [details] environment
Created attachment 647462 [details] etc.portage.tbz2
Created attachment 647464 [details] logs.tbz2
Created attachment 647466 [details] sys-block:fio-3.20:20200703-065905.log
Created attachment 647468 [details] temp.tbz2
Created attachment 647582 [details, diff] Patch to fix -fno-common/gcc-10 The following patch works for me.
I think we should stick to upstream https://github.com/axboe/fio/commit/63a4b9cca4ba3aa4101051402cbbe946ced17a49
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=871c6d66637b79f8b3652c1c7ce897cfaa0775bb commit 871c6d66637b79f8b3652c1c7ce897cfaa0775bb Author: Matthew Thode <prometheanfire@gentoo.org> AuthorDate: 2020-07-04 18:45:14 +0000 Commit: Matthew Thode <prometheanfire@gentoo.org> CommitDate: 2020-07-04 18:45:14 +0000 sys-block/fio: 3.20 fix gcc fno-common issue backported patch from upstream Closes: https://bugs.gentoo.org/730546 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> sys-block/fio/files/fio-3.20-fno-common.patch | 51 +++++++++ sys-block/fio/fio-3.20-r1.ebuild | 157 ++++++++++++++++++++++++++ 2 files changed, 208 insertions(+)