All of lore.kernel.org
 help / color / mirror / Atom feed
* testing/radix-tree: undefined reference to `kmem_cache_alloc_lru'
@ 2022-04-14  7:49 Bruno Goncalves
       [not found] ` <CAEemH2cQ2NrjS_3FoCKpOV8faF59WcJU+jZ0sJEHC0yXgxfYCg@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Bruno Goncalves @ 2022-04-14  7:49 UTC (permalink / raw)
  To: LKML; +Cc: CKI Project

Hello,

Trying to build testing/radix-tree on mainline kernel fails with:

make -C tools/testing/radix-tree/
<snip>
cc -fsanitize=address -fsanitize=undefined  main.o xarray.o
radix-tree.o idr.o linux.o test.o find_bit.o bitmap.o slab.o
regression1.o regression2.o regression3.o regression4.o tag_check.o
multiorder.o idr-test.o iteration_check.o iteration_check_2.o
benchmark.o  -lpthread -lurcu -o main
/usr/bin/ld: xarray.o: in function `xas_split_alloc':
/root/linux/tools/testing/radix-tree/../../../lib/xarray.c:1019:
undefined reference to `kmem_cache_alloc_lru'
/usr/bin/ld: xarray.o: in function `xas_nomem':
/root/linux/tools/testing/radix-tree/../../../lib/xarray.c:305:
undefined reference to `kmem_cache_alloc_lru'
/usr/bin/ld: xarray.o: in function `xas_alloc':
/root/linux/tools/testing/radix-tree/../../../lib/xarray.c:374:
undefined reference to `kmem_cache_alloc_lru'
/usr/bin/ld: xarray.o: in function `__xas_nomem':
/root/linux/tools/testing/radix-tree/../../../lib/xarray.c:337:
undefined reference to `kmem_cache_alloc_lru'
/usr/bin/ld: /root/linux/tools/testing/radix-tree/../../../lib/xarray.c:340:
undefined reference to `kmem_cache_alloc_lru'
collect2: error: ld returned 1 exit status
make: *** [<builtin>: main] Error 1

Thanks,
Bruno Goncalves


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-15  4:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-14  7:49 testing/radix-tree: undefined reference to `kmem_cache_alloc_lru' Bruno Goncalves
     [not found] ` <CAEemH2cQ2NrjS_3FoCKpOV8faF59WcJU+jZ0sJEHC0yXgxfYCg@mail.gmail.com>
2022-04-15  4:31   ` Matthew Wilcox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.