crypto/xor.ko fails to build with CONFIG_KERNEL_MODE_NEON=y
Ard Biesheuvel
ard.biesheuvel at linaro.org
Sat Sep 7 01:56:26 EDT 2013
On 7 sep. 2013, at 04:44, Josh Boyer <jwboyer at fedoraproject.org> wrote:
> We enabled CONFIG_KERNEL_MODE_NEON on the armv7hl builds we're doing.
> It builds for a while, but eventually fails when running modpost on
> the xor.ko module:
>
> ERROR: "xor_block_neon_inner" [crypto/xor.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
>
Clearly a bug, thanks for spotting this. I will submit a fix asap. In the mean time, building the xor code into the zImage will help you complete the build.
> I tried adding an EXPORT_SYMBOL_GPL(xor_block_neon_inner); after the
> structure definition in arch/arm/lib/xor-neon.c but that doesn't seem
> to have done anything.
>
I would expected that to have done the trick, but perhaps it is better to merge the neon code into the main arm/xor source file.
> Before I go chasing this further, I'm curious if anyone else has run into this.
>
Cheers,
Ard.
> josh
More information about the linux-arm-kernel
mailing list