Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464274 - portage should warn if FEATURES=splitdebug with no -g in CFLAGS
Summary: portage should warn if FEATURES=splitdebug with no -g in CFLAGS
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 933986
  Show dependency tree
 
Reported: 2013-04-03 05:46 UTC by William Throwe
Modified: 2024-07-20 19:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Throwe 2013-04-03 05:46:40 UTC
Forgetting to add -g (or -ggdb or similar) to CFLAGS/CXXFLAGS when enabling FEATURES=splitdebug seems to be an at least somewhat common mistake, and you don't get any obvious indication of what is wrong if you try to use the resulting .debug files with gdb.  (It just says "no debugging symbols found", which is true, but didn't help me solve the problem.)  Plus once you do figure it out you have to recompile anything you want debug symbols for.

It would be nice to provide a warning to the user if they forget this so they don't get useless .debug files.