Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711238 - games-emulation/pcsxr-1.9.94_p20190306 : fails to build with -fno-common or gcc-10
Summary: games-emulation/pcsxr-1.9.94_p20190306 : fails to build with -fno-common or g...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-03-01 20:55 UTC by Toralf Förster
Modified: 2021-01-01 18:17 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.64 KB, text/plain)
2020-03-01 20:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,107.02 KB, text/plain)
2020-03-01 20:55 UTC, Toralf Förster
Details
environment (environment,90.57 KB, text/plain)
2020-03-01 20:55 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.03 KB, application/x-bzip)
2020-03-01 20:55 UTC, Toralf Förster
Details
games-emulation:pcsxr-1.9.94_p20190306:20200301-204936.log (games-emulation:pcsxr-1.9.94_p20190306:20200301-204936.log,71.29 KB, text/plain)
2020-03-01 20:55 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.46 KB, application/x-bzip)
2020-03-01 20:55 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.92 KB, application/x-bzip)
2020-03-01 20:55 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-03-01 20:55:29 UTC
[50/152] /usr/bin/x86_64-pc-linux-gnu-gcc -DDEF_PLUGIN_DIR=\"/usr/lib64/games/psemu\" -DENABLE_NLS -DENABLE_SIO1API -DGETTEXT_PACKAGE=\"pcsxr\" -DLOCALE_DIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"PCSXr\" -DPACKAGE_STRING="\"PCSXr 1.9.94\"" -DPACKAGE_VERSION=\"1.9.94\" -DPSEMU_DATA_DIR=\"/usr/share/psemu\" -I/var/tmp/portage/games-emulation/pcsxr-1.9.94_p20190306/work/pcsxr-62467b86871aee3d70c7445f3cb79f0858ec566e -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0  -DNDEBUG -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -MD -MT gui/CMakeFiles/pcsxr.dir/resources.c.o -MF gui/CMakeFiles/pcsxr.dir/resources.c.o.d -o gui/CMakeFiles/pcsxr.dir/resources.c.o -c gui/resources.c
[51/152] : && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -Wl,-O1 -Wl,--as-needed -fno-pie -no-pie gui/CMakeFiles/pcsxr.dir/AboutDlg.c.o gui/CMakeFiles/pcsxr.dir/Cheat.c.o gui/CMakeFiles/pcsxr.dir/ConfDlg.c.o gui/CMakeFiles/pcsxr.dir/Config.c.o gui/CMakeFiles/pcsxr.dir/DebugMemory.c.o gui/CMakeFiles/pcsxr.dir/GtkGui.c.o gui/CMakeFiles/pcsxr.dir/LnxMain.c.o gui/CMakeFiles/pcsxr.dir/MemcardDlg.c.o gui/CMakeFiles/pcsxr.dir/Plugin.c.o gui/CMakeFiles/pcsxr.dir/resources.c.o  -o gui/pcsxr  libpcsxcore/libpcsxcore.a  /usr/lib64/libgtk-3.so  /usr/lib64/libgdk-3.so  /usr/lib64/libgdk_pixbuf-2.0.so  /usr/lib64/libpango-1.0.so  /usr/lib64/libcairo.so  /usr/lib64/libgobject-2.0.so  /usr/lib64/libglib-2.0.so  /usr/lib64/libgio-2.0.so  -lpthread  -lz  /usr/lib64/librt.so  /usr/lib64/libdl.so  /usr/lib64/libXtst.so  -lm && :
FAILED: gui/pcsxr 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -Wl,-O1 -Wl,--as-needed -fno-pie -no-pie gui/CMakeFiles/pcsxr.dir/AboutDlg.c.o gui/CMakeFiles/pcsxr.dir/Cheat.c.o gui/CMakeFiles/pcsxr.dir/ConfDlg.c.o gui/CMakeFiles/pcsxr.dir/Config.c.o gui/CMakeFiles/pcsxr.dir/DebugMemory.c.o gui/CMakeFiles/pcsxr.dir/GtkGui.c.o gui/CMakeFiles/pcsxr.dir/LnxMain.c.o gui/CMakeFiles/pcsxr.dir/MemcardDlg.c.o gui/CMakeFiles/pcsxr.dir/Plugin.c.o gui/CMakeFiles/pcsxr.dir/resources.c.o  -o gui/pcsxr  libpcsxcore/libpcsxcore.a  /usr/lib64/libgtk-3.so  /usr/lib64/libgdk-3.so  /usr/lib64/libgdk_pixbuf-2.0.so  /usr/lib64/libpango-1.0.so  /usr/lib64/libcairo.so  /usr/lib64/libgobject-2.0.so  /usr/lib64/libglib-2.0.so  /usr/lib64/libgio-2.0.so  -lpthread  -lz  /usr/lib64/librt.so  /usr/lib64/libdl.so  /usr/lib64/libXtst.so  -lm && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gui/CMakeFiles/pcsxr.dir/Cheat.c.o:(.bss+0x20): multiple definition of `cfgfile_basename'; gui/CMakeFiles/pcsxr.dir/AboutDlg.c.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gui/CMakeFiles/pcsxr.dir/Cheat.c.o:(.bss+0x1020): multiple definition of `cfgfile'; gui/CMakeFiles/pcsxr.dir/AboutDlg.c.o:(.bss+0x1000): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20200228-171822

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

  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.1 *
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 <==
Sun, 01 Mar 2020 19:38:16 +0000

emerge -qpvO games-emulation/pcsxr
[ebuild  N    ] games-emulation/pcsxr-1.9.94_p20190306  USE="-alsa -archive -ccdda -cdio -libav -openal -oss -pulseaudio -sdl"
Comment 1 Toralf Förster gentoo-dev 2020-03-01 20:55:32 UTC
Created attachment 616726 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-01 20:55:34 UTC
Created attachment 616728 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-01 20:55:39 UTC
Created attachment 616730 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-01 20:55:43 UTC
Created attachment 616732 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-01 20:55:46 UTC
Created attachment 616734 [details]
games-emulation:pcsxr-1.9.94_p20190306:20200301-204936.log
Comment 6 Toralf Förster gentoo-dev 2020-03-01 20:55:50 UTC
Created attachment 616736 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-01 20:55:53 UTC
Created attachment 616738 [details]
temp.tbz2
Comment 8 Andrew Udvare 2020-06-06 13:41:17 UTC
Starting point on a patch:

https://github.com/trofi/pcsxr/compare/62467b86871aee3d70c7445f3cb79f0858ec566e...master

This gets 63/152 files built (compared to 49/152 with no patch).
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-04 16:24:55 UTC
It seems that the fork of a fork of... is dead now.
Comment 10 Andrew Udvare 2020-09-04 16:46:27 UTC
The management of the project has definitely been an issue. I'd really like to see RetroArch get into the tree and then this won't have to exist. Instead RetroArch upstream would handle whatever bugs there are in those cores.

PR for RetroArch: https://github.com/gentoo/gentoo/pull/13253