search for: 3e8124f7

Displaying 2 results from an estimated 2 matches for "3e8124f7".

2017 Dec 30
0
building debug version of klibc
...failed to build it with debug info > > added "-g" to HOSTCFLAGS in Makefile, but HOSTCFLAGS is used when building tools running on your build machine. Try something like this (untested, whitespace damaged): diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index f500d535..3e8124f7 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -69,7 +69,7 @@ include $(srctree)/scripts/Kbuild.include KLIBCREQFLAGS := $(call cc-option, -fno-stack-protector, ) \ $(call cc-option, -fwrapv, ) KLIBCARCHREQFLAGS := -KLIBCOPTFLAGS := +KLIBCOPTFLAGS...
2017 Dec 30
6
building debug version of klibc
Hello! Can someone please help me in building debug version of klibc ? I've cloned git://git.kernel.org/pub/scm/libs/klibc/klibc.git , but failed to build it with debug info added "-g" to HOSTCFLAGS in Makefile, but $ make -j KLIBCKERNELSRC=`pwd`/../linux-2.6/usr still strips every debug symbol , and i'm failed to change scripts/Kbuild.klibc and Makefile to remove strip