Created attachment 608590 [details] app-shells:dash-0.5.10.2:20200130-112253.log /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: input.o:(.bss+0x0): multiple definition of `el'; histedit.o:(.bss+0x8): first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:347: dash] Error 1 make[3]: Leaving directory '/home/jer/portage/app-shells/dash-0.5.10.2/work/dash-0.5.10.2/src' make[2]: *** [Makefile:259: all] Error 2 make[2]: Leaving directory '/home/jer/portage/app-shells/dash-0.5.10.2/work/dash-0.5.10.2/src' make[1]: *** [Makefile:279: all-recursive] Error 1 make[1]: Leaving directory '/home/jer/portage/app-shells/dash-0.5.10.2/work/dash-0.5.10.2' make: *** [Makefile:219: all] Error 2
Created attachment 608592 [details, diff] dash-0.5.10.2-fno-common.patch
ping
Could you send a patch upstream? Alternatively if you create a patch using git-format-patch, I could forward it upstream on your behalf.
(In reply to Mike Gilbert from comment #3) > Could you send a patch upstream? > > Alternatively if you create a patch using git-format-patch, I could forward > it upstream on your behalf. Perhaps by committing it to the portage tree?
Created attachment 620706 [details, diff] dash-0.5.10.2-fno-common.patch Here you are.
(In reply to Jeroen Roovers from comment #5) It appears you used git show, or some similar command. Please use git format-patch to produce an email-compatible file. Thanks.
Created attachment 620708 [details, diff] 0001-input-Fix-compiling-against-libedit-with-fno-common.patch Like this? :-/
(In reply to Jeroen Roovers from comment #7) Yup, that looks better. Thanks.
Patch emailed today.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8150f54880d314e05ea95e167a77fab7af230146 commit 8150f54880d314e05ea95e167a77fab7af230146 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-05-02 18:42:21 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-05-02 18:47:06 +0000 app-shells/dash: fix build with gcc -fno-common Closes: https://bugs.gentoo.org/707364 Signed-off-by: Mike Gilbert <floppym@gentoo.org> app-shells/dash/dash-0.5.10.2-r1.ebuild | 5 ++- .../dash/files/dash-0.5.20.2-gcc-fno-common.patch | 38 ++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-)