Summary: | net-misc/iperf-3.9-r1 -- unrecognized option '--gdwarf-5' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gary E. Miller <gem> |
Component: | Current packages | Assignee: | Sam James <sam> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gem, ionen, jstein, netmon, toolchain |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=788976 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
Gary E. Miller
2021-05-08 20:00:38 UTC
Created attachment 706644 [details]
build log
build log
Hmm. Wondering where that flag is coming from. (In reply to Sam James from comment #2) > Hmm. Wondering where that flag is coming from. Probably gcc11 itself. I can reproduce with gcc11 + binutils:2.34 (--gdwarf-5 was added in 2.35) Which raise the question of why still using 2.34, and using it with gcc11 on top. toolchain (or any other package) downgrade needs to be made carefully to work at all. Specifically one might need to rebuild part of stack to forget about recently discovered features. gcc occasionally detects binutils features at gcc's ./configure time: https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/configure.ac;h=e9ba2af548a5c0891475ff851c79a8fa8ebf373f;hb=HEAD#l5435 You might want to look at why -g is being passed in $CFLAGS to build system when user did not have it in make.conf. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed20b87b4ea1e936a8bf71fa296839f9bcee339a commit ed20b87b4ea1e936a8bf71fa296839f9bcee339a Author: Sam James <sam@gentoo.org> AuthorDate: 2021-07-02 04:23:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-07-02 04:23:49 +0000 net-misc/iperf: don't force -g This doesn't fundamentally change the binutils issue but that's beyond the scope of iperf. Closes: https://bugs.gentoo.org/788973 Signed-off-by: Sam James <sam@gentoo.org> ...perf-3.10.1-drop-forced-debugging-symbols.patch | 148 +++++++++++++++++++++ net-misc/iperf/iperf-3.10.1.ebuild | 4 + 2 files changed, 152 insertions(+) |