Link RAP file error on zynq BSP

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Oct 15 08:41:17 UTC 2018


On 15/10/2018 10:16, jameszxj wrote:
>
> *From: * "Sebastian Huber"<sebastian.huber at embedded-brains.de>;
> *Date: * Mon, Oct 15, 2018 02:43 PM
> *To: * "devel"<devel at rtems.org>;
> *Cc: * "jameszxj"<jameszxj at gmail.com>;
> *Subject: * Re: Link RAP file error on zynq BSP
>
> On 15/10/2018 08:16, jameszxj wrote:
> >> 
> d:/msys64/opt/rtems/5.1/bin/../lib/gcc/arm-rtems5/7.3.0/../../../../arm-rtems5/bin/ld.exe: 
>
> >> wsp/build/nssys.elf section `.unexpected_sections' will not fit in
> >> region `UNEXPECTED_SECTIONS'
> >> collect2.exe: error: ld returned 1 exit status
>
> >Please have a look at the linker map file to figure out what these
> >sections are.
>
>
> .unexpected_sections
>                 0x0000000100000000        0x0
>  *(*)
>  .tm_clone_table
>                 0x0000000100000000        0x0 
> d:/msys64/opt/rtems/5.1/bin/../lib/gcc/arm-rtems5/7.3.0/thumb/armv7-a/neon/hard/crtbegin.o
>  .tm_clone_table
>                 0x0000000100000000        0x0 
> d:/msys64/opt/rtems/5.1/bin/../lib/gcc/arm-rtems5/7.3.0/thumb/armv7-a/neon/hard/crtend.o
>                 0x0000000100000000 __TMC_END__
> END GROUP
> LOAD 
> d:/msys64/opt/rtems/5.1/bin/../lib/gcc/arm-rtems5/7.3.0/thumb/armv7-a/neon/hard/crtend.o
> LOAD 
> d:/msys64/opt/rtems/5.1/bin/../lib/gcc/arm-rtems5/7.3.0/thumb/armv7-a/neon/hard/crtn.o
> OUTPUT(wsp/build/nssys.elf elf32-littlearm)
>

It should be fixed with this commit:

https://git.rtems.org/rtems/commit/?id=186a0b1dc017b1e2e44620f8d6274dc1c6ba09d1

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list