On Sun, Jul 26, 2020 at 05:34:56AM +0100, Ken Moffat via blfs-dev wrote:
> On Sun, Jul 26, 2020 at 04:10:50AM +0100, Ken Moffat via blfs-dev wrote:
> > On Sat, Jul 25, 2020 at 09:05:20PM -0500, Bruce Dubbs via blfs-dev wrote:
> > > On 7/25/20 8:45 PM, Ken Moffat via blfs-dev wrote:
> > > >
> > > > I've now built and briefly tested thunderbird with clang and
> > > > rustc-1.42.0, so I propose to make dbus-glib required for
> > > > thunderbird. I'll raise a ticket later.
> > > >
> > > > Meanwhile, I'm back to looking at using gcc for it - first with
> > > > rustc-1.42.0 (I will again use -fstack-clash-protection in my
> > > > flags), and then gcc+1.45.0.
> >
> Guess what, it failed to build with rustc-1.45.0.
>
> 67:01.62 Compiling gkrust v0.1.0
> (/scratch/working/thunderbird-78.0.1/toolkit/library/rust)
> 67:01.66 error: options `-C embed-bitcode=no` and `-C lto` are incompatible
> 67:04.23 error: could not compile `gkrust`.
> 67:04.23 To learn more, run the command again with --verbose.
> 67:04.25 make[4]: ***
> [/scratch/working/thunderbird-78.0.1/config/makefiles/rust.mk:294:
> force-cargo-library-build] Error 101
>
> I had hoped to propose using 1.45.0 because it fixes one very old
> issue where the results are undefined:
> https://github.com/rust-lang/rust/issues/10184
>
> but since thunderbird doesn't build (no changes to my scripts apart
> from using 1.45.0 instead of 1.42.0) I see no point in pursuing that
> until a change soemwhere forces us to again try a newer rust.
>
> Oh well.
>
Since I had to bring up google to look at something else, I took a
look for
error: options `-C embed-bitcode=no` and `-C lto` are incompatible
and got a bunch of results with rustc-1.45.0:
· Firefox in Arch (I thought both 78.0.1 and 79.0 had built for me!)
· A cross-build report that -C lto needs to be removed
· Mentioned at upstream SeaMonkey's bug for tracking with latest
rust versions (again, I thought I'd built it ok!)
Gentoo also had this with firefox, but seem to have fixed it for
firefox-78.0.2 with
+ sed -i \
+ -e 's/\(^cargo_rustc_flags +=.* \)-Clto\( \|$\)/\1/' \
+ "${S}/config/makefiles/rust.mk" || die
from
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66c428c613d510ea9676a463067106612da92c57
In theory this is only when using clang, but my (non-verbose) failed
thunderbird build definitely mentions g++.
ĸen
--
+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
- Hogfather
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page