PowerPC gwlcfm and mpc5566evb build failure

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jun 26 09:27:30 UTC 2015



On 16/12/14 10:39, Sebastian Huber wrote:
>
> On 15/12/14 19:33, Joel Sherrill wrote:
>> Both fail with this.
>>
>> powerpc-rtems4.11-gcc --pipe -B../../../../.././lib/
>> -B../../../../.././gwlcfm/lib/  -specs bsp_specs -qrtems
>> -DPACKAGE_NAME=\"rtems-c-src-lib-libcpu-powerpc\"
>> -DPACKAGE_TARNAME=\"rtems-c-src-lib-libcpu-powerpc\"
>> -DPACKAGE_VERSION=\"4.10.99.0\"
>> -DPACKAGE_STRING=\"rtems-c-src-lib-libcpu-powerpc\ 4.10.99.0\"
>> -DPACKAGE_BUGREPORT=\"https://devel.rtems.org/newticket\"
>> -DPACKAGE_URL=\"\" -I.
>> -I../../../../../../../rtems/c/src/lib/libcpu/powerpc  -isystem
>> ../../../../.././gwlcfm/lib/include   -mcpu=8540 -meabi -msdata=sysv
>> -fno-common -msoft-float -mno-spe -D__ppc_generic -mstrict-align -O2 -g
>> -fno-keep-inline-functions -Wall -Wmissing-prototypes
>> -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT
>> mpc55xx/fec/fec.o -MD -MP -MF $depbase.Tpo -c -o mpc55xx/fec/fec.o
>> ../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/fec/fec.c 
>> &&\
>> mv -f $depbase.Tpo $depbase.Po
>> In file included from
>> ../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:23:0: 
>>
>> ../../../../.././gwlcfm/lib/include/mpc55xx/regs.h:83:4: error: #error
>> "unsupported chip type"
>>     #error "unsupported chip type"
>
> This is some mysterious feature of our build system.  If you configure 
> it a second time, then it works.  I noticed this only for this BSP and 
> I have absolutely no idea why it is so.
>

I fixed this eventually:

https://git.rtems.org/rtems/commit/?id=32005a72844f2090f269f6e327c65934905f273e

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