Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707776 - games-emulation/generator-0.35_p4-r1 : fails to build with -fno-common or gcc-10
Summary: games-emulation/generator-0.35_p4-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-02-01 15:04 UTC by Toralf Förster
Modified: 2020-07-05 00:24 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.31 KB, text/plain)
2020-02-01 15:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,258.29 KB, text/plain)
2020-02-01 15:04 UTC, Toralf Förster
Details
environment (environment,60.26 KB, text/plain)
2020-02-01 15:04 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.52 KB, application/x-bzip)
2020-02-01 15:04 UTC, Toralf Förster
Details
games-emulation:generator-0.35_p4-r1:20200201-140259.log (games-emulation:generator-0.35_p4-r1:20200201-140259.log,56.12 KB, text/plain)
2020-02-01 15:04 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.06 KB, application/x-bzip)
2020-02-01 15:04 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.65 KB, application/x-bzip)
2020-02-01 15: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-02-01 15:04:05 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT    -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2  -c -o dib.o dib.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT    -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2  -c -o avi.o avi.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT    -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2  -c -o diss68k.o diss68k.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2   -Wl,-O1 -Wl,--as-needed -o generator-sdl cpu68k.o mem68k.o reg68k.o event.o generator.o state.o cpuz80.o vdp.o gensound.o memz80.o ui-sdl.o uiplot.o gensoundp-unix.o initcart.o patch.o dib.o avi.o diss68k.o ../cpu68k/lib68k.a ../ym2612/libym2612.a -lz -lbz2 -ljpeg ../cmz80/libcmz80.a   -lSM -lICE   -lm ../sn76496/libsn76496.a -lSDL -lpthread ../gtkopts/libgtkopts.a ../cpu68k/tab68k.o 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: reg68k.o:(.bss+0x20): multiple definition of `cpuz80_z80'; mem68k.o:(.bss+0x38040): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: event.o:(.bss+0x0): multiple definition of `cpuz80_z80'; mem68k.o:(.bss+0x38040): 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 *

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.6
  [3]   python3.7 (fallback)
  [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 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 01 Feb 2020 12:27:55 +0000

emerge -qpvO games-emulation/generator
[ebuild  N    ] games-emulation/generator-0.35_p4-r1  USE="sdlaudio"
Comment 1 Toralf Förster gentoo-dev 2020-02-01 15:04:08 UTC
Created attachment 610476 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-01 15:04:11 UTC
Created attachment 610478 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-01 15:04:14 UTC
Created attachment 610480 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-01 15:04:16 UTC
Created attachment 610482 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-01 15:04:19 UTC
Created attachment 610484 [details]
games-emulation:generator-0.35_p4-r1:20200201-140259.log
Comment 6 Toralf Förster gentoo-dev 2020-02-01 15:04:22 UTC
Created attachment 610486 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-01 15:04:24 UTC
Created attachment 610488 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-07-05 00:24:29 UTC
The bug has been closed via the following commit(s):

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

commit 1c9532d3bd70edd5e4e3d296097a058e68c87b0a
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-07-05 00:23:26 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-07-05 00:23:26 +0000

    games-emulation/generator: Fix build system
    
    Closes: https://bugs.gentoo.org/656344
    Closes: https://bugs.gentoo.org/686198
    Closes: https://bugs.gentoo.org/707776
    Closes: https://bugs.gentoo.org/724416
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...gure.patch => generator-0.35_p4-autoconf.patch} | 16 +++++++++----
 .../files/generator-0.35_p4-automake.patch         | 26 ++++++++++++++++++++
 ..._p4-gcc-9.patch => generator-0.35_p4-gcc.patch} | 28 ++++++++++++++++++----
 .../generator/files/generator-0.35_p4-inline.patch | 12 ----------
 .../files/generator-0.35_p4-underlink.patch        | 11 ---------
 .../generator/generator-0.35_p4-r1.ebuild          | 25 ++++++++++---------
 6 files changed, 74 insertions(+), 44 deletions(-)