Summary: | sys-libs/libunwind-1.3.1 : fails to build with -fno-common or gcc-10 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/libunwind/libunwind/issues/154 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 705764 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 sys-libs:libunwind-1.3.1:20200126-212855.log temp.tbz2 |
Description
Toralf Förster
2020-01-26 21:37:29 UTC
Created attachment 604976 [details]
emerge-info.txt
Created attachment 604978 [details]
emerge-history.txt
Created attachment 604980 [details]
environment
Created attachment 604982 [details]
etc.portage.tbz2
Created attachment 604984 [details]
logs.tbz2
Created attachment 604986 [details]
sys-libs:libunwind-1.3.1:20200126-212855.log
Created attachment 604988 [details]
temp.tbz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c50e03e331565aa875dc7a081d9c0f865869f563 commit c50e03e331565aa875dc7a081d9c0f865869f563 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-02-12 23:42:18 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-02-12 23:42:24 +0000 sys-libs/libunwind: add -fcommon workaround for gcc-10, bug # The source fix is not trivial as it's not clear where global shloud be defined: in common or per-arch files. Use -fcommon downstream and leave proper fix to upstream ticket. Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/706560 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-libs/libunwind/libunwind-1.2.1-r3.ebuild | 8 ++++++-- sys-libs/libunwind/libunwind-1.3.1.ebuild | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) Just to add that upstream has a patch and that the the -fcommon can be disabled. https://github.com/libunwind/libunwind/pull/157 Sorry for not contributing with a patch, but I do not use gentoo any more :( My apologies, the previous link was to a pull request that was not merged. The one merged was https://github.com/libunwind/libunwind/pull/166 |