Re: kmod: depmod: fix builtin symbols resolution when the prefix symbol is set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 01 Jan 2013 00:23:05 +0400, Lucas De Marchi <lucas.demarchi@xxxxxxxxxxxxxx> wrote:

On Thu, Dec 27, 2012 at 1:56 PM, Andrey Mazo <mazo@xxxxxxxx> wrote:
Hi list,

Should I provide more detailed information on the problem that the patch
solves?

In short, I just run
depmod -ae -F System.map -P _
on modules and kernel cross-compiled for Blackfin
and see lots of undefined symbols, which are in fact defined by the kernel.

For example,
WARNING: module.ko needs unknown symbol _memcpy
WARNING: module.ko needs unknown symbol _printk
WARNING: module.ko needs unknown symbol ___kmalloc

This is because all symbols are prefixed with _ for Blackfin and kmod's
depmod handles -P switch incorrectly.

sorry for the delay. I didn't apply it at the first look because I
really don't like that bool parameter. However as you pointed out,
this patch solves a real problem. It's applied now. Thanks.

Lucas De Marchi

Lucas, thank you for applying the patch!
Of course, no problem with the delay -- it's my fault not providing enough information about the problem in the first place. I agree, that the patch is a little bit clumsy and straightforward but it solves the problem.

--
Andrey Mazo.
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux