Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 15 Nov 2020 13:02:24 +0100
From: Solar Designer <solar@...nwall.com>
To: lkrg-users@...ts.openwall.com
Subject: Re: Re: 5.9.rt20

All - please do not use pastebin, etc. - please attach the logs, etc.
directly to your postings.

On Tue, Nov 10, 2020 at 09:08:20PM +0100, Ganime Yalur wrote:
> Url correction:
> 
> https://defuse.ca/b/xVhit3Sp

Excerpts from the above to get more people to look at it and hopefully
suggest what might be causing the issue:

 gcc version 10.2.0 (GCC)

 Linux ex 5.9.1-rt20-xanmod1-noasminline #2 SMP PREEMPT_RT Tue Nov 10 18:51:47 CET 2020 x86_64 GNU/Linux

 make -C /lib/modules/5.9.1-rt20-xanmod1-noasminline/build M=/home/user/compile/lkrg-main modules
 make[1]: Entering directory '/usr/src/linux-headers-5.9.1-rt20-xanmod1-noasminline'
   CC [M]  /home/user/compile/lkrg-main/src/modules/ksyms/p_resolve_ksym.o
   CC [M]  /home/user/compile/lkrg-main/src/modules/hashing/p_lkrg_fast_hash.o
[... many error-less CC lines skipped ...]
   CC [M]  /home/user/compile/lkrg-main/src/modules/exploit_detection/p_exploit_detection.o
   CC [M]  /home/user/compile/lkrg-main/src/p_lkrg_main.o
   LD [M]  /home/user/compile/lkrg-main/p_lkrg.o
   MODPOST /home/user/compile/lkrg-main/Module.symvers
 scripts/Makefile.modpost:111: recipe for target '/home/user/compile/lkrg-main/Module.symvers' failed
 Makefile:1700: recipe for target 'modules' failed
 make[1]: Leaving directory '/usr/src/linux-headers-5.9.1-rt20-xanmod1-noasminline'
 Makefile:101: recipe for target 'all' failed

Since LKRG build process isn't directly aware of Module.symvers, I think
this is most likely an issue with the kernel build tree.

Documentation/kbuild/modules.rst mentions Module.symvers a few times.
Reading those, I get the impression that the MODPOST step would fail if
the kernel's build tree lacks its own Module.symvers, which would be the
case if no full kernel build was done from that tree.  So making sure a
full kernel build is done from that exact tree is the first thing to do.

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.