Opened on 08/22/18 at 17:39:21
Closed on 10/15/18 at 05:14:44
#3505 closed defect (wontfix)
powerpc/virtex redefined warning
Reported by: | Joel Sherrill | Owned by: | Sebastian Huber |
---|---|---|---|
Priority: | normal | Milestone: | 5.1 |
Component: | arch/powerpc | Version: | 5 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | #3549 | |
Blocking: |
Description
This looks like ppc403 and ppc405 are both defined but I am not seeing source of the ppc405 definition. The warning is in this section of code:
#if defined (ppc403)
#define exisr 0x040 /* DCR: external interrupt status register */
#define exier 0x042 /* DCR: external interrupt enable register */
#endif /* ppc403 */
#if defined(ppc405)
#define exisr 0x0C0 /* DCR: external interrupt status register */
#define exier 0x0C2 /* DCR: external interrupt enable register */
#endif /* ppc405 */
In file included from /home/joel/rtems-work/rtems-testing/rtems/rtems/cpukit/include/rtems/score/percpu.h:25:0,
from ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex/../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_async_normal.S:16:
/home/joel/rtems-work/rtems-testing/rtems/rtems/cpukit/score/cpu/powerpc/include/rtems/asm.h:228:0: warning: "exisr" redefined
#define exisr 0x0C0 /* DCR: external interrupt status register */
/home/joel/rtems-work/rtems-testing/rtems/rtems/cpukit/score/cpu/powerpc/include/rtems/asm.h:224:0: note: this is the location of the previous definition
#define exisr 0x040 /* DCR: external interrupt status register */
/home/joel/rtems-work/rtems-testing/rtems/rtems/cpukit/score/cpu/powerpc/include/rtems/asm.h:229:0: warning: "exier" redefined
#define exier 0x0C2 /* DCR: external interrupt enable register */
/home/joel/rtems-work/rtems-testing/rtems/rtems/cpukit/score/cpu/powerpc/include/rtems/asm.h:225:0: note: this is the location of the previous definition
#define exier 0x042 /* DCR: external interrupt enable register */
Change History (4)
comment:1 Changed on 08/22/18 at 17:39:34 by Joel Sherrill
Owner: | set to Sebastian Huber |
---|---|
Status: | new → assigned |
comment:2 Changed on 09/05/18 at 05:41:38 by Sebastian Huber
comment:3 Changed on 10/14/18 at 00:52:17 by Joel Sherrill
We discussed removing this BSP on the mailing list. Is the resolution of this ticket to refer to a ticket to remove this BSP before 5.1 and close this as won't fix?
comment:4 Changed on 10/15/18 at 05:14:44 by Sebastian Huber
Blocked By: | 3549 added |
---|---|
Resolution: | → wontfix |
Status: | assigned → closed |
Some ppc* defines are RTEMS-specific GCC built-in defines.