tech-pkg archive

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

Re: lang/rust on aarch64eb



On Wednesday, 6 November 2024 09:40:16 PST John Klos wrote:
> Hi, all,
> 
> Rust used to work on NetBSD 10/aarch64eb, but now, from pkgsrc-2024Q3, it
> fails.
> 
> Any ideas on what to do to fix this?
> 
> Thanks,
> John
> 
> 
>         Fresh crossbeam-utils v0.8.18
>     Compiling aho-corasick v1.1.2
>       Running
> `/tmp/pkgbuild/lang/rust/work.aarch64eb/rust-bootstrap/bin/rustc
> --crate-name aho_corasick --edition=2021
> /tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/vendor/aho-corasick-
> 1.1.2/src/lib.rs --error-format=json
> --json=diagnostic-rendered-ansi,artifacts,future-incompat
> --diagnostic-width=96 --crate-type lib --emit=dep-info,metadata,link -C
> embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="perf-literal"'
> --cfg 'feature="std"' -C metadata=fdae76976492b3ec -C
> extra-filename=-fdae76976492b3ec --out-dir
> /tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/build/bootstrap/debu
> g/deps -C strip=debuginfo -L
> dependency=/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/build/boo
> tstrap/debug/deps --extern
> memchr=/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/build/bootstr
> ap/debug/deps/libmemchr-10f605e4eeef9369.rmeta --cap-lints allow
> -Zallow-features= -Wrust_2018_idioms -Wunused_lifetimes -Dwarnings`
> error[E0425]: cannot find function `vqtbl1q_u8` in this scope
>     -->
> /tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/vendor/aho-corasick-
> 1.1.2/src/packed/vector.rs:665:13
> 
> 665 |             vqtbl1q_u8(self, indices)
> 
>      |             ^^^^^^^^^^---------------
> 
>      |             help: try calling `vqtbl1q_u8` as a method:
> `self.vqtbl1q_u8(indices)`

I don't have an aarch64eb system to test at the moment, but is it possible to 
use these patches from -current?

lang/rust/patches/patch-vendor_aho-corasick-1.1.2_src_packed_vector.rs
lang/rust/patches/patch-vendor_aho-corasick-1.1.2_src_packed_teddy_builder.rs

-- 
snow flurry <snow%datagirl.xyz@localhost>




Home | Main Index | Thread Index | Old Index