Summary: | app-admin/webalizer-2.23.08[xtended] fails with multiple definition of `resp_counter' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ascendant512+gentoo |
Component: | Current packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen, seal331gentoo, web-apps |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=737694 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 705764 | ||
Attachments: |
build.log without CFLAGS=-fcommon
Additional GCC 10 fix |
Created attachment 695736 [details]
build.log without CFLAGS=-fcommon
Seems previous fix was incomplete. Workaround works for me. Thanks a lot! Workaround works for me as well. Created attachment 740286 [details, diff]
Additional GCC 10 fix
Fixed it at the source level. Mod it as you want, I'm not good at C.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb61bf8432f2ab193de2f6a9f2a45127ffbbb6f commit eeb61bf8432f2ab193de2f6a9f2a45127ffbbb6f Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-23 00:04:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-23 00:04:24 +0000 app-admin/webalizer: add -fcommon Bug: https://bugs.gentoo.org/737694 Bug: https://bugs.gentoo.org/779016 Signed-off-by: Sam James <sam@gentoo.org> app-admin/webalizer/webalizer-2.23.08.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) |
Related to gcc 10 -fno-common Reproducible: Always Steps to Reproduce: 1. USE=xtended emerge -1 webalizer 2. 3. Actual Results: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hashtab.o:(.bss+0x40000): multiple definition of `resp_counter'; webalizer.o:(.bss+0x92b8): first defined here [...] Expected Results: >>> Installing (1 of 1) app-admin/webalizer-2.23.08::gentoo Workaround: /etc/portage/package.env #webalizer GCC 10 app-admin/webalizer gcc-10-fcommon.env /etc/portage/env/gcc-10-fcommon.env CFLAGS="${CFLAGS} -fcommon"