tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rust 1.33.0 bootstrap fails on NetBSD/aarch64



On 2019/03/06 0:10, Havard Eidnes wrote:
On 2019/03/05 18:53, Havard Eidnes wrote:
Bootstrap fails on NetBSD/aarch64 (built from -HEAD as of today):
Hmm, is this part active in your pkg Makefile?
# Getting RPATH with $ORIGIN into bootstrap may be troublesome, so
# uncommenting the LD_LIBRARY_PATH setting may be required to run
# the bootstrap
PKGSRC_MAKE_ENV+=       LD_LIBRARY_PATH=${RUST_BOOTSTRAP_PATH:Q}/lib

What happens if you set LD_LIBRARY_PATH accordingly, and do a new
ldd of the rustc bootstrap compiler?

Sorry for confusing you. There's no problem in Makefile: That part is
active, and rustc can find libraries. The problem is that rustc is
linked against libstdc++ with wrong ABI, as pointed out by wiz:

http://mail-index.netbsd.org/tech-pkg/2019/03/05/msg020883.html

OK, I'm in the process of producing a new bootstrap against a
fully updated -current target tree with a fully updated target
compiler, and "we'll see".

Thank you so much! I look forward to it!

rin

Regards,

- Håvard



Home | Main Index | Thread Index | Old Index