On 2020-10-14 02:45 +0100, Ken Moffat via blfs-dev wrote:
> On Wed, Oct 14, 2020 at 02:21:39AM +0100, Ken Moffat via blfs-dev wrote:
> > On Mon, Oct 12, 2020 at 09:15:30PM +0100, Ken Moffat via blfs-dev wrote:
> > > People might remember that I looked at llvm-11-rc1 in early August,
> > > and discovered that rustc-1.42.0 could not use it.  I see that
> > > llvm-11.0.0 is now out, and the release notes for rust-1.47.0 say
> > > that it ships with llvm-11 (although it 'should' build with older
> > > llvm).
> > > 
> > > I've just started a fresh build, with linux-5.9.0 (I understand why
> > > the book is waiting, but 5.9-rc has been ok on this box), llvm-11.0
> > > and rustc-1.47.0.  Except for things like nss and nspr my LFS and
> > > BLFS package versions are still at 10.0 (too much change to catch up
> > > with in the short term), so this is just an experimental build to
> > > try this llvm/rust combination and see if everything using rust will
> > > build.  I do not intend to build my whole desktop.
> > > 
> > > I aim to update my builds for the packages which use rust (cbindgen,
> > > librsvg, thunderbird to whatever is currently in the book) and to
> > > use firefox-78.3.0, current seamonkey.
> > > 
> > > If these all build, we will be able to update rustc along with llvm.
> > > If not, I assume we will need to revert to rustc using its shipped
> > > llvm whenever llvm-11 goes into the book.
> > > 
> > > Have I overlooked anything ?
> > > 
> > > ĸen
> > 
> > Unfortunately, I _did_ overlook something - I've got several scripts
> > to build rustc (different versions with prefix and sysllvm or
> > shipped) and I accidentally built 1.46.0 on llvm-11.0.0.  That did
> > build, and built all of cbindgen, firefox-esr, frefox-82.0 candidate
> > 1, librsvg, seamonkey, thunderbird.  Currently building
> > rustc-1.47.0, will attempt to rebuild them all in due course.
> > 
> Second fault in that first attempt - I was using the shipped llvm,
> so of course it built.

I can confirm that rustc-1.47.0 builds OK with system LLVM-11.0.0, and it can
build librsvg & js78 with no problem.

I didn't test firefox 78, though.

-- 
Xi Ruoyao <xry...@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to