Source: e2fsprogs Version: 1.46~WIP.2019.10.03-1 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) User: [email protected] Usertags: ftbfs-gcc-10
Hi,
e2fsprogs/experimental started to FTBFS when GCC 10 was made the default
compiler:
gcc -o tst_libext2fs -Wl,-z,relro -Wl,-z,now -Wl,-rpath-link,../../lib -DDEBUG
debug_cmds.o extent_cmds.o tst_cmds.o debugfs.o util.o ncheck.o icheck.o ls.o
lsdel.o dump.o set_fields.o logdump.o htree.o unused.o e2freefrag.o filefrag.o
extent_inode.o zap.o xattrs.o quota.o tst_libext2fs.o create_inode.o journal.o
revoke.o recovery.o do_journal.o \
../../lib/libss.a -ldl ../../lib/libe2p.a ../../lib/libsupport.a \
../../lib/libext2fs.a -lblkid -luuid -ldl \
../../lib/libcom_err.a -lpthread -I ../../../../debugfs
/usr/bin/ld:
tst_libext2fs.o:./debian/BUILD-STD/lib/ext2fs/../../../../lib/ext2fs/tst_libext2fs.c:33:
multiple definition of `extra_cmds';
debugfs.o:./debian/BUILD-STD/lib/ext2fs/../../../../debugfs/debugfs.c:51: first
defined here
/usr/bin/ld:
tst_libext2fs.o:./debian/BUILD-STD/lib/ext2fs/../../../../lib/ext2fs/tst_libext2fs.c:31:
multiple definition of `debug_prog_name';
debugfs.o:./debian/BUILD-STD/lib/ext2fs/../../../../debugfs/debugfs.c:52: first
defined here
collect2: error: ld returned 1 exit status
More information about the corresponding GCC change can be found here:
https://gcc.gnu.org/gcc-10/porting_to.html
"Default to -fno-common"
Andreas
e2fsprogs_1.46~WIP.2019.10.03-1.log.gz
Description: application/gzip

