Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Firefox with clang, lto and pgo? [solved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
trubicoid
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Tue Aug 04, 2009 6:42 pm

Firefox with clang, lto and pgo? [solved]

  • Quote

Post by trubicoid » Fri Jan 29, 2021 6:16 pm

Hi,
is someone using current Firefox with +clang +lto and +pgo? It does not compile here and I can't even spot the error in the output.

Code: Select all

...
firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0/build/cargo-linker -L dependency=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps -L dependency=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/release/deps --extern bincode=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libbincode-fec89d8920cdf9db.rmeta --extern bitflags=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libbitflags-848ca302c68da7f0.rmeta --extern byteorder=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libbyteorder-8af239f067d715c6.rmeta --extern cfg_if=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libcfg_if-115ab1df1cae1206.rmeta --extern cstr=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/release/deps/libcstr-544c1e608ce64090.so --extern derive_more=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/release/deps/libderive_more-799e6432e7374dc1.so --extern euclid=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libeuclid-ed633af6ec70b59c.rmeta --extern freetype=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libfreetype-4e779d3db992a084.rmeta --extern fxhash=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libfxhash-3f9888ac5b17c027.rmeta --extern gleam=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libgleam-3b5d46e13851c5c7.rmeta --extern lazy_static=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/liblazy_static-3987eadc664f0dce.rmeta --extern libc=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/liblibc-2835cd71073eff58.rmeta --extern log=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/liblog-c5798504bb63eb95.rmeta --extern malloc_size_of_derive=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/release/deps/libmalloc_size_of_derive-37793e7ce4a38922.so --extern num_traits=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libnum_traits-21c2b05aec0b9fb9.rmeta --extern plane_split=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libplane_split-846539b60a98107e.rmeta --extern rayon=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/librayon-25d16c1c45563387.rmeta --extern ron=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libron-47dfd1d9f10ecebb.rmeta --extern serde=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libserde-f2157c3fb7727f6f.rmeta --extern smallvec=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libsmallvec-a36787f3c6b034f8.rmeta --extern svg_fmt=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libsvg_fmt-15cf4f85a823d00c.rmeta --extern time=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libtime-4430a523638871fc.rmeta --extern tracy_rs=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libtracy_rs-7d5a6955f74975da.rmeta --extern uuid=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libuuid-6f822dfe48f12df8.rmeta --extern api=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libwebrender_api-69197ee2d38cd8c0.rmeta --extern webrender_build=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libwebrender_build-e6f58c704a60218b.rmeta --extern malloc_size_of=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libwr_malloc_size_of-4f0898a125215b2f.rmeta -C opt-level=2 --cap-lints warn -Cembed-bitcode=yes -C codegen-units=1`
147:58.62    Compiling webrender_bindings v0.1.0 (/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0/gfx/webrender_bindings)
147:58.62      Running `CARGO=/usr/lib/rust/1.48.0/bin/cargo-1.48.0 CARGO_CRATE_NAME=webrender_bindings CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0/gfx/webrender_bindings CARGO_PKG_AUTHORS='The Mozilla Project Developers' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MPL-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=webrender_bindings CARGO_PKG_REPOSITORY='' CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/release/deps:/usr/lib/rust/1.48.0/lib' /usr/bin/rustc --crate-name webrender_bindings gfx/webrender_bindings/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C embed-bitcode=no -C metadata=55830fdf89852f25 -C extra-filename=-55830fdf89852f25 --out-dir /var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0/build/cargo-linker -L dependency=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps -L dependency=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/release/deps --extern app_units=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libapp_units-6f0bb6dd35999e0f.rmeta --extern bincode=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libbincode-fec89d8920cdf9db.rmeta --extern dirs=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libdirs-bf05a7cec78f1d1f.rmeta --extern euclid=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libeuclid-ed633af6ec70b59c.rmeta --extern fxhash=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libfxhash-3f9888ac5b17c027.rmeta --extern gleam=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libgleam-3b5d46e13851c5c7.rmeta --extern log=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/liblog-c5798504bb63eb95.rmeta --extern nsstring=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libnsstring-50c49705534360b9.rmeta --extern num_cpus=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libnum_cpus-b64c9f264f904244.rmeta --extern rayon=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/librayon-25d16c1c45563387.rmeta --extern swgl=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libswgl-3656d8b0b1fb3594.rmeta --extern thin_vec=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libthin_vec-2b13eb11d87d4d8a.rmeta --extern tracy_rs=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libtracy_rs-7d5a6955f74975da.rmeta --extern uuid=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libuuid-6f822dfe48f12df8.rmeta --extern webrender=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libwebrender-5b3fd8400a979dd9.rmeta --extern wr_malloc_size_of=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libwr_malloc_size_of-4f0898a125215b2f.rmeta -C opt-level=2 --cap-lints warn -Cembed-bitcode=yes -C codegen-units=1 -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/build/swgl-ef084288b537ca99/out`
147:59.95      Running `CARGO=/usr/lib/rust/1.48.0/bin/cargo-1.48.0 CARGO_CRATE_NAME=gkrust_shared CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0/toolkit/library/rust/shared CARGO_PKG_AUTHORS='nobody@mozilla.org' CARGO_PKG_DESCRIPTION='Shared Rust code for libxul' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MPL-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gkrust-shared CARGO_PKG_REPOSITORY='' CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/release/deps:/usr/lib/rust/1.48.0/lib' OUT_DIR=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/build/gkrust-shared-34fb1ed25ea15cdd/out RUSTC_BOOTSTRAP=1 /usr/bin/rustc --crate-name gkrust_shared toolkit/library/rust/shared/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C embed-bitcode=no --cfg 'feature="audioipc-client"' --cfg 'feature="audioipc-server"' --cfg 'feature="bookmark_sync"' --cfg 'feature="cert_storage"' --cfg 'feature="cubeb-pulse"' --cfg 'feature="cubeb-remoting"' --cfg 'feature="cubeb-sys"' --cfg 'feature="cubeb_pulse_rust"' --cfg 'feature="default"' --cfg 'feature="fog_control"' --cfg 'feature="gecko_profiler"' --cfg 'feature="gecko_profiler_parse_elf"' --cfg 'feature="glean"' --cfg 'feature="glean_with_gecko"' --cfg 'feature="mdns_service"' --cfg 'feature="moz_memory"' --cfg 'feature="moz_places"' --cfg 'feature="new_cert_storage"' --cfg 'feature="profiler_helper"' --cfg 'feature="quantum_render"' --cfg 'feature="simd-accel"' --cfg 'feature="webgpu"' --cfg 'feature="webrender_bindings"' --cfg 'feature="webrtc"' --cfg 'feature="wgpu_bindings"' --cfg 'feature="with_dbus"' -C metadata=88eda6d3d632f869 -C extra-filename=-88eda6d3d632f869 --out-dir /var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0/build/cargo-linker -L dependency=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps -L dependency=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/release/deps --extern app_services_logger=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libapp_services_logger-307e06523f43ce5a.rmeta --extern audio_thread_priority=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libaudio_thread_priority-0429efd373935de5.rlib --extern audioipc_client=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libaudioipc_client-d73a94da289706b6.rmeta --extern audioipc_server=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libaudioipc_server-3da454b3547e4539.rmeta --extern authenticator=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libauthenticator-1564e2c786c00d2b.rmeta --extern bookmark_sync=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libbookmark_sync-eea3108307967692.rmeta --extern cascade_bloom_filter=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libcascade_bloom_filter-2dd32482144b0f0d.rmeta --extern cert_storage=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libcert_storage-8b8b324320f548ac.rmeta --extern chardetng_c=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libchardetng_c-d806071530db65f4.rmeta --extern cosec=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libcosec-60067fbdb898b242.rmeta --extern cubeb_pulse=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libcubeb_pulse-efaa02a25e7531bd.rlib --extern cubeb_sys=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libcubeb_sys-363acd70799bd366.rmeta --extern encoding_glue=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libencoding_glue-666175a81ba26202.rmeta --extern fluent=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libfluent-45fda722b841515a.rmeta --extern fluent_ffi=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libfluent_ffi-af3f7fbc087734d6.rmeta --extern fluent_langneg=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libfluent_langneg-137f26b0d8253a39.rmeta --extern fluent_langneg_ffi=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libfluent_langneg_ffi-4203aee1b92a0192.rmeta --extern fog_control=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libfog_control-50aadb1f29559f88.rmeta --extern gecko_logger=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libgecko_logger-2e0042237e5ececf.rmeta --extern geckoservo=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libgeckoservo-950e985b886e2c97.rmeta --extern gkrust_utils=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libgkrust_utils-3c2da78691f317d4.rmeta --extern http_sfv=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libhttp_sfv-9d0b6a344397f713.rmeta --extern jsrust_shared=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libjsrust_shared-ac58cfcb9fa7b971.rmeta --extern kvstore=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libkvstore-3baf209d5bf2a6c4.rmeta --extern l10nregistry_ffi=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libl10nregistry_ffi-0c41487712ae36e1.rmeta --extern lmdb_sys=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/liblmdb_sys-3648c1590e91dc3d.rmeta --extern log=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/liblog-c5798504bb63eb95.rmeta --extern mapped_hyph=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libmapped_hyph-d0b46116c8ba70e8.rmeta --extern mdns_service=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libmdns_service-6d574853882ec755.rmeta --extern mozurl=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libmozurl-6b5cc3a0c29d97c3.rmeta --extern mp4parse_capi=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libmp4parse_capi-cd22dfe8ef85172d.rmeta --extern neqo_glue=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libneqo_glue-f2af94c96f7e617c.rmeta --extern netwerk_helper=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libnetwerk_helper-699e00688fceaca2.rmeta --extern nserror=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libnserror-595358dc50bc11e4.rmeta --extern nsstring=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libnsstring-50c49705534360b9.rmeta --extern prefs_parser=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libprefs_parser-30630b5b1d72bda8.rmeta --extern processtools=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libprocesstools-c1e4d1931a4c7659.rmeta --extern profiler_helper=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libprofiler_helper-77d4e4e68a3198cc.rmeta --extern qcms=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libqcms-4d184a281451f00a.rmeta --extern rsdparsa_capi=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/librsdparsa_capi-341fc54748366a7b.rmeta --extern rusqlite=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/librusqlite-eb1fc3981595f853.rmeta --extern shift_or_euc_c=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libshift_or_euc_c-9274ebbe0d9535a4.rmeta --extern static_prefs=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libstatic_prefs-22520d90326aa8f0.rmeta --extern storage=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libstorage-1ce337fd5ab0bcb2.rmeta --extern unic_langid=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libunic_langid-329572acabbe7ab1.rmeta --extern unic_langid_ffi=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libunic_langid_ffi-32da8ee76e626de8.rmeta --extern viaduct=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libviaduct-a063cb2266bb667d.rmeta --extern webext_storage_bridge=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libwebext_storage_bridge-f2b66e3057cfd4a5.rmeta --extern webrender_bindings=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libwebrender_bindings-55830fdf89852f25.rmeta --extern wgpu_bindings=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libwgpu_bindings-3f5ed08c3b473ec4.rmeta --extern xpcom=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libxpcom-515c9193ce2f9be0.rmeta -C opt-level=2 --cap-lints warn -Cembed-bitcode=yes -C codegen-units=1 --cfg 'feature="oom_with_hook"' -L native=/usr/lib64 -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/build/lmdb-rkv-sys-94c3ec2dcbb6ae2d/out -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/build/mozglue-static-0b15378891afb206/out -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/dist/bin -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/security/nss/lib/nss/nss_nss3 -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/security/nss/lib/ssl/ssl_ssl3 -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/config/external/nspr/pr -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/build/swgl-ef084288b537ca99/out`
151:41.88    Compiling gkrust v0.1.0 (/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0/toolkit/library/rust)
151:41.88      Running `CARGO=/usr/lib/rust/1.48.0/bin/cargo-1.48.0 CARGO_CRATE_NAME=gkrust CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0/toolkit/library/rust CARGO_PKG_AUTHORS='nobody@mozilla.org' CARGO_PKG_DESCRIPTION='Rust code for libxul' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MPL-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gkrust CARGO_PKG_REPOSITORY='' CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/release/deps:/usr/lib/rust/1.48.0/lib' /usr/bin/rustc --crate-name gkrust toolkit/library/rust/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type staticlib --emit=dep-info,link -C opt-level=2 -C panic=abort -C embed-bitcode=no -Clto --cfg 'feature="cubeb-remoting"' --cfg 'feature="cubeb_pulse_rust"' --cfg 'feature="gecko_profiler"' --cfg 'feature="gecko_profiler_parse_elf"' --cfg 'feature="glean"' --cfg 'feature="glean_with_gecko"' --cfg 'feature="moz_memory"' --cfg 'feature="moz_places"' --cfg 'feature="new_cert_storage"' --cfg 'feature="quantum_render"' --cfg 'feature="simd-accel"' --cfg 'feature="webgpu"' --cfg 'feature="webrtc"' --cfg 'feature="with_dbus"' -C metadata=9f8afc928e9f4fee -C extra-filename=-9f8afc928e9f4fee --out-dir /var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0/build/cargo-linker -L dependency=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps -L dependency=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/release/deps --extern gkrust_shared=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libgkrust_shared-88eda6d3d632f869.rlib --extern mozglue_static=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libmozglue_static-eb31a12fc47f2ba6.rlib --extern mozilla_central_workspace_hack=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libmozilla_central_workspace_hack-ccff79954268531c.rlib --extern swgl=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/deps/libswgl-3656d8b0b1fb3594.rlib -C opt-level=2 --cap-lints warn -Cembed-bitcode=yes -C codegen-units=1 -L native=/usr/lib64 -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/build/lmdb-rkv-sys-94c3ec2dcbb6ae2d/out -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/build/mozglue-static-0b15378891afb206/out -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/dist/bin -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/security/nss/lib/nss/nss_nss3 -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/security/nss/lib/ssl/ssl_ssl3 -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/config/external/nspr/pr -L native=/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/build/swgl-ef084288b537ca99/out`
158:09.70     Finished release [optimized] target(s) in 155m 48s
158:10.04 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/toolkit/library/rust'
158:10.04 gmake[3]: Leaving directory '/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented'
158:10.04 gmake[2]: *** [/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0/config/recurse.mk:34: compile] Error 2
158:10.04 gmake[2]: Leaving directory '/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented'
158:10.04 gmake[1]: *** [/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0/config/rules.mk:355: default] Error 2
158:10.05 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented'
158:10.05 gmake: *** [client.mk:89: build] Error 2
158:10.05 140 compiler warnings present.
 * ERROR: www-client/firefox-85.0::gentoo failed (compile phase):
 *   Failed to run './mach build --verbose'
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 4533:  Called virtx './mach' 'build' '--verbose'
 *   environment, line 5915:  Called die
 * The specific snippet of code:
 *       [[ ${retval} -ne 0 ]] && die "Failed to run '$@'";
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-85.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-85.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-85.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-85.0/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0'
 * S: '/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0'
-clang +pgo +lto and +clang -pgo +lto works fine. Clang is 11.0.1 and GCC 10.2.0.

The other use flags are:

Code: Select all

[ebuild   R   ~] www-client/firefox-85.0:0/85::gentoo  USE="dbus gmp-autoupdate hwaccel lto openh264 pgo pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp wifi -clang -debug -eme-free -geckodriver -hardened -jack -screencast (-selinux) -wayland" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" 0 KiB
If someone is interested, here are https://browserbench.org/Speedometer results:
(https://browserbench.org/Speedometer2.0 seems to return some Inf values)

Code: Select all

+clang +lto -pgo 63.8 runs/min
-clang +lto -pgo 60.8 runs/min
-clang +lto +pgo 73.2 runs/min
Last edited by trubicoid on Sat Jan 30, 2021 12:26 pm, edited 1 time in total.
Top
Buffoon
Veteran
Veteran
User avatar
Posts: 1369
Joined: Wed Jun 17, 2015 2:22 pm
Location: EU or US

  • Quote

Post by Buffoon » Fri Jan 29, 2021 6:45 pm

Greater the number of jobs more scattered the log. Your real error is probably much earlier in the log.
Top
Ionen
Developer
Developer
User avatar
Posts: 3013
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Fri Jan 29, 2021 6:59 pm

There's plenty of people using clang+lto+pgo (so am I with 85.0), so it's supposed to work. It's also the configuration upstream uses for firefox-bin so it tend to be well supported.

But as above post points, the error happened earlier on so can't spot it in that small paste.

Also, emerge --info would help. Are you using tmpfs for building this? (don't if so)
Top
trubicoid
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Tue Aug 04, 2009 6:42 pm

  • Quote

Post by trubicoid » Fri Jan 29, 2021 7:30 pm

I think I found the error in the 14MB log file:

Code: Select all

8146:28.68 /usr/lib/ccache/bin/x86_64-pc-linux-gnu-clang++ -std=gnu++17 -o ../../dist/bin/firefox -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Qunus
ed-arguments -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-m
odified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overf
low-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wstring-conversion -Wtautolog
ical-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-error=tautological-type-limit-compare -Wno-inline-new-delete -
Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -
Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -march=native -mtune=n
ative -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -O3 -fomit-frame-pointer -funwi
nd-tables -DNS_FREE_PERMANENT_DATA=1 -fprofile-generate -DMOZ_PROFILE_INSTRUMENTATION /var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/browser/
app/firefox.list    -lpthread -Wl,-O1 -Wl,--as-needed -Wl,--compress-debug-sections=zlib -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags -fuse-ld=lld -Wl,-z,noexecsta
ck -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -fstack-protector-strong -rdynamic -Wl,-rpath-link,/var/tmp/portage/www-client/firefox-85.0/wor
k/firefox_build/instrumented/dist/bin -Wl,-rpath-link,/usr/lib -fprofile-generate -fcolor-diagnostics  -pie  -ldl
8146:28.77 ld.lld: error: cannot open /usr/lib/llvm/11/bin/../../../../lib/clang/11.0.1/lib/linux/libclang_rt.profile-x86_64.a: No such file or directory
8146:28.78 clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
8146:28.78 gmake[4]: *** [/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0/config/rules.mk:420: ../../dist/bin/firefox] Error 1
8146:28.78 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-85.0/work/firefox_build/instrumented/browser/app'
8146:28.78 gmake[3]: *** [/var/tmp/portage/www-client/firefox-85.0/work/firefox-85.0/config/recurse.mk:72: browser/app/target] Error 2
8146:28.78 gmake[3]: *** Waiting for unfinished jobs....
I have /usr/lib/clang/11.0.0/lib/linux/libclang_rt.profile-x86_64.a from sys-libs/compiler-rt-sanitizers-11.0.0, but not 11.0.1

adding ~amd64 keyword (as I have for clang) to sys-libs/compiler-rt-sanitizers and trying again

BTW. tmpfs is disabled for firefox
Last edited by trubicoid on Sat Jan 30, 2021 12:25 pm, edited 1 time in total.
Top
Buffoon
Veteran
Veteran
User avatar
Posts: 1369
Joined: Wed Jun 17, 2015 2:22 pm
Location: EU or US

  • Quote

Post by Buffoon » Fri Jan 29, 2021 9:09 pm

ccache - it can throw in the monkey wrench.
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Sat Jan 30, 2021 7:28 am

Since I was stuck on 84.0.1-r1 -lto, I added +lto to my package.use giving it +clang +lto +pgo and -dbus and let it rip. 85.0. Compiled fine, taking a about 75 minutes. Seems to work as expected. Build log about 30 M. I feel overly bleeding edge.
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
trubicoid
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Tue Aug 04, 2009 6:42 pm

  • Quote

Post by trubicoid » Sat Jan 30, 2021 12:24 pm

Changing the keywords of sys-libs/compiler-rt-sanitizers to match clang helped :)

Speed is also improved

Code: Select all

+clang +lto -pgo 63.8 runs/min
+clang +lto +pgo 76.0 runs/min
-clang +lto -pgo 60.8 runs/min
-clang +lto +pgo 73.2 runs/min
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Sat Jan 30, 2021 2:42 pm

I'm running about 99.9% stable except for firefox
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
Juippisi
Developer
Developer
User avatar
Posts: 783
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Sun Jan 31, 2021 5:35 am

figueroa wrote:Since I was stuck on 84.0.1-r1 -lto, I added +lto to my package.use giving it +clang +lto +pgo and -dbus and let it rip. 85.0. Compiled fine, taking a about 75 minutes. Seems to work as expected. Build log about 30 M. I feel overly bleeding edge.
Remember that +pgo can nearly double the build-time.

figueroa wrote:I'm running about 99.9% stable except for firefox
I'm happy following the ESR line that is kept stabilized in Gentoo :)
https://support.mozilla.org/en-US/kb/ch ... te-channel
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic