Re: Compile flags for kernel for maximum debugging symbols (for UML)

2008-03-18 Thread Manish Katiyar
hmmm when I used -Os I got the below error (last few lines) LD init/built-in.o LD .tmp_vmlinux1 mm/built-in.o: In function `index_of': /home/mkatiyar/personal/uml/linux-2.6.23.12/mm/slab.c:341: undefined reference to `__bad_size'

Re: Compile flags for kernel for maximum debugging symbols (for UML)

2008-03-18 Thread Erik Mouw
Please do not top-post. On Tue, Mar 18, 2008 at 09:54:48PM +0530, Manish Katiyar wrote: hmmm when I used -Os I got the below error (last few lines) LD init/built-in.o LD .tmp_vmlinux1 mm/built-in.o: In function `index_of':

Compile flags for kernel for maximum debugging symbols (for UML)

2008-03-17 Thread Manish Katiyar
Hi, I want to have maximum debugging symbols in my kernel image and currently I have changed the build flags in my top level Makefile so that they look like below. HOSTCFLAGS = -Wall -Wstrict-prototypes #-O2 -fomit-frame-pointer #HOSTCXXFLAGS = -O2 ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE CFLAGS +=

Re: Compile flags for kernel for maximum debugging symbols (for UML)

2008-03-17 Thread Mulyadi Santosa
hello On Mon, Mar 17, 2008 at 5:44 PM, Manish Katiyar [EMAIL PROTECTED] wrote: Hi, I want to have maximum debugging symbols in my kernel image and currently I have changed the build flags in my top level Makefile so that they look like below. uhm, prevents inlining at all cost? And no

Re: Compile flags for kernel for maximum debugging symbols (for UML)

2008-03-17 Thread Erik Mouw
On Mon, Mar 17, 2008 at 07:15:37PM +0700, Mulyadi Santosa wrote: hello On Mon, Mar 17, 2008 at 5:44 PM, Manish Katiyar [EMAIL PROTECTED] wrote: Hi, I want to have maximum debugging symbols in my kernel image and currently I have changed the build flags in my top level Makefile so