File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -580,15 +580,15 @@ config TOOLCHAIN_NEEDS_EXPLICIT_ZICSR_ZIFENCEI
580
580
and Zifencei are supported in binutils from version 2.36 onwards.
581
581
To make life easier, and avoid forcing toolchains that default to a
582
582
newer ISA spec to version 2.2, relax the check to binutils >= 2.36.
583
- For clang < 17 or GCC < 11.1 .0, for which this is not possible, this is
584
- dealt with in CONFIG_TOOLCHAIN_NEEDS_OLD_ISA_SPEC .
583
+ For clang < 17 or GCC < 11.3 .0, for which this is not possible or need
584
+ special treatment, this is dealt with in TOOLCHAIN_NEEDS_OLD_ISA_SPEC .
585
585
586
586
config TOOLCHAIN_NEEDS_OLD_ISA_SPEC
587
587
def_bool y
588
588
depends on TOOLCHAIN_NEEDS_EXPLICIT_ZICSR_ZIFENCEI
589
589
# https://github.com/llvm/llvm-project/commit/22e199e6afb1263c943c0c0d4498694e15bf8a16
590
- # https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b03be74bad08c382da47e048007a78fa3fb4ef49
591
- depends on (CC_IS_CLANG && CLANG_VERSION < 170000) || (CC_IS_GCC && GCC_VERSION < 110100 )
590
+ # https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=d29f5d6ab513c52fd872f532c492e35ae9fd6671
591
+ depends on (CC_IS_CLANG && CLANG_VERSION < 170000) || (CC_IS_GCC && GCC_VERSION < 110300 )
592
592
help
593
593
Certain versions of clang and GCC do not support zicsr and zifencei via
594
594
-march. This option causes an older ISA spec compatible with these older
You can’t perform that action at this time.
0 commit comments