qoriq_e6500_32 with smp - compiler error

Gedare Bloom gedare at rtems.org
Fri Sep 25 19:35:50 UTC 2020


When I build the qoriq_e6500_32 with SMP enabled in the new build
system, I hit this error:
[  77/4070] Compiling bsps/powerpc/shared/cache/cache.c
In file included from ../../../bsps/powerpc/shared/cache/cache.c:319:
../../../bsps/powerpc/include/../../../bsps/shared/cache/cacheimpl.h:92:2:
error: #error "CPU_DATA_CACHE_ALIGNMENT (" ## CPU_DATA_CACHE_ALIGNMENT
## ") is greater than CPU_CACHE_LINE_BYTES (" ## CPU_CACHE_LINE_BYTES
## ")"
   92 | #error "CPU_DATA_CACHE_ALIGNMENT (" ##
CPU_DATA_CACHE_ALIGNMENT ## ") is greater than CPU_CACHE_LINE_BYTES ("
## CPU_CACHE_LINE_BYTES ## ")"
      |  ^~~~~
In file included from ../../../bsps/powerpc/shared/cache/cache.c:319:
../../../bsps/powerpc/include/../../../bsps/shared/cache/cacheimpl.h:96:2:
error: #error "CPU_INSTRUCTION_CACHE_ALIGNMENT is greater than
CPU_CACHE_LINE_BYTES"
   96 | #error "CPU_INSTRUCTION_CACHE_ALIGNMENT is greater than
CPU_CACHE_LINE_BYTES"
      |  ^~~~~

I haven't been able to dig into it. The autotools build doesn't hit
the same problem.


More information about the devel mailing list