tech-pkg archive

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

Re: Rust on NetBSD 9



On Sat, 21 Jun 2025 at 09:19, Havard Eidnes <he%netbsd.org@localhost> wrote:
>
> Hi,
>
> more info on this issue:
>
> Building rust 1.86.0 with LLVM 18.1.8, which was the version we
> had in pkgsrc up until early May this year on NetBSD/x86_64 9.3
> works just as one would expect, and produces a working compiler.
>
> So what is it with pkgsrc LLVM 19.x which is problematic?
>
> Just to recap my experienced situation for NetBSD/x86_64 9.3:
>
>  * Use internal LLVM -> works (the internal LLVM is apparently
>    19.x, from rust 1.82.0 up to and including 1.86.0, it gets
>    bumped to LLVM major 20 in 1.87.0)
>
>  * Use external (pkgsrc) LLVM 18.x works.
>
>  * Use external (pkgsrc) LLVM 19.x does not work (with the error
>    reported here earlier).

How much additional effort would it be to support multiple concurrent
LLVM installations, similar to the way we do for gcc? It could help in
this case, along with making transitioning to newer llvm versions much
easier...

David


Home | Main Index | Thread Index | Old Index