ARM/AT91 build failure: Error: symbol *ABS* is in a different section

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jun 12 09:51:21 EDT 2010


Hello,

In barebox 2010.05, the at91sam9263ek defconfig was building properly
with my 2009q1 CodeSourcery ARM toolchain. Barebox 2010.06 no longer
builds with the same defconfig/toolchain. The build failure is:

  CC      arch/arm/cpu/start.o
{standard input}: Assembler messages:
{standard input}:37: Error: symbol *ABS* is in a different section

The commit that introduced the regression is
78104ae181f78d83664fdc7522eb632d9c3b2ec9 (i.e "arm: reimplement startup
code in C").

The part causing the problem is in board_init_lowlevel_return(), more
precisely

    /* Get runtime address of this function */
    __asm__ __volatile__("adr %0, 0":"=r"(r));

I have investigated further for the moment.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the barebox mailing list