bootstrap compilation error

All design tool related questions: compiler, assembler, linker. Embedded programming questions: assembler, C code.

Moderator: nferre

osingla
Location: Raleigh, NC, USA
Posts: 4
Joined: Wed Aug 13, 2008 3:46 pm

bootstrap compilation error

Thu Aug 20, 2009 3:16 am

I tried to cross-compile the latest release AT91 bootstrap code with the latest released version of the Code Sourcery ARM tools,
and the compilation fails:

/opt/cross-stuff/AT91SAM9G20-DK/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: section .ARM.exidx [00201008 -> 002010bf] overlaps section .data [00201008 -> 002010cb]
at91sam9g20ek.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
main.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
gpio.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
pmc.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
sdramc.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
nandflash.o:(.ARM.exidx+0x0): more undefined references to `__aeabi_unwind_cpp_pr0' follow
collect2: ld returned 1 exit status
make: *** [nandflash_at91sam9g20ek] Error 1

Any idea what's going on ?

Thanks!
Olivier

Return to “Development Tools”

Who is online

Users browsing this forum: No registered users and 2 guests