On Fri, 2003-10-24 at 11:39, Sam Ravnborg wrote:
> Any chance the last two files can be compiled with -pg also
> with a few changes?
> I do not see why debugging info can harm here.

Functions inside files compiled with -pg get instrumented with a call to
the symbol 'mcount' after the prologue.  If the file that defines the
function mcount is compiled with -pg, you get stuck in infinite
recursion because each call to mcount will trigger another call to
mcount, etc.  Also in misc.o, the mcount symbol is not visible and
attempts to call it generate linker errors.  These are just two of the
reasons why it is necesary. 

-- 
Adam Litke (agl at us.ibm.com)
IBM Linux Technology Center
(503) 578 - 3283 t/l 775 - 3283



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to