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

Bug 707214

Summary: games-arcade/xboing-2.4-r3 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
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
games-arcade:xboing-2.4-r3:20200129-075104.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-29 18:04:10 UTC
  478 |    fread( sample->data, 1, sample->len, fp );
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rm -f xboing
gcc -o xboing -O2 -pipe -march=native -fno-common     -Wl,-O1 -Wl,--as-needed -L/usr/lib64   version.o main.o score.o error.o         ball.o blocks.o init.o stage.o level.o         paddle.o mess.o intro.o bonus.o sfx.o         highscore.o misc.o inst.o gun.o keys.o         audio.o special.o presents.o demo.o file.o 		preview.o dialogue.o eyedude.o editor.o 		keysedit.o audio/soundIt.o   -lXpm -lXext -lX11 -lm       
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bonus.o:(.bss+0x0): multiple definition of `waitMode'; intro.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: highscore.o:(.bss+0x380): multiple definition of `waitMode'; intro.o:(.bss+0x0): first defined here

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

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

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

  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.40.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 07:06:21 +0000

emerge -qpvO games-arcade/xboing
[ebuild  N    ] games-arcade/xboing-2.4-r3
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:04:13 UTC
Created attachment 607952 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:04:17 UTC
Created attachment 607954 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:04:20 UTC
Created attachment 607956 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:04:23 UTC
Created attachment 607958 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:04:26 UTC
Created attachment 607960 [details]
games-arcade:xboing-2.4-r3:20200129-075104.log
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:04:30 UTC
Created attachment 607962 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-04-24 21:24:08 UTC
The bug has been closed via the following commit(s):

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

commit b3ab289285d6e23cc70866be4ec32c330399f3c2
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2020-04-24 21:23:43 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2020-04-24 21:23:43 +0000

    games-arcade/xboing: Apply -fcommon workaround
    
    This is prehistoric software without upstream activity or even a
    bugtracker. Let's keep it working as long as possible...
    
    Closes: https://bugs.gentoo.org/707214
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 games-arcade/xboing/xboing-2.4-r3.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)