Using the new instructions in the book O could not get rustc to build. I was getting:

--- stderr
error: couldn't load codegen backend "/tmp/rustc-test/rustc-1.25.0-src/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_trans-llvm.so": "/tmp/rustc-test/rustc-1.25.0-src/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_trans-llvm.so: undefined symbol: ffi_type_float"

=======

Note:  ffi_type_float is defined as a symbol in libffi.so.


When I removed the line

llvm-config = "/usr/bin/llvm-config"

from config.toml, it seem to work (still building, but past the problem area.)

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