Created attachment 643340 [details] build.log > "x86_64-pc-linux-gnu-g++" "-std=gnu++17" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/dist/stl_wrappers" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/dist/system_wrappers" "-include" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/config/gcc_hidden.h" "-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-DNDEBUG=1" "-DTRIMMED=1" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/dist/include" "-I/usr/include/nspr" "-I/usr/include/nss" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/dist/include/nss" "-I/usr/include/pixman-1" "-fPIC" "-DMOZILLA_CLIENT" "-include" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/mozilla-config.h" "-Wall" "-Wempty-body" "-Wignored-qualifiers" "-Woverloaded-virtual" "-Wpointer-arith" "-Wsign-compare" "-Wtype-limits" "-Wunreachable-code" "-Wwrite-strings" "-Wno-invalid-offsetof" "-Wc++2a-compat" "-Wduplicated-cond" "-Wimplicit-fallthrough" "-Wunused-function" "-Wunused-variable" "-Wno-error=maybe-uninitialized" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=coverage-mismatch" "-Wno-error=free-nonheap-object" "-Wno-multistatement-macros" "-Wno-error=class-memaccess" "-Wno-error=deprecated-copy" "-Wformat" "-Wformat-security" "-Wformat-overflow=2" "-fno-sized-deallocation" "-fno-aligned-new" "-pipe" "-march=skylake-avx512" "-mtune=generic" "-flifetime-dse=1" "-fno-exceptions" "-fno-strict-aliasing" "-fno-rtti" "-ffunction-sections" "-fdata-sections" "-fno-exceptions" "-fno-math-errno" "-pthread" "-pipe" "-freorder-blocks" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-DMOZILLA_CONFIG_H" "-I" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/gfx/wr/webrender/res" "-I" "src" "-I" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/x86_64-unknown-linux-gnu/release/build/swgl-73b33e8213806b2f/out" "-std=c++14" "-UMOZILLA_CONFIG_H" "-fno-exceptions" "-fno-rtti" "-fno-math-errno" "-D_GLIBCXX_USE_CXX11_ABI=0" "-o" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/x86_64-unknown-linux-gnu/release/build/swgl-73b33e8213806b2f/out/src/gl.o" "-c" "src/gl.cc" fails with > [swgl 0.1.0] cargo:warning=during RTL pass: expand > [swgl 0.1.0] cargo:warning=In file included from src/glsl.h:9, > [swgl 0.1.0] cargo:warning= from src/gl.cc:42: > [swgl 0.1.0] cargo:warning=src/vector_type.h: In static member function 'static void brush_solid_frag::draw_span_R8(brush_solid_frag::Self*, uint8_t*, int)': > [swgl 0.1.0] cargo:warning=src/vector_type.h:135:71: internal compiler error: in emit_move_insn, at expr.c:3814 > [swgl 0.1.0] cargo:warning= 135 | (typename VectorType<U, N>::data_type){U(x), U(y), U(z), U(w)}); > [swgl 0.1.0] cargo:warning= | ^ > [swgl 0.1.0] cargo:warning=Please submit a full bug report, > [swgl 0.1.0] cargo:warning=with preprocessed source if appropriate. > [swgl 0.1.0] cargo:warning=See <https://bugs.gentoo.org/> for instructions. > [swgl 0.1.0] exit code: 1 > [swgl 0.1.0] > [swgl 0.1.0] > [swgl 0.1.0] error occurred: Command "/usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++" "-std=gnu++17" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/dist/stl_wrappers" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/dist/system_wrappers" "-include" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/config/gcc_hidden.h" "-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-DNDEBUG=1" "-DTRIMMED=1" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/dist/include" "-I/usr/include/nspr" "-I/usr/include/nss" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/dist/include/nss" "-I/usr/include/pixman-1" "-fPIC" "-DMOZILLA_CLIENT" "-include" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/mozilla-config.h" "-Wall" "-Wempty-body" "-Wignored-qualifiers" "-Woverloaded-virtual" "-Wpointer-arith" "-Wsign-compare" "-Wtype-limits" "-Wunreachable-code" "-Wwrite-strings" "-Wno-invalid-offsetof" "-Wc++2a-compat" "-Wduplicated-cond" "-Wimplicit-fallthrough" "-Wunused-function" "-Wunused-variable" "-Wno-error=maybe-uninitialized" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=coverage-mismatch" "-Wno-error=free-nonheap-object" "-Wno-multistatement-macros" "-Wno-error=class-memaccess" "-Wno-error=deprecated-copy" "-Wformat" "-Wformat-security" "-Wformat-overflow=2" "-fno-sized-deallocation" "-fno-aligned-new" "-pipe" "-march=skylake-avx512" "-mtune=generic" "-flifetime-dse=1" "-fno-exceptions" "-fno-strict-aliasing" "-fno-rtti" "-ffunction-sections" "-fdata-sections" "-fno-exceptions" "-fno-math-errno" "-pthread" "-pipe" "-freorder-blocks" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-DMOZILLA_CONFIG_H" "-I" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/gfx/wr/webrender/res" "-I" "src" "-I" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/x86_64-unknown-linux-gnu/release/build/swgl-73b33e8213806b2f/out" "-std=c++14" "-UMOZILLA_CONFIG_H" "-fno-exceptions" "-fno-rtti" "-fno-math-errno" "-D_GLIBCXX_USE_CXX11_ABI=0" "-o" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/x86_64-unknown-linux-gnu/release/build/swgl-73b33e8213806b2f/out/src/gl.o" "-c" "src/gl.cc" with args "x86_64-pc-linux-gnu-g++" did not execute successfully (status code exit code: 1). > [swgl 0.1.0]
Building with gcc-9.3.0-r1 was successful.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5dc2d14d4941f13bc3ed3930cfca5c9d95aeaef commit e5dc2d14d4941f13bc3ed3930cfca5c9d95aeaef Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-06-03 23:39:37 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-06-03 23:54:20 +0000 www-client/firefox: USE=clang by default Bug: https://bugs.gentoo.org/727028 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/firefox-77.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50e9b7396ae310ee09b6c32ce8ed16ef7713ed12 commit 50e9b7396ae310ee09b6c32ce8ed16ef7713ed12 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-06-03 20:27:56 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-06-03 23:54:19 +0000 www-client/firefox: bump to v77.0.1 Building with gcc-10 is currently broken. Bug: https://bugs.gentoo.org/727028 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/Manifest | 93 ++++ www-client/firefox/firefox-77.0.1.ebuild | 917 +++++++++++++++++++++++++++++++ 2 files changed, 1010 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4155dd58dba1e1aa56e00ae29a40b8f63c253b42 commit 4155dd58dba1e1aa56e00ae29a40b8f63c253b42 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-06-04 02:00:30 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-06-04 02:00:30 +0000 profiles/arch/powerpc/ppc64/64ul/use.mask: unmask clang Bug: https://bugs.gentoo.org/727028 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> profiles/arch/powerpc/ppc64/64ul/use.mask | 4 ++++ 1 file changed, 4 insertions(+)
I reverted above ppc64 commit, need to work on llvmgold on ppc64.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4c7fc9fb7940f5d1337db009b0449beb9fdbda6 commit d4c7fc9fb7940f5d1337db009b0449beb9fdbda6 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-06-04 04:16:32 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-06-04 04:16:55 +0000 www-client/firefox: don't die with gcc10 on ppc64 it compiles just fine Bug: https://bugs.gentoo.org/727028 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> www-client/firefox/firefox-77.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4f48cb8b93db3171de60d8dbc20419452daf60f commit b4f48cb8b93db3171de60d8dbc20419452daf60f Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-06-04 05:25:07 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-06-04 05:27:13 +0000 profiles/arch/powerpc/ppc64/64ul: mask firefox[clang] Bug: https://bugs.gentoo.org/727028 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> profiles/arch/powerpc/ppc64/64ul/package.use.mask | 5 +++++ 1 file changed, 5 insertions(+)
sorry for ppc64 spam here, firefox is the only browser on ppc64 working out-of-the-box and users reporting failures. ebuild currently fail with clang completely because elf-hack is not supported, so condition that already skips arm64 needs to be extended to ppc64 as well, something like this > if use clang && ! use arm64 && ! use ppc64; then but even with this it fails to build with clang, I'll file a separate bug for this and track separately. but it's kinda relevant tue to switch to use clang by default.
sk(In reply to Thomas Deutschmann from comment #0) > > [swgl 0.1.0] error occurred: Command "/usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++" "-std=gnu++17" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/dist/stl_wrappers" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/dist/system_wrappers" "-include" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/config/gcc_hidden.h" "-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-DNDEBUG=1" "-DTRIMMED=1" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/dist/include" "-I/usr/include/nspr" "-I/usr/include/nss" "-I/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/dist/include/nss" "-I/usr/include/pixman-1" "-fPIC" "-DMOZILLA_CLIENT" "-include" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/mozilla-config.h" "-Wall" "-Wempty-body" "-Wignored-qualifiers" "-Woverloaded-virtual" "-Wpointer-arith" "-Wsign-compare" "-Wtype-limits" "-Wunreachable-code" "-Wwrite-strings" "-Wno-invalid-offsetof" "-Wc++2a-compat" "-Wduplicated-cond" "-Wimplicit-fallthrough" "-Wunused-function" "-Wunused-variable" "-Wno-error=maybe-uninitialized" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=coverage-mismatch" "-Wno-error=free-nonheap-object" "-Wno-multistatement-macros" "-Wno-error=class-memaccess" "-Wno-error=deprecated-copy" "-Wformat" "-Wformat-security" "-Wformat-overflow=2" "-fno-sized-deallocation" "-fno-aligned-new" "-pipe" "-march=skylake-avx512" "-mtune=generic" "-flifetime-dse=1" "-fno-exceptions" "-fno-strict-aliasing" "-fno-rtti" "-ffunction-sections" "-fdata-sections" "-fno-exceptions" "-fno-math-errno" "-pthread" "-pipe" "-freorder-blocks" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-DMOZILLA_CONFIG_H" "-I" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/gfx/wr/webrender/res" "-I" "src" "-I" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/x86_64-unknown-linux-gnu/release/build/swgl-73b33e8213806b2f/out" "-std=c++14" "-UMOZILLA_CONFIG_H" "-fno-exceptions" "-fno-rtti" "-fno-math-errno" "-D_GLIBCXX_USE_CXX11_ABI=0" "-o" "/var/tmp/portage/www-client/firefox-77.0/work/firefox-77.0/ff/x86_64-unknown-linux-gnu/release/build/swgl-73b33e8213806b2f/out/src/gl.o" "-c" "src/gl.cc" with args "x86_64-pc-linux-gnu-g++" did not execute successfully (status code exit code: 1). > > [swgl 0.1.0] -march=skylake-avx512 fails, -march=skylake seems to work. You might consider downgrading -march= value as a workaround. Newer targets will always have a higher chance of hitting ICEs. Filed https://gcc.gnu.org/PR95528 upstream.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3399d361088eaeda5499c6ebb68dc64760b3afb5 commit 3399d361088eaeda5499c6ebb68dc64760b3afb5 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-06-04 10:38:50 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-06-04 10:58:10 +0000 www-client/firefox: lift GCC 10 restriction ...as it only affects specific march. Bug: https://bugs.gentoo.org/727028 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/firefox-77.0.1.ebuild | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=7b2124fa47d6c44c0605926689310edbcaba2be1 commit 7b2124fa47d6c44c0605926689310edbcaba2be1 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-06-14 11:05:52 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-06-14 11:05:52 +0000 10.1.0: backport avx512 fix for PR95528 Should make firefox-77 compile again on avx512 targets. Reported-by: Thomas Deutschmann Bug: https://bugs.gentoo.org/727028 Bug: https://gcc.gnu.org/PR95528 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 10.1.0/gentoo/33_all_avx512-scalar-PR95528.patch | 92 ++++++++++++++++++++++++ 10.1.0/gentoo/README.history | 3 + 2 files changed, 95 insertions(+)
Queued 33_all_avx512-scalar-PR95528.patch for next gcc patchset. Meanwhile you can drop the patch to /etc/portage/patches/ and and see if it fixes crash for you.
Thanks, I can confirm that sys-devel/gcc-10.1.0-r1 + 33_all_avx512-scalar-PR95528.patch fixes the problem for me.
I can confirm that sys-devel/gcc-10.1.0-r1 + 33_all_avx512-scalar-PR95528.patch fixes the problem for me on my Icylake (Lenovo Yoga S740)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=ad32bf914e7dda8709a7adb8197bc43917be4f41 commit ad32bf914e7dda8709a7adb8197bc43917be4f41 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-07-04 07:44:32 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-07-04 07:44:32 +0000 10.1.0: cut 3 patchset Four new patches: + 33_all_avx512-scalar-PR95528.patch: fix ICE on small avx512 unpack + 34_all_cet-cross-x86.patch: backport CET cross-compilation fix + 35_all_ICE-array-subscript-PR95508.patch: fix ICE on some C++ array subscripts + 36_all_fno-delayed-branch.patch: disable -fdelayed-branch to to fix python mis-compilation. Bug: https://gcc.gnu.org/PR95528 Bug: https://bugs.gentoo.org/727028 Bug: https://gcc.gnu.org/94998 Bug: https://bugs.gentoo.org/729074 Bug: https://gcc.gnu.org/PR95508 Bug: https://bugs.gentoo.org/729434 Reported-by: Jeroen Roovers Bug: https://gcc.gnu.org/PR96015 Bug: https://bugs.gentoo.org/729570. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 10.1.0/gentoo/README.history | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a478857e97c4a4d2769ded41b859c5dcfc3cbf9 commit 9a478857e97c4a4d2769ded41b859c5dcfc3cbf9 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-07-04 07:54:40 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-07-04 08:09:16 +0000 sys-devel/gcc: 10.1.0: cut 3 patchset Four new patches: + 33_all_avx512-scalar-PR95528.patch: fix ICE on small avx512 unpack + 34_all_cet-cross-x86.patch: backport CET cross-compilation fix + 35_all_ICE-array-subscript-PR95508.patch: fix ICE on some C++ array subscripts + 36_all_fno-delayed-branch.patch: disable -fdelayed-branch to to fix python mis-compilation. Bug: https://gcc.gnu.org/PR95528 Bug: https://bugs.gentoo.org/727028 Bug: https://gcc.gnu.org/94998 Bug: https://bugs.gentoo.org/729074 Bug: https://gcc.gnu.org/PR95508 Bug: https://bugs.gentoo.org/729434 Reported-by: Jeroen Roovers Bug: https://gcc.gnu.org/PR96015 Bug: https://bugs.gentoo.org/729570. Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-10.1.0-r2.ebuild | 13 +++++++++++++ 2 files changed, 14 insertions(+)
Should be fixed by gcc-10.1.0-r2 in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a478857e97c4a4d2769ded41b859c5dcfc3cbf9