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.
Created attachment 667526 [details] build.log build log and emerge --info
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'
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(-)