[Bug 2049493] Re: Newer rustc version needed in jammy to build chromium updates
Nathan Teodosio
2049493 at bugs.launchpad.net
Fri Jan 19 11:52:07 UTC 2024
The build with the manual removal of the -Z flags failed[1] with
multiple undefined references such as
--->
obj/third_party/rust/cxx/v1/lib/libcxx_lib.rlib(libcxx_lib.cxx.fbfe687f763ab24e-cgu.0.rcgu.o):cxx.fbfe687f763ab24e-cgu.0:function <&T as core::fmt::Debug>::fmt: error: undefined reference to '<str as core::fmt::Debug>::fmt'
obj/third_party/rust/cxx/v1/lib/libcxx_lib.rlib(libcxx_lib.cxx.fbfe687f763ab24e-cgu.0.rcgu.o):cxx.fbfe687f763ab24e-cgu.0:function <&T as core::fmt::Display>::fmt: error: undefined reference to '<str as core::fmt::Display>::fmt'
obj/third_party/rust/cxx/v1/lib/libcxx_lib.rlib(libcxx_lib.cxx.fbfe687f763ab24e-cgu.0.rcgu.o):cxx.fbfe687f763ab24e-cgu.0:function <&T as core::fmt::LowerHex>::fmt: error: undefined reference to 'core::fmt::num::<impl core::fmt::LowerHex for u8>::fmt'
<---
The builds with RUSTC_BOOTSTRAP=1 were silently reset after hours of
progress (an old mysterious bug) and therefore we'll find out their
actual result only on Monday.
[1]
https://launchpadlibrarian.net/710066046/buildlog_snap_ubuntu_jammy_armhf_chromium-
rust_BUILDING.txt.gz
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rustc in Ubuntu.
https://bugs.launchpad.net/bugs/2049493
Title:
Newer rustc version needed in jammy to build chromium updates
Status in chromium-browser package in Ubuntu:
New
Status in rustc package in Ubuntu:
New
Bug description:
The next chromium version is making rustc mandatory to build. Chromium
is a snap built from core22 so using the jammy packages, the build is
currently failing because it needs libprofiler_builtins.rlib which
isn't available.
Upstream provides toolchain builds that can be used but only for amd64 so currently the snap is failing to build on arm
https://launchpad.net/~chromium-team/+snap/chromium-snap-from-source-beta
The version upstream is using is 1.75 but it's possible that a lower
version would be enough for now if libprofiler was enabled
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2049493/+subscriptions
More information about the foundations-bugs
mailing list