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



Hi,

You can link libstdc++ statically with 'static-libstdcpp = true'
in your config.toml.

From: Rin Okuyama <rokuyama.rk%gmail.com@localhost>, Date: Wed, 6 Mar 2019 00:21:14 +0900

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

--
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index