Summary: | dev-embedded/gputils-1.5.0 with ld.gold: link fails with "-warn-once: unknown option" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Santos <daniel.santos> |
Component: | Current packages | Assignee: | Embedded Gentoo Team <embedded> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=722648 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 269315 | ||
Attachments: | build log |
Description
Daniel Santos
2021-10-18 09:51:41 UTC
Created attachment 745656 [details]
build log
Huh. tc-ld-disable-gold is still in the ebuild... The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b63fda8bb810ac60d85ed7f7649c61906f72f98 commit 3b63fda8bb810ac60d85ed7f7649c61906f72f98 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-11-07 04:37:42 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-07 04:37:42 +0000 dev-embedded/gputils: try again to disable gold Bug: https://bugs.gentoo.org/818802 Signed-off-by: Sam James <sam@gentoo.org> dev-embedded/gputils/gputils-1.5.0.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) `tc-ld-is-gold && tc-ld-force-bfd` won't be any different, it's what the function does already: tc-ld-disable-gold() { tc-ld-is-gold "$@" && tc-ld-force-bfd "$@" } But that it doesn't work isn't surprising given -fuse-ld=bfd is added to LDFLAGS and there's bug #722648 (In reply to Ionen Wolkens from comment #4) > `tc-ld-is-gold && tc-ld-force-bfd` won't be any different, it's what the > function does already: > > tc-ld-disable-gold() { > tc-ld-is-gold "$@" && tc-ld-force-bfd "$@" > } > > But that it doesn't work isn't surprising given -fuse-ld=bfd is added to > LDFLAGS and there's bug #722648 Oh, duh, I should've checked. Don't know why I didn't. Let's do it properly... The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21ea66b26eea2572564d1de7ab047ab573c57d69 commit 21ea66b26eea2572564d1de7ab047ab573c57d69 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-11-07 07:08:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-07 07:08:48 +0000 dev-embedded/gputils: update EAPI 6 -> 8, respect *FLAGS (really disable gold) Closes: https://bugs.gentoo.org/722648 Closes: https://bugs.gentoo.org/818802 Fixes: 3b63fda8bb810ac60d85ed7f7649c61906f72f98 Thanks-to: Ionen Wolkens <ionen@gentoo.org> (noticing bonehead change previously) Signed-off-by: Sam James <sam@gentoo.org> .../files/gputils-1.5.0-respect-flags.patch | 123 +++++++++++++++++++++ dev-embedded/gputils/gputils-1.5.0.ebuild | 26 +++-- 2 files changed, 141 insertions(+), 8 deletions(-) |