Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #283632
| From | Andreas Beckmann <anbe@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.rc |
| Subject | Bug#966813: e2fsprogs: FTBFS with GCC 10: multiple definition of ... due to -fno-common |
| Date | 2020-08-02 19:30 +0200 |
| Message-ID | <AzpY6-lf-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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: debian-gcc@lists.debian.org
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
Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#966813: e2fsprogs: FTBFS with GCC 10: multiple definition of ... due to -fno-common Andreas Beckmann <anbe@debian.org> - 2020-08-02 19:30 +0200 Bug#966813: e2fsprogs: FTBFS with GCC 10: multiple definition of ... due to -fno-common tytso@mit.edu - 2020-08-02 23:00 +0200
csiph-web