Cannot build erofs-utils 1.2: multiple definition of `sbi'
nl6720
nl6720 at gmail.com
Tue Dec 8 21:35:42 AEDT 2020
Hi,
I'm having trouble building erofs-utils 1.2. It fails in "Making all in mkfs":
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Werror -I../include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o mkfs.erofs mkfs_erofs-main.o -luuid ../lib/liberofs.la -R/usr/lib -llz4
libtool: link: gcc -Wall -Werror -I../include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o mkfs.erofs mkfs_erofs-main.o -luuid ../lib/.libs/liberofs.a -llz4 -Wl,-rpath -Wl,/usr/lib
/usr/bin/ld: ../lib/.libs/liberofs.a(liberofs_la-inode.o):(.bss+0x40000): multiple definition of `sbi'; ../lib/.libs/liberofs.a(liberofs_la-super.o):(.bss+0x0): first defined here
This is on Arch Linux with:
binutils 2.35.1-1
gcc 10.2.0-4
libtool 2.4.6+42+gb88cebd5-14
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: text/x-log
Size: 24318 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20201208/be886ece/attachment.bin>
More information about the Linux-erofs
mailing list