Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 155148

Summary: Generate a symbol file of mysqld binary before stripping
Product: Gentoo Linux Reporter: Morgan Collins <sirmorcant>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Morgan Collins 2006-11-14 10:32:15 UTC
In debugging mysql problems, mysql developers often request a user to "resolve the stack" from the mysqld.err file. This requires a symbol file or symbols in mysqld. The precompiled version of mysql ships with such a file. Currently the only way to get symbols in mysql is to compile with FEATURES="nostrip" which has to be done before the fact, and would invalidate any existing stack from mysqld.err.

It would be handy to have the mysql ebuild generate a mysqld.sym file before symbols are stripped and put it someplace like /usr/share/mysqld that a user could use to resolve the stack.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-14 12:01:57 UTC
FEATURES="nostrip" is needed for any debugging, don't really see why mysql should have special of stripping.