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

Bug 706854

Summary: games-board/spider-1.2_p4-r2 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED OBSOLETE    
Severity: normal CC: xaviermiller
Priority: Normal Keywords: PMASKED
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-board:spider-1.2_p4-r2:20200128-032152.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-28 18:23:30 UTC
      |   ^~~~
main.c:82:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
rm -f spider
cc -o spider -O2 -pipe -march=native -fno-common      -L/usr/lib64  -Wl,-O1 -Wl,--as-needed gfx.o spider.o events.o windows.o movelog.o util.o version.o main.o -lXmu -lXt -lSM -lICE -lXext -lX11 -lXext -lX11      
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: spider.o:(.bss+0x730): multiple definition of `deck'; gfx.o:(.bss+0xb0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: spider.o:(.bss+0x6a0): multiple definition of `piles'; gfx.o:(.bss+0x20): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

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

  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

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

emerge -qpvO games-board/spider
[ebuild  N    ] games-board/spider-1.2_p4-r2  USE="-athena"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:23:34 UTC
Created attachment 606136 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:23:38 UTC
Created attachment 606138 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:23:41 UTC
Created attachment 606140 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:23:44 UTC
Created attachment 606142 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:23:47 UTC
Created attachment 606144 [details]
games-board:spider-1.2_p4-r2:20200128-032152.log
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:23:50 UTC
Created attachment 606146 [details]
temp.tbz2
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-11-03 08:50:07 UTC
Package removed.