https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: www-servers/gatling-0.15 fails to compile with -fno-common. Discovered on: amd64 (internal ref: ci) NOTE: To reproduce this issue you may want to set CFLAGS="${CFLAGS} -fno-common" or compile it with gcc-10 that enables -fno-common by default.
Created attachment 675121 [details] build.log build log and emerge --info
Possible context of error(s): /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(io_fd.o):(.bss+0xb0): multiple definition of `first_deferred'; /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(io_close.o):(.data+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(io_fd.o):(.bss+0xb0): multiple definition of `first_deferred'; /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(io_close.o):(.data+0x0): first defined here collect2: error: ld returned 1 exit status
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=129f4ab9f8571c651937c46ba7bd4c82d6d052a2 commit 129f4ab9f8571c651937c46ba7bd4c82d6d052a2 Author: Sebastian Pipping <sping@gentoo.org> AuthorDate: 2020-11-26 18:33:02 +0000 Commit: Sebastian Pipping <sping@gentoo.org> CommitDate: 2020-11-26 18:36:37 +0000 dev-libs/libowfat: Fix compile with GCC 10 for www-servers/gatling Closes: https://bugs.gentoo.org/756847 Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-3.0.0, Repoman-2.3.23 dev-libs/libowfat/files/libowfat-0.32-gcc10.patch | 25 ++++++++++++ dev-libs/libowfat/libowfat-0.32-r2.ebuild | 49 +++++++++++++++++++++++ 2 files changed, 74 insertions(+)
*** Bug 756901 has been marked as a duplicate of this bug. ***
IMO it is still no solved, eg see bug 756901
(In reply to Toralf Förster from comment #5) > IMO it is still no solved, eg see bug 756901 Do you have dev-libs/libowfat-0.32-r2 installed? That has the fix.
(In reply to Sebastian Pipping from comment #6) > (In reply to Toralf Förster from comment #5) > > IMO it is still no solved, eg see bug 756901 > > Do you have dev-libs/libowfat-0.32-r2 installed? That has the fix. From in the attachment "emerge-history.txt of the mentioned bug: 2020-11-23T21:19:16 >>> dev-libs/libowfat-0.32-r1 so maybe a dep is needed ?
(In reply to Toralf Förster from comment #7) > From in the attachment "emerge-history.txt of the mentioned bug: > 2020-11-23T21:19:16 >>> dev-libs/libowfat-0.32-r1 > > so maybe a dep is needed ? I'm not sure. It only affects GCC 10 so it's not a hard dependency for any other compiler. So with the dependency can be considered as wrong as without it. If you want me to add it, I can add it.
*** Bug 706396 has been marked as a duplicate of this bug. ***
Alright, I'll added, give me a minute.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1e37cba1143f0404c2fa4af8dc729b299b886cc commit f1e37cba1143f0404c2fa4af8dc729b299b886cc Author: Sebastian Pipping <sping@gentoo.org> AuthorDate: 2020-11-27 13:46:10 +0000 Commit: Sebastian Pipping <sping@gentoo.org> CommitDate: 2020-11-27 13:46:10 +0000 www-servers/gatling: Depend on dev-libs/libowfat with GCC 10 fix Bug: https://bugs.gentoo.org/756847 Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-3.0.0, Repoman-2.3.23 www-servers/gatling/gatling-0.15.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)