Various powerpc BSPs fail to build

Ralf Corsepius ralf.corsepius at rtems.org
Sun Apr 7 16:44:46 UTC 2013


Hi,

The following powerpc BSPs fail to build:

brs5l
br_uid
hsc_cm01
mpc5643l_dpu
mpc5643l_evb
mpc8309som
mpc8313erdb
mpc8349eamds
qoriq_core_0
qoriq_core_1
qoriq_p1020rdb
virtex5

As I won't have much time to look into details in near future, I'd like 
to ask those people who are more familiar with these BSPs than me, to 
look into these breakdowns.

Enclosed is a more detailed excerpt of my build.logs.

Build-configuration used:
configure --target=powerpc-rtems4.11 --enable-tests

Ralf

-------------- next part --------------
brs5l/log-129-gmake[4]: Entering directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/brs5l/lib/libbsp/powerpc/gen5200'
brs5l/log-130-powerpc-rtems4.11-gcc --pipe -B../../../../../.././lib/ -B../../../../../.././brs5l/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H   -isystem ../../../../../.././brs5l/lib/include   -mcpu=603e -mstrict-align -meabi -msdata -fno-common -O2 -g -fno-keep-inline-functions -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT ata.o -MD -MP -MF .deps/ata.Tpo -c -o ata.o `test -f 'ide/ata.c' || echo '../../../../../../../../c/src/lib/libbsp/powerpc/gen5200/'`ide/ata.c
brs5l/log-131-../../../../../../../../c/src/lib/libbsp/powerpc/gen5200/ide/ata.c: In function 'probe':
brs5l/log:132:../../../../../../../../c/src/lib/libbsp/powerpc/gen5200/ide/ata.c:104:27: error: expected identifier or '(' before ':' token
brs5l/log:133:../../../../../../../../c/src/lib/libbsp/powerpc/gen5200/ide/ata.c:107:3: error: 'gpt' undeclared (first use in this function)
brs5l/log-134-../../../../../../../../c/src/lib/libbsp/powerpc/gen5200/ide/ata.c:107:3: note: each undeclared identifier is reported only once for each function it appears in
brs5l/log-135-gmake[4]: *** [ata.o] Error 1
brs5l/log-136-gmake[4]: Leaving directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/brs5l/lib/libbsp/powerpc/gen5200'
--
br_uid/log-1781-powerpc-rtems4.11-gcc -B../../../../../br_uid/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../c/src/../../testsuites/tmtests/tm27 -I..  -I../../../../../../../c/src/../../testsuites/tmtests/include -DOPERATION_COUNT=100 -I../../../../../../../c/src/../../testsuites/tmtests/../support/include   -mcpu=603e -meabi -msdata -fno-common -mstrict-align -O2 -g -fno-keep-inline-functions -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT task1.o -MD -MP -MF .deps/task1.Tpo -c -o task1.o ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c
br_uid/log-1782-In file included from ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c:26:0:
br_uid/log-1783-../../../../../br_uid/lib/include/tm27.h: In function 'tm27_exception_handler':
br_uid/log:1784:../../../../../br_uid/lib/include/tm27.h:36:24: error: called object 'tm27_interrupt_handler' is not a function
br_uid/log-1785-gmake[4]: *** [task1.o] Error 1
br_uid/log-1786-gmake[4]: Leaving directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/br_uid/testsuites/tmtests/tm27'
br_uid/log-1787-gmake[3]: *** [all-recursive] Error 1
--
hsc_cm01/log-1781-powerpc-rtems4.11-gcc -B../../../../../hsc_cm01/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../c/src/../../testsuites/tmtests/tm27 -I..  -I../../../../../../../c/src/../../testsuites/tmtests/include -DOPERATION_COUNT=100 -I../../../../../../../c/src/../../testsuites/tmtests/../support/include   -mcpu=603e -meabi -msdata -fno-common -mstrict-align -O2 -g -fno-keep-inline-functions -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT task1.o -MD -MP -MF .deps/task1.Tpo -c -o task1.o ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c
hsc_cm01/log-1782-In file included from ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c:26:0:
hsc_cm01/log-1783-../../../../../hsc_cm01/lib/include/tm27.h: In function 'tm27_exception_handler':
hsc_cm01/log:1784:../../../../../hsc_cm01/lib/include/tm27.h:36:24: error: called object 'tm27_interrupt_handler' is not a function
hsc_cm01/log-1785-gmake[4]: *** [task1.o] Error 1
hsc_cm01/log-1786-gmake[4]: Leaving directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/hsc_cm01/testsuites/tmtests/tm27'
hsc_cm01/log-1787-gmake[3]: *** [all-recursive] Error 1
--
mpc5643l_dpu/log-251-gmake[4]: Entering directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/mpc5643l_dpu/testsuites/libtests/flashdisk01'
mpc5643l_dpu/log-252-powerpc-rtems4.11-gcc -B../../../../../mpc5643l_dpu/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 flashdisk01.exe init.o test-file-system.o 
mpc5643l_dpu/log-253-linkcmds.mpc55xx:18 cannot move location counter backwards (from 00000000400130e0 to 0000000040010000)
mpc5643l_dpu/log:254:collect2: error: ld returned 1 exit status
mpc5643l_dpu/log-255-gmake[4]: *** [flashdisk01.exe] Error 1
mpc5643l_dpu/log-256-gmake[4]: Leaving directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/mpc5643l_dpu/testsuites/libtests/flashdisk01'
mpc5643l_dpu/log-257-gmake[3]: *** [all-recursive] Error 1
--
mpc5643l_evb/log-251-gmake[4]: Entering directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/mpc5643l_evb/testsuites/libtests/flashdisk01'
mpc5643l_evb/log-252-powerpc-rtems4.11-gcc -B../../../../../mpc5643l_evb/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 flashdisk01.exe init.o test-file-system.o 
mpc5643l_evb/log-253-linkcmds.mpc55xx:18 cannot move location counter backwards (from 00000000400130e0 to 0000000040010000)
mpc5643l_evb/log:254:collect2: error: ld returned 1 exit status
mpc5643l_evb/log-255-gmake[4]: *** [flashdisk01.exe] Error 1
mpc5643l_evb/log-256-gmake[4]: Leaving directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/mpc5643l_evb/testsuites/libtests/flashdisk01'
mpc5643l_evb/log-257-gmake[3]: *** [all-recursive] Error 1
--
mpc8309som/log-1781-powerpc-rtems4.11-gcc -B../../../../../mpc8309som/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../c/src/../../testsuites/tmtests/tm27 -I..  -I../../../../../../../c/src/../../testsuites/tmtests/include -DOPERATION_COUNT=100 -I../../../../../../../c/src/../../testsuites/tmtests/../support/include   -mcpu=603e -meabi -msdata -fno-common -mstrict-align -O2 -g -fno-keep-inline-functions -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT task1.o -MD -MP -MF .deps/task1.Tpo -c -o task1.o ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c
mpc8309som/log-1782-In file included from ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c:26:0:
mpc8309som/log-1783-../../../../../mpc8309som/lib/include/tm27.h: In function 'tm27_exception_handler':
mpc8309som/log:1784:../../../../../mpc8309som/lib/include/tm27.h:36:24: error: called object 'tm27_interrupt_handler' is not a function
mpc8309som/log-1785-gmake[4]: *** [task1.o] Error 1
mpc8309som/log-1786-gmake[4]: Leaving directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/mpc8309som/testsuites/tmtests/tm27'
mpc8309som/log-1787-gmake[3]: *** [all-recursive] Error 1
--
mpc8313erdb/log-1781-powerpc-rtems4.11-gcc -B../../../../../mpc8313erdb/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../c/src/../../testsuites/tmtests/tm27 -I..  -I../../../../../../../c/src/../../testsuites/tmtests/include -DOPERATION_COUNT=100 -I../../../../../../../c/src/../../testsuites/tmtests/../support/include   -mcpu=603e -meabi -msdata -fno-common -mstrict-align -O2 -g -fno-keep-inline-functions -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT task1.o -MD -MP -MF .deps/task1.Tpo -c -o task1.o ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c
mpc8313erdb/log-1782-In file included from ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c:26:0:
mpc8313erdb/log-1783-../../../../../mpc8313erdb/lib/include/tm27.h: In function 'tm27_exception_handler':
mpc8313erdb/log:1784:../../../../../mpc8313erdb/lib/include/tm27.h:36:24: error: called object 'tm27_interrupt_handler' is not a function
mpc8313erdb/log-1785-gmake[4]: *** [task1.o] Error 1
mpc8313erdb/log-1786-gmake[4]: Leaving directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/mpc8313erdb/testsuites/tmtests/tm27'
mpc8313erdb/log-1787-gmake[3]: *** [all-recursive] Error 1
--
mpc8349eamds/log-1781-powerpc-rtems4.11-gcc -B../../../../../mpc8349eamds/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../c/src/../../testsuites/tmtests/tm27 -I..  -I../../../../../../../c/src/../../testsuites/tmtests/include -DOPERATION_COUNT=100 -I../../../../../../../c/src/../../testsuites/tmtests/../support/include   -mcpu=603e -meabi -msdata -fno-common -mstrict-align -O2 -g -fno-keep-inline-functions -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT task1.o -MD -MP -MF .deps/task1.Tpo -c -o task1.o ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c
mpc8349eamds/log-1782-In file included from ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c:26:0:
mpc8349eamds/log-1783-../../../../../mpc8349eamds/lib/include/tm27.h: In function 'tm27_exception_handler':
mpc8349eamds/log:1784:../../../../../mpc8349eamds/lib/include/tm27.h:36:24: error: called object 'tm27_interrupt_handler' is not a function
mpc8349eamds/log-1785-gmake[4]: *** [task1.o] Error 1
mpc8349eamds/log-1786-gmake[4]: Leaving directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/mpc8349eamds/testsuites/tmtests/tm27'
mpc8349eamds/log-1787-gmake[3]: *** [all-recursive] Error 1
--
qoriq_core_0/log-1781-powerpc-rtems4.11-gcc -B../../../../../qoriq_core_0/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../c/src/../../testsuites/tmtests/tm27 -I..  -I../../../../../../../c/src/../../testsuites/tmtests/include -DOPERATION_COUNT=100 -I../../../../../../../c/src/../../testsuites/tmtests/../support/include   -mcpu=8540 -meabi -msdata -fno-common -mstrict-align -mspe -mabi=spe -mfloat-gprs=double -D__ppc_generic -Os -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT task1.o -MD -MP -MF .deps/task1.Tpo -c -o task1.o ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c
qoriq_core_0/log-1782-In file included from ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c:26:0:
qoriq_core_0/log-1783-../../../../../qoriq_core_0/lib/include/tm27.h: In function 'tm27_exception_handler':
qoriq_core_0/log:1784:../../../../../qoriq_core_0/lib/include/tm27.h:39:24: error: called object 'tm27_interrupt_handler' is not a function
qoriq_core_0/log-1785-gmake[4]: *** [task1.o] Error 1
qoriq_core_0/log-1786-gmake[4]: Leaving directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/qoriq_core_0/testsuites/tmtests/tm27'
qoriq_core_0/log-1787-gmake[3]: *** [all-recursive] Error 1
--
qoriq_core_1/log-1781-powerpc-rtems4.11-gcc -B../../../../../qoriq_core_1/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../c/src/../../testsuites/tmtests/tm27 -I..  -I../../../../../../../c/src/../../testsuites/tmtests/include -DOPERATION_COUNT=100 -I../../../../../../../c/src/../../testsuites/tmtests/../support/include   -mcpu=8540 -meabi -msdata -fno-common -mstrict-align -mspe -mabi=spe -mfloat-gprs=double -D__ppc_generic -Os -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT task1.o -MD -MP -MF .deps/task1.Tpo -c -o task1.o ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c
qoriq_core_1/log-1782-In file included from ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c:26:0:
qoriq_core_1/log-1783-../../../../../qoriq_core_1/lib/include/tm27.h: In function 'tm27_exception_handler':
qoriq_core_1/log:1784:../../../../../qoriq_core_1/lib/include/tm27.h:39:24: error: called object 'tm27_interrupt_handler' is not a function
qoriq_core_1/log-1785-gmake[4]: *** [task1.o] Error 1
qoriq_core_1/log-1786-gmake[4]: Leaving directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/qoriq_core_1/testsuites/tmtests/tm27'
qoriq_core_1/log-1787-gmake[3]: *** [all-recursive] Error 1
--
qoriq_p1020rdb/log-1781-powerpc-rtems4.11-gcc -B../../../../../qoriq_p1020rdb/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../c/src/../../testsuites/tmtests/tm27 -I..  -I../../../../../../../c/src/../../testsuites/tmtests/include -DOPERATION_COUNT=100 -I../../../../../../../c/src/../../testsuites/tmtests/../support/include   -mcpu=8540 -meabi -msdata -fno-common -mstrict-align -mspe -mabi=spe -mfloat-gprs=double -D__ppc_generic -Os -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT task1.o -MD -MP -MF .deps/task1.Tpo -c -o task1.o ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c
qoriq_p1020rdb/log-1782-In file included from ../../../../../../../c/src/../../testsuites/tmtests/tm27/task1.c:26:0:
qoriq_p1020rdb/log-1783-../../../../../qoriq_p1020rdb/lib/include/tm27.h: In function 'tm27_exception_handler':
qoriq_p1020rdb/log:1784:../../../../../qoriq_p1020rdb/lib/include/tm27.h:39:24: error: called object 'tm27_interrupt_handler' is not a function
qoriq_p1020rdb/log-1785-gmake[4]: *** [task1.o] Error 1
qoriq_p1020rdb/log-1786-gmake[4]: Leaving directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/qoriq_p1020rdb/testsuites/tmtests/tm27'
qoriq_p1020rdb/log-1787-gmake[3]: *** [all-recursive] Error 1
--
virtex5/log-1671-/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/virtex5/lib/libcpu/powerpc/../../../../../../../c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c:77: undefined reference to `BSP_Convert_decrementer'
virtex5/log-1672-../../../../../virtex5/lib/librtemsbsp.a(timer.rel): In function `Read_long_timer':
virtex5/log-1673-/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/virtex5/lib/libcpu/powerpc/../../../../../../../c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c:85: undefined reference to `BSP_Convert_decrementer'
virtex5/log:1674:collect2: error: ld returned 1 exit status
virtex5/log-1675-gmake[4]: *** [tmck.exe] Error 1
virtex5/log-1676-gmake[4]: Leaving directory `/users/rtems/src/rtems.org/rtems.20130328/BUILD.powerpc/powerpc-rtems4.11/c/virtex5/testsuites/tmtests/tmck'
virtex5/log-1677-gmake[3]: *** [all-recursive] Error 1


More information about the devel mailing list