pkgsrc-Users archive

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

Re: [HEADS UP] test rust185/rust185-bin



It built for me on

$ uname -a
Linux ci4c.gq 6.11.0-1013-oracle #14-Ubuntu SMP Wed Feb 26 11:35:51
UTC 2025 aarch64 aarch64 aarch64 GNU/Linux
$ rustc --version
rustc 1.85.0 (4d91de4e4 2025-02-17) (built from a source tarball)

(as well as NetBSD-current, both amd64 and aarch64) and is working OK,
as far as I can tell by building some stuff after (mainly helix).

Chavdar

On Fri, 4 Apr 2025 at 12:09, Sunil Nimmagadda <sunil%nimmagadda.net@localhost> wrote:
>
> Thomas Klausner <wiz%NetBSD.org@localhost> writes:
>
> > Hi!
> >
> > Please test wip/rust185 (or wip/rust185-bin) by installing it on your
> > favorite platform and building one or two packages depending on it,
> > and report any regressions compared to lang/rust and lang/rust-bin.
> >
> > I plan on updating lang/rust and lang/rust-bin with these versions
> > next week.
> >  Thomas
>
> wip/rust185 fails to build on MacOS 15.4 with these linker errors.
> pkgsrc was bootstrapped with --unprivileged option.
>
>   = note: ld: warning: ignoring duplicate libraries: '-lm'
>           ld: warning: object file (/Users/nimmagaddasunil.kumar/pkgsrc/wip/rust185/work/rustc-1.85.1-src/build/aarch64-apple-darwin/stage0-rustc/aarch64-apple-darwin/release/deps/librustc_codegen_llvm-e91b848d9d03ae35.rlib[19](ef10e86dc40538c1-PassWrapper.o)) was built for newer 'macOS' version (15.4) than being linked (11.0)
>           ld: warning: object file (/Users/nimmagaddasunil.kumar/pkgsrc/wip/rust185/work/rustc-1.85.1-src/build/aarch64-apple-darwin/stage0-rustc/aarch64-apple-darwin/release/deps/librustc_codegen_llvm-e91b848d9d03ae35.rlib[20](ef10e86dc40538c1-RustWrapper.o)) was built for newer 'macOS' version (15.4) than being linked (11.0)
>           ld: warning: object file (/Users/nimmagaddasunil.kumar/pkgsrc/wip/rust185/work/rustc-1.85.1-src/build/aarch64-apple-darwin/stage0-rustc/aarch64-apple-darwin/release/deps/librustc_codegen_llvm-e91b848d9d03ae35.rlib[21](ef10e86dc40538c1-ArchiveWrapper.o)) was built for newer 'macOS' version (15.4) than being linked (11.0)
>           ld: warning: object file (/Users/nimmagaddasunil.kumar/pkgsrc/wip/rust185/work/rustc-1.85.1-src/build/aarch64-apple-darwin/stage0-rustc/aarch64-apple-darwin/release/deps/librustc_codegen_llvm-e91b848d9d03ae35.rlib[22](ef10e86dc40538c1-CoverageMappingWrapper.o)) was built for newer 'macOS' version (15.4) than being linked (11.0)
>           ld: warning: object file (/Users/nimmagaddasunil.kumar/pkgsrc/wip/rust185/work/rustc-1.85.1-src/build/aarch64-apple-darwin/stage0-rustc/aarch64-apple-darwin/release/deps/librustc_codegen_llvm-e91b848d9d03ae35.rlib[23](ef10e86dc40538c1-SymbolWrapper.o)) was built for newer 'macOS' version (15.4) than being linked (11.0)
>           ld: warning: object file (/Users/nimmagaddasunil.kumar/pkgsrc/wip/rust185/work/rustc-1.85.1-src/build/aarch64-apple-darwin/stage0-rustc/aarch64-apple-darwin/release/deps/librustc_codegen_llvm-e91b848d9d03ae35.rlib[24](ef10e86dc40538c1-Linker.o)) was built for newer 'macOS' version (15.4) than being linked (11.0)
>           Undefined symbols for architecture arm64:
>             "___isPlatformVersionAtLeast", referenced from:
>                 llvm::sys::fs::copy_file(llvm::Twine const&, llvm::Twine const&) in librustc_llvm-1183e9d8c9c3c112.rlib[2159](Path.cpp.o)
>           ld: symbol(s) not found for architecture arm64
>           clang: error: linker command failed with exit code 1 (use -v to see invocation)
>
>
> warning: `rustc_driver` (lib) generated 1 warning (1 duplicate)
> error: could not compile `rustc_driver` (lib) due to 1 previous error; 1 warning emitted
> Build completed unsuccessfully in 0:20:14
> *** Error code 1
>
> Stop.
> bmake[1]: stopped making "all" in /Users/nimmagaddasunil.kumar/pkgsrc/wip/rust185
> *** Error code 1
>
> Stop.
> bmake: stopped making "all" in /Users/nimmagaddasunil.kumar/pkgsrc/wip/rust185



-- 
----


Home | Main Index | Thread Index | Old Index