Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706854 - games-board/spider-1.2_p4-r2 : fails to build with -fno-common or gcc-10
Summary: games-board/spider-1.2_p4-r2 : fails to build with -fno-common or gcc-10
Status: CONFIRMED
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:23 UTC by Toralf Förster
Modified: 2020-05-14 20:33 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.95 KB, text/plain)
2020-01-28 18:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,170.91 KB, text/plain)
2020-01-28 18:23 UTC, Toralf Förster
Details
environment (environment,87.83 KB, text/plain)
2020-01-28 18:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.33 KB, application/x-bzip)
2020-01-28 18:23 UTC, Toralf Förster
Details
games-board:spider-1.2_p4-r2:20200128-032152.log (games-board:spider-1.2_p4-r2:20200128-032152.log,64.23 KB, text/plain)
2020-01-28 18:23 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.70 KB, application/x-bzip)
2020-01-28 18:23 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: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