Unknown compiler error when building kernel on reComputer J4012

I am trying to re-install the shipping firmware as-is on the reComputer J4012 by doing the steps as listed in the Github readme. When building the kernel using the command ./nvbuild.sh. From this, I get the following output:

~/Linux_for_Tegra/source$ ./nvbuild.sh
The output directory "/home/user/Linux_for_Tegra/source/kernel_out"
Syncing kernel/kernel-jammy-src
Building kernel sources in /home/user/Linux_for_Tegra/source/kernel_out/kernel/
make: Entering directory '/home/user/Linux_for_Tegra/source/kernel_out/kernel'
================================================================================
Building kernel-jammy-src sources
================================================================================
make \
        ARCH=arm64 \
        -C /home/user/Linux_for_Tegra/source/kernel_out/kernel/kernel-jammy-src  \
        LOCALVERSION=-tegra \
        defconfig
make[1]: Entering directory '/home/user/Linux_for_Tegra/source/kernel_out/kernel/kernel-jammy-src'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
  YACC    scripts/kconfig/parser.tab.[ch]
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/menu.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTCC  scripts/kconfig/util.o
  HOSTLD  scripts/kconfig/conf
*** Default configuration is based on 'defconfig'
/home/user/Linux_for_Tegra/source/l4t-gcc/aarch64--glibc--stable-2022.08-1/bin/aarch64-buildroot-linux-gnu-gcc: unknown compiler
scripts/Kconfig.include:44: Sorry, this compiler is not supported.
make[2]: *** [scripts/kconfig/Makefile:87: defconfig] Error 1
make[1]: *** [Makefile:630: defconfig] Error 2
make[1]: Leaving directory '/home/user/Linux_for_Tegra/source/kernel_out/kernel/kernel-jammy-src'
make: *** [Makefile:30: kernel] Error 2
make: Leaving directory '/home/user/Linux_for_Tegra/source/kernel_out/kernel'

So far, I have searched the internet for possible solutions to this problem and I’ve checked that aarch64-buildroot-linux-gnu-gcc does exist, is installed correctly and can by found by the system. I have also checked minimum compiler version requirements as listed https://www.kernel.org/doc/html/latest/process/changes.html. Does anyone know how to fix this?