Re: [uml-user] 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' /home/mkatiyar/personal/uml/linux-2.6.23.12/mm/sla

Re: [uml-user] 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

[uml-user] 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 +=