[RTEMS Project] #2351: powerpc/gwlcfm fails to build on master
RTEMS trac
trac at rtems.org
Wed May 20 17:05:21 UTC 2015
#2351: powerpc/gwlcfm fails to build on master
---------------------------+-----------------------------
Reporter: joel.sherrill | Owner: sebastian.huber
Type: defect | Status: new
Priority: highest | Milestone: 4.11
Component: bsps | Version: 4.11
Severity: blocker | Keywords:
---------------------------+-----------------------------
The master fails to build this BSP:
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/irq/irq.o -MD
-MP -MF $depbase.Tpo -c -o mpc55xx/irq/irq.o
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.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"
^
In file included from
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:27:0:
../../../../.././gwlcfm/lib/include/bsp/irq.h:250:6: error: #error
"unsupported chip type"
#error "unsupported chip type"
^
../../../../.././gwlcfm/lib/include/bsp/irq-generic.h: In function
'bsp_interrupt_is_valid_vector':
../../../../.././gwlcfm/lib/include/bsp/irq-generic.h:165:42: error:
'MPC55XX_IRQ_MAX' undeclared (first use in this function)
&& vector <= (rtems_vector_number) BSP_INTERRUPT_VECTOR_MAX;
^
../../../../.././gwlcfm/lib/include/bsp/irq-generic.h:165:42: note: each
undeclared identifier is reported only once for each function it appears
in
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c: In
function 'mpc55xx_intc_get_priority':
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:40:6:
error: 'MPC55XX_IRQ_MAX' undeclared (first use in this function)
if (MPC55XX_IRQ_IS_VALID( vector)) {
^
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:41:15:
error: 'INTC' undeclared (first use in this function)
*priority = INTC.PSR [vector].B.PRI;
^
In file included from
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:27:0:
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c: In
function 'mpc55xx_intc_set_priority':
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:54:6:
error: 'MPC55XX_IRQ_MAX' undeclared (first use in this function)
if (MPC55XX_IRQ_IS_VALID( vector) && MPC55XX_INTC_IS_VALID_PRIORITY(
priority)) {
^
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:55:3:
error: 'INTC' undeclared (first use in this function)
INTC.PSR [vector].B.PRI = priority;
^
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c: In
function 'mpc55xx_intc_raise_software_irq':
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:72:3:
error: 'INTC' undeclared (first use in this function)
INTC.SSCIR [vector].B.SET = 1;
^
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c: In
function 'mpc55xx_intc_clear_software_irq':
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:85:3:
error: 'INTC' undeclared (first use in this function)
INTC.SSCIR [vector].B.CLR = 1;
^
In file included from
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:27:0:
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c: In
function 'mpc55xx_interrupt_handler_install':
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:104:6:
error: 'MPC55XX_IRQ_MAX' undeclared (first use in this function)
if (MPC55XX_IRQ_IS_VALID( vector) && MPC55XX_INTC_IS_VALID_PRIORITY(
priority)) {
^
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c: In
function 'mpc55xx_interrupt_dispatch':
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:119:31:
error: 'INTC' undeclared (first use in this function)
rtems_vector_number vector = INTC.IACKR.B.INTVEC;
^
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c: In
function 'bsp_interrupt_facility_initialize':
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:169:43:
error: 'MPC55XX_IRQ_MAX' undeclared (first use in this function)
for (vector = MPC55XX_IRQ_MIN; vector <= MPC55XX_IRQ_MAX; ++vector) {
^
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:170:3:
error: 'INTC' undeclared (first use in this function)
INTC.PSR [vector].B.PRI = MPC55XX_INTC_DISABLED_PRIORITY;
^
In file included from
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:27:0:
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c: In
function 'bsp_interrupt_vector_enable':
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:185:6:
error: 'MPC55XX_IRQ_MAX' undeclared (first use in this function)
if (MPC55XX_IRQ_IS_VALID( vector)) {
^
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c: In
function 'bsp_interrupt_vector_disable':
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:194:6:
error: 'MPC55XX_IRQ_MAX' undeclared (first use in this function)
if (MPC55XX_IRQ_IS_VALID( vector)) {
^
../../../../.././gwlcfm/lib/include/bsp/irq.h: In function
'mpc55xx_intc_get_priority':
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:47:1:
warning: control reaches end of non-void function [-Wreturn-type]
}
^
../../../../.././gwlcfm/lib/include/bsp/irq.h: In function
'mpc55xx_intc_set_priority':
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:64:1:
warning: control reaches end of non-void function [-Wreturn-type]
}
^
../../../../.././gwlcfm/lib/include/bsp/irq.h: In function
'mpc55xx_interrupt_handler_install':
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:114:1:
warning: control reaches end of non-void function [-Wreturn-type]
}
^
../../../../.././gwlcfm/lib/include/bsp/irq-generic.h: In function
'bsp_interrupt_vector_enable':
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:190:1:
warning: control reaches end of non-void function [-Wreturn-type]
}
^
../../../../.././gwlcfm/lib/include/bsp/irq-generic.h: In function
'bsp_interrupt_vector_disable':
../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:199:1:
warning: control reaches end of non-void function [-Wreturn-type]
}
^
gmake[5]: *** [mpc55xx/irq/irq.o] Error 1
--
Ticket URL: <http://devel.rtems.org/ticket/2351>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list