Summary: | www-client/firefox-87.0 fails to compile with gcc-10.2.0-r5_p6: internal compiler error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jiri Pittner <jiri.pittner> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | herrtimson, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
somewhat similar error on arm
output from emerge --info (cross-target) |
Description
Jiri Pittner
2021-03-23 15:05:53 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to recompile with -j1 * attach the logs and * paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket AFAIK, this can also be caused by bad RAM. Please check your RAM and confirm, that there is no bad memory. Please reopen this ticket (Status:UNCONFIRMED) afterwards. Created attachment 693273 [details]
somewhat similar error on arm
please see my build log from armv7, also with gcc-10, maybe its related?
Created attachment 693279 [details]
output from emerge --info (cross-target)
propably most interesting part of the build log: 50:42.23 cargo:warning=src/vector_type.h:502:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct glsl::vec4' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 50:42.23 cargo:warning= 502 | memcpy(&v, p, sizeof(v)); 50:42.23 cargo:warning= | ~~~~~~^~~~~~~~~~~~~~~~~~ 50:42.23 cargo:warning=In file included from src/gl.cc:78: 50:42.23 cargo:warning=src/glsl.h:1772:8: note: 'struct glsl::vec4' declared here 50:42.23 cargo:warning= 1772 | struct vec4 { 50:42.23 cargo:warning= | ^~~~ 50:42.23 cargo:warning={standard input}: Assembler messages: 50:42.23 cargo:warning={standard input}:3671132: Error: conditional branch out of range 50:42.23 cargo:warning={standard input}:3673040: Error: conditional branch out of range 50:42.23 cargo:warning={standard input}:3674289: Error: conditional branch out of range 50:42.23 cargo:warning={standard input}:3675624: Error: conditional branch out of range 50:42.23 cargo:warning={standard input}:3675934: Error: conditional branch out of range 50:42.23 cargo:warning={standard input}:3676329: Error: conditional branch out of range 50:42.23 cargo:warning={standard input}:3676821: Error: conditional branch out of range 50:42.23 cargo:warning={standard input}:3677335: Error: conditional branch out of range 50:42.23 cargo:warning={standard input}:3678632: Error: conditional branch out of range 50:42.23 cargo:warning={standard input}:3679222: Error: conditional branch out of range 50:42.23 cargo:warning={standard input}:3679867: Error: conditional branch out of range 50:42.23 exit code: 1 50:42.23 --- stderr 50:42.23 error occurred: Command "/usr/bin/armv7a-unknown-linux-gnueabihf-g++" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv7-a" "-mfpu=neon-vfpv4" "-mthumb" "-mfloat-abi=hard" "-std=gnu++17" "-I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-87.0/work/firefox_build/dist/stl_wrappers" "-I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-87.0/work/firefox_build/dist/system_wrappers" "-include" "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-87.0/work/firefox-87.0/config/gcc_hidden.h" "-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-DNDEBUG=1" "-DTRIMMED=1" "-I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-87.0/work/firefox-87.0/toolkit/library/rust" "-I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-87.0/work/firefox_build/toolkit/library/rust" "-I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-87.0/work/firefox_build/dist/include" "-I/usr/armv7a-unknown-linux-gnueabihf/usr/include/nspr" "-I/usr/armv7a-unknown-linux-gnueabihf/usr/include/nss" "-I/usr/armv7a-unknown-linux-gnueabihf/usr/include/nspr" "-I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-87.0/work/firefox_build/dist/include/nss" "-I/usr/armv7a-unknown-linux-gnueabihf/usr/include/pixman-1" "-fPIC" "-DMOZILLA_CLIENT" "-include" "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-87.0/work/firefox_build/mozilla-config.h" "-Wall" "-Wempty-body" "-Wignored-qualifiers" "-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" "-Wno-psabi" "-fno-sized-deallocation" "-fno-aligned-new" "-pipe" "-fomit-frame-pointer" "-fno-tree-loop-vectorize" "-mthumb" "-mno-thumb-interwork" "-mfpu=neon" "-mfloat-abi=hard" "-fno-exceptions" "-fno-strict-aliasing" "-fno-rtti" "-ffunction-sections" "-fdata-sections" "-fno-exceptions" "-fno-math-errno" "-pthread" "-pipe" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-DMOZILLA_CONFIG_H" "-I" "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-87.0/work/firefox-87.0/gfx/wr/webrender/res" "-I" "src" "-I" "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-87.0/work/firefox_build/thumbv7neon-unknown-linux-gnueabihf/release/build/swgl-c461939dc1cecd73/out" "-std=c++17" "-UMOZILLA_CONFIG_H" "-fno-exceptions" "-fno-rtti" "-fno-math-errno" "-D_GLIBCXX_USE_CXX11_ABI=0" "-o" "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-87.0/work/firefox_build/thumbv7neon-unknown-linux-gnueabihf/release/build/swgl-c461939dc1cecd73/out/src/gl.o" "-c" "src/gl.cc" with args "armv7a-unknown-linux-gnueabihf-g++" did not execute successfully (status code exit code: 1). it doesn't show internal compiler error, but seems its the same spot of failure here. you should try again with recently bumped patchset, it adds a fix for webrender which caused problems with insane amounts of ram usage also it could help to sort out your binutils and gcc mix |