[RTEMS Project] #4939: Several arm BSPs cannot build libdebugger with -O0
RTEMS trac
trac at rtems.org
Fri Feb 16 00:55:07 UTC 2024
#4939: Several arm BSPs cannot build libdebugger with -O0
----------------------------------+---------------------
Reporter: Sebastian Huber | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 7.1
Component: arch/arm | Version: 7
Severity: normal | Resolution:
Keywords: soc ecosystem medium | Blocked By:
Blocking: |
----------------------------------+---------------------
Description changed by Gedare Bloom:
Old description:
> The following script detects BSPs which cannot build libdebugger with
> -O0:
> {{{
> #!/bin/sh
> for i in $(./waf bsplist --rtems-bsp 'arm.*'); do
> echo -e "[$i]\nOPTIMIZATION_FLAGS = -O0" > config.ini
> ./waf configure
> if ! ./waf 1>/dev/null 2>&1; then
> ./waf
> fi
> done
> }}}
> Example errors:
> {{{
> [1350/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/librtemscpu.a
> [1382/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/librtemstest.a
> [1384/1481] Compiling cpukit/libdebugger/rtems-debugger-arm.c
> [1395/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/libftpd.a
> [1397/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/libftpfs.a
> [1417/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/libjffs2.a
> [1419/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/libmghttpd.a
> [1422/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/librtemscxx.a
> [1424/1481] Linking
> /tmp/sh/b-rtems/arm/raspberrypi/librtemsdefaultconfig.a
> [1430/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/libtelnetd.a
> [1433/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/libtftpfs.a
> [1449/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/libz.a
> /tmp/ccMZlRcp.s: Assembler messages:
> /tmp/ccMZlRcp.s:2895: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:2896: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:2899: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:2900: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:3010: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:3011: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:3013: Error: selected processor does not support `movw
> r1,#:lower16:hw_breaks' in ARM mode
> /tmp/ccMZlRcp.s:3014: Error: selected processor does not support `movt
> r1,#:upper16:hw_breaks' in ARM mode
> /tmp/ccMZlRcp.s:3015: Error: selected processor does not support `movw
> r4,#:lower16:debug_disable_ints' in ARM mode
> /tmp/ccMZlRcp.s:3016: Error: selected processor does not support `movt
> r4,#:upper16:debug_disable_ints' in ARM mode
> /tmp/ccMZlRcp.s:3020: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:3021: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:3077: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:3078: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:3081: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:3082: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:3192: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:3193: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:3195: Error: selected processor does not support `movw
> r1,#:lower16:hw_breaks' in ARM mode
> /tmp/ccMZlRcp.s:3196: Error: selected processor does not support `movt
> r1,#:upper16:hw_breaks' in ARM mode
> /tmp/ccMZlRcp.s:3197: Error: selected processor does not support `movw
> r4,#:lower16:debug_disable_ints' in ARM mode
> /tmp/ccMZlRcp.s:3198: Error: selected processor does not support `movt
> r4,#:upper16:debug_disable_ints' in ARM mode
> /tmp/ccMZlRcp.s:3202: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:3203: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:3259: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:3260: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:3263: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:3264: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:3374: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:3375: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:3377: Error: selected processor does not support `movw
> r1,#:lower16:hw_breaks' in ARM mode
> /tmp/ccMZlRcp.s:3378: Error: selected processor does not support `movt
> r1,#:upper16:hw_breaks' in ARM mode
> /tmp/ccMZlRcp.s:3379: Error: selected processor does not support `movw
> r4,#:lower16:debug_disable_ints' in ARM mode
> /tmp/ccMZlRcp.s:3380: Error: selected processor does not support `movt
> r4,#:upper16:debug_disable_ints' in ARM mode
> /tmp/ccMZlRcp.s:3384: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:3385: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:3441: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:3442: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:3445: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:3446: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:3556: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:3557: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in ARM mode
> /tmp/ccMZlRcp.s:3559: Error: selected processor does not support `movw
> r1,#:lower16:hw_breaks' in ARM mode
> /tmp/ccMZlRcp.s:3560: Error: selected processor does not support `movt
> r1,#:upper16:hw_breaks' in ARM mode
> /tmp/ccMZlRcp.s:3561: Error: selected processor does not support `movw
> r4,#:lower16:debug_disable_ints' in ARM mode
> /tmp/ccMZlRcp.s:3562: Error: selected processor does not support `movt
> r4,#:upper16:debug_disable_ints' in ARM mode
> /tmp/ccMZlRcp.s:3566: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in ARM mode
> /tmp/ccMZlRcp.s:3567: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in ARM mode
> }}}
> {{{
> 1387/1484] Compiling cpukit/libdebugger/rtems-debugger-arm.c
> [1422/1484] Linking /tmp/sh/b-rtems/arm/lpc32xx_mzx/libmghttpd.a
> [1425/1484] Linking /tmp/sh/b-rtems/arm/lpc32xx_mzx/librtemscxx.a
> [1436/1484] Linking /tmp/sh/b-rtems/arm/lpc32xx_mzx/libtftpfs.a
> [1452/1484] Linking /tmp/sh/b-rtems/arm/lpc32xx_mzx/libz.a
> [1455/1484] Linking
> /tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/base_sp.exe
> [1458/1484] Linking
> /tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/capture.exe
> [1461/1484] Linking
> /tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/cdtest.exe
> [1463/1484] Linking
> /tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/fileio.exe
> [1465/1484] Linking
> /tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/hello.exe
> [1467/1484] Linking
> /tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/iostream.exe
> [1469/1484] Linking
> /tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/minimum.exe
> [1472/1484] Linking
> /tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/nsecs.exe
> [1475/1484] Linking
> /tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/paranoia.exe
> [1478/1484] Linking
> /tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/ticker.exe
> [1479/1484] Compiling testsuites/samples/unlimited/test3.c
> [1481/1484] Compiling testsuites/samples/unlimited/test2.c
> [1482/1484] Compiling testsuites/samples/unlimited/test1.c
> [1483/1484] Linking
> /tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/unlimited.exe
> /tmp/ccxkPByw.s: Assembler messages:
> /tmp/ccxkPByw.s:3630: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in ARM mode
> /tmp/ccxkPByw.s:3631: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in ARM mode
> /tmp/ccxkPByw.s:3634: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in ARM mode
> /tmp/ccxkPByw.s:3635: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in ARM mode
> /tmp/ccxkPByw.s:3716: Error: invalid register list to push/pop
> instruction -- `pop {lr}'
> /tmp/ccxkPByw.s:3758: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in Thumb mode
> /tmp/ccxkPByw.s:3759: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in Thumb mode
> /tmp/ccxkPByw.s:3761: Error: selected processor does not support `movw
> r1,#:lower16:hw_breaks' in Thumb mode
> /tmp/ccxkPByw.s:3762: Error: selected processor does not support `movt
> r1,#:upper16:hw_breaks' in Thumb mode
> /tmp/ccxkPByw.s:3763: Error: selected processor does not support `movw
> r4,#:lower16:debug_disable_ints' in Thumb mode
> /tmp/ccxkPByw.s:3764: Error: selected processor does not support `movt
> r4,#:upper16:debug_disable_ints' in Thumb mode
> /tmp/ccxkPByw.s:3768: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in Thumb mode
> /tmp/ccxkPByw.s:3769: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in Thumb mode
> /tmp/ccxkPByw.s:3776: Error: unshifted register required -- `orr
> r4,r4,#(1<<11)'
> /tmp/ccxkPByw.s:3783: Error: Thumb does not support this addressing mode
> -- `str r4,[r3,#4]!'
> /tmp/ccxkPByw.s:3784: Error: Thumb does not support this addressing mode
> -- `str r5,[r2,#4]!'
> /tmp/ccxkPByw.s:3797: Error: lo register required -- `ldm sp,{r0-r12}'
> /tmp/ccxkPByw.s:3799: Error: instruction not supported in Thumb16 mode --
> `subs pc,lr,#0'
> /tmp/ccxkPByw.s:3829: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in ARM mode
> /tmp/ccxkPByw.s:3830: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in ARM mode
> /tmp/ccxkPByw.s:3833: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in ARM mode
> /tmp/ccxkPByw.s:3834: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in ARM mode
> /tmp/ccxkPByw.s:3915: Error: invalid register list to push/pop
> instruction -- `pop {lr}'
> /tmp/ccxkPByw.s:3957: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in Thumb mode
> /tmp/ccxkPByw.s:3958: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in Thumb mode
> /tmp/ccxkPByw.s:3960: Error: selected processor does not support `movw
> r1,#:lower16:hw_breaks' in Thumb mode
> /tmp/ccxkPByw.s:3961: Error: selected processor does not support `movt
> r1,#:upper16:hw_breaks' in Thumb mode
> /tmp/ccxkPByw.s:3962: Error: selected processor does not support `movw
> r4,#:lower16:debug_disable_ints' in Thumb mode
> /tmp/ccxkPByw.s:3963: Error: selected processor does not support `movt
> r4,#:upper16:debug_disable_ints' in Thumb mode
> /tmp/ccxkPByw.s:3967: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in Thumb mode
> /tmp/ccxkPByw.s:3968: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in Thumb mode
> /tmp/ccxkPByw.s:3975: Error: unshifted register required -- `orr
> r4,r4,#(1<<11)'
> /tmp/ccxkPByw.s:3982: Error: Thumb does not support this addressing mode
> -- `str r4,[r3,#4]!'
> /tmp/ccxkPByw.s:3983: Error: Thumb does not support this addressing mode
> -- `str r5,[r2,#4]!'
> /tmp/ccxkPByw.s:3996: Error: lo register required -- `ldm sp,{r0-r12}'
> /tmp/ccxkPByw.s:3998: Error: instruction not supported in Thumb16 mode --
> `subs pc,lr,#0'
> /tmp/ccxkPByw.s:4028: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in ARM mode
> /tmp/ccxkPByw.s:4029: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in ARM mode
> /tmp/ccxkPByw.s:4032: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in ARM mode
> /tmp/ccxkPByw.s:4033: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in ARM mode
> /tmp/ccxkPByw.s:4114: Error: invalid register list to push/pop
> instruction -- `pop {lr}'
> /tmp/ccxkPByw.s:4156: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in Thumb mode
> /tmp/ccxkPByw.s:4157: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in Thumb mode
> /tmp/ccxkPByw.s:4159: Error: selected processor does not support `movw
> r1,#:lower16:hw_breaks' in Thumb mode
> /tmp/ccxkPByw.s:4160: Error: selected processor does not support `movt
> r1,#:upper16:hw_breaks' in Thumb mode
> /tmp/ccxkPByw.s:4161: Error: selected processor does not support `movw
> r4,#:lower16:debug_disable_ints' in Thumb mode
> /tmp/ccxkPByw.s:4162: Error: selected processor does not support `movt
> r4,#:upper16:debug_disable_ints' in Thumb mode
> /tmp/ccxkPByw.s:4166: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in Thumb mode
> /tmp/ccxkPByw.s:4167: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in Thumb mode
> /tmp/ccxkPByw.s:4174: Error: unshifted register required -- `orr
> r4,r4,#(1<<11)'
> /tmp/ccxkPByw.s:4181: Error: Thumb does not support this addressing mode
> -- `str r4,[r3,#4]!'
> /tmp/ccxkPByw.s:4182: Error: Thumb does not support this addressing mode
> -- `str r5,[r2,#4]!'
> /tmp/ccxkPByw.s:4195: Error: lo register required -- `ldm sp,{r0-r12}'
> /tmp/ccxkPByw.s:4197: Error: instruction not supported in Thumb16 mode --
> `subs pc,lr,#0'
> /tmp/ccxkPByw.s:4227: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in ARM mode
> /tmp/ccxkPByw.s:4228: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in ARM mode
> /tmp/ccxkPByw.s:4231: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in ARM mode
> /tmp/ccxkPByw.s:4232: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in ARM mode
> /tmp/ccxkPByw.s:4313: Error: invalid register list to push/pop
> instruction -- `pop {lr}'
> /tmp/ccxkPByw.s:4355: Error: selected processor does not support `movw
> r0,#:lower16:hw_breakpoints' in Thumb mode
> /tmp/ccxkPByw.s:4356: Error: selected processor does not support `movt
> r0,#:upper16:hw_breakpoints' in Thumb mode
> /tmp/ccxkPByw.s:4358: Error: selected processor does not support `movw
> r1,#:lower16:hw_breaks' in Thumb mode
> /tmp/ccxkPByw.s:4359: Error: selected processor does not support `movt
> r1,#:upper16:hw_breaks' in Thumb mode
> /tmp/ccxkPByw.s:4360: Error: selected processor does not support `movw
> r4,#:lower16:debug_disable_ints' in Thumb mode
> /tmp/ccxkPByw.s:4361: Error: selected processor does not support `movt
> r4,#:upper16:debug_disable_ints' in Thumb mode
> /tmp/ccxkPByw.s:4365: Error: selected processor does not support `movw
> r2,#:lower16:debug_registers' in Thumb mode
> /tmp/ccxkPByw.s:4366: Error: selected processor does not support `movt
> r2,#:upper16:debug_registers' in Thumb mode
> /tmp/ccxkPByw.s:4373: Error: unshifted register required -- `orr
> r4,r4,#(1<<11)'
> /tmp/ccxkPByw.s:4380: Error: Thumb does not support this addressing mode
> -- `str r4,[r3,#4]!'
> /tmp/ccxkPByw.s:4381: Error: Thumb does not support this addressing mode
> -- `str r5,[r2,#4]!'
> /tmp/ccxkPByw.s:4394: Error: lo register required -- `ldm sp,{r0-r12}'
> /tmp/ccxkPByw.s:4396: Error: instruction not supported in Thumb16 mode --
> `subs pc,lr,#0'
> /tmp/ccxkPByw.s:3698: Error: invalid immediate for address calculation
> (value = 0x00000001)
> /tmp/ccxkPByw.s:3775: Error: invalid offset, value too big (0x00000088)
> /tmp/ccxkPByw.s:3777: Error: invalid offset, value too big (0x00000088)
> /tmp/ccxkPByw.s:3779: Error: immediate value out of range
> /tmp/ccxkPByw.s:3780: Error: immediate value out of range
> /tmp/ccxkPByw.s:3897: Error: invalid immediate for address calculation
> (value = 0x00000001)
> /tmp/ccxkPByw.s:3974: Error: invalid offset, value too big (0x00000088)
> /tmp/ccxkPByw.s:3976: Error: invalid offset, value too big (0x00000088)
> /tmp/ccxkPByw.s:3978: Error: immediate value out of range
> /tmp/ccxkPByw.s:3979: Error: immediate value out of range
> /tmp/ccxkPByw.s:4096: Error: invalid immediate for address calculation
> (value = 0x00000001)
> /tmp/ccxkPByw.s:4173: Error: invalid offset, value too big (0x00000088)
> /tmp/ccxkPByw.s:4175: Error: invalid offset, value too big (0x00000088)
> /tmp/ccxkPByw.s:4177: Error: immediate value out of range
> /tmp/ccxkPByw.s:4178: Error: immediate value out of range
> /tmp/ccxkPByw.s:4295: Error: invalid immediate for address calculation
> (value = 0x00000001)
> /tmp/ccxkPByw.s:4372: Error: invalid offset, value too big (0x00000088)
> /tmp/ccxkPByw.s:4374: Error: invalid offset, value too big (0x00000088)
> /tmp/ccxkPByw.s:4376: Error: immediate value out of range
> /tmp/ccxkPByw.s:4377: Error: immediate value out of range
> }}}
> {{{
> [1436/1531] Compiling cpukit/libdebugger/rtems-debugger-arm.c
> /tmp/ccSUlaYU.s: Assembler messages:
> /tmp/ccSUlaYU.s:3078: Error: selected processor does not support
> requested special purpose register -- `mrs r1,spsr'
> /tmp/ccSUlaYU.s:3082: Error: selected processor does not support
> requested special purpose register -- `mrs r2,cpsr'
> /tmp/ccSUlaYU.s:3084: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r1'
> /tmp/ccSUlaYU.s:3087: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3101: Error: selected processor does not support
> requested special purpose register -- `mrs r1,spsr'
> /tmp/ccSUlaYU.s:3103: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3125: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r1'
> /tmp/ccSUlaYU.s:3157: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3171: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r1'
> /tmp/ccSUlaYU.s:3174: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3175: Error: selected processor does not support
> requested special purpose register -- `msr spsr,r6'
> /tmp/ccSUlaYU.s:3284: Error: selected processor does not support
> requested special purpose register -- `mrs r1,spsr'
> /tmp/ccSUlaYU.s:3288: Error: selected processor does not support
> requested special purpose register -- `mrs r2,cpsr'
> /tmp/ccSUlaYU.s:3290: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r1'
> /tmp/ccSUlaYU.s:3293: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3307: Error: selected processor does not support
> requested special purpose register -- `mrs r1,spsr'
> /tmp/ccSUlaYU.s:3309: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3331: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r1'
> /tmp/ccSUlaYU.s:3363: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3377: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r1'
> /tmp/ccSUlaYU.s:3380: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3381: Error: selected processor does not support
> requested special purpose register -- `msr spsr,r6'
> /tmp/ccSUlaYU.s:3490: Error: selected processor does not support
> requested special purpose register -- `mrs r1,spsr'
> /tmp/ccSUlaYU.s:3494: Error: selected processor does not support
> requested special purpose register -- `mrs r2,cpsr'
> /tmp/ccSUlaYU.s:3496: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r1'
> /tmp/ccSUlaYU.s:3499: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3513: Error: selected processor does not support
> requested special purpose register -- `mrs r1,spsr'
> /tmp/ccSUlaYU.s:3515: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3537: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r1'
> /tmp/ccSUlaYU.s:3569: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3583: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r1'
> /tmp/ccSUlaYU.s:3586: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3587: Error: selected processor does not support
> requested special purpose register -- `msr spsr,r6'
> /tmp/ccSUlaYU.s:3696: Error: selected processor does not support
> requested special purpose register -- `mrs r1,spsr'
> /tmp/ccSUlaYU.s:3700: Error: selected processor does not support
> requested special purpose register -- `mrs r2,cpsr'
> /tmp/ccSUlaYU.s:3702: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r1'
> /tmp/ccSUlaYU.s:3705: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3719: Error: selected processor does not support
> requested special purpose register -- `mrs r1,spsr'
> /tmp/ccSUlaYU.s:3721: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3743: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r1'
> /tmp/ccSUlaYU.s:3775: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3789: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r1'
> /tmp/ccSUlaYU.s:3792: Error: selected processor does not support
> requested special purpose register -- `msr cpsr,r2'
> /tmp/ccSUlaYU.s:3793: Error: selected processor does not support
> requested special purpose register -- `msr spsr,r6'
> }}}
New description:
= Mentors =
* Chris Johns
* Kinsey Moore
= Expected outcomes =
Fix the build for libdebugger when optimizations are disabled.
= Skills Required =
This will involve going through the libdebugger code base and a
potentially deep dive into the binutils/gcc tool chain to determine where
these instructions are being generated or why the compiler flags are not
being properly used. Skills may cover C, Python, and assembly
language/disassembly.
= Description =
The following script detects BSPs which cannot build libdebugger with -O0:
{{{
#!/bin/sh
for i in $(./waf bsplist --rtems-bsp 'arm.*'); do
echo -e "[$i]\nOPTIMIZATION_FLAGS = -O0" > config.ini
./waf configure
if ! ./waf 1>/dev/null 2>&1; then
./waf
fi
done
}}}
Example errors:
{{{
[1350/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/librtemscpu.a
[1382/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/librtemstest.a
[1384/1481] Compiling cpukit/libdebugger/rtems-debugger-arm.c
[1395/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/libftpd.a
[1397/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/libftpfs.a
[1417/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/libjffs2.a
[1419/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/libmghttpd.a
[1422/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/librtemscxx.a
[1424/1481] Linking
/tmp/sh/b-rtems/arm/raspberrypi/librtemsdefaultconfig.a
[1430/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/libtelnetd.a
[1433/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/libtftpfs.a
[1449/1481] Linking /tmp/sh/b-rtems/arm/raspberrypi/libz.a
/tmp/ccMZlRcp.s: Assembler messages:
/tmp/ccMZlRcp.s:2895: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:2896: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:2899: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:2900: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:3010: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:3011: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:3013: Error: selected processor does not support `movw
r1,#:lower16:hw_breaks' in ARM mode
/tmp/ccMZlRcp.s:3014: Error: selected processor does not support `movt
r1,#:upper16:hw_breaks' in ARM mode
/tmp/ccMZlRcp.s:3015: Error: selected processor does not support `movw
r4,#:lower16:debug_disable_ints' in ARM mode
/tmp/ccMZlRcp.s:3016: Error: selected processor does not support `movt
r4,#:upper16:debug_disable_ints' in ARM mode
/tmp/ccMZlRcp.s:3020: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:3021: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:3077: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:3078: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:3081: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:3082: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:3192: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:3193: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:3195: Error: selected processor does not support `movw
r1,#:lower16:hw_breaks' in ARM mode
/tmp/ccMZlRcp.s:3196: Error: selected processor does not support `movt
r1,#:upper16:hw_breaks' in ARM mode
/tmp/ccMZlRcp.s:3197: Error: selected processor does not support `movw
r4,#:lower16:debug_disable_ints' in ARM mode
/tmp/ccMZlRcp.s:3198: Error: selected processor does not support `movt
r4,#:upper16:debug_disable_ints' in ARM mode
/tmp/ccMZlRcp.s:3202: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:3203: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:3259: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:3260: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:3263: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:3264: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:3374: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:3375: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:3377: Error: selected processor does not support `movw
r1,#:lower16:hw_breaks' in ARM mode
/tmp/ccMZlRcp.s:3378: Error: selected processor does not support `movt
r1,#:upper16:hw_breaks' in ARM mode
/tmp/ccMZlRcp.s:3379: Error: selected processor does not support `movw
r4,#:lower16:debug_disable_ints' in ARM mode
/tmp/ccMZlRcp.s:3380: Error: selected processor does not support `movt
r4,#:upper16:debug_disable_ints' in ARM mode
/tmp/ccMZlRcp.s:3384: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:3385: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:3441: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:3442: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:3445: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:3446: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:3556: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:3557: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in ARM mode
/tmp/ccMZlRcp.s:3559: Error: selected processor does not support `movw
r1,#:lower16:hw_breaks' in ARM mode
/tmp/ccMZlRcp.s:3560: Error: selected processor does not support `movt
r1,#:upper16:hw_breaks' in ARM mode
/tmp/ccMZlRcp.s:3561: Error: selected processor does not support `movw
r4,#:lower16:debug_disable_ints' in ARM mode
/tmp/ccMZlRcp.s:3562: Error: selected processor does not support `movt
r4,#:upper16:debug_disable_ints' in ARM mode
/tmp/ccMZlRcp.s:3566: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in ARM mode
/tmp/ccMZlRcp.s:3567: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in ARM mode
}}}
{{{
1387/1484] Compiling cpukit/libdebugger/rtems-debugger-arm.c
[1422/1484] Linking /tmp/sh/b-rtems/arm/lpc32xx_mzx/libmghttpd.a
[1425/1484] Linking /tmp/sh/b-rtems/arm/lpc32xx_mzx/librtemscxx.a
[1436/1484] Linking /tmp/sh/b-rtems/arm/lpc32xx_mzx/libtftpfs.a
[1452/1484] Linking /tmp/sh/b-rtems/arm/lpc32xx_mzx/libz.a
[1455/1484] Linking
/tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/base_sp.exe
[1458/1484] Linking
/tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/capture.exe
[1461/1484] Linking
/tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/cdtest.exe
[1463/1484] Linking
/tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/fileio.exe
[1465/1484] Linking
/tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/hello.exe
[1467/1484] Linking
/tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/iostream.exe
[1469/1484] Linking
/tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/minimum.exe
[1472/1484] Linking
/tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/nsecs.exe
[1475/1484] Linking
/tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/paranoia.exe
[1478/1484] Linking
/tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/ticker.exe
[1479/1484] Compiling testsuites/samples/unlimited/test3.c
[1481/1484] Compiling testsuites/samples/unlimited/test2.c
[1482/1484] Compiling testsuites/samples/unlimited/test1.c
[1483/1484] Linking
/tmp/sh/b-rtems/arm/lpc32xx_mzx/testsuites/samples/unlimited.exe
/tmp/ccxkPByw.s: Assembler messages:
/tmp/ccxkPByw.s:3630: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in ARM mode
/tmp/ccxkPByw.s:3631: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in ARM mode
/tmp/ccxkPByw.s:3634: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in ARM mode
/tmp/ccxkPByw.s:3635: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in ARM mode
/tmp/ccxkPByw.s:3716: Error: invalid register list to push/pop instruction
-- `pop {lr}'
/tmp/ccxkPByw.s:3758: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in Thumb mode
/tmp/ccxkPByw.s:3759: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in Thumb mode
/tmp/ccxkPByw.s:3761: Error: selected processor does not support `movw
r1,#:lower16:hw_breaks' in Thumb mode
/tmp/ccxkPByw.s:3762: Error: selected processor does not support `movt
r1,#:upper16:hw_breaks' in Thumb mode
/tmp/ccxkPByw.s:3763: Error: selected processor does not support `movw
r4,#:lower16:debug_disable_ints' in Thumb mode
/tmp/ccxkPByw.s:3764: Error: selected processor does not support `movt
r4,#:upper16:debug_disable_ints' in Thumb mode
/tmp/ccxkPByw.s:3768: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in Thumb mode
/tmp/ccxkPByw.s:3769: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in Thumb mode
/tmp/ccxkPByw.s:3776: Error: unshifted register required -- `orr
r4,r4,#(1<<11)'
/tmp/ccxkPByw.s:3783: Error: Thumb does not support this addressing mode
-- `str r4,[r3,#4]!'
/tmp/ccxkPByw.s:3784: Error: Thumb does not support this addressing mode
-- `str r5,[r2,#4]!'
/tmp/ccxkPByw.s:3797: Error: lo register required -- `ldm sp,{r0-r12}'
/tmp/ccxkPByw.s:3799: Error: instruction not supported in Thumb16 mode --
`subs pc,lr,#0'
/tmp/ccxkPByw.s:3829: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in ARM mode
/tmp/ccxkPByw.s:3830: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in ARM mode
/tmp/ccxkPByw.s:3833: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in ARM mode
/tmp/ccxkPByw.s:3834: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in ARM mode
/tmp/ccxkPByw.s:3915: Error: invalid register list to push/pop instruction
-- `pop {lr}'
/tmp/ccxkPByw.s:3957: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in Thumb mode
/tmp/ccxkPByw.s:3958: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in Thumb mode
/tmp/ccxkPByw.s:3960: Error: selected processor does not support `movw
r1,#:lower16:hw_breaks' in Thumb mode
/tmp/ccxkPByw.s:3961: Error: selected processor does not support `movt
r1,#:upper16:hw_breaks' in Thumb mode
/tmp/ccxkPByw.s:3962: Error: selected processor does not support `movw
r4,#:lower16:debug_disable_ints' in Thumb mode
/tmp/ccxkPByw.s:3963: Error: selected processor does not support `movt
r4,#:upper16:debug_disable_ints' in Thumb mode
/tmp/ccxkPByw.s:3967: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in Thumb mode
/tmp/ccxkPByw.s:3968: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in Thumb mode
/tmp/ccxkPByw.s:3975: Error: unshifted register required -- `orr
r4,r4,#(1<<11)'
/tmp/ccxkPByw.s:3982: Error: Thumb does not support this addressing mode
-- `str r4,[r3,#4]!'
/tmp/ccxkPByw.s:3983: Error: Thumb does not support this addressing mode
-- `str r5,[r2,#4]!'
/tmp/ccxkPByw.s:3996: Error: lo register required -- `ldm sp,{r0-r12}'
/tmp/ccxkPByw.s:3998: Error: instruction not supported in Thumb16 mode --
`subs pc,lr,#0'
/tmp/ccxkPByw.s:4028: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in ARM mode
/tmp/ccxkPByw.s:4029: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in ARM mode
/tmp/ccxkPByw.s:4032: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in ARM mode
/tmp/ccxkPByw.s:4033: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in ARM mode
/tmp/ccxkPByw.s:4114: Error: invalid register list to push/pop instruction
-- `pop {lr}'
/tmp/ccxkPByw.s:4156: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in Thumb mode
/tmp/ccxkPByw.s:4157: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in Thumb mode
/tmp/ccxkPByw.s:4159: Error: selected processor does not support `movw
r1,#:lower16:hw_breaks' in Thumb mode
/tmp/ccxkPByw.s:4160: Error: selected processor does not support `movt
r1,#:upper16:hw_breaks' in Thumb mode
/tmp/ccxkPByw.s:4161: Error: selected processor does not support `movw
r4,#:lower16:debug_disable_ints' in Thumb mode
/tmp/ccxkPByw.s:4162: Error: selected processor does not support `movt
r4,#:upper16:debug_disable_ints' in Thumb mode
/tmp/ccxkPByw.s:4166: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in Thumb mode
/tmp/ccxkPByw.s:4167: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in Thumb mode
/tmp/ccxkPByw.s:4174: Error: unshifted register required -- `orr
r4,r4,#(1<<11)'
/tmp/ccxkPByw.s:4181: Error: Thumb does not support this addressing mode
-- `str r4,[r3,#4]!'
/tmp/ccxkPByw.s:4182: Error: Thumb does not support this addressing mode
-- `str r5,[r2,#4]!'
/tmp/ccxkPByw.s:4195: Error: lo register required -- `ldm sp,{r0-r12}'
/tmp/ccxkPByw.s:4197: Error: instruction not supported in Thumb16 mode --
`subs pc,lr,#0'
/tmp/ccxkPByw.s:4227: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in ARM mode
/tmp/ccxkPByw.s:4228: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in ARM mode
/tmp/ccxkPByw.s:4231: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in ARM mode
/tmp/ccxkPByw.s:4232: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in ARM mode
/tmp/ccxkPByw.s:4313: Error: invalid register list to push/pop instruction
-- `pop {lr}'
/tmp/ccxkPByw.s:4355: Error: selected processor does not support `movw
r0,#:lower16:hw_breakpoints' in Thumb mode
/tmp/ccxkPByw.s:4356: Error: selected processor does not support `movt
r0,#:upper16:hw_breakpoints' in Thumb mode
/tmp/ccxkPByw.s:4358: Error: selected processor does not support `movw
r1,#:lower16:hw_breaks' in Thumb mode
/tmp/ccxkPByw.s:4359: Error: selected processor does not support `movt
r1,#:upper16:hw_breaks' in Thumb mode
/tmp/ccxkPByw.s:4360: Error: selected processor does not support `movw
r4,#:lower16:debug_disable_ints' in Thumb mode
/tmp/ccxkPByw.s:4361: Error: selected processor does not support `movt
r4,#:upper16:debug_disable_ints' in Thumb mode
/tmp/ccxkPByw.s:4365: Error: selected processor does not support `movw
r2,#:lower16:debug_registers' in Thumb mode
/tmp/ccxkPByw.s:4366: Error: selected processor does not support `movt
r2,#:upper16:debug_registers' in Thumb mode
/tmp/ccxkPByw.s:4373: Error: unshifted register required -- `orr
r4,r4,#(1<<11)'
/tmp/ccxkPByw.s:4380: Error: Thumb does not support this addressing mode
-- `str r4,[r3,#4]!'
/tmp/ccxkPByw.s:4381: Error: Thumb does not support this addressing mode
-- `str r5,[r2,#4]!'
/tmp/ccxkPByw.s:4394: Error: lo register required -- `ldm sp,{r0-r12}'
/tmp/ccxkPByw.s:4396: Error: instruction not supported in Thumb16 mode --
`subs pc,lr,#0'
/tmp/ccxkPByw.s:3698: Error: invalid immediate for address calculation
(value = 0x00000001)
/tmp/ccxkPByw.s:3775: Error: invalid offset, value too big (0x00000088)
/tmp/ccxkPByw.s:3777: Error: invalid offset, value too big (0x00000088)
/tmp/ccxkPByw.s:3779: Error: immediate value out of range
/tmp/ccxkPByw.s:3780: Error: immediate value out of range
/tmp/ccxkPByw.s:3897: Error: invalid immediate for address calculation
(value = 0x00000001)
/tmp/ccxkPByw.s:3974: Error: invalid offset, value too big (0x00000088)
/tmp/ccxkPByw.s:3976: Error: invalid offset, value too big (0x00000088)
/tmp/ccxkPByw.s:3978: Error: immediate value out of range
/tmp/ccxkPByw.s:3979: Error: immediate value out of range
/tmp/ccxkPByw.s:4096: Error: invalid immediate for address calculation
(value = 0x00000001)
/tmp/ccxkPByw.s:4173: Error: invalid offset, value too big (0x00000088)
/tmp/ccxkPByw.s:4175: Error: invalid offset, value too big (0x00000088)
/tmp/ccxkPByw.s:4177: Error: immediate value out of range
/tmp/ccxkPByw.s:4178: Error: immediate value out of range
/tmp/ccxkPByw.s:4295: Error: invalid immediate for address calculation
(value = 0x00000001)
/tmp/ccxkPByw.s:4372: Error: invalid offset, value too big (0x00000088)
/tmp/ccxkPByw.s:4374: Error: invalid offset, value too big (0x00000088)
/tmp/ccxkPByw.s:4376: Error: immediate value out of range
/tmp/ccxkPByw.s:4377: Error: immediate value out of range
}}}
{{{
[1436/1531] Compiling cpukit/libdebugger/rtems-debugger-arm.c
/tmp/ccSUlaYU.s: Assembler messages:
/tmp/ccSUlaYU.s:3078: Error: selected processor does not support requested
special purpose register -- `mrs r1,spsr'
/tmp/ccSUlaYU.s:3082: Error: selected processor does not support requested
special purpose register -- `mrs r2,cpsr'
/tmp/ccSUlaYU.s:3084: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r1'
/tmp/ccSUlaYU.s:3087: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3101: Error: selected processor does not support requested
special purpose register -- `mrs r1,spsr'
/tmp/ccSUlaYU.s:3103: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3125: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r1'
/tmp/ccSUlaYU.s:3157: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3171: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r1'
/tmp/ccSUlaYU.s:3174: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3175: Error: selected processor does not support requested
special purpose register -- `msr spsr,r6'
/tmp/ccSUlaYU.s:3284: Error: selected processor does not support requested
special purpose register -- `mrs r1,spsr'
/tmp/ccSUlaYU.s:3288: Error: selected processor does not support requested
special purpose register -- `mrs r2,cpsr'
/tmp/ccSUlaYU.s:3290: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r1'
/tmp/ccSUlaYU.s:3293: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3307: Error: selected processor does not support requested
special purpose register -- `mrs r1,spsr'
/tmp/ccSUlaYU.s:3309: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3331: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r1'
/tmp/ccSUlaYU.s:3363: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3377: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r1'
/tmp/ccSUlaYU.s:3380: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3381: Error: selected processor does not support requested
special purpose register -- `msr spsr,r6'
/tmp/ccSUlaYU.s:3490: Error: selected processor does not support requested
special purpose register -- `mrs r1,spsr'
/tmp/ccSUlaYU.s:3494: Error: selected processor does not support requested
special purpose register -- `mrs r2,cpsr'
/tmp/ccSUlaYU.s:3496: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r1'
/tmp/ccSUlaYU.s:3499: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3513: Error: selected processor does not support requested
special purpose register -- `mrs r1,spsr'
/tmp/ccSUlaYU.s:3515: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3537: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r1'
/tmp/ccSUlaYU.s:3569: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3583: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r1'
/tmp/ccSUlaYU.s:3586: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3587: Error: selected processor does not support requested
special purpose register -- `msr spsr,r6'
/tmp/ccSUlaYU.s:3696: Error: selected processor does not support requested
special purpose register -- `mrs r1,spsr'
/tmp/ccSUlaYU.s:3700: Error: selected processor does not support requested
special purpose register -- `mrs r2,cpsr'
/tmp/ccSUlaYU.s:3702: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r1'
/tmp/ccSUlaYU.s:3705: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3719: Error: selected processor does not support requested
special purpose register -- `mrs r1,spsr'
/tmp/ccSUlaYU.s:3721: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3743: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r1'
/tmp/ccSUlaYU.s:3775: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3789: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r1'
/tmp/ccSUlaYU.s:3792: Error: selected processor does not support requested
special purpose register -- `msr cpsr,r2'
/tmp/ccSUlaYU.s:3793: Error: selected processor does not support requested
special purpose register -- `msr spsr,r6'
}}}
--
--
Ticket URL: <http://devel.rtems.org/ticket/4939#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list