package/gcc: remove old hashes (gcc 4.5, 4.7, 4.8)
PATCH 1/3 package/gcc: remove old hashes (gcc 4.5, 4.7, 4.8)
--- package/gcc/gcc.hash | 6 ------ 1 file changed, 6 deletions(-)
package/gcc/gcc.hash +0 -6
@@ -1,9 +1,3 @@ -# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.5.4/sha512.sum -sha512 78696b287d46aacd6f150920da376ea32f58ad9f0dafd2d3b7fa6dbdd8dd7afe659108d1dfaa5807617fc5248719f50b39c37ade0173ea5b9fec2091f4656115 gcc-4.5.4.tar.bz2 -# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.7.4/sha512.sum -sha512 dfcb737073191e628231031a3571ec77ee760a59377630f4a6e4fdfa66f9ddad39fde47e3f0f227eb43cdf90e0d34cde5abdc9ac892c1e111a911062a66c9189 gcc-4.7.4.tar.bz2 -# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.8.5/sha512.sum -sha512 47fdfeca0c0a624cdec9c4ae47137d056c918d5c386d4b96985bb3c8172aba377cb66cbcc30e80832fd244a7d98f562c20198056915c70cfef0977545073a8ea gcc-4.8.5.tar.bz2 # From ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.9.4/sha512.sum sha512 93abb78e16277454f41a8e9810f41f66c0fdffdc539a762ff6b67d3037f78db971378683fd2ebf707d1d51c059fad2161fe42d110c330027f40214b7db0f3efe gcc-4.9.4.tar.bz2 # From ftp://gcc.gnu.org/pub/gcc/releases/gcc-5.4.0/sha512.sum
Signature · 1 line
2.9.4
PATCH 2/3 package/gcc: switch to gcc 6.x as the default
Even if gcc 5 is still maintained for some time (gcc 5.5 is pending), switch to gcc 6.x since it has been released since 2016-04-27 and gcc 7.x is available since 2017-05-02.
We have been having toolchains in the autobuilders with gcc 6.x for a while, so the vast majority of the problems should have already been solved.
--- package/gcc/Config.in.host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/gcc/Config.in.host +1 -1
@@ -4,7 +4,7 @@ choice prompt "GCC compiler Version" default BR2_GCC_VERSION_ARC if BR2_arc default BR2_GCC_VERSION_OR1K if BR2_or1k - default BR2_GCC_VERSION_5_X + default BR2_GCC_VERSION_6_X help Select the version of gcc you wish to use.
Signature · 1 line
2.9.4
Thomas Petazzoni
AppliedPATCH 2/3 package/gcc: switch to gcc 6.x as the default
Hello,
Quoted 4 lines · Romain Naour
Even if gcc 5 is still maintained for some time (gcc 5.5 is pending), switch to gcc 6.x since it has been released since 2016-04-27 and gcc 7.x is available since 2017-05-02.
Quoted 8 lines
We have been having toolchains in the autobuilders with gcc 6.x for a while, so the vast majority of the problems should have already been solved.
Signed-off-by Romain Naour <[email protected]>--- package/gcc/Config.in.host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to next, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 3/3 package/gcc: remove gcc 4.9
In reply to Romain NaourWe're already using 6.x as default, and have 5.x on the lower side together with 7.x (7.1) on the higher side.
---
configs/odroidc2_defconfig is still using gcc 4.9 due to bugs in uboot. But since then uboot version was changed.
Dagg can you test again with gcc 5 ?
--- Config.in.legacy | 7 + ...et-68059-libgcc-should-not-use-__write-fo.patch | 43 -- package/gcc/4.9.4/100-uclibc-conf.patch | 15 - ...00-powerpc-link-with-math-lib.patch.conditional | 122 ---- package/gcc/4.9.4/111-pr65730.patch | 34 -- ...gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch | 26 - package/gcc/4.9.4/130-pr43538.patch | 25 - ...tizer-Fix-build-with-_FILE_OFFSET_BITS-64.patch | 37 -- package/gcc/4.9.4/301-missing-execinfo_h.patch | 13 - package/gcc/4.9.4/810-arm-softfloat-libgcc.patch | 30 - package/gcc/4.9.4/830-arm_unbreak_armv4t.patch | 13 - .../840-microblaze-enable-dwarf-eh-support.patch | 166 ------ package/gcc/4.9.4/850-libstdcxx-uclibc-c99.patch | 274 --------- package/gcc/4.9.4/860-cilk-wchar.patch | 56 -- .../870-xtensa-add-mauto-litpools-option.patch | 287 --------- .../871-xtensa-reimplement-register-spilling.patch | 76 --- ...unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch | 33 -- .../gcc/4.9.4/873-xtensa-fix-_Unwind_GetCFA.patch | 40 -- .../gcc/4.9.4/874-xtensa-add-uclinux-support.patch | 169 ------ .../gcc/4.9.4/880-nios2_legitimize_address.patch | 49 -- package/gcc/4.9.4/890-fix-m68k-compile.patch | 15 - package/gcc/4.9.4/891-fix-m68k-uclinux.patch | 18 - package/gcc/4.9.4/900-musl-support.patch | 640 --------------------- package/gcc/4.9.4/901-microblaze-uclibc.patch | 21 - .../930-libgcc-disable-split-stack-nothreads.patch | 14 - package/gcc/4.9.4/940-uclinux-enable-threads.patch | 20 - package/gcc/Config.in.host | 22 - package/gcc/gcc.hash | 2 - 28 files changed, 7 insertions(+), 2260 deletions(-) delete mode 100644 package/gcc/4.9.4/0001-ARM-PR-target-68059-libgcc-should-not-use-__write-fo.patch delete mode 100644 package/gcc/4.9.4/100-uclibc-conf.patch delete mode 100644 package/gcc/4.9.4/1000-powerpc-link-with-math-lib.patch.conditional delete mode 100644 package/gcc/4.9.4/111-pr65730.patch delete mode 100644 package/gcc/4.9.4/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch delete mode 100644 package/gcc/4.9.4/130-pr43538.patch delete mode 100644 package/gcc/4.9.4/140-sanitizer-Fix-build-with-_FILE_OFFSET_BITS-64.patch delete mode 100644 package/gcc/4.9.4/301-missing-execinfo_h.patch delete mode 100644 package/gcc/4.9.4/810-arm-softfloat-libgcc.patch delete mode 100644 package/gcc/4.9.4/830-arm_unbreak_armv4t.patch delete mode 100644 package/gcc/4.9.4/840-microblaze-enable-dwarf-eh-support.patch delete mode 100644 package/gcc/4.9.4/850-libstdcxx-uclibc-c99.patch delete mode 100644 package/gcc/4.9.4/860-cilk-wchar.patch delete mode 100644 package/gcc/4.9.4/870-xtensa-add-mauto-litpools-option.patch delete mode 100644 package/gcc/4.9.4/871-xtensa-reimplement-register-spilling.patch delete mode 100644 package/gcc/4.9.4/872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch delete mode 100644 package/gcc/4.9.4/873-xtensa-fix-_Unwind_GetCFA.patch delete mode 100644 package/gcc/4.9.4/874-xtensa-add-uclinux-support.patch delete mode 100644 package/gcc/4.9.4/880-nios2_legitimize_address.patch delete mode 100644 package/gcc/4.9.4/890-fix-m68k-compile.patch delete mode 100644 package/gcc/4.9.4/891-fix-m68k-uclinux.patch delete mode 100644 package/gcc/4.9.4/900-musl-support.patch delete mode 100644 package/gcc/4.9.4/901-microblaze-uclibc.patch delete mode 100644 package/gcc/4.9.4/930-libgcc-disable-split-stack-nothreads.patch delete mode 100644 package/gcc/4.9.4/940-uclinux-enable-threads.patch
Config.in.legacy +7 -0
@@ -145,6 +145,13 @@ endif ############################################################################### comment "Legacy options removed in 2017.08" +config BR2_GCC_VERSION_4_9_X + bool "gcc 4.9.x support removed" + select BR2_LEGACY + help + Support for gcc version 4.9.x has been removed. The current + default version (6.x or later) has been selected instead. + config BR2_GCC_VERSION_4_8_X bool "gcc 4.8.x support removed" select BR2_LEGACY
package/gcc/4.9.4/0001-ARM-PR-target-68059-libgcc-should-not-use-__write-fo.patch deleted +0 -43
43 lines not on this page · raw message
package/gcc/4.9.4/100-uclibc-conf.patch deleted +0 -15
@@ -1,15 +0,0 @@ -Index: gcc-4.8.0/contrib/regression/objs-gcc.sh -=================================================================== ---- gcc-4.8.0.orig/contrib/regression/objs-gcc.sh 2009-04-09 17:00:19.000000000 +0200 -+++ gcc-4.8.0/contrib/regression/objs-gcc.sh 2013-03-23 17:39:04.000000000 +0100 -@@ -106,6 +106,10 @@ - then - make all-gdb all-dejagnu all-ld || exit 1 - make install-gdb install-dejagnu install-ld || exit 1 -+elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ] -+ then -+ make all-gdb all-dejagnu all-ld || exit 1 -+ make install-gdb install-dejagnu install-ld || exit 1 - elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then - make bootstrap || exit 1 - make install || exit 1
package/gcc/4.9.4/1000-powerpc-link-with-math-lib.patch.conditional deleted +0 -122
122 lines not on this page · raw message
package/gcc/4.9.4/111-pr65730.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From b9a7775674d91c7af8043a83211ffeaa576327d7 Mon Sep 17 00:00:00 2001 -From: Max Filippov <[email protected]> -Date: Fri, 10 Apr 2015 17:46:30 +0300 -Subject: [PATCH] Fix PR target/65730 - -2015-05-20 Max Filippov <[email protected]> -gcc/ - * config/xtensa/xtensa.c (init_alignment_context): Replace MULT - by BITS_PER_UNIT with ASHIFT by exact_log2 (BITS_PER_UNIT). - -Signed-off-by: Max Filippov <[email protected]> ---- -Backported from: svn+ssh://gcc.gnu.org/svn/gcc/trunk at 223452 -Changes to ChangeLog are dropped. - - gcc/config/xtensa/xtensa.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -Index: b/gcc/config/xtensa/xtensa.c -=================================================================== ---- a/gcc/config/xtensa/xtensa.c -+++ b/gcc/config/xtensa/xtensa.c -@@ -1436,8 +1436,9 @@ - if (ac->shift != NULL_RTX) - { - /* Shift is the byte count, but we need the bitcount. */ -- ac->shift = expand_simple_binop (SImode, MULT, ac->shift, -- GEN_INT (BITS_PER_UNIT), -+ gcc_assert (exact_log2 (BITS_PER_UNIT) >= 0); -+ ac->shift = expand_simple_binop (SImode, ASHIFT, ac->shift, -+ GEN_INT (exact_log2 (BITS_PER_UNIT)), - NULL_RTX, 1, OPTAB_DIRECT); - ac->modemask = expand_simple_binop (SImode, ASHIFT, - GEN_INT (GET_MODE_MASK (mode)),
package/gcc/4.9.4/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch deleted +0 -26
@@ -1,26 +0,0 @@ -From 9bf6066d588632dab9f78932df15b5b4140f31f3 Mon Sep 17 00:00:00 2001 -From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]> -Date: Fri, 6 Nov 2015 14:27:23 +0100 -Subject: [PATCH] gcc/config.gcc: fix typo for powerpc e6500 cpu_is_64bit - -Otherwise it is not recognized as a 64-bit powerpc and gcc will not generate -64-bit binaries by default. - -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]> ---- - gcc/config.gcc | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -Index: b/gcc/config.gcc -=================================================================== ---- a/gcc/config.gcc -+++ b/gcc/config.gcc -@@ -441,7 +441,7 @@ - extra_headers="ppc-asm.h altivec.h spe.h ppu_intrinsics.h paired.h spu2vmx.h vec_types.h si2vmx.h htmintrin.h htmxlintrin.h" - need_64bit_hwint=yes - case x$with_cpu in -- xpowerpc64|xdefault64|x6[23]0|x970|xG5|xpower[345678]|xpower6x|xrs64a|xcell|xa2|xe500mc64|xe5500|Xe6500) -+ xpowerpc64|xdefault64|x6[23]0|x970|xG5|xpower[345678]|xpower6x|xrs64a|xcell|xa2|xe500mc64|xe5500|xe6500) - cpu_is_64bit=yes - ;; - esac
package/gcc/4.9.4/130-pr43538.patch deleted +0 -25
@@ -1,25 +0,0 @@ -From c037df1be41f8daf4d581d7ffa4ec8cfa640bccf Mon Sep 17 00:00:00 2001 -From: glisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4> -Date: Fri, 25 Apr 2014 08:03:08 +0000 -Subject: [PATCH] 2014-04-25 Marc Glisse <[email protected]> - - PR target/43538 - * mt-gnu: Don't reset CXXFLAGS_FOR_TARGET. - - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk at 209784 138bc75d-0d04-0410-961f-82ee72b054a4 -Signed-off-by: Max Filippov <[email protected]> ---- - config/mt-gnu | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/config/mt-gnu b/config/mt-gnu -index 15bf417..5c696f5 100644 ---- a/config/mt-gnu -+++ b/config/mt-gnu -@@ -1 +1 @@ --CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE -+CXXFLAGS_FOR_TARGET += -D_GNU_SOURCE --- -2.1.4 -
package/gcc/4.9.4/140-sanitizer-Fix-build-with-_FILE_OFFSET_BITS-64.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From 3c536954a67a883630f4a7513a27f02a892c3dcb Mon Sep 17 00:00:00 2001 -From: Evgeniy Stepanov <[email protected]> -Date: Tue, 21 Oct 2014 21:08:13 +0000 -Subject: [PATCH] [sanitizer] Fix build with _FILE_OFFSET_BITS=64. - -Sanitizer source is not affected by _FILE_OFFSET_BITS in general, -but this one file must be built with 32-bit off_t. More details in the code. - -git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk at 220328 91177308-0d34-0410-b5e6-96231b3b80d8 -Signed-off-by: Max Filippov <[email protected]> ---- - lib/sanitizer_common/sanitizer_platform_limits_posix.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc -index bbc1108..fc09522 100644 ---- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc -+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc -@@ -13,7 +13,15 @@ - - #include "sanitizer_platform.h" - #if SANITIZER_LINUX || SANITIZER_MAC -+// Tests in this file assume that off_t-dependent data structures match the -+// libc ABI. For example, struct dirent here is what readdir() function (as -+// exported from libc) returns, and not the user-facing "dirent", which -+// depends on _FILE_OFFSET_BITS setting. -+// To get this "true" dirent definition, we undefine _FILE_OFFSET_BITS below. -+#ifdef _FILE_OFFSET_BITS -+#undef _FILE_OFFSET_BITS -+#endif - - #include "sanitizer_internal_defs.h" - #include "sanitizer_platform_limits_posix.h" - --- -2.1.4 -
package/gcc/4.9.4/301-missing-execinfo_h.patch deleted +0 -13
@@ -1,13 +0,0 @@ -Index: gcc-4.8.0/boehm-gc/include/gc.h -=================================================================== ---- gcc-4.8.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 -+++ gcc-4.8.0/boehm-gc/include/gc.h 2013-03-23 17:39:20.000000000 +0100 -@@ -503,7 +503,7 @@ - #if defined(__linux__) || defined(__GLIBC__) - # include <features.h> - # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ -- && !defined(__ia64__) -+ && !defined(__ia64__) && !defined(__UCLIBC__) - # ifndef GC_HAVE_BUILTIN_BACKTRACE - # define GC_HAVE_BUILTIN_BACKTRACE - # endif
package/gcc/4.9.4/810-arm-softfloat-libgcc.patch deleted +0 -30
@@ -1,30 +0,0 @@ -Index: b/gcc/config/arm/linux-elf.h -=================================================================== ---- a/gcc/config/arm/linux-elf.h -+++ b/gcc/config/arm/linux-elf.h -@@ -60,7 +60,7 @@ - %{shared:-lc} \ - %{!shared:%{profile:-lc_p}%{!profile:-lc}}" - --#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc" -+#define LIBGCC_SPEC "-lgcc" - - #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" - -Index: b/libgcc/config/arm/t-linux -=================================================================== ---- a/libgcc/config/arm/t-linux -+++ b/libgcc/config/arm/t-linux -@@ -1,6 +1,11 @@ - LIB1ASMSRC = arm/lib1funcs.S - LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \ -- _ctzsi2 _arm_addsubdf3 _arm_addsubsf3 -+ _ctzsi2 _arm_addsubdf3 _arm_addsubsf3 \ -+ _arm_addsubdf3 _arm_addsubsf3 \ -+ _arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \ -+ _arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \ -+ _arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \ -+ _arm_fixsfsi _arm_fixunssfsi - - # Just for these, we omit the frame pointer since it makes such a big - # difference.
package/gcc/4.9.4/830-arm_unbreak_armv4t.patch deleted +0 -13
@@ -1,13 +0,0 @@ -http://sourceware.org/ml/crossgcc/2008-05/msg00009.html - ---- a/gcc/config/arm/linux-eabi.h -+++ b/gcc/config/arm/linux-eabi.h -@@ -45,7 +45,7 @@ - The ARM10TDMI core is the default for armv5t, so set - SUBTARGET_CPU_DEFAULT to achieve this. */ - #undef SUBTARGET_CPU_DEFAULT --#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi -+#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi - - /* TARGET_BIG_ENDIAN_DEFAULT is set in - config.gcc for big endian configurations. */
package/gcc/4.9.4/840-microblaze-enable-dwarf-eh-support.patch deleted +0 -166
166 lines not on this page · raw message
package/gcc/4.9.4/850-libstdcxx-uclibc-c99.patch deleted +0 -274
274 lines not on this page · raw message
package/gcc/4.9.4/860-cilk-wchar.patch deleted +0 -56
56 lines not on this page · raw message
package/gcc/4.9.4/870-xtensa-add-mauto-litpools-option.patch deleted +0 -287
287 lines not on this page · raw message
package/gcc/4.9.4/871-xtensa-reimplement-register-spilling.patch deleted +0 -76
76 lines not on this page · raw message
package/gcc/4.9.4/872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From f66206679a0ad604f13673559f230160cd3d1189 Mon Sep 17 00:00:00 2001 -From: Max Filippov <[email protected]> -Date: Fri, 14 Aug 2015 02:45:02 +0300 -Subject: [PATCH 2/3] xtensa: use unwind-dw2-fde-dip instead of unwind-dw2-fde - -This allows having exception cleanup code in binaries that don't -register their unwind tables. - -2015-08-18 Max Filippov <[email protected]> -libgcc/ - * config/xtensa/t-xtensa (LIB2ADDEH): Replace unwind-dw2-fde - with unwind-dw2-fde-dip. - -Signed-off-by: Max Filippov <[email protected]> ---- -Backported from: r226963 - - libgcc/config/xtensa/t-xtensa | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libgcc/config/xtensa/t-xtensa b/libgcc/config/xtensa/t-xtensa -index 27399e6..66d0eb3 100644 ---- a/libgcc/config/xtensa/t-xtensa -+++ b/libgcc/config/xtensa/t-xtensa -@@ -13,4 +13,4 @@ LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3 _udivsi3 _umodsi3 \ - LIB2ADD = $(srcdir)/config/xtensa/lib2funcs.S - - LIB2ADDEH = $(srcdir)/config/xtensa/unwind-dw2-xtensa.c \ -- $(srcdir)/unwind-dw2-fde.c $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c -+ $(srcdir)/unwind-dw2-fde-dip.c $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c --- -1.8.1.4 -
package/gcc/4.9.4/873-xtensa-fix-_Unwind_GetCFA.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From 15c7c4d39b317f0d902ef28fd43eca5c3369f891 Mon Sep 17 00:00:00 2001 -From: Max Filippov <[email protected]> -Date: Sat, 15 Aug 2015 05:12:11 +0300 -Subject: [PATCH 3/3] xtensa: fix _Unwind_GetCFA - -Returning context->cfa in _Unwind_GetCFA makes CFA point one stack frame -higher than what was actually used by code at context->ra. This results -in invalid CFA value in signal frames and premature unwinding completion -in forced unwinding used by uClibc NPTL thread cancellation. -Returning context->sp from _Unwind_GetCFA makes all CFA values valid and -matching code that used them. - -2015-08-18 Max Filippov <[email protected]> -libgcc/ - * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return - context->sp instead of context->cfa. - -Signed-off-by: Max Filippov <[email protected]> ---- -Backported from: r226964 - - libgcc/config/xtensa/unwind-dw2-xtensa.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libgcc/config/xtensa/unwind-dw2-xtensa.c b/libgcc/config/xtensa/unwind-dw2-xtensa.c -index 35f7797..ef6b900 100644 ---- a/libgcc/config/xtensa/unwind-dw2-xtensa.c -+++ b/libgcc/config/xtensa/unwind-dw2-xtensa.c -@@ -130,7 +130,7 @@ _Unwind_GetGR (struct _Unwind_Context *context, int index) - _Unwind_Word - _Unwind_GetCFA (struct _Unwind_Context *context) - { -- return (_Unwind_Ptr) context->cfa; -+ return (_Unwind_Ptr) context->sp; - } - - /* Overwrite the saved value for register INDEX in CONTEXT with VAL. */ --- -1.8.1.4 -
package/gcc/4.9.4/874-xtensa-add-uclinux-support.patch deleted +0 -169
169 lines not on this page · raw message
package/gcc/4.9.4/880-nios2_legitimize_address.patch deleted +0 -49
49 lines not on this page · raw message
package/gcc/4.9.4/890-fix-m68k-compile.patch deleted +0 -15
@@ -1,15 +0,0 @@ -remove unused header, which breaks the toolchain building - -Signed-off-by: Waldemar Brodkorb <[email protected]> - -diff -Nur gcc-4.9.3.orig/libgcc/config/m68k/linux-atomic.c gcc-4.9.3/libgcc/config/m68k/linux-atomic.c ---- gcc-4.9.3.orig/libgcc/config/m68k/linux-atomic.c 2014-01-02 23:25:22.000000000 +0100 -+++ gcc-4.9.3/libgcc/config/m68k/linux-atomic.c 2016-03-18 22:24:40.000000000 +0100 -@@ -33,7 +33,6 @@ - using the kernel helper defined below. There is no support for - 64-bit operations yet. */ - --#include <asm/unistd.h> - #include <stdbool.h> - - #ifndef __NR_atomic_cmpxchg_32
package/gcc/4.9.4/891-fix-m68k-uclinux.patch deleted +0 -18
@@ -1,18 +0,0 @@ -avoids internal compiler error while compiling linux-atomic.c -See here: -https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53833 - -Signed-off-by: Waldemar Brodkorb <[email protected]> - -diff -Nur gcc-4.9.3.orig/libgcc/config.host gcc-4.9.3/libgcc/config.host ---- gcc-4.9.3.orig/libgcc/config.host 2014-03-27 16:40:31.000000000 +0100 -+++ gcc-4.9.3/libgcc/config.host 2016-04-05 16:20:53.422809885 +0200 -@@ -750,7 +750,7 @@ - m68k*-*-openbsd*) - ;; - m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc -- tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux" -+ tmake_file="$tmake_file m68k/t-floatlib" - md_unwind_header=m68k/linux-unwind.h - ;; - m68k-*-linux*) # Motorola m68k's running GNU/Linux
package/gcc/4.9.4/900-musl-support.patch deleted +0 -640
640 lines not on this page · raw message
package/gcc/4.9.4/901-microblaze-uclibc.patch deleted +0 -21
@@ -1,21 +0,0 @@ -Add dynamic linker support for uClibc - -Signed-off-by: Waldemar Brodkorb <[email protected]> - -diff -Nur gcc-4.9.3.orig/gcc/config/microblaze/linux.h gcc-4.9.3/gcc/config/microblaze/linux.h ---- gcc-4.9.3.orig/gcc/config/microblaze/linux.h 2016-06-04 21:21:09.430646655 +0200 -+++ gcc-4.9.3/gcc/config/microblaze/linux.h 2016-06-04 21:21:44.596003509 +0200 -@@ -36,10 +36,13 @@ - - #undef MUSL_DYNAMIC_LINKER - #define MUSL_DYNAMIC_LINKER "/lib/ld-musl-microblaze" MUSL_DYNAMIC_LINKER_E ".so.1" -+#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" - #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" - - #if DEFAULT_LIBC == LIBC_MUSL - #define DYNAMIC_LINKER MUSL_DYNAMIC_LINKER -+#elif DEFAULT_LIBC == LIBC_UCLIBC -+#define DYNAMIC_LINKER UCLIBC_DYNAMIC_LINKER - #else - #define DYNAMIC_LINKER GLIBC_DYNAMIC_LINKER - #endif
package/gcc/4.9.4/930-libgcc-disable-split-stack-nothreads.patch deleted +0 -14
@@ -1,14 +0,0 @@ -disable split-stack for non-thread builds - -Signed-off-by: Waldemar Brodkorb <[email protected]> - -diff -Nur gcc-4.9.3.orig/libgcc/config/t-stack gcc-4.9.3/libgcc/config/t-stack ---- gcc-4.9.3.orig/libgcc/config/t-stack 2010-10-01 21:31:49.000000000 +0200 -+++ gcc-4.9.3/libgcc/config/t-stack 2016-03-07 01:34:32.000000000 +0100 -@@ -1,4 +1,6 @@ - # Makefile fragment to provide generic support for -fsplit-stack. - # This should be used in config.host for any host which supports - # -fsplit-stack. -+ifeq ($(enable_threads),yes) - LIB2ADD_ST += $(srcdir)/generic-morestack.c $(srcdir)/generic-morestack-thread.c -+endif
package/gcc/4.9.4/940-uclinux-enable-threads.patch deleted +0 -20
@@ -1,20 +0,0 @@ -Enable POSIX threads for uClinux targets -Reported upstream: -https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71721 - -Signed-off-by: Waldemar Brodkorb <[email protected]> - -Index: b/gcc/config.gcc -=================================================================== ---- a/gcc/config.gcc -+++ b/gcc/config.gcc -@@ -810,6 +810,9 @@ - *-*-uclinux*) - extra_options="$extra_options gnu-user.opt" - use_gcc_stdint=wrap -+ case ${enable_threads} in -+ "" | yes | posix) thread_file='posix' ;; -+ esac - tm_defines="$tm_defines DEFAULT_LIBC=LIBC_UCLIBC SINGLE_LIBC" - ;; - *-*-rdos*)
package/gcc/Config.in.host +0 -22
@@ -20,27 +20,6 @@ config BR2_GCC_VERSION_OR1K depends on BR2_or1k select BR2_TOOLCHAIN_GCC_AT_LEAST_5 -config BR2_GCC_VERSION_4_9_X - bool "gcc 4.9.x" - # Broken or unsupported architectures - depends on !BR2_arc && !BR2_bfin && !BR2_or1k - # Broken or unsupported ARM cores - depends on !BR2_cortex_a17 && !BR2_cortex_a72 - # Unsupported MIPS cores - depends on !BR2_mips_interaptiv - # Unsupported for MIPS R5 - depends on !BR2_MIPS_CPU_MIPS32R5 && !BR2_MIPS_CPU_MIPS64R5 - # Unsupported for MIPS R6 - depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6 - # musl microblaze unsupported - depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_microblazeel || BR2_microblazebe)) - # musl ppc64 unsupported - depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le)) - # musl mips64 unsupported - depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el)) - # PR60102 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102 - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - config BR2_GCC_VERSION_5_X bool "gcc 5.x" # Broken or unsupported architectures
@@ -89,7 +68,6 @@ config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE config BR2_GCC_VERSION string - default "4.9.4" if BR2_GCC_VERSION_4_9_X default "5.4.0" if BR2_GCC_VERSION_5_X default "6.3.0" if BR2_GCC_VERSION_6_X default "7.1.0" if BR2_GCC_VERSION_7_X
package/gcc/gcc.hash +0 -2
@@ -1,5 +1,3 @@ -# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.9.4/sha512.sum -sha512 93abb78e16277454f41a8e9810f41f66c0fdffdc539a762ff6b67d3037f78db971378683fd2ebf707d1d51c059fad2161fe42d110c330027f40214b7db0f3efe gcc-4.9.4.tar.bz2 # From ftp://gcc.gnu.org/pub/gcc/releases/gcc-5.4.0/sha512.sum sha512 2941cc950c8f2409a314df497631f9b0266211aa74746c1839c46e04f1c7c299afe2528d1ef16ea39def408a644ba48f97519ec7a7dd37d260c3e9423514265b gcc-5.4.0.tar.bz2 # From ftp://gcc.gnu.org/pub/gcc/releases/gcc-6.3.0/sha512.sum
Signature · 1 line
2.9.4
PATCH 3/3 package/gcc: remove gcc 4.9
Hello,
Quoted 5 lines · Romain Naour
We're already using 6.x as default, and have 5.x on the lower side together with 7.x (7.1) on the higher side.
Signed-off-by Romain Naour <[email protected]>Cc Dagg Stompler <[email protected]>
I'll wait a little bit for additional feedback on this one. If nobody complains in the next few days, I'm going to apply it.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 3/3 package/gcc: remove gcc 4.9
I though this one was already applied, but apparently I still have the chance
to speak up...
Quoted 11 lines · Thomas Petazzoni
Hello,
Quoted 5 lines · Romain Naour
We're already using 6.x as default, and have 5.x on the lower side together with 7.x (7.1) on the higher side.
Signed-off-by Romain Naour <[email protected]>Cc Dagg Stompler <[email protected]>I'll wait a little bit for additional feedback on this one. If nobody complains in the next few days, I'm going to apply it.
GCC 4.9 (or rather, GCC 5) is a bit a special case: libstdc++ had heavy
ABI-incompatible changes. E.g. at the time Debian switched to it, it was the only time I had major breakage in sid. So, the switch from gcc 4.9 to gcc 5 means that any binary-only C++ program will no longer be usable.
On top of that, gcc 5 introduces many errors (for non-standard-compliant code)
that were accepted before in gcc 4.9, which makes existing codebases sometimes difficult to get built. This, however, happens with each version bump so less of an argument against removal.
You could say that users with such requirements should keep using their own
toolchain, but there are useful (security) fixes in libc as well. They could use an external toolchain, but then how to build it? Crosstool-NG is a *lot* more complicated to use than Buildroot.
Bottom line: I'd tend to keep gcc 4.9 around for a while. If breakage occurs we
can disallow it for some architectures. There shouldn't be much more maintenance effort than that, I think.
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 3/3 package/gcc: remove gcc 4.9
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
Hi,
Quoted 7 lines
Quoted 2 lines
I'll wait a little bit for additional feedback on this one. If nobody complains in the next few days, I'm going to apply it.
GCC 4.9 (or rather, GCC 5) is a bit a special case: libstdc++ had heavy
ABI-incompatible changes. E.g. at the time Debian switched to it, it was the only time I had major breakage in sid. So, the switch from gcc 4.9 to gcc 5 means that any binary-only C++ program will no longer be usable.
That probably is a bigger issue for a binary distribution like Debian than for Buildroot though.
Quoted 4 lines
On top of that, gcc 5 introduces many errors (for non-standard-compliant code)
that were accepted before in gcc 4.9, which makes existing codebases sometimes difficult to get built. This, however, happens with each version bump so less of an argument against removal.
True. It also breaks older u-boot and Linux kernel versions that didn't handle > gcc4.x.
Quoted 4 lines
You could say that users with such requirements should keep using their own
toolchain, but there are useful (security) fixes in libc as well. They could use an external toolchain, but then how to build it? Crosstool-NG is a *lot* more complicated to use than Buildroot.
But we also don't keep old libc versions around. Would they be Ok with moving to a new libc version but not to newer gcc version?
Quoted 3 lines
Bottom line: I'd tend to keep gcc 4.9 around for a while. If
breakage occurs we can disallow it for some architectures. There shouldn't be much more maintenance effort than that, I think.
I can follow you, and it is OK for me to keep 4.9 around for a little while longer. We always have this tradeoff between stability and adding new features / cleanups, and I do think people should be moving to the LTS version (and plan in time for a yearly migration to the new LTS) if they want stability and fixes for a longer period, just like they (hopefully) do for their Linux kernel.
We should imho drop 4.9 before the next LTS though.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 3/3 package/gcc: remove gcc 4.9
Quoted 7 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
Hi,
Quoted 2 lines
Quoted 2 lines
I'll wait a little bit for additional feedback on this one. If nobody complains in the next few days, I'm going to apply it.
Quoted 7 lines
Quoted 4 lines
GCC 4.9 (or rather, GCC 5) is a bit a special case: libstdc++ had heavy
ABI-incompatible changes. E.g. at the time Debian switched to it, it was the only time I had major breakage in sid. So, the switch from gcc 4.9 to gcc 5 means that any binary-only C++ program will no longer be usable.That probably is a bigger issue for a binary distribution like Debian than for Buildroot though.
That's where real life comes into play... I've had quite a few customers
(admittedly most using something else than Buildroot) that needed to incorporate some binary that comes from a supplier. Things like the calibration tool for a touch screen, or a proprietary video codec. This stuff is universally crap, but still less effort to use than to redevelop from scratch.
TBH I've never had toolchain issues with these binaries, but I don't think any
of them were written in C++. So maybe this is not a real issue.
Quoted 7 lines
Quoted 4 lines
On top of that, gcc 5 introduces many errors (for non-standard-compliant code)
that were accepted before in gcc 4.9, which makes existing codebases sometimes difficult to get built. This, however, happens with each version bump so less of an argument against removal.True. It also breaks older u-boot and Linux kernel versions that didn't handle > gcc4.x.
Fortunately you need to pull just one or two patches for these.
Quoted 7 lines
Quoted 4 lines
You could say that users with such requirements should keep using their own
toolchain, but there are useful (security) fixes in libc as well. They could use an external toolchain, but then how to build it? Crosstool-NG is a *lot* more complicated to use than Buildroot.But we also don't keep old libc versions around. Would they be Ok with moving to a new libc version but not to newer gcc version?
Because libc is generally ABI-compatible with earlier versions. There used to
be issues with glibc (and I have no idea about uClibc), but I think it's been at least 10 years since glibc had ABI breakage. So the only thing to be afraid of is regressions. But if you're afraid of that, then you shouldn't update anything at all...
Quoted 4 lines
Quoted 3 lines
Bottom line: I'd tend to keep gcc 4.9 around for a while. If
breakage occurs we can disallow it for some architectures. There shouldn't be much more maintenance effort than that, I think.
Quoted 8 lines
I can follow you, and it is OK for me to keep 4.9 around for a little while longer. We always have this tradeoff between stability and adding new features / cleanups, and I do think people should be moving to the LTS version (and plan in time for a yearly migration to the new LTS) if they want stability and fixes for a longer period, just like they (hopefully) do for their Linux kernel.
We should imho drop 4.9 before the next LTS though.
Yeah, that's another reason: if we remove 4.9 from master, than we will not get
any fixes for it that could be applied to the LTS branch. But, well, I don't think we're testing with 4.9 at all in the autobuilders so the point is kind of moot.
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 3/3 package/gcc: remove gcc 4.9
Hello,
Quoted 4 lines · Arnout Vandecappelle
Yeah, that's another reason: if we remove 4.9 from master, than we will not get
any fixes for it that could be applied to the LTS branch. But, well, I don't think we're testing with 4.9 at all in the autobuilders so the point is kind of moot.
We are testing 4.9 in the autobuilders. I rebuilt the pre-built toolchains a few days ago. We had two gcc 4.8 toolchains, which I moved to 4.9 toolchains. I always try to make sure we have a few "old" toolchains, and at least one "bleeding edge" one, just to test more configurations.
Also, we still have much older external toolchains: remember the recent ICU breakage caused by ICU requiring gcc 4.8 ? If such breakage occurred, it's because we do have toolchains with gcc's older than 4.8.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 3/3 package/gcc: remove gcc 4.9
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Hello,
Quoted 4 lines · Arnout Vandecappelle
Yeah, that's another reason: if we remove 4.9 from master, than we will not get any fixes for it that could be applied to the LTS branch. But, well, I don't think we're testing with 4.9 at all in the autobuilders so the point is kind of moot.
Quoted 5 lines
We are testing 4.9 in the autobuilders. I rebuilt the pre-built toolchains a few days ago. We had two gcc 4.8 toolchains, which I moved to 4.9 toolchains. I always try to make sure we have a few "old" toolchains, and at least one "bleeding edge" one, just to test more configurations.
Sorry, yes indeed - I forgot about your recent mail. We still don't (and can't) test all binutils/gcc/gdb/linux headers/libc combinations.
Quoted 3 lines
Also, we still have much older external toolchains: remember the recent ICU breakage caused by ICU requiring gcc 4.8 ? If such breakage occurred, it's because we do have toolchains with gcc's older than 4.8.
Yes, but this discussion was explicitly about support in the internal toolchain handling for old gcc versions.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 3/3 package/gcc: remove gcc 4.9
Hi All,
Le 14/06/2017 ? 09:06, Peter Korsgaard a ?crit :
Quoted 19 lines
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Hello,
Quoted 4 lines · Arnout Vandecappelle
Yeah, that's another reason: if we remove 4.9 from master, than we will not get any fixes for it that could be applied to the LTS branch. But, well, I don't think we're testing with 4.9 at all in the autobuilders so the point is kind of moot.
Quoted 5 lines
We are testing 4.9 in the autobuilders. I rebuilt the pre-built toolchains a few days ago. We had two gcc 4.8 toolchains, which I moved to 4.9 toolchains. I always try to make sure we have a few "old" toolchains, and at least one "bleeding edge" one, just to test more configurations.
Sorry, yes indeed - I forgot about your recent mail. We still don't (and can't) test all binutils/gcc/gdb/linux headers/libc combinations.
Quoted 7 lines
Quoted 3 lines
Also, we still have much older external toolchains: remember the recent ICU breakage caused by ICU requiring gcc 4.8 ? If such breakage occurred, it's because we do have toolchains with gcc's older than 4.8.
Yes, but this discussion was explicitly about support in the internal toolchain handling for old gcc versions.
I've removed this patch from patchwork.
Best regards,
Romain
PATCH 3/3 package/gcc: remove gcc 4.9
In reply to Arnout VandecappelleQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
Hi,
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
GCC 4.9 (or rather, GCC 5) is a bit a special case: libstdc++ had heavy
ABI-incompatible changes. E.g. at the time Debian switched to it, it was the only time I had major breakage in sid. So, the switch from gcc 4.9 to gcc 5 means that any binary-only C++ program will no longer be usable.That probably is a bigger issue for a binary distribution like Debian than for Buildroot though.
Quoted 8 lines
That's where real life comes into play... I've had quite a few customers
(admittedly most using something else than Buildroot) that needed to incorporate some binary that comes from a supplier. Things like the calibration tool for a touch screen, or a proprietary video codec. This stuff is universally crap, but still less effort to use than to redevelop from scratch.TBH I've never had toolchain issues with these binaries, but I don't think any
of them were written in C++. So maybe this is not a real issue.
Indeed. The cases I have seen have normally been C code.
Quoted 4 lines
Quoted 2 lines
True. It also breaks older u-boot and Linux kernel versions that didn't handle > gcc4.x.
Fortunately you need to pull just one or two patches for these.
Indeed. Sometimes things are less trivial though - E.G. an issue I've run into in the past was that 2.6.x kernels build but doesn't work on ARMv6+ with gcc >= 4.6 unless you backport 8428e84d42179 (ARM: 7150/1:
Allow kernel unaligned accesses on ARMv6+ processors).
Quoted 9 lines
Quoted 2 lines
But we also don't keep old libc versions around. Would they be Ok with moving to a new libc version but not to newer gcc version?
Because libc is generally ABI-compatible with earlier
versions. There used to be issues with glibc (and I have no idea about uClibc), but I think it's been at least 10 years since glibc had ABI breakage. So the only thing to be afraid of is regressions. But if you're afraid of that, then you shouldn't update anything at all...
Indeed, or have proper testing in place to catch those regressions.
Quoted 11 lines
Quoted 11 lines
Quoted 3 lines
Bottom line: I'd tend to keep gcc 4.9 around for a while. If
breakage occurs we can disallow it for some architectures. There shouldn't be much more maintenance effort than that, I think.I can follow you, and it is OK for me to keep 4.9 around for a little while longer. We always have this tradeoff between stability and adding new features / cleanups, and I do think people should be moving to the LTS version (and plan in time for a yearly migration to the new LTS) if they want stability and fixes for a longer period, just like they (hopefully) do for their Linux kernel.
Quoted 6 lines
Quoted 1 line
We should imho drop 4.9 before the next LTS though.
Yeah, that's another reason: if we remove 4.9 from master, than we
will not get any fixes for it that could be applied to the LTS branch. But, well, I don't think we're testing with 4.9 at all in the autobuilders so the point is kind of moot.
I haven't noticed any 4.9 fixes at least. If you are using such old toolchain on a regular basis and find issues then please send them ;)
And no, I don't think the autobuilders are testing our internal 4.9 toolchain.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 3/3 package/gcc: remove gcc 4.9
In reply to Romain NaourGreetings Romain,
Quoted 9 lines
Sent: Thursday, May 25, 2017 at 9:34 PM
From: "Romain Naour" <[email protected]>
To: buildroot at buildroot.org
Cc: "Romain Naour" <[email protected]>, "Dagg Stompler" <[email protected]>
Subject: [Buildroot] [for-next 3/3] package/gcc: remove gcc 4.9We're already using 6.x as default, and have 5.x on the lower side together with 7.x (7.1) on the higher side.
Quoted 6 lines
Signed-off-by Romain Naour <[email protected]>Cc Dagg Stompler <[email protected]>---
configs/odroidc2_defconfig is still using gcc 4.9 due to bugs in uboot. But since then uboot version was changed.
Dagg can you test again with gcc 5 ?
my apologies for not addressing this earlier, I had some pressure at work and urgent family issues to attend.
I won't my special filter didn't caught these mails, will recheck it.
for now, odroid c2 need that compiler because it uses the vendor's forked uboot.
as of uboot 2017.05, there is support for this board in the official tree. afaik, bumping uboot to that version remove the gcc restriction but unfortunately bumping the version will render the board unbootable. there is a need to specially sign the uboot image.
I'm working on such support but up until I wasn't able to get the board to boot. due to the reasons mentioned above, I was not able to work on this in the past 3 weeks.
I hope to be able to resume work on this an finish soon.
Dagg.
PATCH 3/3 package/gcc: remove gcc 4.9
Hi Dagg,
Le 08/07/2017 ? 08:16, daggs a ?crit :
Quoted 11 lines
Greetings Romain,
Quoted 9 lines
Sent: Thursday, May 25, 2017 at 9:34 PM
From: "Romain Naour" <[email protected]>
To: buildroot at buildroot.org
Cc: "Romain Naour" <[email protected]>, "Dagg Stompler" <[email protected]>
Subject: [Buildroot] [for-next 3/3] package/gcc: remove gcc 4.9We're already using 6.x as default, and have 5.x on the lower side together with 7.x (7.1) on the higher side.
Quoted 8 lines
Quoted 6 lines
Signed-off-by Romain Naour <[email protected]>Cc Dagg Stompler <[email protected]>---
configs/odroidc2_defconfig is still using gcc 4.9 due to bugs in uboot. But since then uboot version was changed.
Dagg can you test again with gcc 5 ?my apologies for not addressing this earlier, I had some pressure at work and urgent family issues to attend.
No problem at all!
This note is also for the maintainers and other reviewers to say that we may break the odroidc2 defconfig if this patch is applied.
Quoted 6 lines
I won't my special filter didn't caught these mails, will recheck it.
for now, odroid c2 need that compiler because it uses the vendor's forked uboot.
as of uboot 2017.05, there is support for this board in the official tree. afaik, bumping uboot to that version remove the gcc restriction but unfortunately bumping the version will render the board unbootable. there is a need to specially sign the uboot image.
I'm working on such support but up until I wasn't able to get the board to boot. due to the reasons mentioned above, I was not able to work on this in the past 3 weeks.
I hope to be able to resume work on this an finish soon.
As you can see this patch as been rejected following the Arnout's comments [1]. But still, gcc 4.9 will probably be removed before the next Buildroot LTS release.
[1] http://lists.busybox.net/pipermail/buildroot/2017-June/194374.html
Best regards,
Romain
Quoted 3 lines
Dagg.
Thomas Petazzoni
AppliedPATCH 1/3 package/gcc: remove old hashes (gcc 4.5, 4.7, 4.8)
In reply to Romain NaourHello,
Quoted 4 lines · Romain Naour
Signed-off-by Romain Naour <[email protected]>--- package/gcc/gcc.hash | 6 ------ 1 file changed, 6 deletions(-)
Applied to next, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com