Summary: | www-client/firefox-81.0.1: error: failed to run custom build command for `swgl v0.1.0 (/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/swgl)` | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kobboi <gentoo> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | bkohler, herrtimson, ionen, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log.gz
emerge --info |
Description
Kobboi
2020-10-02 12:34:03 UTC
Created attachment 663514 [details]
build.log.gz
FYI around 51:16.89 - 51.16.97 in your log is where the bad stuff happens Than(In reply to Ben Kohler from comment #2) > FYI around 51:16.89 - 51.16.97 in your log is where the bad stuff happens Thanks, I have updated the summary to be a bit more descriptive/searchable Seems to be a duplicate of #721126. I indeed had some -g3 CFLAGS set to debug another issue. (In reply to Kobboi from comment #4) > Seems to be a duplicate of #721126. I indeed had some -g3 CFLAGS set to > debug another issue. Yeah, I was about to say. Maybe it's related to passing --enable-debug-symbols with --disable-debug? Error is
> 51:16.85 Running `/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/release/build/swgl-57183cea38421914/build-script-build`
> 51:16.86 [swgl 0.1.0] cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/brush_blend.glsl
> 51:16.86 [swgl 0.1.0] cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/shared.glsl
> 51:16.86 [swgl 0.1.0] cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/base.glsl
> 51:16.87 [swgl 0.1.0] cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/prim_shared.glsl
> 51:16.87 [swgl 0.1.0] cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/rect.glsl
> 51:16.87 [swgl 0.1.0] cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/render_task.glsl
> 51:16.87 [swgl 0.1.0] cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/gpu_cache.glsl
> 51:16.87 [swgl 0.1.0] cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/transform.glsl
> 51:16.87 [swgl 0.1.0] cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/brush.glsl
> 51:16.87 [swgl 0.1.0] OPT_LEVEL = Some("2")
> 51:16.87 [swgl 0.1.0] TARGET = Some("x86_64-unknown-linux-gnu")
> 51:16.87 [swgl 0.1.0] HOST = Some("x86_64-unknown-linux-gnu")
> 51:16.87 [swgl 0.1.0] CC_x86_64-unknown-linux-gnu = None
> 51:16.87 [swgl 0.1.0] CC_x86_64_unknown_linux_gnu = Some("/usr/bin/x86_64-pc-linux-gnu-gcc")
> 51:16.87 [swgl 0.1.0] CFLAGS_x86_64-unknown-linux-gnu = None
> 51:16.87 [swgl 0.1.0] CFLAGS_x86_64_unknown_linux_gnu = Some("-std=gnu99 -I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/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-81.0.1/work/firefox-81.0.1/toolkit/library/rust -I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/toolkit/library/rust -I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/include/nss -I/usr/include/pixman-1 -fPIC -include /var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/mozilla-config.h -DMOZILLA_CLIENT -march=x86-64 -pipe -fomit-frame-pointer -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe -g3 -O2 -fomit-frame-pointer -funwind-tables -DMOZILLA_CONFIG_H")
> 51:16.87 [swgl 0.1.0] CRATE_CC_NO_DEFAULTS = None
> 51:16.87 [swgl 0.1.0] DEBUG = Some("false")
> 51:16.87 [swgl 0.1.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
> 51:16.87 [swgl 0.1.0] running: "/usr/bin/x86_64-pc-linux-gnu-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-std=gnu99" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/system_wrappers" "-include" "/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/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-81.0.1/work/firefox-81.0.1/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/include" "-I/usr/include/nspr" "-I/usr/include/nss" "-I/usr/include/nspr" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/include/nss" "-I/usr/include/pixman-1" "-fPIC" "-include" "/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/mozilla-config.h" "-DMOZILLA_CLIENT" "-march=x86-64" "-pipe" "-fomit-frame-pointer" "-fno-strict-aliasing" "-ffunction-sections" "-fdata-sections" "-fno-math-errno" "-pthread" "-pipe" "-g3" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-DMOZILLA_CONFIG_H" "-xc" "-P" "-DWR_VERTEX_SHADER=1" "-E" "/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/x86_64-unknown-linux-gnu/release/build/swgl-8bfa191ac5c7c13d/out/brush_blend.c"
> 51:16.88 [swgl 0.1.0] exit code: 0
> 51:16.89 [swgl 0.1.0] running: "/usr/bin/x86_64-pc-linux-gnu-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-std=gnu99" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/system_wrappers" "-include" "/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/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-81.0.1/work/firefox-81.0.1/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/include" "-I/usr/include/nspr" "-I/usr/include/nss" "-I/usr/include/nspr" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/include/nss" "-I/usr/include/pixman-1" "-fPIC" "-include" "/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/mozilla-config.h" "-DMOZILLA_CLIENT" "-march=x86-64" "-pipe" "-fomit-frame-pointer" "-fno-strict-aliasing" "-ffunction-sections" "-fdata-sections" "-fno-math-errno" "-pthread" "-pipe" "-g3" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-DMOZILLA_CONFIG_H" "-xc" "-P" "-DWR_FRAGMENT_SHADER=1" "-E" "/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/x86_64-unknown-linux-gnu/release/build/swgl-8bfa191ac5c7c13d/out/brush_blend.c"
> 51:16.90 [swgl 0.1.0] exit code: 0
> 51:16.95 [swgl 0.1.0] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ParseError { info: "0: at line 889:\n#define ACTUAL_VECS_PER_BRUSH VECS_PER_SPECIFIC_BRUSH\n^\nexpected \'}\', found #\n\n" }', gfx/wr/glsl-to-cxx/src/lib.rs:107:15
> 51:16.96 [swgl 0.1.0] stack backtrace:
> 51:16.96 [swgl 0.1.0] 0: 0x55bdd1b94594 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hc0e9847006ce73d8
> 51:16.96 [swgl 0.1.0] 1: 0x55bdd1bb7f5d - core::fmt::write::h529bfd0f467cbcc1
> 51:16.96 [swgl 0.1.0] 2: 0x55bdd1b81747 - std::io::Write::write_fmt::he0f42c423f67a7e8
> 51:16.97 [swgl 0.1.0] 3: 0x55bdd1b89050 - std::panicking::default_hook::{{closure}}::h5a211c653c9c36b7
> 51:16.97 [swgl 0.1.0] 4: 0x55bdd1b88d3e - std::panicking::default_hook::h4a5d23e1d3be3b07
> 51:16.97 [swgl 0.1.0] 5: 0x55bdd1b89674 - std::panicking::rust_panic_with_hook::hac1a14dab8c19a8f
> 51:16.97 [swgl 0.1.0] 6: 0x55bdd1b8925b - rust_begin_unwind
> 51:16.97 [swgl 0.1.0] 7: 0x55bdd1bb6e71 - core::panicking::panic_fmt::h7f0bd80c7f2740a6
> 51:16.97 [swgl 0.1.0] 8: 0x55bdd1bb6f03 - core::result::unwrap_failed::hc8aaa420d00075d5
> 51:16.97 [swgl 0.1.0] 9: 0x55bdd1abcbdb - glsl_to_cxx::parse_shader::hbab6f20b68f99170
> 51:16.97 [swgl 0.1.0] 10: 0x55bdd1abc21f - glsl_to_cxx::translate::h0e83a1305e6bdc3e
> 51:16.97 [swgl 0.1.0] 11: 0x55bdd1aae0fd - build_script_build::main::h035e9e69c68cddb6
> 51:16.97 [swgl 0.1.0] 12: 0x55bdd1aaa853 - std::rt::lang_start::{{closure}}::h8ae5db57251bd42c
> 51:16.97 [swgl 0.1.0] 13: 0x55bdd1b853d7 - std::rt::lang_start_internal::h58b83ee8aef7ae36
> 51:16.97 [swgl 0.1.0] 14: 0x55bdd1aafe32 - main
> 51:16.97 [swgl 0.1.0] 15: 0x7f5857c20e0a - __libc_start_main
> 51:16.97 [swgl 0.1.0] 16: 0x55bdd1aa91ca - _start
> 51:16.97 [swgl 0.1.0] 17: 0x0 - <unknown>
> 51:16.97 error: failed to run custom build command for `swgl v0.1.0 (/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/swgl)`
> 51:16.97 Caused by:
> 51:16.97 process didn't exit successfully: `/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/release/build/swgl-57183cea38421914/build-script-build` (exit code: 101)
> 51:16.98 --- stdout
> 51:16.98 cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/brush_blend.glsl
> 51:16.98 cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/shared.glsl
> 51:16.98 cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/base.glsl
> 51:16.98 cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/prim_shared.glsl
> 51:16.98 cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/rect.glsl
> 51:16.98 cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/render_task.glsl
> 51:16.98 cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/gpu_cache.glsl
> 51:16.98 cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/transform.glsl
> 51:16.98 cargo:rerun-if-changed=/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/gfx/wr/webrender/res/brush.glsl
> 51:16.98 OPT_LEVEL = Some("2")
> 51:16.98 TARGET = Some("x86_64-unknown-linux-gnu")
> 51:16.98 HOST = Some("x86_64-unknown-linux-gnu")
> 51:16.98 CC_x86_64-unknown-linux-gnu = None
> 51:16.98 CC_x86_64_unknown_linux_gnu = Some("/usr/bin/x86_64-pc-linux-gnu-gcc")
> 51:16.98 CFLAGS_x86_64-unknown-linux-gnu = None
> 51:16.98 CFLAGS_x86_64_unknown_linux_gnu = Some("-std=gnu99 -I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/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-81.0.1/work/firefox-81.0.1/toolkit/library/rust -I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/toolkit/library/rust -I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/include/nss -I/usr/include/pixman-1 -fPIC -include /var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/mozilla-config.h -DMOZILLA_CLIENT -march=x86-64 -pipe -fomit-frame-pointer -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe -g3 -O2 -fomit-frame-pointer -funwind-tables -DMOZILLA_CONFIG_H")
> 51:16.99 CRATE_CC_NO_DEFAULTS = None
> 51:16.99 DEBUG = Some("false")
> 51:16.99 CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
> 51:16.99 running: "/usr/bin/x86_64-pc-linux-gnu-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-std=gnu99" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/system_wrappers" "-include" "/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/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-81.0.1/work/firefox-81.0.1/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/include" "-I/usr/include/nspr" "-I/usr/include/nss" "-I/usr/include/nspr" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/include/nss" "-I/usr/include/pixman-1" "-fPIC" "-include" "/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/mozilla-config.h" "-DMOZILLA_CLIENT" "-march=x86-64" "-pipe" "-fomit-frame-pointer" "-fno-strict-aliasing" "-ffunction-sections" "-fdata-sections" "-fno-math-errno" "-pthread" "-pipe" "-g3" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-DMOZILLA_CONFIG_H" "-xc" "-P" "-DWR_VERTEX_SHADER=1" "-E" "/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/x86_64-unknown-linux-gnu/release/build/swgl-8bfa191ac5c7c13d/out/brush_blend.c"
> 51:16.99 exit code: 0
> 51:16.99 running: "/usr/bin/x86_64-pc-linux-gnu-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-std=gnu99" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/system_wrappers" "-include" "/var/tmp/portage/www-client/firefox-81.0.1/work/firefox-81.0.1/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-81.0.1/work/firefox-81.0.1/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/include" "-I/usr/include/nspr" "-I/usr/include/nss" "-I/usr/include/nspr" "-I/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/dist/include/nss" "-I/usr/include/pixman-1" "-fPIC" "-include" "/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/mozilla-config.h" "-DMOZILLA_CLIENT" "-march=x86-64" "-pipe" "-fomit-frame-pointer" "-fno-strict-aliasing" "-ffunction-sections" "-fdata-sections" "-fno-math-errno" "-pthread" "-pipe" "-g3" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-DMOZILLA_CONFIG_H" "-xc" "-P" "-DWR_FRAGMENT_SHADER=1" "-E" "/var/tmp/portage/www-client/firefox-81.0.1/work/firefox_build/x86_64-unknown-linux-gnu/release/build/swgl-8bfa191ac5c7c13d/out/brush_blend.c"
> 51:16.99 exit code: 0
> 51:16.99 --- stderr
> 51:16.99 thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ParseError { info: "0: at line 889:\n#define ACTUAL_VECS_PER_BRUSH VECS_PER_SPECIFIC_BRUSH\n^\nexpected \'}\', found #\n\n" }', gfx/wr/glsl-to-cxx/src/lib.rs:107:15
> 51:16.99 stack backtrace:
> 51:16.99 0: 0x55bdd1b94594 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hc0e9847006ce73d8
> 51:16.99 1: 0x55bdd1bb7f5d - core::fmt::write::h529bfd0f467cbcc1
> 51:17.00 2: 0x55bdd1b81747 - std::io::Write::write_fmt::he0f42c423f67a7e8
> 51:17.00 3: 0x55bdd1b89050 - std::panicking::default_hook::{{closure}}::h5a211c653c9c36b7
> 51:17.00 4: 0x55bdd1b88d3e - std::panicking::default_hook::h4a5d23e1d3be3b07
> 51:17.00 5: 0x55bdd1b89674 - std::panicking::rust_panic_with_hook::hac1a14dab8c19a8f
> 51:17.00 6: 0x55bdd1b8925b - rust_begin_unwind
> 51:17.00 7: 0x55bdd1bb6e71 - core::panicking::panic_fmt::h7f0bd80c7f2740a6
> 51:17.00 8: 0x55bdd1bb6f03 - core::result::unwrap_failed::hc8aaa420d00075d5
> 51:17.00 9: 0x55bdd1abcbdb - glsl_to_cxx::parse_shader::hbab6f20b68f99170
> 51:17.00 10: 0x55bdd1abc21f - glsl_to_cxx::translate::h0e83a1305e6bdc3e
> 51:17.00 11: 0x55bdd1aae0fd - build_script_build::main::h035e9e69c68cddb6
> 51:17.00 12: 0x55bdd1aaa853 - std::rt::lang_start::{{closure}}::h8ae5db57251bd42c
> 51:17.00 13: 0x55bdd1b853d7 - std::rt::lang_start_internal::h58b83ee8aef7ae36
> 51:17.00 14: 0x55bdd1aafe32 - main
> 51:17.00 15: 0x7f5857c20e0a - __libc_start_main
> 51:17.00 16: 0x55bdd1aa91ca - _start
> 51:17.00 17: 0x0 - <unknown>
> 51:17.01 warning: build failed, waiting for other jobs to finish...
Please post `emerge --info`.
I tried to reproduce, usually I build with clang+lto+pgo, but I changed to: [ebuild R ] www-client/firefox-81.0.1:0/81::gentoo USE="gmp-autoupdate pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp" C(XX)FLAGS="-march=native -O2 -g3 -pipe" Got same error, this is a up-to-date ~amd64 system on which building firefox usually works (using 81.0.1 right now). I'll try again with USE=debug to test my previous theory. (In reply to Ionen Wolkens from comment #7) > I'll try again with USE=debug to test my previous theory. Or at least, was the plan.. I didn't get far: 0:05.29 mozbuild.configure.options.InvalidOptionError: '--enable-debug-symbols' implied by '--enable-debug' conflicts with '--enable-debug-symbols=-g3' from the mozconfig Not sure how important it is, but my personal suggestion would be to just filter out -g*, and not set --enable-debug-symbols at all (which should prevent this swgl issue). Then let USE=debug take care of this if the user wants symbols (given all the different compilers used, this may be simpler/safer). (In reply to Ionen Wolkens from comment #7) > C(XX)FLAGS="-march=native -O2 -g3 -pipe" To be sure it wasn't something else, I tried to rebuild by removing the -g3 (no other changes, same USE). Build worked fine. Error messages changed a bit since but still looks like same problem as old bug #721126 I still don't get how this error (swgl) should be related to "-g*". Regarding the reported problem with -g*: Please see the ebuild, --enable-debug-symbols is supposed to accept "-g" value. But there seems to be conflict with with --enable-debug. I'll remove that handling... The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32a7f483a65e3e659bc977858d5edea799ab193f commit 32a7f483a65e3e659bc977858d5edea799ab193f Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-10-02 19:24:43 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-10-02 19:24:54 +0000 mail-client/thunderbird: USE=debug implies --enable-debug-symbols Bug: https://bugs.gentoo.org/746131 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> mail-client/thunderbird/thunderbird-78.3.1.ebuild | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=588af89aae206ad01a2b80248e993d92b25084fe commit 588af89aae206ad01a2b80248e993d92b25084fe Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-10-02 19:22:31 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-10-02 19:24:53 +0000 www-client/firefox: USE=debug implies --enable-debug-symbols Bug: https://bugs.gentoo.org/746131 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/firefox-78.3.1.ebuild | 8 +------- www-client/firefox/firefox-81.0.1.ebuild | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) @ Kobboi: Still waiting for your `emerge --info`. Please sync and retry with updated ebuild containing changes from comment #12. Created attachment 663568 [details] emerge --info (In reply to Thomas Deutschmann from comment #11) > I still don't get how this error (swgl) should be related to "-g*". You mean it works on your end? Seems only happens with gcc, reporter and old bug don't use clang either, but both had -g* in their C(XX)FLAGS, old bug comments even claims -g0 failed. I don't know why either, it's possible the build system activates something else (likely intended for clang) with --enable-debug-symbols which leads to this issue. Not like mozilla test gcc builds much anymore. My last few build results for 81.0.1: clang+lto+pgo without -g3: worked (this is what I normally happily use) gcc without -g3: worked gcc with -g3: failed gcc+lto+pgo without -g3: failed in 2nd stage with profile-related errors (tried after a user had problems on IRC, but didn't investigate further) clang with -g3: worked Not that I have a perfectly standard test environment (notably forgot to mention I use gcc 9.3.0-r1 despite a ~amd64 system). Including my own emerge --info until reporter does the same (-g3 was only set for firefox's build). This issue should be fixed, see bug #721126 (In reply to Ionen Wolkens from comment #14) > gcc+lto+pgo without -g3: failed in 2nd stage with profile-related errors > (tried after a user had problems on IRC, but didn't investigate further) Hadn't read the error properly at the time given was just a quick test, it's bug #746578 |