summaryrefslogtreecommitdiff
path: root/libbcachefs
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2024-10-12 18:03:44 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2024-10-12 17:20:56 -0400
commit6153c37e38e999634404c86d03e2ae1f111fb869 (patch)
tree8b00cd58cdffc2b64b07c4e54eba11a3f935e307 /libbcachefs
parent4e25d26a81f9daf3dd12d9f4096c6dfaf9cb3925 (diff)
Avoid static linking conflicts with libblkid
When static linking, it's not possible to have two functions with the same name in different libraries: = note: /nix/store/s2cjhni3s6shh0n35ay1hpj8d85k44qk-x86_64-unknown-linux-musl-binutils-2.43.1/bin/x86_64-unknown-linux-musl-ld: /nix/store/zwid05lzfy46k32xljb2alh0gq7ys58a-util-linux-minimal-static-x86_64-unknown-linux-musl-2.39.4-lib/lib/libblkid.a(libcommon_la-crc32c.o): in function `crc32c': (.text+0x0): multiple definition of `crc32c'; ./libbcachefs.a(tools-util.o):/build/source/c_src/tools-util.c:484: first defined here collect2: error: ld returned 1 exit status Work around this by avoiding a known name collision with a function in libblkid. Closes: https://github.com/koverstreet/bcachefs-tools/issues/311 Signed-off-by: Alyssa Ross <hi@alyssa.is> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs')
0 files changed, 0 insertions, 0 deletions