[Bug dynamic-link/34428] ldd -u prints Relink `' with `/lib64/libc.so.6' for IFUNC symbol `memcpy'

sam at gentoo dot org via Glibc-bugs <[email protected]> Sat, 01 Aug 2026 23:01:41 +0000
Newsgroups gmane.comp.lib.glibc.bugs
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=3D34428

--- Comment #6 from Sam James <sam at gentoo dot org> ---
```
#include <stdlib.h>
#include <string.h>
#include <stdio.h>

void foo(int a, int b) {
    void *m1 =3D malloc(a);
    void *m2 =3D malloc(a);
    printf("p=3D%p\n", mempcpy(m1, m2, b));
}
```

```
$ gcc a.c -o a -shared ; ldd -u ./a
./a: Relink `' with `/usr/lib64/libc.so.6' for IFUNC symbol `mempcpy'
```

--=20
You are receiving this mail because:
You are on the CC list for the bug.=