Closed vineetgarc closed 3 years ago
When using arc64 branch, Linux kernel fails to build.
/usr/bin/sed -i -e "/\\<CONFIG_GCC_PLUGINS\\>/d" BR/BR-arc64/ARC64/build/linux-topic-zol-remove//.config echo '# CONFIG_GCC_PLUGINS is not set' >> BR/BR-arc64/ARC64/build/linux-topic-zol-remove//.config PKG_CONFIG="BR/BR-arc64/ARC64/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="BR/BR-arc64/ARC64/host/lib/pkgconfig:BR/BR-arc64/ARC64/host/share/pkgconfig" BR_BINARIES_DIR=BR/BR-arc64/ARC64/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j9 HOSTCC="/usr/bin/gcc -O2 -IBR/BR-arc64/ARC64/host/include -LBR/BR-arc64/ARC64/host/lib -Wl,-rpath,BR/BR-arc64/ARC64/host/lib" ARCH=arc INSTALL_MOD_PATH=BR/BR-arc64/ARC64/target CROSS_COMPILE="BR/BR-arc64/ARC64/host/bin/arc64-buildroot-linux-gnu-" DEPMOD=BR/BR-arc64/ARC64/host/sbin/depmod -C BR/BR-arc64/ARC64/build/linux-topic-zol-remove all arc64-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-mno-sdata'; did you mean '-fno-stats'? arc64-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-mmedium-calls' arc64-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-mlock' arc64-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-mswape' arc64-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-munaligned-access'
It seems haps_arch64_defconfig is used to create a seed .config (with things like CONFIG_ISA_ARCv3, CONFIG_64BIT etc) but then it gets overwritten with something else which is not suitable for ARCv3 build.
This was a snafu in linux defconfig update: Now reverted Revert "ARCv3: refresh defconfig"
When using arc64 branch, Linux kernel fails to build.
It seems haps_arch64_defconfig is used to create a seed .config (with things like CONFIG_ISA_ARCv3, CONFIG_64BIT etc) but then it gets overwritten with something else which is not suitable for ARCv3 build.