Many ARM BSPs Now Fail to Compile on Master

Joel Sherrill joel at rtems.org
Mon Nov 21 17:18:23 UTC 2016


Now no BSPs compile on the master. This is from powerpc/qoriq_p1020rdb
but I think all are failing the same way.

powerpc-rtems4.11-gcc --pipe -DHAVE_CONFIG_H   -I..
-I../../cpukit/../../../qoriq_p1020rdb/lib/include   -mcpu=8540 -meabi
-msdata=sysv -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
src/libscore_a-kern_tc.o -MD -MP -MF src/.deps/libscore_a-kern_tc.Tpo -c -o
src/libscore_a-kern_tc.o `test -f 'src/kern_tc.c' || echo
'../../../../../../rtems/c/src/../../cpukit/score/'`src/kern_tc.c
In file included from
/data/home/joel/rtems-4.11-work/tools/4.11/powerpc-rtems4.11/include/sys/param.h:89:0,
                 from
../../../../../../rtems/c/src/../../cpukit/score/src/kern_tc.c:48:
../../cpukit/../../../qoriq_p1020rdb/lib/include/sys/uio.h:41:9: error:
unknown type name '__ssize_t'
 typedef __ssize_t ssize_t;
         ^
../../cpukit/../../../qoriq_p1020rdb/lib/include/sys/uio.h:46:9: error:
unknown type name '__off_t'
 typedef __off_t off_t;
         ^
../../cpukit/../../../qoriq_p1020rdb/lib/include/sys/uio.h:46:17: error:
conflicting types for 'off_t'
 typedef __off_t off_t;
                 ^
In file included from
/data/home/joel/rtems-4.11-work/tools/4.11/powerpc-rtems4.11/include/sys/time.h:42:0,
                 from
../../cpukit/../../../qoriq_p1020rdb/lib/include/rtems/score/timecounter.h:26,
                 from
../../cpukit/../../../qoriq_p1020rdb/lib/include/rtems/score/timecounterimpl.h:26,
                 from
../../../../../../rtems/c/src/../../cpukit/score/src/kern_tc.c:36:
/data/home/joel/rtems-4.11-work/tools/4.11/powerpc-rtems4.11/include/sys/types.h:170:16:
note: previous declaration of 'off_t' was here
 typedef _off_t off_t;
                ^
In file included from
/data/home/joel/rtems-4.11-work/tools/4.11/powerpc-rtems4.11/include/sys/param.h:89:0,
                 from
../../../../../../rtems/c/src/../../cpukit/score/src/kern_tc.c:48:
../../cpukit/../../../qoriq_p1020rdb/lib/include/sys/uio.h:98:36: error:
unknown type name 'vm_offset_t'
 int copyout_map(struct thread *td, vm_offset_t *addr, size_t sz);
                                    ^
../../cpukit/../../../qoriq_p1020rdb/lib/include/sys/uio.h:99:38: error:
unknown type name 'vm_offset_t'
 int copyout_unmap(struct thread *td, vm_offset_t addr, size_t sz);
                                      ^
gmake[6]: *** [src/libscore_a-kern_tc.o] Error 1


On Fri, Nov 18, 2016 at 3:14 PM, Joel Sherrill <joel at rtems.org> wrote:

> No problem. Just making sure all issues got reported.
>
> FWIW I am about to start posting warnings reports to
> the ftp site. There are about 500 unique warnings
> across the bsps on the master. I am generating a
> report for 4.11 but I think that number was much lower
> from memory.
>
> --joel
>
> On Fri, Nov 18, 2016 at 3:08 PM, Sebastian Huber <
> sebastian.huber at embedded-brains.de> wrote:
>
>> Hello Joel,
>>
>> Sorry for the trouble. I built all BSPs, but on the wrong branch... I
>> will fix this on Monday.
>>
>> ----- Joel Sherrill <joel at rtems.org> schrieb:
>> > Hi
>> >
>> > With the recent commits, many BSPs on the master do not build.
>> > They error out with this static assert:
>> >
>> >
>> > In file included from
>> > ../../../../cpukit/../../../gumstix/lib/include/rtems/score/
>> types.h:23:0,
>> >                  from
>> > ../../../../cpukit/../../../gumstix/lib/include/rtems/score/cpu.h:32,
>> >                  from
>> > ../../../../cpukit/../../../gumstix/lib/include/rtems/system.h:23,
>> >                  from
>> > ../../../../../../../../rtems/c/src/../../cpukit/score/cpu/a
>> rm/cpu.c:29:
>> > ../../../../cpukit/../../../gumstix/lib/include/rtems/score/
>> basedefs.h:241:5:
>> > error: static assertion failed: "ARM_CONTEXT_CONTROL_ISR_DISPA
>> TCH_DISABLE"
>> >      _Static_assert(cond, # msg)
>> >      ^
>> > ../../../../../../../../rtems/c/src/../../cpukit/score/cpu/a
>> rm/cpu.c:54:3:
>> > note: in expansion of macro 'RTEMS_STATIC_ASSERT'
>> >    RTEMS_STATIC_ASSERT(
>> >
>> > The list of BSPs is:
>> >
>> > arm1136jfs arm1136js arm7tdmi arm920 csb336 csb337 csb637 edb7312
>> > gumstix kit637_v6 lpc2362 lpc23xx_tli800 lpc24xx_ea
>> > lpc24xx_ncs_ram lpc24xx_ncs_rom_ext lpc24xx_ncs_rom_int
>> > lpc24xx_plx800_ram lpc24xx_plx800_rom_int lpc32xx_mzx
>> > lpc32xx_mzx_stage_1 lpc32xx_mzx_stage_2 lpc32xx_phycore
>> > raspberrypi rtl22xx rtl22xx_t smdk2410
>> >
>> > Filed as ticket 2816,
>> >
>> > --joel
>>
>> --
>> 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.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20161121/f81d388b/attachment-0002.html>


More information about the devel mailing list