-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
riscv64: gf16_shuffle128_rvv.c:(.text+0x22e): undefined reference to `__riscv_vlseg2e8_v_u8m1' #449
Comments
Without any knowledge:
The same grep in par2cmdline-turbo: same result for sources, but not in the binary files
|
Do you know what compiler/version are you using? For the builds that succeed, I assume they're done outside of the Docker container, and using a different compiler/version? |
We’re cross-compiling for the RISC-V arch using a GCC 9.x toolchain built with @sanderjo |
Actually, I think I found out what the issue is. sanderjo is probably using GCC 13, which lacks support for segmented loads/stores (hence the errors). I disabled RVV in GCC13 because of this, but I haven't made a release version with this change. |
Banana Pi BPI-F3. See https://docs.banana-pi.org/en/BPI-F3/BananaPi_BPI-F3 Quite nice: RVV1.0, nice performance (it even runs a GUI quite nicely), documentation, maintained OS (Bianbu OS, based on ubuntu) |
Yes, sorry for not mentioning, gcc 13: I do have gcc-14 on this system too, but I'm a bit scared of all the "sudo update-alternatives" command needed to switch to gcc-14. I can start a docker with ubuntu 24.10 and gcc 14, to see if that compiles.
So if/when you release that, and nzbget picks it up, nzbget should compile on my RISCV64 with gcc 13? |
Confirmed: builds nicely with gcc 14 (on Ubuntu 24.10, in docker). So indeed a gcc13 problem.
|
Thanks for testing!
Yes, just with RVV disabled. |
par2cmdline-turbo v1.2.0 has been released with the compile fixes. This issue should be resolved when this fork pulls across the changes. |
NZBGet Version
v24.5-testing
Platform
Linux/Docker
Environment
riscv64 Bianbu OS $ uname -a Linux sander-desktop 6.6.36 #2.0.2.2 SMP PREEMPT Mon Nov 11 13:06:48 UTC 2024 riscv64 riscv64 riscv64 GNU/Linux $ lsb_release -a No LSB modules are available. Distributor ID: Bianbu Description: Bianbu 2.0.2 Release: 2.0.2 Codename: noble $ cat /proc/cpuinfo processor : 0 hart : 0 model name : Spacemit(R) X60 isa : rv64imafdcv_zicbom_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_zfhmin_zca_zcd_zba_zbb_zbc_zbs_zkt_zve32f_zve32x_zve64d_zve64f_zve64x_zvfh_zvfhmin_zvkt_sscofpmf_sstc_svinval_svnapot_svpbmt mmu : sv39 mvendorid : 0x710 marchid : 0x8000000058000001 mimpid : 0x1000000049772200
Problem or Question
gives the errors below (in the linking).
Because I see par2-turbo and gf16, I first tried compiling par2cmd-turbo from @animetosho , and that just works.
The procedure via
wget https://nzbget.com/download/nzbget-latest-bin-linux.run
works and results in a working riscv64 nzbget binary. SoSteps To Reproduce
see above
Logs
No response
Extra information
No response
The text was updated successfully, but these errors were encountered: