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

ARM kernel cross compilation issues for iMX53

I'm cross-compiling a kernel for the iMX53 Quick Start Board following the instructions found at the following link:


The compilation environment is a clean install of Ubuntu 11.10 with the gcc-4.6-arm-linux-gnueabi package installed via apt-get.

During the kernel compilation, the build quits with the following errors:

  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o: In function `_do_div.part.1':
staging.c:(.text+0x1467c8): undefined reference to `__aeabi_uldivmod'
staging.c:(.text+0x1467f4): undefined reference to `__aeabi_uldivmod'
staging.c:(.text+0x146830): undefined reference to `__aeabi_uldivmod'
staging.c:(.text+0x146910): undefined reference to `__aeabi_uldivmod'
staging.c:(.text+0x14692c): undefined reference to `__aeabi_uldivmod'
drivers/built-in.o:staging.c:(.text+0x146944): more undefined references to `__aeabi_uldivmod' follow

Poking around the Internet I found out I can avoid these errors by making sure the configuration parameter CONFIG_DEBUG_SECTION_MISMATCH=y is not set during the build.  When I comment this out from the build script, the kernel does indeed build for me.

The question I have is this. Does not having CONFIG_DEBUG_SECTION_MISMATCH=y cause any problems for the resulting kernel?

Any insight into this would be appreciated.

Mike Thompson

Reply to: