[PATCH v5 05/18] riscv: Add RVV memcpy for multiarch and non-multiarch

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Fri Jun 5 16:55:11 GMT 2026



On 23/04/26 10:25, Peter Bergner wrote:
> On 4/22/26 11:28 PM, Aurelien Jarno wrote:
>> Thanks. I noticed that due to the commit 89edb2e8c6a7 ("riscv: Resolve 
>> calls to memcpy using memcpy-generic in early startup") already adding
>> __memcpy_generic to sysdeps/riscv/multiarch/dl-symbol-redir-ifunc.h, 
>> this is now duplicated:
> 
> Weird.  That is not part of the patch and I'm surprised that applying
> the patch didn't complain that the context was off.  Thanks for spotting
> this and I'll remove the duplicate.
You can check with:

riscv64-linux-gnu-rv64imafdc-lp64d-work $ make check-abi
[...]
if grep -q '^FAIL:' /home/azanella/Projects/glibc/build/riscv64-linux-gnu-rv64imafdc-lp64d-work/*/check-abi*.test-result; then \
        cat /home/azanella/Projects/glibc/build/riscv64-linux-gnu-rv64imafdc-lp64d-work/*/check-abi*.out && exit 1; fi
--- ../sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist  2026-06-03 16:17:08.093669275 -0300
+++ /home/azanella/Projects/glibc/build/riscv64-linux-gnu-rv64imafdc-lp64d-work/libc.symlist    2026-06-05 13:54:35.058403411 -0300
@@ -2578 +2577,0 @@ GLIBC_2.34 tss_set F
-GLIBC_2.35 __memcmpeq F
  0x0278: Rev: 1  Flags: none  Index: 19  Cnt: 2  Name: GLIBC_ABI_DT_RELR
make[1]: *** [Makerules:1310: check-abi] Error 1
make[1]: Leaving directory '/home/azanella/Projects/glibc/glibc-git-work'
make: *** [Makefile:20: check-abi] Error 2


More information about the Libc-alpha mailing list