qoriq_e6500_32 with smp - compiler error

Sebastian Huber sebastian.huber at embedded-brains.de
Sat Sep 26 07:55:00 UTC 2020


On 25/09/2020 21:35, Gedare Bloom wrote:

> 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.
I cannot reproduce this issue, what is your configuration file?


More information about the devel mailing list