diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/arch/arm.in | 2 | ||||
-rw-r--r-- | config/arch/powerpc.in | 5 | ||||
-rw-r--r-- | config/arch/sparc.in | 1 | ||||
-rw-r--r-- | config/arch/x86.in | 1 | ||||
-rw-r--r-- | config/binutils/binutils.in | 11 | ||||
-rw-r--r-- | config/debug/gdb.in.native | 4 | ||||
-rw-r--r-- | config/global/paths.in | 4 | ||||
-rw-r--r-- | config/libc/glibc.in | 12 | ||||
-rw-r--r-- | config/libc/newlib.in | 7 | ||||
-rw-r--r-- | config/target.in | 5 |
10 files changed, 46 insertions, 6 deletions
diff --git a/config/arch/arm.in b/config/arch/arm.in index a6b9694..07ad5ed 100644 --- a/config/arch/arm.in +++ b/config/arch/arm.in @@ -58,7 +58,7 @@ config ARCH_ARM_INTERWORKING > [not to use interwork], since slightly larger code is generated > when [interwork] is specified. - NOTE: Interworking in crosstool-NG is not sell-tested. Use at your + NOTE: Interworking in crosstool-NG is not well-tested. Use at your own risks, and report success and/or failure. # Until we only support EABI: diff --git a/config/arch/powerpc.in b/config/arch/powerpc.in index 40d88b9..73cdf75 100644 --- a/config/arch/powerpc.in +++ b/config/arch/powerpc.in @@ -11,6 +11,7 @@ ## select ARCH_SUPPORTS_WITH_CPU ## select ARCH_SUPPORTS_WITH_TUNE ## select ARCH_SUPPORTS_WITH_FLOAT +## select ARCH_SUPPORTS_WITH_32_64 ## ## help The PowerPC architecture, as defined by: ## help http://www.ibm.com/developerworks/eserver/articles/archguide.html @@ -42,6 +43,8 @@ config ARCH_powerpc_ABI_EABI config ARCH_powerpc_ABI_SPE bool prompt "SPE" + select GCC_REQUIRE_8_or_older + select GLIBC_REQUIRE_2_29_or_older help Add support for the Signal Processing Engine. This will set up the toolchain so that it supports the SPE ABI extensions. This @@ -54,4 +57,6 @@ config ARCH_powerpc_ABI_SPE and "--enable-e500_double" to your CC_EXTRA_CONFIG_ARRAY, so you do not need to explicitly add them. + Support for SPE ABI has been removed in GCC 9. + endchoice diff --git a/config/arch/sparc.in b/config/arch/sparc.in index 1b4abcc..fe46eaa 100644 --- a/config/arch/sparc.in +++ b/config/arch/sparc.in @@ -10,6 +10,7 @@ ## select ARCH_SUPPORTS_WITH_CPU ## select ARCH_SUPPORTS_WITH_TUNE ## select ARCH_SUPPORTS_WITH_FLOAT +## select ARCH_SUPPORTS_WITH_32_64 if GCC_6_or_later ## ## help The SUN SPARC architecture, as defined by: ## help 32 bit: http://www.sparc.org/standards/V8.pdf diff --git a/config/arch/x86.in b/config/arch/x86.in index ab89ccd..ec16655 100644 --- a/config/arch/x86.in +++ b/config/arch/x86.in @@ -8,6 +8,7 @@ ## select ARCH_SUPPORTS_WITH_ARCH ## select ARCH_SUPPORTS_WITH_CPU ## select ARCH_SUPPORTS_WITH_TUNE +## select ARCH_SUPPORTS_WITH_32_64 ## ## help The x86 architecture, as defined by: ## help 32-bit (ia32) : http://www.intel.com/ diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in index 928659a..a92dec9 100644 --- a/config/binutils/binutils.in +++ b/config/binutils/binutils.in @@ -156,6 +156,15 @@ config BINUTILS_RELRO Setting this option to 'M' configures binutils with their internal default for the selected architecture. +config BINUTILS_DETERMINISTIC_ARCHIVES + bool + prompt "Enable deterministic archives by default" if BINUTILS_2_23_or_later + default y if BINUTILS_2_23_or_later + help + Setting this option will enable deterministic mode by default (-D). + ar and ranlib will use zero for UIDs, GIDs, + timestamps, and use consistent file modes for all files. + config BINUTILS_EXTRA_CONFIG_ARRAY string prompt "binutils extra config" @@ -206,7 +215,7 @@ config ELF2FLT_EXTRA_CONFIG_ARRAY default "" help Extra flags passed onto ./configure when configuring - + You can enter multiple arguments here, and arguments can contain spaces if they are properly quoted (or escaped, but prefer quotes). Eg.: --with-foo="1st arg with 4 spaces" --with-bar=2nd-arg-without-space diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native index 101e824..917a770 100644 --- a/config/debug/gdb.in.native +++ b/config/debug/gdb.in.native @@ -6,7 +6,8 @@ config GDB_NATIVE depends on ! BARE_METAL depends on ! LIBC_BIONIC depends on CC_LANG_CXX || !GDB_8_0_or_later - select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC + select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC && GDB_8_0_or_later + select LIBC_UCLIBC_IPV6 if LIBC_UCLIBC && GDB_8_3_or_later select EXPAT_TARGET select NCURSES_TARGET help @@ -18,6 +19,7 @@ config GDB_GDBSERVER default y depends on ! BARE_METAL select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC && GDB_8_0_or_later + select LIBC_UCLIBC_IPV6 if LIBC_UCLIBC && GDB_8_3_or_later help Build and install a gdbserver for the target, to run on the target. diff --git a/config/global/paths.in b/config/global/paths.in index 0bf43d9..82ee4b3 100644 --- a/config/global/paths.in +++ b/config/global/paths.in @@ -55,6 +55,10 @@ config BUILD_TOP_DIR string default "${CT_WORK_DIR:-${CT_TOP_DIR}/.build}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}" +config BUILD_DIR + string + default "${CT_BUILD_TOP_DIR}/build" + config PREFIX_DIR string prompt "Prefix directory" diff --git a/config/libc/glibc.in b/config/libc/glibc.in index 4138707..f891392 100644 --- a/config/libc/glibc.in +++ b/config/libc/glibc.in @@ -35,12 +35,16 @@ config GLIBC_DEP_BINUTILS select BINUTILS_REQUIRE_2_25_or_later if GLIBC_2_26_or_later select BINUTILS_REQUIRE_older_than_2_30 if GLIBC_older_than_2_26 && ARCH_ARM && ARCH_64 +# Glibc 2.26 requires GCC4.9 or newer # Glibc 2.29 requires GCC5+ or, for ppc64le, GCC6.2+. We only support the latest # release on GCC6 branch, so just assume it is newer than 6.2 +# Glibc 2.30 uncondtionally requires GCC 6.2+ config GLIBC_DEP_GCC def_bool y + select GCC_REQUIRE_4_9_or_later if GLIBC_2_26_or_later select GCC_REQUIRE_5_or_later if GLIBC_2_29_or_later select GCC_REQUIRE_6_or_later if GLIBC_2_29_or_later && ARCH_POWERPC && ARCH_64 && ARCH_LE + select GCC_REQUIRE_6_or_later if GLIBC_2_30_or_later # Glibc 2.29 requires bison 2.7 or later. All versions in ct-ng satisfy that # version requirement. @@ -57,14 +61,16 @@ config GLIBC_DEP_PYTHON config GLIBC_DEP_MAKE_4_0 def_bool y - depends on GLIBC_2_29_or_later && !CONFIGURE_has_make_4_0_or_newer + depends on GLIBC_2_28_or_later && !CONFIGURE_has_make_4_0_or_newer select COMP_TOOLS_MAKE select MAKE_REQUIRE_4_0_or_later select MAKE_GNUMAKE_SYMLINK # Override old host make in .build/tools/bin -config GLIBC_DEP_GCC +# Glibc 2.31 removed support for pre-v8 SPARC in 32-bit mode (64-bit mode always +# required UltraSPARC) +config GLIBC_SPARC_ALLOW_V7 def_bool y - select GCC_REQUIRE_4_9_or_later if GLIBC_2_26_or_later + depends on GLIBC_2_30_or_older config THREADS default "nptl" diff --git a/config/libc/newlib.in b/config/libc/newlib.in index 268f956..199eff2 100644 --- a/config/libc/newlib.in +++ b/config/libc/newlib.in @@ -152,6 +152,13 @@ config LIBC_NEWLIB_MULTITHREAD help Enable support for multiple threads. +config LIBC_NEWLIB_RETARGETABLE_LOCKING + bool + prompt "Enable retargetable locking" + help + Enable retargetable locking to allow the operating system to override + the dummy lock functions defined within the newlib. + config LIBC_NEWLIB_EXTRA_SECTIONS bool prompt "Place each function & data element in their own section" diff --git a/config/target.in b/config/target.in index 8549c5b..995457a 100644 --- a/config/target.in +++ b/config/target.in @@ -236,6 +236,11 @@ config ARCH_64 endchoice +# Whether this architecture supports passing --with-{cpu,arch,tune}-{32,64}= +# to GCC configure. +config ARCH_SUPPORTS_WITH_32_64 + bool + #-------------------------------------- comment "Target optimisations" |