arm/rtl22xx_t build failures

Chris Johns chrisj at rtems.org
Tue May 23 21:31:10 UTC 2017


On 23/5/17 8:15 pm, Chris Johns wrote:
> On 23/5/17 6:43 pm, Sebastian Huber wrote:
>> I cannot reproduce this problem. A build with your command line worked
>> here.
> 
> I have not seen it before. I had 5 builds running with 12 make job and
> somewhere around 560 builds.
> 

It is repeatable. The summary report for:

/opt/work/chris/rtems/rt/rtems-tools.git/tester/rtems-bsp-builder \
                --rtems-tools=/build/rtems/tools/4.12 \
                --rtems=/opt/work/chris/rtems/kernel/rtems.git \
                --log=xx --profile=everything --build=tests --jobs=5/12

is:

Total: Warnings:15641  exes:91697  objs:455315  libs:12665
Failures:
   1 tests arm/lpc1768_mbed build:
      configure: /opt/work/chris/rtems/kernel/rtems.git/configure --target\
      =arm-rtems4.12 --enable-rtemsbsp=lpc1768_mbed\
      --prefix=/opt/rtems/4.12 --enable-tests
     error: lpc1768_mbed/lib/include/bsp/lpc-i2s.h:26:25: fatal error:
            bsp/utility.h: No such file or directory

   2 tests arm/lpc2362 build:
      configure: /opt/work/chris/rtems/kernel/rtems.git/configure --target\
      =arm-rtems4.12 --enable-rtemsbsp=lpc2362 --prefix=/opt/rtems/4.12\
      --enable-tests

   3 tests arm/lpc23xx_tli800 build:
      configure: /opt/work/chris/rtems/kernel/rtems.git/configure --target\
      =arm-rtems4.12 --enable-rtemsbsp=lpc23xx_tli800\
      --prefix=/opt/rtems/4.12 --enable-tests

   4 tests arm/lpc24xx_ncs_rom_int build:
      configure: /opt/work/chris/rtems/kernel/rtems.git/configure --target\
      =arm-rtems4.12 --enable-rtemsbsp=lpc24xx_ncs_rom_int\
      --prefix=/opt/rtems/4.12 --enable-tests
     error: lpc24xx_ncs_rom_int/lib/include/bsp/arm-pl111-regs.h:26:25:
            fatal error: bsp/utility.h: No such file or directory

   5 tests m32c/m32csim build:
      configure: /opt/work/chris/rtems/kernel/rtems.git/configure --target\
      =m32c-rtems4.12 --enable-rtemsbsp=m32csim --prefix=/opt/rtems/4.12\
      --enable-tests
     error: testsuites/fstests/jffs2_support/fs_support.c:37:17: error:
            size of array 'area' is too large

Average BSP Build Time: 0:00:47.290243
Total Time 2:13:59.341377
Passes: 165   Failures: 5

Note: failure 3 is a linker overflow error the rtems-bsp-builder does not capture.

The build log shows this happening with the lpc1768_mbed where the headers bootcard.h and utility.h are being installed again. The utility.h had been installed during the preinstall phase. It is only when this second install happens does the error appear:

arm-rtems4.12-gcc --pipe -B../../../../../.././lib/ -B../../../../../.././lpc1768_mbed/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H   -I/opt/work/chris/rtems/kernel/rtems.git/c/src/lib/libbsp/arm/lpc176x/../../../libcpu/arm/shared/include   -march=armv7-m -mthumb -O2 -ggdb3 -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT libbsp_a-bspstarthooks.o -MD -MP -MF .deps/libbsp_a-bspstarthooks.Tpo -c -o libbsp_a-bspstarthooks.o `test -f 'startup/bspstarthooks.c' || echo '/opt/work/chris/rtems/kernel/rtems.git/c/src/lib/libbsp/arm/lpc176x/'`startup/bspstarthooks.c
/usr/bin/install -c -m 644 start.o ../../../../../.././lpc1768_mbed/lib/start.o
mv -f .deps/libbsp_a-timer.Tpo .deps/libbsp_a-timer.Po
mv -f .deps/libbsp_a-bspidle.Tpo .deps/libbsp_a-bspidle.Po
mv -f .deps/libbsp_a-dma-copy.Tpo .deps/libbsp_a-dma-copy.Po
mv -f .deps/libbsp_a-dma.Tpo .deps/libbsp_a-dma.Po
mv -f .deps/libbsp_a-system-clocks.Tpo .deps/libbsp_a-system-clocks.Po
mv -f .deps/libbsp_a-adc.Tpo .deps/libbsp_a-adc.Po
/usr/bin/install -c -m 644 startup/linkcmds ../../../../../.././lpc1768_mbed/lib/linkcmds
mv -f .deps/libbsp_a-restart.Tpo .deps/libbsp_a-restart.Po
/usr/bin/install -c -m 644 /opt/work/chris/rtems/kernel/rtems.git/c/src/lib/libbsp/arm/lpc176x/../../shared/include/bootcard.h ../../../../../.././lpc1768_mbed/lib/include/bsp/bootcard.h
/usr/bin/install -c -m 644 /opt/work/chris/rtems/kernel/rtems.git/c/src/lib/libbsp/arm/lpc176x/../../shared/include/utility.h ../../../../../.././lpc1768_mbed/lib/include/bsp/utility.h
rm -f libbspstart.a
In file included from ../../../../../.././lpc1768_mbed/lib/include/bsp/lpc176x.h:25:0,
                 from ../../../../../.././lpc1768_mbed/lib/include/bsp/io-defs.h:25,
                 from ../../../../../.././lpc1768_mbed/lib/include/bsp/io.h:27,
                 from /opt/work/chris/rtems/kernel/rtems.git/c/src/lib/libbsp/arm/lpc176x/startup/bspstarthooks.c:25:
../../../../../.././lpc1768_mbed/lib/include/bsp/lpc-i2s.h:26:25: fatal error: bsp/utility.h: No such file or directory
 #include <bsp/utility.h>
                         ^
compilation terminated.

There are a few warnings related to the dirstamp:

Makefile:1602: warning: overriding recipe for target '../cpukit/../../../lpc17xx_plx800_rom_int/lib/include/.dirstamp'
Makefile:1573: warning: ignoring old recipe for target '../cpukit/../../../lpc17xx_plx800_rom_int/lib/include/.dirstamp'

Chris



More information about the devel mailing list