Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706820 - media-sound/sexypsf-0.4.8 : fails to build with -fno-common or gcc-10
Summary: media-sound/sexypsf-0.4.8 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 721056 (view as bug list)
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:15 UTC by Toralf Förster
Modified: 2020-08-08 16:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,14.95 KB, text/plain)
2020-01-28 18:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,60.44 KB, text/plain)
2020-01-28 18:15 UTC, Toralf Förster
Details
environment (environment,49.10 KB, text/plain)
2020-01-28 18:15 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.41 KB, application/x-bzip)
2020-01-28 18:15 UTC, Toralf Förster
Details
media-sound:sexypsf-0.4.8:20200127-214447.log (media-sound:sexypsf-0.4.8:20200127-214447.log,34.01 KB, text/plain)
2020-01-28 18:15 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-01-28 18:15:38 UTC
LnxMain.c:34:2: warning: implicit declaration of function ‘SetupSound’ [-Wimplicit-function-declaration]
   34 |  SetupSound();
      |  ^~~~~~~~~~
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed ../PsxBios.o ../PsxCounters.o ../PsxDma.o ../Spu.o ../PsxHw.o ../PsxMem.o ../Misc.o ../R3000A.o ../PsxInterpreter.o ../PsxHLE.o ../spu/spu.o oss.o LnxMain.o -o sexypsf -lz
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../PsxCounters.o:(.bss+0xe0): multiple definition of `psxRegs'; ../PsxBios.o:(.bss+0x18e0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../PsxCounters.o:(.bss+0x4): multiple definition of `psxNextCounter'; ../PsxBios.o:(.bss+0x1804): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20200126-201521

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

  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.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *




repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 20:26:17 +0000

emerge -qpvO media-sound/sexypsf
[ebuild  N    ] media-sound/sexypsf-0.4.8
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:15:41 UTC
Created attachment 605928 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:15:44 UTC
Created attachment 605930 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:15:47 UTC
Created attachment 605932 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:15:49 UTC
Created attachment 605934 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:15:52 UTC
Created attachment 605936 [details]
media-sound:sexypsf-0.4.8:20200127-214447.log
Comment 6 David Seifert gentoo-dev 2020-08-08 13:27:14 UTC
*** Bug 721056 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2020-08-08 16:55:34 UTC
The bug has been closed via the following commit(s):

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

commit 52aa359238d71ff37942157fd9abedc8ba2bb6d6
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-08-08 16:53:33 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-08-08 16:53:33 +0000

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

 .../sexypsf/files/sexypsf-0.4.8-Makefile.patch     |  12 +++
 .../sexypsf/files/sexypsf-0.4.8-fno-common.patch   | 102 +++++++++++++++++++++
 media-sound/sexypsf/sexypsf-0.4.8.ebuild           |  22 +++--
 3 files changed, 128 insertions(+), 8 deletions(-)