Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706950 - games-util/etswitch-0.1.14-r1 : fails to build with -fno-common or gcc-10
Summary: games-util/etswitch-0.1.14-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-01-28 18:46 UTC by Toralf Förster
Modified: 2020-11-22 16:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.31 KB, text/plain)
2020-01-28 18:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,88.81 KB, text/plain)
2020-01-28 18:46 UTC, Toralf Förster
Details
environment (environment,15.47 KB, text/plain)
2020-01-28 18:46 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.62 KB, application/x-bzip)
2020-01-28 18:46 UTC, Toralf Förster
Details
games-util:etswitch-0.1.14-r1:20200128-132616.log (games-util:etswitch-0.1.14-r1:20200128-132616.log,20.04 KB, text/plain)
2020-01-28 18:47 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.61 KB, application/x-bzip)
2020-01-28 18:47 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,9.30 KB, application/x-bzip)
2020-01-28 18:47 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:46:48 UTC
  129 |     if(key == NoSymbol){
      |       ^
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..       -Wall -pedantic -fno-strict-aliasing -O2 -pipe -march=native -fno-common -c -o etswitch-read_wid.o `test -f 'read_wid.c' || echo './'`read_wid.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o etswitch  etswitch-etswitch.o etswitch-malloc.o etswitch-conf.o etswitch-read_wid.o -lSM -lICE -L/usr/lib64   -lpthread -lXpm -lXxf86vm -lXt -lXmu -lX11 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: etswitch-read_wid.o:(.bss+0x0): multiple definition of `wid'; etswitch-etswitch.o:(.bss+0x2e8): first defined here
collect2: error: ld returned 1 exit status

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

  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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 12:46:19 +0000

emerge -qpvO games-util/etswitch
[ebuild  N    ] games-util/etswitch-0.1.14-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:46:51 UTC
Created attachment 606782 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:46:54 UTC
Created attachment 606784 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:46:57 UTC
Created attachment 606786 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:46:59 UTC
Created attachment 606788 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:47:02 UTC
Created attachment 606790 [details]
games-util:etswitch-0.1.14-r1:20200128-132616.log
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:47:05 UTC
Created attachment 606792 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:47:08 UTC
Created attachment 606794 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-22 16:44:14 UTC
The bug has been closed via the following commit(s):

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

commit 5a362eb9543216d757cd05899853951968845055
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-22 16:43:50 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-22 16:43:50 +0000

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

 games-util/etswitch/etswitch-0.1.14-r1.ebuild      | 17 +++++++----------
 .../files/etswitch-0.1.14-fno-common.patch         | 22 ++++++++++++++++++++++
 2 files changed, 29 insertions(+), 10 deletions(-)