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

Bug 708052

Summary: sys-apps/memtester-4.3.0 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sys-apps:memtester-4.3.0:20200203-081553.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-03 18:49:01 UTC
( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
chmod 755 load
./extra-libs.sh "`cat systype`" >extra-libs
./load memtester tests.o `cat extra-libs`
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tests.o:(.bss+0x0): multiple definition of `mword16'; memtester.o:(.bss+0x10): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tests.o:(.bss+0x8): multiple definition of `mword8'; memtester.o:(.bss+0x18): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200129-211601

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
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-1.41.0 *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.15.0 [icedtea-8]
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 03 Feb 2020 07:48:28 +0000

emerge -qpvO sys-apps/memtester
[ebuild  N    ] sys-apps/memtester-4.3.0
Comment 1 Toralf Förster gentoo-dev 2020-02-03 18:49:04 UTC
Created attachment 611388 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-03 18:49:07 UTC
Created attachment 611390 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-03 18:49:11 UTC
Created attachment 611392 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-03 18:49:14 UTC
Created attachment 611394 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-03 18:49:17 UTC
Created attachment 611396 [details]
sys-apps:memtester-4.3.0:20200203-081553.log
Comment 6 Toralf Förster gentoo-dev 2020-02-03 18:49:20 UTC
Created attachment 611398 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-02-10 00:18:35 UTC
The bug has been closed via the following commit(s):

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

commit dca74e8493fee4b80a20d44c281feb9a20894d78
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-02-10 00:18:13 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-02-10 00:18:13 +0000

    sys-apps/memtester: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/708052
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../memtester-4.3.0-fix-gcc10-fno-common.patch     | 31 ++++++++++++++++++++++
 sys-apps/memtester/memtester-4.3.0.ebuild          | 16 ++++++-----
 2 files changed, 40 insertions(+), 7 deletions(-)