[RTEMS Project] #4120: altcycv_devkit and imx7 fail to build all tests on master (was: altcycv_devkit famils to build all tests on master)

RTEMS trac trac at rtems.org
Sat Oct 3 21:46:42 UTC 2020


#4120: altcycv_devkit and imx7 fail to build all tests on master
---------------------------+------------------------------
 Reporter:  Joel Sherrill  |       Owner:  Sebastian Huber
     Type:  defect         |      Status:  assigned
 Priority:  normal         |   Milestone:  6.1
Component:  arch/arm       |     Version:  6
 Severity:  normal         |  Resolution:
 Keywords:                 |  Blocked By:
 Blocking:                 |
---------------------------+------------------------------
Description changed by Joel Sherrill:

Old description:

> This appears to not happen with waf but it needs to be resolved or we
> don't have parity to achieve a switchover.
>
> Configuration:
>
> {{{
> ../rtems/configure --target=arm-rtems6 --enable-rtemsbsp=altcycv_devkit
> --prefix=/home/joel/rtems-cron-6/tools/6/bsp-install --disable-networking
> --enable-posix --enable-smp --disable-multiprocessing --enable-rtems-
> debug --enable-profiling --enable-tests --enable-cxx --enable-maintainer-
> mode
>
> }}}
>
> Results in:
>
> {{{
> arm-rtems6-gcc -DHAVE_CONFIG_H -I.
> -I../../../../../../rtems/c/src/../../testsuites/smptests   -I.
> -I/home/joel/rtems-cron-6/b-altcycv_devkit/arm-
> rtems6/c/altcycv_devkit/include -I/home/joel/rtems-
> cron-6/rtems/cpukit/include -I/home/joel/rtems-
> cron-6/rtems/cpukit/score/cpu/arm/include -I/home/joel/rtems-
> cron-6/b-altcycv_devkit/arm-rtems6/c/altcycv_devkit/lib/libbsp/arm
> /altera-cyclone-v/include -I/home/joel/rtems-cron-6/rtems/bsps/include
> -I/home/joel/rtems-cron-6/rtems/bsps/arm/include -I/home/joel/rtems-
> cron-6/rtems/bsps/arm/altera-cyclone-v/include -DT_FILE_NAME='"init.c"'
> -I../../../../../../rtems/c/src/../../testsuites/smptests/../support/include
> -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O2
> -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes
> -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT
> smpmulticast01/smpmulticast01-init.o -MD -MP -MF
> smpmulticast01/.deps/smpmulticast01-init.Tpo -c -o
> smpmulticast01/smpmulticast01-init.o `test -f 'smpmulticast01/init.c' ||
> echo
> '../../../../../../rtems/c/src/../../testsuites/smptests/'`smpmulticast01/init.c
> ../../../../../../rtems/c/src/../../testsuites/smptests/smpmulticast01/init.c:37:10:
> fatal error: rtems/testopts.h: No such file or directory
>    37 | #include <rtems/testopts.h>
>       |          ^~~~~~~~~~~~~~~~~~
> compilation terminated.
> gmake[5]: *** [smpmulticast01/smpmulticast01-init.o] Error 1
>
> }}}

New description:

 This appears to not happen with waf but it needs to be resolved or we
 don't have parity to achieve a switchover.

 Happens to at least two BSPs. Not sure if more until all arm BSP
 configurations finish.

 Configuration:

 {{{
 ../rtems/configure --target=arm-rtems6 --enable-rtemsbsp=altcycv_devkit
 --prefix=/home/joel/rtems-cron-6/tools/6/bsp-install --disable-networking
 --enable-posix --enable-smp --disable-multiprocessing --enable-rtems-debug
 --enable-profiling --enable-tests --enable-cxx --enable-maintainer-mode

 }}}

 Results in:

 {{{
 arm-rtems6-gcc -DHAVE_CONFIG_H -I.
 -I../../../../../../rtems/c/src/../../testsuites/smptests   -I.
 -I/home/joel/rtems-cron-6/b-altcycv_devkit/arm-
 rtems6/c/altcycv_devkit/include -I/home/joel/rtems-
 cron-6/rtems/cpukit/include -I/home/joel/rtems-
 cron-6/rtems/cpukit/score/cpu/arm/include -I/home/joel/rtems-
 cron-6/b-altcycv_devkit/arm-rtems6/c/altcycv_devkit/lib/libbsp/arm/altera-
 cyclone-v/include -I/home/joel/rtems-cron-6/rtems/bsps/include
 -I/home/joel/rtems-cron-6/rtems/bsps/arm/include -I/home/joel/rtems-
 cron-6/rtems/bsps/arm/altera-cyclone-v/include -DT_FILE_NAME='"init.c"'
 -I../../../../../../rtems/c/src/../../testsuites/smptests/../support/include
 -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O2 -g
 -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-
 function-declaration -Wstrict-prototypes -Wnested-externs -MT
 smpmulticast01/smpmulticast01-init.o -MD -MP -MF
 smpmulticast01/.deps/smpmulticast01-init.Tpo -c -o
 smpmulticast01/smpmulticast01-init.o `test -f 'smpmulticast01/init.c' ||
 echo
 '../../../../../../rtems/c/src/../../testsuites/smptests/'`smpmulticast01/init.c
 ../../../../../../rtems/c/src/../../testsuites/smptests/smpmulticast01/init.c:37:10:
 fatal error: rtems/testopts.h: No such file or directory
    37 | #include <rtems/testopts.h>
       |          ^~~~~~~~~~~~~~~~~~
 compilation terminated.
 gmake[5]: *** [smpmulticast01/smpmulticast01-init.o] Error 1

 }}}

--

--
Ticket URL: <http://devel.rtems.org/ticket/4120#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list