tech-pkg archive

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

Re: rust and rust-bin confusion



bouyer%antioche.eu.org@localhost (Manuel Bouyer) writes:

>FWIW I tried building rust from 2025Q1 on NetBSD 10/earmv7hf with 1Gb RAM
>and 4Gb swap; even with MAKE_JOBS=1 it failed short of RAM.


the last build produced:

-rw-r--r--  1 root  wheel  253926227 Apr 21 07:57 final-evbarm64-10.0-2025Q1/All/rust-1.76.0nb6.tgz
-rw-r--r--  1 root  wheel  123047258 Apr 20 13:18 final-evbarm64-10.0-2025Q1/All/rust-1.83.0.tgz
-rw-r--r--  1 root  wheel  253662071 Apr 20 08:05 final-evbarm64-9.0-2025Q1/All/rust-1.76.0nb6.tgz
-rw-r--r--  1 root  wheel  124927898 Apr 19 09:36 final-evbarm7-10.0-2025Q1/All/rust-1.83.0.tgz
-rw-r--r--  1 root  wheel  124908736 May  4 09:52 final-evbarm7-9.0-2025Q1/All/rust-1.83.0.tgz


earmv6hf failed with:

rust-1.76:

Build enters infinite loop.

rust-1.83:

Building bootstrap
failed to run: /pbulk/work/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /pbulk/work/lang/rust/work/rustc-1.83.0-src/src/bootstrap/Cargo.toml --frozen


earmv7hf failed with:

rust-1.76:

 = note: ld: cannot find -latomic
          ld: /pbulk/work/lang/rust176/work/rustc-1.76.0-src/build/armv7-unknown-netbsd-eabihf/stage0-rustc/armv7-unknown-netbsd-eabihf/release/deps/librustix-a6f0e3af59037ad7.rlib(rustix-a6f0e3af59037ad7.rustix.3f1a99dbb1d2eda6-cgu.1.rcgu.o): in function `_RNvNtNtNtCs5pTQ26QV2Pa_6rustix7backend2fs8syscalls8fstatvfs':
          rustix.3f1a99dbb1d2eda6-cgu.1:(.text._RNvNtNtNtCs5pTQ26QV2Pa_6rustix7backend2fs8syscalls8fstatvfs+0x1c):
 warning: reference to compatibility fstatvfs(); include <sys/statvfs.h> to generate correct reference


This is in 32bit chroots on an aarch64 system which offers almost 4GB address space to 32bit userland.



Home | Main Index | Thread Index | Old Index