toolchain: mark gcc 4.9 as broken, it miscompiles some code especially on ARM
[openwrt/openwrt.git] / toolchain / gcc / Config.in
index de0bbafbc8784ae190c97d644fb7b608ed7a6bb2..5cb4d23e169f4265541561364fe034c6e41297c9 100644 (file)
@@ -2,51 +2,35 @@
 
 choice
        prompt "GCC compiler Version" if TOOLCHAINOPTS
-       default GCC_VERSION_3_4_6 if LINUX_2_4
-       default GCC_VERSION_4_2_4 if TARGET_avr32
-       default GCC_VERSION_4_2_4 if TARGET_ppc40x
-       default GCC_VERSION_4_2_4 if TARGET_ppc44x
-       default GCC_VERSION_4_3_3 if powerpc64
-       default GCC_VERSION_4_3_3 if TARGET_etrax
-       default GCC_VERSION_4_3_3 if TARGET_coldfire
-       default GCC_VERSION_4_4_0 if ubicom32
-       default GCC_VERSION_4_1_2
+       default GCC_USE_VERSION_4_6_LINARO if TARGET_octeon
+       default GCC_USE_VERSION_4_8_LINARO
        help
          Select the version of gcc you wish to use.
 
-       config GCC_VERSION_3_4_6
-               bool "gcc 3.4.6"
+       config GCC_USE_VERSION_4_6_LINARO
+               select GCC_VERSION_4_6_LINARO
+               bool "gcc 4.6.x with Linaro enhancements"
 
-if !LINUX_2_4
-       config GCC_VERSION_4_1_2
-               bool "gcc 4.1.2"
+       config GCC_USE_VERSION_4_8_LINARO
+               select GCC_VERSION_4_8_LINARO
+               bool "gcc 4.8.x with Linaro enhancements"
 
-       config GCC_VERSION_4_2_4
-               bool "gcc 4.2.4"
-
-       config GCC_VERSION_4_3_3
-               bool "gcc 4.3.3"
-
-       config GCC_VERSION_4_3_4
-               bool "gcc 4.3.4"
-
-       config GCC_VERSION_4_4_0
-               bool "gcc 4.4.0"
-
-       config GCC_VERSION_4_4_1
-               bool "gcc 4.4.1"
-endif
+       config GCC_USE_VERSION_4_9_LINARO
+               select GCC_VERSION_4_9_LINARO
+               bool "gcc 4.9.x with Linaro enhancements"
+               depends on BROKEN
 
 endchoice
 
-config EABI_SUPPORT
+config GCC_USE_GRAPHITE
        bool
-       depends arm||armeb
-       prompt "Enable EABI support" if TOOLCHAINOPTS
-       default n if TARGET_gemini
-       default y
-       help
-         Enable ARM EABI support
+       prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
+
+config GCC_USE_SYSTEM_PPL_CLOOG
+       bool
+       prompt "Use the system versions of PPL and CLooG"
+       depends on GCC_USE_GRAPHITE
+       default n
 
 config EXTRA_GCC_CONFIG_OPTIONS
        string
@@ -57,18 +41,19 @@ config EXTRA_GCC_CONFIG_OPTIONS
 
 config SSP_SUPPORT
        bool
-       depends !GCC_VERSION_3_4_6
        prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
-       default n
+       default y
        help
            Enable Stack-Smashing Protection support
 
-config INSTALL_LIBSTDCPP
+config SJLJ_EXCEPTIONS
        bool
-       prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
-       default y
+       prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
+       default n
        help
-           Build/install c++ compiler and libstdc++?
+           Use old setjump()/longjump() exceptions instead of the newer
+           frame unwinding exceptions handling routines.  Warning: increases
+           code size and runtime memory usage.
 
 config INSTALL_LIBGCJ
        bool
@@ -76,3 +61,11 @@ config INSTALL_LIBGCJ
        default n
        help
            Build/install java compiler and GNU classpath ?
+
+
+config INSTALL_GFORTRAN
+       bool
+       prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
+       default n
+       help
+           Build/install GNU fortran compiler ?