Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708690 - games-fps/yamagi-quake2-7.41 : fails to build with -fno-common or gcc-10
Summary: games-fps/yamagi-quake2-7.41 : 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: Alexander Tsoy
URL: https://github.com/yquake2/yquake2/is...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-08 08:15 UTC by Toralf Förster
Modified: 2020-02-24 05:55 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.28 KB, text/plain)
2020-02-08 08:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,193.20 KB, text/plain)
2020-02-08 08:15 UTC, Toralf Förster
Details
environment (environment,37.37 KB, text/plain)
2020-02-08 08:15 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.78 KB, application/x-bzip)
2020-02-08 08:15 UTC, Toralf Förster
Details
games-fps:yamagi-quake2-7.41:20200208-045133.log (games-fps:yamagi-quake2-7.41:20200208-045133.log,92.75 KB, text/plain)
2020-02-08 08:15 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,15.14 KB, application/x-bzip)
2020-02-08 08:15 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-08 08:15:31 UTC
mkdir -p build/client/src/backends/unix/shared
cc -c -O2 -pipe -march=native -fno-common -std=gnu99 -fno-strict-aliasing -Wall -MMD -fwrapv -Wno-format-truncation -Wno-format-overflow -DYQ2OSTYPE=\"Linux\" -DYQ2ARCH=\"x86_64\" -mfpmath=sse -DSYSTEMWIDE -DSYSTEMDIR=\"/usr/share/games/quake2\" -fvisibility=hidden -std=gnu99 -fno-strict-aliasing -Wall -MMD -fwrapv -Wno-format-truncation -Wno-format-overflow -DYQ2OSTYPE=\"Linux\" -DYQ2ARCH=\"x86_64\" -mfpmath=sse -DSYSTEMWIDE -DSYSTEMDIR=\"/usr/share/games/quake2\" -fvisibility=hidden -Wno-unused-result -DUSE_CURL -I/usr/include/SDL2 -D_REENTRANT -DNOUNCRYPT -I/usr/include -o build/client/src/backends/unix/shared/hunk.o src/backends/unix/shared/hunk.c
===> LD release/quake2
cc build/client/src/backends/generic/misc.o build/client/src/client/cl_cin.o build/client/src/client/cl_console.o build/client/src/client/cl_download.o build/client/src/client/cl_effects.o build/client/src/client/cl_entities.o build/client/src/client/cl_input.o build/client/src/client/cl_inventory.o build/client/src/client/cl_keyboard.o build/client/src/client/cl_lights.o build/client/src/client/cl_main.o build/client/src/client/cl_network.o build/client/src/client/cl_parse.o build/client/src/client/cl_particles.o build/client/src/client/cl_prediction.o build/client/src/client/cl_screen.o build/client/src/client/cl_tempentities.o build/client/src/client/cl_view.o build/client/src/client/curl/download.o build/client/src/client/curl/qcurl.o build/client/src/client/input/sdl.o build/client/src/client/menu/menu.o build/client/src/client/menu/qmenu.o build/client/src/client/menu/videomenu.o build/client/src/client/sound/sdl.o build/client/src/client/sound/ogg.o build/client/src/client/sound/openal.o build/client/src/client/sound/qal.o build/client/src/client/sound/sound.o build/client/src/client/sound/wave.o build/client/src/client/vid/glimp_sdl.o build/client/src/client/vid/vid.o build/client/src/common/argproc.o build/client/src/common/clientserver.o build/client/src/common/collision.o build/client/src/common/crc.o build/client/src/common/cmdparser.o build/client/src/common/cvar.o build/client/src/common/filesystem.o build/client/src/common/glob.o build/client/src/common/md4.o build/client/src/common/movemsg.o build/client/src/common/frame.o build/client/src/common/netchan.o build/client/src/common/pmove.o build/client/src/common/szone.o build/client/src/common/zone.o build/client/src/common/shared/flash.o build/client/src/common/shared/rand.o build/client/src/common/shared/shared.o build/client/src/common/unzip/ioapi.o build/client/src/common/unzip/miniz.o build/client/src/common/unzip/unzip.o build/client/src/server/sv_cmd.o build/client/src/server/sv_conless.o build/client/src/server/sv_entities.o build/client/src/server/sv_game.o build/client/src/server/sv_init.o build/client/src/server/sv_main.o build/client/src/server/sv_save.o build/client/src/server/sv_send.o build/client/src/server/sv_user.o build/client/src/server/sv_world.o build/client/src/backends/unix/main.o build/client/src/backends/unix/network.o build/client/src/backends/unix/signalhandler.o build/client/src/backends/unix/system.o build/client/src/backends/unix/shared/hunk.o -Wl,-O1 -Wl,--as-needed -lm -ldl -rdynamic -fvisibility=hidden -Wl,--no-undefined -lm -ldl -rdynamic -fvisibility=hidden -Wl,--no-undefined -Wl,-z,origin,-rpath='$ORIGIN/lib' -Wl,-z,origin,-rpath='/usr/share/games/quake2/lib' -L/usr/lib64 -lSDL2 -o release/quake2
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: build/client/src/client/input/sdl.o:(.bss+0x8): multiple definition of `sensitivity'; build/client/src/client/cl_main.o:(.bss+0x9f3a0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: build/client/src/client/input/sdl.o:(.bss+0x38): multiple definition of `lookstrafe'; build/client/src/client/cl_main.o:(.bss+0x9f3a8): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-abi32+64-20200203-051815

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

  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 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 08 Feb 2020 03:27:36 +0000

emerge -qpvO games-fps/yamagi-quake2
[ebuild  N    ] games-fps/yamagi-quake2-7.41  USE="client opengl -ctf -dedicated -openal -rogue -softrender -xatrix"
Comment 1 Toralf Förster gentoo-dev 2020-02-08 08:15:34 UTC
Created attachment 612662 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-08 08:15:36 UTC
Created attachment 612664 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-08 08:15:40 UTC
Created attachment 612666 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-08 08:15:43 UTC
Created attachment 612668 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-08 08:15:46 UTC
Created attachment 612670 [details]
games-fps:yamagi-quake2-7.41:20200208-045133.log
Comment 6 Toralf Förster gentoo-dev 2020-02-08 08:15:49 UTC
Created attachment 612672 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-02-24 05:55:38 UTC
The bug has been closed via the following commit(s):

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

commit bcd93e6c5109b0d2bc2d38a99544e97707cbe94a
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2019-12-24 11:20:18 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-02-24 05:25:45 +0000

    games-fps/yamagi-quake2: version bump to 7.42
    
    Closes: https://bugs.gentoo.org/708690
    Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
    Closes: https://github.com/gentoo/gentoo/pull/14112
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 games-fps/yamagi-quake2/Manifest                   |   3 +
 .../files/yamagi-quake2-7.42-fno-common.patch      |  92 ++++++++++++
 .../yamagi-quake2-addon-respect-flags-r3.patch     |  33 +++++
 games-fps/yamagi-quake2/yamagi-quake2-7.42.ebuild  | 155 +++++++++++++++++++++
 4 files changed, 283 insertions(+)