powerpc/mpc55xxevb build failure

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Nov 25 14:57:21 UTC 2013


On 2013-11-25 15:32, Gedare Bloom wrote:
> On Mon, Nov 25, 2013 at 2:26 AM, Sebastian Huber
> <sebastian.huber at embedded-brains.de>  wrote:
>> >On 2013-11-23 17:11, Joel Sherrill wrote:
>>> >>
>>> >>On 11/23/2013 9:20 AM, Gedare Bloom wrote:
>>>> >>>
>>>>> >>> >In fsdosfsname01 I get the following failure during linking
>>>>> >>> >
>>>>> >>> >link command:
>>>>> >>> >powerpc-rtems4.11-gcc -B../../../../../mpc5566evb/lib/   -specs
>>>>> >>> >bsp_specs -qrtems -mcpu=8540 -meabi -msdata -fno-common -msoft-float
>>>>> >>> >-D__ppc_generic -mstrict-align -O2 -g -fno-keep-inline-functions -Wall
>>>>> >>> >-Wmissing-prototypes -Wimplicit-function-declaration
>>>>> >>> >-Wstrict-prototypes -Wnested-externs    -mcpu=8540 -meabi -msdata
>>>>> >>> >-fno-common -msoft-float -D__ppc_generic -mstrict-align   -o
>>>>> >>> >fsdosfsname01.exe init.o ramdisk_support.o
>>>>> >>> >
>>>>> >>> >failure:
>>>>> >>> >linkcmds.base:344 cannot move location counter backwards (from
>>>>> >>> >000000004002c5e4 to 0000000040020000)
>>>>> >>> >collect2: error: ld returned 1 exit status
>>>>> >>> >
>>>>> >>> >This is with HEAD (with the latest patch applied to this bsp) and
>>>>> >>> >current RSB-built tool set.
>>> >>
>>> >>This looks like a memory region is full and this test won't fit.
>> >
>> >
>> >Yes, the test is too large.  Maybe guard this test with BSP_SMALL_MEMORY?
>> >
> That will work for compiling. How hard would making a similar test
> with a smaller image be? So that the functionality could be tested on
> the board if someone wanted?
>

I don't know how hard it is to shrink the image and I don't have time to find 
this out at the moment.

-- 
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