Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-18-2007, 01:30 PM   #1
LQ Newbie
Registered: Jun 2007
Posts: 5

Rep: Reputation: 0
Unhappy Compiling With Debug Info Does Not Work?

I am trying to compile Linux 2.6.10 with debug info using the "make menuconfig" Kernel_Hacking-->Kernel_debugging-->Compile_the_kernel_with_debug_info selection.

I can see that the C files are compiled with the -g option, but the resultant vmlinux ELF file contains debug information for only the head.S assembler file.

Is there a strip command happening somewhere? Or does this menuconfig option simply not work?

Also, it compiles with "-g -O2". Is there a way to compile it with "-g O0"?

Best Regards,


compilekernel, debug, info

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox 1.5.7 outputs debug info nanjil SUSE / openSUSE 2 10-05-2006 05:49 AM
Debug info by inet1 during boot BroX Slackware 4 09-24-2006 10:59 AM
Redirecting debug info to another file subu_s Programming 1 12-07-2004 01:15 PM
rpmbuild without stripping debug info gdaly77 Linux - Software 0 05-27-2004 02:43 PM
redirect debug info raven Linux - General 1 11-20-2002 08:16 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration