Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709502 - games-arcade/moleinvasion-0.4-r2 : fails to build with -fno-common or gcc-10
Summary: games-arcade/moleinvasion-0.4-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-02-13 18:27 UTC by Toralf Förster
Modified: 2020-02-21 20:29 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.58 KB, text/plain)
2020-02-13 18:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,138.04 KB, text/plain)
2020-02-13 18:27 UTC, Toralf Förster
Details
environment (environment,26.74 KB, text/plain)
2020-02-13 18:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.40 KB, application/x-bzip)
2020-02-13 18:27 UTC, Toralf Förster
Details
games-arcade:moleinvasion-0.4-r2:20200212-214143.log (games-arcade:moleinvasion-0.4-r2:20200212-214143.log,10.76 KB, text/plain)
2020-02-13 18:27 UTC, Toralf Förster
Details
moleinvasion-0.4-no-common.patch (moleinvasion-0.4-no-common.patch,734 bytes, patch)
2020-02-21 20:29 UTC, Samuel Bauer
Details | Diff

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-13 18:27:45 UTC
MoleInvasion.c:70:3: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
   70 |   chdir("../");
      |   ^~~~~~~~~~~~
cc -Wl,-O1 -Wl,--as-needed graphics.o font.o list.o sprite.o events.o editor_texts.o Splayer.o Sother.o background.o video.o tool.o mixer.o level_file.o level.o worldmap.o edit_keys.o menu.o MoleInvasion.o  $(sdl-config --libs) -lSDL_image -lSDL_mixer -lSDL_ttf -lGL -ldl -o ../lin/moleinvasion
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: level.o:(.bss+0x8): multiple definition of `static_world_datas'; Splayer.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: MoleInvasion.o:(.bss+0x0): multiple definition of `static_world_datas'; Splayer.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20200208-201054

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

  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.41.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 12 Feb 2020 20:37:24 +0000

emerge -qpvO games-arcade/moleinvasion
[ebuild  N    ] games-arcade/moleinvasion-0.4-r2  USE="-music"
Comment 1 Toralf Förster gentoo-dev 2020-02-13 18:27:47 UTC
Created attachment 613626 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-13 18:27:50 UTC
Created attachment 613628 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-13 18:27:53 UTC
Created attachment 613630 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-13 18:27:56 UTC
Created attachment 613632 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-13 18:27:58 UTC
Created attachment 613634 [details]
games-arcade:moleinvasion-0.4-r2:20200212-214143.log
Comment 6 Samuel Bauer 2020-02-21 20:29:49 UTC
Created attachment 614962 [details, diff]
moleinvasion-0.4-no-common.patch