firefox FTBFS with rust-1.45.0: error: could not compile `gkrust`: error: options `-C embed-bitcode=no` and `-C lto` are incompatible
Categories
(Firefox Build System :: Toolchains, defect)
Tracking
(Not tracked)
People
(Reporter: whissi, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
Building firefox-68.10.0 ESR with rust-1.45.0 is failing.
Actual results:
7:49.26 Compiling gkrust v0.1.0 (/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/toolkit/library/rust)
7:49.26 RunningCARGO=/usr/bin/cargo-1.45.0 CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/toolkit/library/rust CARGO_PKG_AUTHORS='nobody@mozilla.org' CARGO_PKG_DESCRIPTION='Rust code for libxul' CARGO_PKG_HOMEPAGE= 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-68.10.0/work/firefox-68.10.0/ff/release/deps:/usr/lib' /usr/bin/sccache /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 -Cembed-bitcode=no -C codegen-units=1 -C lto --cfg 'feature="bindgen"' --cfg 'feature="cubeb-remoting"' --cfg 'feature="gecko_profiler"' --cfg 'feature="moz_memory"' --cfg 'feature="moz_places"' --cfg 'feature="quantum_render"' --cfg 'feature="servo"' --cfg 'feature="simd-accel"' -C metadata=8e8834b12ec0790c -C extra-filename=-8e8834b12ec0790c --out-dir /var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/ff/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/build/cargo-linker -L dependency=/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/ff/x86_64-unknown-linux-gnu/release/deps -L dependency=/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/ff/release/deps --extern gkrust_shared=/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/ff/x86_64-unknown-linux-gnu/release/deps/libgkrust_shared-ba15c31432745ba6.rlib --extern mozilla_central_workspace_hack=/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/ff/x86_64-unknown-linux-gnu/release/deps/libmozilla_central_workspace_hack-f59a4a3ddf929893.rlib -C opt-level=2 --cap-lints warn -L native=/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/ff/x86_64-unknown-linux-gnu/release/build/lmdb-rkv-sys-0172a7209283ada6/out
7:49.28 error: options-C embed-bitcode=no
and-C lto
are incompatible
7:50.04 error: could not compilegkrust
.
7:50.04 Caused by:
7:50.04 process didn't exit successfully:CARGO=/usr/bin/cargo-1.45.0 CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/toolkit/library/rust CARGO_PKG_AUTHORS='nobody@mozilla.org' CARGO_PKG_DESCRIPTION='Rust code for libxul' CARGO_PKG_HOMEPAGE= 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-68.10.0/work/firefox-68.10.0/ff/release/deps:/usr/lib' /usr/bin/sccache /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 -Cembed-bitcode=no -C codegen-units=1 -C lto --cfg 'feature="bindgen"' --cfg 'feature="cubeb-remoting"' --cfg 'feature="gecko_profiler"' --cfg 'feature="moz_memory"' --cfg 'feature="moz_places"' --cfg 'feature="quantum_render"' --cfg 'feature="servo"' --cfg 'feature="simd-accel"' -C metadata=8e8834b12ec0790c -C extra-filename=-8e8834b12ec0790c --out-dir /var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/ff/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/build/cargo-linker -L dependency=/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/ff/x86_64-unknown-linux-gnu/release/deps -L dependency=/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/ff/release/deps --extern gkrust_shared=/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/ff/x86_64-unknown-linux-gnu/release/deps/libgkrust_shared-ba15c31432745ba6.rlib --extern mozilla_central_workspace_hack=/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/ff/x86_64-unknown-linux-gnu/release/deps/libmozilla_central_workspace_hack-f59a4a3ddf929893.rlib -C opt-level=2 --cap-lints warn -L native=/var/tmp/portage/www-client/firefox-68.10.0/work/firefox-68.10.0/ff/x86_64-unknown-linux-gnu/release/build/lmdb-rkv-sys-0172a7209283ada6/out
(exit code: 1)
Reporter | ||
Comment 1•4 years ago
|
||
Also affects firefox-78.0.2.
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Description
•