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

Bug 706460

Summary: media-sound/chordii-4.5.3 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/16310
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-sound:chordii-4.5.3:20200126-151711.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-26 15:19:35 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -fno-common -c -o iso.o iso.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -fno-common -c -o grid.o grid.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -fno-common -c -o toc.o toc.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o chordii common.o chordii.o xpose.o iso.o grid.o toc.o  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: chordii.o:(.bss+0xfa0): multiple definition of `dummy_kcs'; common.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: chordii.o:(.bss+0xf80): multiple definition of `dummy_chord_struct'; common.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

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

  Please see the tracker bug for details.

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


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 26 Jan 2020 15:06:13 +0000

emerge -qpvO media-sound/chordii
[ebuild  N    ] media-sound/chordii-4.5.3  USE="-doc -examples"
Comment 1 Toralf Förster gentoo-dev 2020-01-26 15:19:38 UTC
Created attachment 604698 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-26 15:19:41 UTC
Created attachment 604700 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-26 15:19:46 UTC
Created attachment 604702 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-26 15:19:49 UTC
Created attachment 604704 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-26 15:19:52 UTC
Created attachment 604706 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-26 15:19:55 UTC
Created attachment 604708 [details]
media-sound:chordii-4.5.3:20200126-151711.log
Comment 7 Toralf Förster gentoo-dev 2020-01-26 15:19:58 UTC
Created attachment 604710 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-08 16:54:49 UTC
The bug has been closed via the following commit(s):

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

commit 65a5ee694c109ad023cd722eae95deddf5c03b90
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-08-08 16:53:21 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-08-08 16:53:21 +0000

    media-sound/chordii: Fix building under -fno-common
    
    Closes: https://bugs.gentoo.org/706460
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: David Seifert <soap@gentoo.org>

 media-sound/chordii/chordii-4.5.3.ebuild           | 20 +++++++-------
 .../chordii/files/chordii-4.5.3-fno-common.patch   | 31 ++++++++++++++++++++++
 2 files changed, 41 insertions(+), 10 deletions(-)