tech-pkg archive

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

Re: Rust on NetBSD 9



> The latest NetBSD 9 bulk build (on x86_64) has a Rust build failure:
>
> https://releng.netbsd.org/bulktracker/pkg/55017055
>
>    Compiling core v0.0.0
> (/pbulk/work/lang/rust/work/rustc-1.86.0-src/library/core)
> error: failed to parse bitcode for LTO module: Invalid alignment value
> (Producer: 'LLVM19.1.7' Reader: 'LLVM 19.1.7')
>
> Is this after the fixes to the tree?

To which tree?

This failure appears to be with 9.0.  IIRC, there have been fixes
to ld.elf_so related to thread-local storage after that, and
which are only present in 9.4 and onwards?

Although the error message doesn't seem to resemble what you get
when that fails.

I should perhaps admit that I've not tested NetBSD/x86_64 9.x
with rust.  Perhaps I should (have)...

I'm starting off a build on 9.3 to see if I can reproduce this,
and will possibly subsequently upgrade to 9.4 to see if that
fares any better.

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index