Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708536 - games-board/gtkboard-0.11_pre0-r1 : fails to build with -fno-common or gcc-10
Summary: games-board/gtkboard-0.11_pre0-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: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-06 22:26 UTC by Toralf Förster
Modified: 2020-09-23 13:58 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.62 KB, text/plain)
2020-02-06 22:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,159.11 KB, text/plain)
2020-02-06 22:26 UTC, Toralf Förster
Details
environment (environment,77.28 KB, text/plain)
2020-02-06 22:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.73 KB, application/x-bzip)
2020-02-06 22:26 UTC, Toralf Förster
Details
games-board:gtkboard-0.11_pre0-r1:20200206-112034.log (games-board:gtkboard-0.11_pre0-r1:20200206-112034.log,64.14 KB, text/plain)
2020-02-06 22:26 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.99 KB, application/x-bzip)
2020-02-06 22:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.13 KB, application/x-bzip)
2020-02-06 22:26 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-06 22:26:17 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread     -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'tetris.c' || echo './'`tetris.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread     -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'towers.c' || echo './'`towers.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread     -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'wordtris.c' || echo './'`wordtris.c
x86_64-pc-linux-gnu-gcc -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -Wl,-O1 -Wl,--as-needed -o gtkboard  board.o menu.o prefs.o sound.o ui.o aaball.o ab.o engine.o hash.o move.o stack.o antichess.o ataxx.o blet.o breakthrough.o checkers.o chess.o cpento.o dirmaze.o dotsandboxes.o eightqueens.o fifteen.o flw.o hiq.o infiltrate.o knights.o kttour.o mastermind.o maze.o memory.o ninemm.o othello.o pacman.o pentaline.o plot4.o quarto.o rgb.o samegame.o stopgate.o tetris.o towers.o wordtris.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype   -lSDL -lpthread -lSDL_mixer -lgmodule-2.0 -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: engine.o:(.bss+0x10): multiple definition of `game_eval_white'; ui.o:(.bss+0xa0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: engine.o:(.bss+0x8): multiple definition of `game_eval_black'; ui.o:(.bss+0x98): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200202-131532

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

  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) *

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 <==
Thu, 06 Feb 2020 10:48:53 +0000

emerge -qpvO games-board/gtkboard
[ebuild  N    ] games-board/gtkboard-0.11_pre0-r1  USE="-gnome"
Comment 1 Toralf Förster gentoo-dev 2020-02-06 22:26:20 UTC
Created attachment 612300 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-06 22:26:23 UTC
Created attachment 612302 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-06 22:26:26 UTC
Created attachment 612304 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-06 22:26:28 UTC
Created attachment 612306 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-06 22:26:31 UTC
Created attachment 612308 [details]
games-board:gtkboard-0.11_pre0-r1:20200206-112034.log
Comment 6 Toralf Förster gentoo-dev 2020-02-06 22:26:34 UTC
Created attachment 612310 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-06 22:26:37 UTC
Created attachment 612312 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-09-23 13:58:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93d7783052a3c3a14813b18ee28244b773305929

commit 93d7783052a3c3a14813b18ee28244b773305929
Author:     Alexey Sokolov <sokolov@google.com>
AuthorDate: 2020-09-22 23:57:10 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2020-09-23 13:57:55 +0000

    games-board/gtkboard: fix build with gcc 10
    
    Closes: https://bugs.gentoo.org/708536
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Closes: https://github.com/gentoo/gentoo/pull/17642
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 games-board/gtkboard/files/gtkboard-0.11_pre0-gcc10.patch | 14 ++++++++++++++
 games-board/gtkboard/gtkboard-0.11_pre0-r2.ebuild         |  1 +
 2 files changed, 15 insertions(+)