Skip to content

Can't use nasm feature on arch linux (for faster rav1d video decoding) #7671

@jleibs

Description

@jleibs

To reproduce:

cargo run --package rerun-cli --no-default-features --features native_viewer,nasm

Output:

  = note: /usr/bin/ld: /home/jleibs/rerun/target/debug/deps/librav1d-13aa763589daefd4.rlib(mc16_avx512.o): warning: relocation against `dav1d_mc_warp_filter' in read-only section `.text'
          /usr/bin/ld: /home/jleibs/rerun/target/debug/deps/librav1d-13aa763589daefd4.rlib(looprestoration_sse.o): relocation R_X86_64_PC32 against symbol `dav1d_sgr_x_by_x' can not be used when making a shared object; recompile with -fPIC
          /usr/bin/ld: final link failed: bad value
          collect2: error: ld returned 1 exit status

Affected platforms: Arch Linux

I'm confirmed I have nasm installed:

➜  nasm --version
NASM version 2.16.03 compiled on May  4 2024

Metadata

Metadata

Assignees

Labels

dependenciesconcerning crates, pip packages etc🐧 linuxLinux-specific problems📉 performanceOptimization, memory use, etc📺 re_vieweraffects re_viewer itself🪳 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions