mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-09 00:00:04 +03:00
6153c37e38
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> |
||
---|---|---|
.. | ||
bcachefs.c | ||
cmd_assemble.c | ||
cmd_attr.c | ||
cmd_counters.c | ||
cmd_data.c | ||
cmd_device.c | ||
cmd_dump.c | ||
cmd_format.c | ||
cmd_fs.c | ||
cmd_fsck.c | ||
cmd_fusemount.c | ||
cmd_key.c | ||
cmd_kill_btree_node.c | ||
cmd_list_journal.c | ||
cmd_migrate.c | ||
cmd_option.c | ||
cmd_run.c | ||
cmd_version.c | ||
cmds.h | ||
config.h | ||
crypto.c | ||
crypto.h | ||
libbcachefs.c | ||
libbcachefs.h | ||
posix_to_bcachefs.c | ||
posix_to_bcachefs.h | ||
qcow2.c | ||
qcow2.h | ||
tools-util.c | ||
tools-util.h |