Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750404 - games-engines/gargoyle-2011.1-r1 fails to compile with -fno-common
Summary: games-engines/gargoyle-2011.1-r1 fails to compile with -fno-common
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL: https://github.com/garglk/garglk/comm...
Whiteboard: ~arch only
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-10-20 10:46 UTC by Agostino Sarubbo
Modified: 2021-02-20 19:31 UTC (History)
0 users

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


Attachments
build.log (build.log,180.41 KB, text/plain)
2020-10-20 10:46 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-10-20 10:46:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-engines/gargoyle-2011.1-r1 fails to compile with -fno-common.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
To reproduce this issue you may want to set CFLAGS="${CFLAGS} -fno-common" or compile it with gcc-10 that enables -fno-common by default.
Comment 1 Agostino Sarubbo gentoo-dev 2020-10-20 10:46:54 UTC
Created attachment 667526 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-10-20 10:46:57 UTC
Possible context of error(s):

/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/garglk/launcher.o: multiple definition of 'tmp'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/main.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/main.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/debug.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/debug.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/args.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/args.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/inter.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/inter.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/parse.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/parse.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/rules.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/rules.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/readline.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/readline.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/glkstart.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/glkstart.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/glkio.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan2/glkio.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/arun.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/arun.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/arun.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/debug.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/debug.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/debug.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/exe.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/exe.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/exe.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/exe.o: multiple definition of 'onStatusLine'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/glkio.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/glkio.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/glkstart.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/glkstart.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/instance.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/inter.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/inter.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/inter.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/main.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/main.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/main.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/main.o: multiple definition of 'onStatusLine'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/output.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/output.o: multiple definition of 'onStatusLine'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/output.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/output.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/parse.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/parse.o: multiple definition of 'onStatusLine'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/readline.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/readline.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/readline.o: multiple definition of 'onStatusLine'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/readline.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/rules.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/rules.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/save.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/save.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/save.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/scan.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/scan.o: multiple definition of 'onStatusLine'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/syserr.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/term.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/term.o: multiple definition of 'onStatusLine'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/term.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/term.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/utils.o: multiple definition of 'glkStatusWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/utils.o: multiple definition of 'glkMainWin'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/utils.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/Container.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/alan3/Location.o: multiple definition of 'logFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/jacl/glk_startup.o: multiple definition of 'blorb_stream'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/jacl/parser.o: multiple definition of 'default_function'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: build/linux.release/garglk/launcher.o: multiple definition of 'tmp'
Comment 3 Larry the Git Cow gentoo-dev 2021-02-20 19:31:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb5945523b372ac326be69382e32d067358486b

commit 0eb5945523b372ac326be69382e32d067358486b
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-20 19:31:11 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-20 19:31:11 +0000

    games-engines/gargoyle: Bump to 2019.1.1
    
    * Fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/750404
    Bug: https://bugs.gentoo.org/739206
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 games-engines/gargoyle/Manifest                    |   1 +
 .../files/gargoyle-2019.1.1-QA-desktop.patch       |  11 ++
 .../files/gargoyle-2019.1.1-fno-common.patch       | 168 +++++++++++++++++++++
 games-engines/gargoyle/gargoyle-2019.1.1.ebuild    | 109 +++++++++++++
 games-engines/gargoyle/metadata.xml                |   2 +-
 5 files changed, 290 insertions(+), 1 deletion(-)