Getting consistent segfault during the build with GCC 9.1.0. No other package does this for me so this appears to be a compatibility issue with GCC 9.1.0. I rebooted to make sure it wasn't a temporary system issue. Reproducible: Always Steps to Reproduce: Run with ACCEPT_KEYWORDS="~amd64" or set files in /etc/portage as necessary. 1. emerge =sys-devel/gcc-9.1.0 2. eselect gcc set x86_64-pc-linux-gnu-9.1.0 3. emerge pcsx2 Actual Results: Fails to build. Expected Results: Should build. It seems we have to wait until GCC 9.1.1. And we have to use GCC <=8.3.0 to build this. This cannot be worked around by using Clang. That has another error and needs patches: /var/tmp/portage/games-emulation/pcsx2-1.4.0-r1/work/pcsx2-1.4.0/pcsx2/Vif_Codes.cpp:283:21: error: ordered comparison between pointer and zero ('u8 *' (aka 'unsigned char *') and 'int') pxAssert(VUx.Micro > 0);
Created attachment 577972 [details] build log
Patchs is queued in gcc-9.1.0 as https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=275ab714637a64672c6630cfd744af2c70957d5a and will be released in gentoo soon. Meanwhile you can drop it in /etc/portage/patches/sys-devel/gcc:9.1.0/ and rebuild gcc.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=877f78485c04a5c05cb30d38654ae030d61c2f47 commit 877f78485c04a5c05cb30d38654ae030d61c2f47 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-06-01 07:59:02 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-06-01 07:59:02 +0000 9.1.0: cut 1.1 patchset Three new patches: 26_all_ipa-incomplete.patch: fix ICE on pcsx2 package 27_all_es-po.patch: fix ICE on es lcoales 28_all_disable-riscv32-ABIs.patch: disable unconditional riscv32 ABIs Bug: https://gcc.gnu.org/PR90303 Bug: https://bugs.gentoo.org/686930 Bug: https://gcc.gnu.org/PR90528 Bug: https://bugs.gentoo.org/686076 Bug: https://gcc.gnu.org/PR90419 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 9.1.0/gentoo/README.history | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93052fb8b1eef5f3c61800eaa8d8acc858a349b0 commit 93052fb8b1eef5f3c61800eaa8d8acc858a349b0 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-06-01 08:03:25 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-06-01 08:03:25 +0000 sys-devel/gcc: 9.1.0: cut 1.1 patchset Three new patches: 26_all_ipa-incomplete.patch: fix ICE on pcsx2 package 27_all_es-po.patch: fix ICE on es lcoales 28_all_disable-riscv32-ABIs.patch: disable unconditional riscv32 ABIs Bug: https://gcc.gnu.org/PR90303 Closes: https://bugs.gentoo.org/686930 Bug: https://gcc.gnu.org/PR90528 Closes: https://bugs.gentoo.org/686076 Bug: https://gcc.gnu.org/PR90419 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-9.1.0-r1.ebuild | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+)