Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1710231

Re: make clean all broken with -j? + question regarding modpost

From Thomas Meyer <thomas@m3y3r.de>
Newsgroups linux.kernel
Subject Re: make clean all broken with -j? + question regarding modpost
Date 2017-08-12 13:30 +0200
Message-ID <udCM9-8ux-3@gated-at.bofh.it> (permalink)
References <ucXSG-7AZ-27@gated-at.bofh.it> <ud0nx-ME-33@gated-at.bofh.it> <udv7X-3GE-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Aug 12, 2017 at 12:15:11PM +0900, Masahiro Yamada wrote:
> Hi.
> 
> 2017-08-11 3:28 GMT+09:00 Randy Dunlap <rdunlap@infradead.org>:
> 
> >> 2.) compile modpost with debug symbols, -g
> >> how do I compile the modpost helper program with debug symbols? In what
> >> makefile, kbuild file do I need to add the compiler flag?
> >> Any help would be appreciated!
> 
> 
> If you want to pass extra options to the build command of host-programs,
> HOST_EXTRACFLAGS is supported.
> 
> For example,  HOST_EXTRACFLAGS=-g

Yes, after reading Documentation/kbuild/makefiles.txt and studying the
top level Makefile I was able to figure it out by myself.

But many thanks for the hint!

Now I just need to find out why an UML kernel with CONFIG_GCOV fails to
build all modules. modpost abends with missing symbols
__gcov_init, etc.


with kind regards
thomas
> 
> 
> 
> 
> 
> -- 
> Best Regards
> Masahiro Yamada

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

make clean all broken with -j? + question regarding modpost Thomas Meyer <thomas@m3y3r.de> - 2017-08-10 17:50 +0200
  Re: make clean all broken with -j? + question regarding modpost Randy Dunlap <rdunlap@infradead.org> - 2017-08-10 20:30 +0200
    Re: make clean all broken with -j? + question regarding modpost Jim Davis <jim.epost@gmail.com> - 2017-08-11 00:20 +0200
      Re: make clean all broken with -j? + question regarding modpost Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-08-12 05:20 +0200
        Re: make clean all broken with -j? + question regarding modpost Sam Ravnborg <sam@ravnborg.org> - 2017-08-12 10:10 +0200
        Re: make clean all broken with -j? + question regarding modpost Thomas Meyer <thomas@m3y3r.de> - 2017-08-12 13:20 +0200
    Re: make clean all broken with -j? + question regarding modpost Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-08-12 05:20 +0200
      Re: make clean all broken with -j? + question regarding modpost Thomas Meyer <thomas@m3y3r.de> - 2017-08-12 13:30 +0200
  Re: make clean all broken with -j? + question regarding modpost valdis.kletnieks@vt.edu - 2017-08-11 01:50 +0200

csiph-web