hi,

> There remains to understand why Bruce has an error with libffi. There is no
> mention of libffi in my rust build log.

I routinely build rustc vs system llvm

I had no problems building rustc-1.25.0 vs llvm-6.0

I saw the "undefined symbol: ffi_type_float" error quite a long ago with
1.17.0 and it was fixed by:

   export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"

(which, BTW, I got from BLFS)

Since then, I left it in my install script, so may be it is still
needed: didn't try to run without it for 1.25.0, though.

Also, I see this in my install script, when using config.toml:

    # ESSENTIAL for linking against llvm shared libs
    # this is the equivalent of --enable-llvm-link-shared when using configure
    export LLVM_LINK_SHARED=1

Don't remember where I got that, perhaps here:
https://github.com/rust-lang/rust/issues/46995

ciao



-- 
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