[PATCH v5 06/18] riscv: Add RVV memmove for multiarch and non-multiarch
Peter Bergner
bergner@tenstorrent.com
Tue Jun 9 19:56:13 GMT 2026
On 6/9/26 8:46 AM, Zihong Yao wrote:
> With those changes, stpncpy and strncpy seem to be the only remaining routines
> in the current v5 thread that still need review.
I'll note I see the following with the v5 stpncpy patch doing a normal
glibc build with -march=rv64gc (ie, no vector):
./../include/libc-symbols.h:475:33: error: '__EI___stpncpy' aliased to undefined symbol '__GI___stpncpy'
475 | extern thread __typeof (name) __EI_##name \
| ^~~~~
./../include/libc-symbols.h:471:3: note: in expansion of macro '__hidden_ver2'
471 | __hidden_ver2 (, local, internal, name)
| ^~~~~~~~~~~~~
./../include/libc-symbols.h:479:41: note: in expansion of macro '__hidden_ver1'
479 | # define hidden_def(name) __hidden_ver1(__GI_##name, name, name);
| ^~~~~~~~~~~~~
./../include/libc-symbols.h:560:32: note: in expansion of macro 'hidden_def'
560 | # define libc_hidden_def(name) hidden_def (name)
| ^~~~~~~~~~
../sysdeps/unix/sysv/linux/riscv/multiarch/stpncpy.c:50:1: note: in expansion of macro 'libc_hidden_def'
50 | libc_hidden_def (__stpncpy);
| ^~~~~~~~~~~~~~~
Peter
More information about the Libc-alpha
mailing list