Notice: We have migrated to GitLab launching 2024-05-01 see here:

#4101 closed defect (fixed)

atsamv fails to build on master

Reported by: Joel Sherrill Owned by:
Priority: normal Milestone: 6.1
Component: arch/arm Version: 6
Severity: normal Keywords:
Cc: Blocked By:

Description (last modified by Joel Sherrill)

This may also fail on 5.

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

rm-rtems6-gcc --pipe -DHAVE_CONFIG_H   -I. -I/home/joel/rtems-cron-6/b-atsamv/arm-rtems6/c/atsamv/include -I/home/joel/rtems-cron-6/rtems/cpukit/include -I/home/joel/rtems-cron-6/rtems/cpukit/score/cpu/arm/include   -mthumb -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT libcsupport/src/error.o -MD -MP -MF $depbase.Tpo -c -o libcsupport/src/error.o ../../../../../rtems/c/src/../../cpukit/libcsupport/src/error.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from /home/joel/rtems-cron-6/rtems/cpukit/include/rtems/score/threaddispatch.h:21,
                 from /home/joel/rtems-cron-6/rtems/cpukit/include/rtems/score/objectimpl.h:29,
                 from /home/joel/rtems-cron-6/rtems/cpukit/include/rtems/score/threadimpl.h:31,
                 from ../../../../../rtems/c/src/../../cpukit/libcsupport/src/error.c:16:
/home/joel/rtems-cron-6/rtems/cpukit/include/rtems/score/percpu.h:439:3: error: unknown type name 'CPU_Interrupt_frame'
  439 |   CPU_Interrupt_frame Interrupt_frame;
      |   ^~~~~~~~~~~~~~~~~~~

Change History (6)

comment:1 Changed on 09/29/20 at 21:53:17 by Joel Sherrill

I am not going through every failing ARM BSP but spot checking shows that this impacts the lpc176x family also.

comment:2 Changed on 09/29/20 at 22:03:41 by Joel Sherrill

Description: modified (diff)

comment:3 Changed on 09/30/20 at 05:51:40 by Sebastian Huber

These BSPs don't support SMP.

comment:4 Changed on 09/30/20 at 12:59:08 by Joel Sherrill

And why is this not a more obvious configure time problem in waf?

I would report the failures against waf but since it uses the same build directory all the time, I can't rebuild those until all the builds fail and it is just now getting to mips.

comment:5 Changed on 10/01/20 at 20:08:10 by Sebastian Huber

Fixed by recent commit.

comment:6 Changed on 10/01/20 at 20:10:15 by Sebastian Huber

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.