5ade3ecdb8
numactl unconditionally uses __atomic_fetch_and resulting in the
following build failure on architectures that need libatomic to provide
atomic intrinsics (e.g. microblaze) since commit
4ed540ddf5
:
/nvmedata/autobuild/instance-5/output-1/host/lib/gcc/microblaze-buildroot-linux-uclibc/10.3.0/../../../../microblaze-buildroot-linux-uclibc/bin/ld: ./.libs/libnuma.a(libnuma.o): in function `numa_node_to_cpus_v1':
(.text+0x2a34): undefined reference to `__atomic_fetch_and_1'
Fixes:
- http://autobuild.buildroot.org/results/e225cb83dae390d9dc543d4da85c52180efbd40a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
11 lines
348 B
Plaintext
11 lines
348 B
Plaintext
config BR2_PACKAGE_NUMACTL
|
|
bool "numactl"
|
|
depends on BR2_USE_MMU # madvise()
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
|
help
|
|
numactl allows you to run your application on specific cpus
|
|
and memory nodes. It does this by supplying a NUMA memory
|
|
policy to the operating system before running your program.
|
|
|
|
https://github.com/numactl/numactl
|