<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 25, 2020, 2:36 PM Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When I build the qoriq_e6500_32 with SMP enabled in the new build<br>
system, I hit this error:<br>
[ 77/4070] Compiling bsps/powerpc/shared/cache/cache.c<br>
In file included from ../../../bsps/powerpc/shared/cache/cache.c:319:<br>
../../../bsps/powerpc/include/../../../bsps/shared/cache/cacheimpl.h:92:2:<br>
error: #error "CPU_DATA_CACHE_ALIGNMENT (" ## CPU_DATA_CACHE_ALIGNMENT<br>
## ") is greater than CPU_CACHE_LINE_BYTES (" ## CPU_CACHE_LINE_BYTES<br>
## ")"<br>
92 | #error "CPU_DATA_CACHE_ALIGNMENT (" ##<br>
CPU_DATA_CACHE_ALIGNMENT ## ") is greater than CPU_CACHE_LINE_BYTES ("<br>
## CPU_CACHE_LINE_BYTES ## ")"<br>
| ^~~~~<br>
In file included from ../../../bsps/powerpc/shared/cache/cache.c:319:<br>
../../../bsps/powerpc/include/../../../bsps/shared/cache/cacheimpl.h:96:2:<br>
error: #error "CPU_INSTRUCTION_CACHE_ALIGNMENT is greater than<br>
CPU_CACHE_LINE_BYTES"<br>
96 | #error "CPU_INSTRUCTION_CACHE_ALIGNMENT is greater than<br>
CPU_CACHE_LINE_BYTES"<br>
| ^~~~~<br>
<br>
I haven't been able to dig into it. The autotools build doesn't hit<br>
the same problem.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Piling on. There is a coverity issue reported in the same file which is not likely related. My quick analysis was that a 64 byte cache alignment made some test in an if redundant. If in the area fixing something, take a look. :)</div><div dir="auto"><br></div><div dir="auto">--joel</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div></div>