New extensions related to riscv has been added in gcc 14. Zephyr SDK should be updated to support use of new features which has been introduced in later gcc versions. @abrodkin feel free to provide additional details.