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
Hmm, should have read all the followups...
> Thank you for your rapid response.
>
> However, it does not work. I missed an error message:
>
> ----
> error: couldn't load codegen backend
> "/build/pkgsrc/lang/rust/work.aarch64/rust-bootstrap/lib/rustlib/aarch64-unknown-netbsd/codegen-backends/librustc_codegen_llv
> m-llvm.so":
> "/build/pkgsrc/lang/rust/work.aarch64/rust-bootstrap/lib/rustlib/aarch64-unknown-netbsd/codegen-backends/librustc_codegen_llvm-llvm.so:
> Undefined PLT symbol \"_ZNSt15__exception_ptr13exception_ptrC1ERKS0_\"
> (symnum = 4197)"
> ----
>
> This should be due to a recent ABI change for libstdc++:
> http://cvsweb.netbsd.org/bsdweb.cgi/src/tools/gcc/Makefile#rev1.92
>
> Actually, if libstdc++.so.8.2 from 2019-02-22 is installed into
> rust-bootstrap/lib, the error disappears (with original Makefile).
> However, GCC crashes instead:
>
> ----
> = note: /build/pkgsrc/lang/rust/work.aarch64/.gcc/bin/gcc: Undefined
> PLT symbol
> "_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm"
> (symnum = 22)
> ----
Hm. The target I'm building against is 8.99.34 built from
sources dated February 8. I guess I need to update that tree to
even newer -current and re-do the bootstrap kit.
Regards,
- Håvard
Home |
Main Index |
Thread Index |
Old Index