pkgsrc-Bugs archive

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

Re: pkg/59435: lang/rust fails to build on NetBSD 9.x (e.g., 9.4_STABLE) after the llvm 19 update



The following reply was made to PR pkg/59435; it has been noted by GNATS.

From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
To: Thomas Klausner <wiz%gatalith.at@localhost>, Gnats Bugs <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: Re: pkg/59435: lang/rust fails to build on NetBSD 9.x (e.g.,
 9.4_STABLE) after the llvm 19 update
Date: Wed, 21 May 2025 08:33:42 -0400

 On 2025-05-20 17:31, Thomas Klausner wrote:
 > On Tue, May 20, 2025 at 08:40:01PM +0000, david%gutteridge.ca@localhost wrote: 
 > Number:         59435
 > Category:       pkg
 > Synopsis:       lang/rust fails to build on NetBSD 9.x (e.g., 
 > 9.4_STABLE) after the llvm 19 update
 
 > Can you please also try wip/rust186?
 
 It fails the same way.
 
     Compiling compiler_builtins v0.1.146
     Compiling rustc-std-workspace-core v1.99.0 
 (/tmp/work/rustc-1.86.0-src/library/rustc-std-workspace-core)
     Compiling alloc v0.0.0 (/tmp/work/rustc-1.86.0-src/library/alloc)
     Compiling cfg-if v1.0.0
     Compiling memchr v2.7.4
     Compiling adler2 v2.0.0
     Compiling rustc-demangle v0.1.24
     Compiling unwind v0.0.0 (/tmp/work/rustc-1.86.0-src/library/unwind)
 error: failed to parse bitcode for LTO module: Invalid alignment value 
 (Producer: 'LLVM19.1.7' Reader: 'LLVM 19.1.7')
 
 error: could not compile `compiler_builtins` (lib) due to 1 previous 
 error
 warning: build failed, waiting for other jobs to finish...
 error: could not compile `core` (lib) due to 1 previous error
 error: could not compile `rustc-demangle` (lib) due to 1 previous error
 error: could not compile `memchr` (lib) due to 1 previous error
 error: could not compile `alloc` (lib) due to 1 previous error
 
 Building lang/rust with the rust-internal-llvm option works, as one
 might expect.
 
 Dave
 


Home | Main Index | Thread Index | Old Index