After some time investigating why I wasn't seeing some kernel section mismatch errors that someone else was seeing, I found the cause was that in Linaro we build Thumb2 kernels in the main, and modpost.c doesn't have support for any of the Thumb relocation types in addend_arm_rel().
I thought I would spread this knowledge, because lack of section mismatch warnings means we might miss some nasty bugs when developing code.
If this is old news, then sorry for the noise.
On Wed, 20 Feb 2013, Jon Medhurst (Tixy) wrote:
After some time investigating why I wasn't seeing some kernel section mismatch errors that someone else was seeing, I found the cause was that in Linaro we build Thumb2 kernels in the main, and modpost.c doesn't have support for any of the Thumb relocation types in addend_arm_rel().
I thought I would spread this knowledge, because lack of section mismatch warnings means we might miss some nasty bugs when developing code.
If this is old news, then sorry for the noise.
This is not old news to me.
In fact, I think you should create a bug for this issue so it is tracked and fixed.
Nicolas
On Wed, 2013-02-20 at 11:28 -0500, Nicolas Pitre wrote:
On Wed, 20 Feb 2013, Jon Medhurst (Tixy) wrote:
After some time investigating why I wasn't seeing some kernel section mismatch errors that someone else was seeing, I found the cause was that in Linaro we build Thumb2 kernels in the main, and modpost.c doesn't have support for any of the Thumb relocation types in addend_arm_rel().
I thought I would spread this knowledge, because lack of section mismatch warnings means we might miss some nasty bugs when developing code.
If this is old news, then sorry for the noise.
This is not old news to me.
In fact, I think you should create a bug for this issue so it is tracked and fixed.
I created a bug against the Linaro Linux project as that is where Linaro Kernel redirected to. The bug is: https://bugs.launchpad.net/linux-linaro/+bug/1130776