Summary: | autogen-5.8.8 tests fail if -ggdb or similar is in CFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kevin F. Quinn (RETIRED) <kevquinn> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://sourceforge.net/tracker/index.php?func=detail&aid=1691057&group_id=3593&atid=103593 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Fixup insufficient sed script to remove any -g* debug flag, not just drop '-g' |
Description
Kevin F. Quinn (RETIRED)
2007-03-28 09:50:35 UTC
Created attachment 114708 [details, diff]
Fixup insufficient sed script to remove any -g* debug flag, not just drop '-g'
(In reply to comment #0) > which clearly replaces -ggdb2 (for example) with -gdb2 I meant it is replaced with 'gdb2' (no '-'). i've gone with: + sed 's,-O2,,;s/-g[^[:space:]]*//'`" cheers I just found two new gcc parameters that the fix in the ebuild doesn't handle but the fix applied upstream does. --param max-gcse-passes=4 --param max-gcse-memory=209715200 I suggest changing the patch in ebuild to use the sed script from upsteam with sed 's,-O2,,;s/[ \t][ \t]*-g[^ \t]*[ \t][ \t]*/ /' |