toolchain: mark gcc 4.9 as broken, it miscompiles some code especially on ARM
[openwrt/openwrt.git] / toolchain / gcc / Config.in
index e8ca941108f336685f17d380137f953cd8ec2354..5cb4d23e169f4265541561364fe034c6e41297c9 100644 (file)
@@ -2,35 +2,23 @@
 
 choice
        prompt "GCC compiler Version" if TOOLCHAINOPTS
-       default GCC_USE_VERSION_4_4_7 if GCC_DEFAULT_VERSION_4_4_7
-       default GCC_USE_VERSION_4_6_LINARO
+       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_USE_VERSION_4_4_7
-               select GCC_VERSION_4_4_7
-               bool "gcc 4.4.7"
-               depends on avr32
-
-       config GCC_USE_VERSION_4_6_3
-               select GCC_VERSION_4_6_3
-               bool "gcc 4.6.3"
-
-       config GCC_USE_VERSION_4_7_2
-               select GCC_VERSION_4_7_2
-               bool "gcc 4.7.2"
-
        config GCC_USE_VERSION_4_6_LINARO
                select GCC_VERSION_4_6_LINARO
                bool "gcc 4.6.x with Linaro enhancements"
 
-       config GCC_USE_VERSION_4_7_LINARO
-               select GCC_VERSION_4_7_LINARO
-               bool "gcc 4.7.x with Linaro enhancements"
+       config GCC_USE_VERSION_4_8_LINARO
+               select GCC_VERSION_4_8_LINARO
+               bool "gcc 4.8.x with Linaro enhancements"
 
-       config GCC_USE_VERSION_4_8_0
-               select GCC_VERSION_4_8_0
-               bool "gcc 4.8.0"
+       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
 
@@ -54,7 +42,7 @@ config EXTRA_GCC_CONFIG_OPTIONS
 config SSP_SUPPORT
        bool
        prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
-       default n
+       default y
        help
            Enable Stack-Smashing Protection support
 
@@ -67,13 +55,6 @@ config SJLJ_EXCEPTIONS
            frame unwinding exceptions handling routines.  Warning: increases
            code size and runtime memory usage.
 
-config INSTALL_LIBSTDCPP
-       bool
-       prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
-       default y if !USE_MUSL
-       help
-           Build/install c++ compiler and libstdc++?
-
 config INSTALL_LIBGCJ
        bool
        prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS