Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712982 - games-emulation/gens-2.15.5-r1 : fails to build with -fno-common or gcc-10
Summary: games-emulation/gens-2.15.5-r1 : 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 Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-03-17 14:03 UTC by Toralf Förster
Modified: 2020-11-21 20:38 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.79 KB, text/plain)
2020-03-17 14:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,300.83 KB, text/plain)
2020-03-17 14:03 UTC, Toralf Förster
Details
environment (environment,90.09 KB, text/plain)
2020-03-17 14:03 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,46.85 KB, application/x-bzip)
2020-03-17 14:04 UTC, Toralf Förster
Details
games-emulation:gens-2.15.5-r1:20200316-234039.log.bz2 (games-emulation:gens-2.15.5-r1:20200316-234039.log.bz2,43.89 KB, application/x-bzip)
2020-03-17 14:04 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.19 KB, application/x-bzip)
2020-03-17 14:04 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,65.35 KB, application/x-bzip)
2020-03-17 14:04 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-03-17 14:03:48 UTC
nasm -O1 -D __GCC2 -f elf -I./gens_core/ -I./gens_core/io/ -I./gens_core/misc/ -I./gens_core/vdp/ -I./gens_core/sound/ -I./gens_core/gfx/ -I./gens_core/cpu/sh2/ -I./gens_core/cpu/z80/ -I./gens_core/mem/ ../starscream/sub68k/sub68k.asm -o ../starscream/sub68k/sub68k.o
../starscream/sub68k/sub68k.asm:113: warning: label alone on a line without a colon might be in error [-w+orphan-labels]
../starscream/sub68k/sub68k.asm:141312: warning: label alone on a line without a colon might be in error [-w+orphan-labels]
x86_64-pc-linux-gnu-gcc -m32 -DDATADIR=\/usr/share/gens\ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/lib/libffi/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -W -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -W  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack -o gens gens_core/cpu/68k/gens-cpu_68k.o gens_core/cpu/sh2/gens-cpu_sh2.o gens_core/cpu/sh2/gens-sh2.o gens_core/cpu/z80/gens-cpu_z80.o gens_core/sound/gens-pcm.o gens_core/sound/gens-psg.o gens_core/sound/gens-ym2612.o gens_core/gfx/gens-blit2.o gens_core/gfx/gens-hqfilters.o segacd/gens-cd_aspi.o segacd/gens-cd_file.o segacd/gens-cd_sys.o segacd/gens-cdda_mp3.o segacd/gens-lc89510.o mp3_dec/gens-common.o mp3_dec/gens-dct64_i386.o mp3_dec/gens-decode_i386.o mp3_dec/gens-interface.o mp3_dec/gens-layer3.o mp3_dec/gens-tabinit.o sdllayer/gens-g_sdldraw.o sdllayer/gens-g_sdlinput.o sdllayer/gens-g_sdlsound.o util/file/gens-chd.o util/file/gens-rom.o util/file/gens-save.o util/file/gens-ggenie.o util/sound/gens-gym.o util/gfx/gens-scrshot.o util/file/gens-unzip.o util/sound/gens-wave.o port/gens-port.o port/gens-timer.o emulator/gens-ui_proxy.o emulator/gens-g_main.o emulator/gens-gens.o debug/gens-debug.o debug/gens-m68kd.o debug/gens-sh2d.o debug/gens-z80dis.o gtkui/glade/gens-callbacks.o gtkui/glade/gens-interface.o gtkui/gens-support.o emulator/gens-parse.o gens_core/gfx/blit.o gens_core/gfx/hq2x16.o gens_core/gfx/gfx_cd.o gens_core/io/io.o gens_core/mem/mem_m68k.o gens_core/mem/mem_s68k.o gens_core/mem/mem_sh2.o gens_core/mem/mem_z80.o gens_core/misc/misc.o gens_core/sound/pwm.o gens_core/cpu/sh2/sh2a.o gens_core/vdp/vdp_32x.o gens_core/vdp/vdp_io.o gens_core/vdp/vdp_rend.o gens_core/cpu/z80/z80.o ../starscream/main68k/main68k.o ../starscream/sub68k/sub68k.o -lm -lz -lSDL -lpthread -L/usr/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lc -lrt  -lGL
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: util/file/gens-rom.o:(.bss+0x0): multiple definition of CDROM_SPEED; segacd/gens-cd_aspi.o:(.bss+0x25508): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: gens_core/gfx/blit.o: warning: relocation in read-only section .text

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-libressl_abi32+64-20200307-151705

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.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.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-bin-1.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-8]
2)	IcedTea JDK 3.14.0 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-8  system-vm
  [2]   icedtea-bin-8 
  [3]   jamvm 

The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 16 Mar 2020 22:38:28 +0000
emerge -qpvO games-emulation/gens
[ebuild  N    ] games-emulation/gens-2.15.5-r1
Comment 1 Toralf Förster gentoo-dev 2020-03-17 14:03:51 UTC
Created attachment 620844 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-17 14:03:54 UTC
Created attachment 620846 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-17 14:03:57 UTC
Created attachment 620848 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-17 14:04:00 UTC
Created attachment 620850 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-17 14:04:02 UTC
Created attachment 620852 [details]
games-emulation:gens-2.15.5-r1:20200316-234039.log.bz2
Comment 6 Toralf Förster gentoo-dev 2020-03-17 14:04:06 UTC
Created attachment 620854 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-17 14:04:08 UTC
Created attachment 620856 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-21 20:38:53 UTC
The bug has been closed via the following commit(s):

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

commit 02744bab811337194c9f27182e6e912020034221
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-21 20:38:14 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-21 20:38:14 +0000

    games-emulation/gens: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/654420
    Closes: https://bugs.gentoo.org/712982
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../gens/files/gens-2.15.5-fno-common.patch        | 58 ++++++++++++++++++++++
 .../gens/files/gens-2.15.5-zlib-OF.patch           |  7 +++
 games-emulation/gens/gens-2.15.5-r1.ebuild         | 48 ------------------
 games-emulation/gens/gens-2.15.5-r2.ebuild         | 50 +++++++++++++++++++
 4 files changed, 115 insertions(+), 48 deletions(-)