Currently, we need to manually patch ccache in buildroot to make it compile as ccache think our AMD machine supports avx512 which it doesn't.
modified package/ccache/ccache.mk
@@ -16,7 +16,8 @@ HOST_CCACHE_CONF_OPTS += \
-UCMAKE_C_COMPILER_LAUNCHER \
-UCMAKE_CXX_COMPILER_LAUNCHER \
-DZSTD_FROM_INTERNET=OFF \
- -DHIREDIS_FROM_INTERNET=OFF
+ -DHIREDIS_FROM_INTERNET=OFF \
+ -DHAVE_C_AVX512=no