On Tue, Jun 21, 2011 at 4:31 PM, Amit Mahajan <amit.maha...@b-labs.com> wrote:
> Hi,
>
> I am compiling 11.05 release linux kernel using linaro gcc-4.5.1.
>
> Getting following errors:
>
>  make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j 8
>  CHK     include/linux/version.h
>  CHK     include/generated/utsrelease.h
> make[1]: `include/generated/mach-types.h' is up to date.
>  CALL    scripts/checksyscalls.sh
>  CHK     include/generated/compile.h
>  Building modules, stage 2.
>  Kernel: arch/arm/boot/Image is ready
>  SHIPPED arch/arm/boot/compressed/lib1funcs.S
>  AS      arch/arm/boot/compressed/lib1funcs.o
>  MODPOST 1736 modules
>  LD      arch/arm/boot/compressed/vmlinux
>  OBJCOPY arch/arm/boot/zImage
>  Kernel: arch/arm/boot/zImage is ready
> ERROR: "__aeabi_uldivmod" [sound/soc/codecs/snd-soc-wm8974.ko]
> undefined!
> ERROR: "__aeabi_uldivmod" [sound/soc/codecs/snd-soc-wm8940.ko]
> undefined!
> ERROR: "__aeabi_uldivmod" [sound/soc/codecs/snd-soc-wm8510.ko]
> undefined!
> WARNING: modpost: Found 2 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
>
> Division symbols seems missing.

Hi Amit.  This is a known issue with the compiler.  See LP: #771832 at:
 https://bugs.launchpad.net/gcc-linaro/+bug/771832

The problem exists in all 4.6 based compilers.  The work around is to
change the kernel configuration and disable Device Drivers -> Sound
card support -> Advanced Linux Sound
Architecture -> ALSA for SoC audio support -> Build all ASoC CODEC drivers.

-- Michael

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to