Skip to contentSkip to conversation

gcc: add gcc 5.2.0

PATCH New Gustavo Zacarias 2 participants 8 messages Jul 16, 2015 – Jul 17, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc: add gcc 5.2.0

---
 package/gcc/5.2.0/100-uclibc-conf.patch            |  15 +
 .../5.2.0/200-gcc-poison-system-directories.patch  | 207 +++++++++++++
 .../5.2.0/201-libgcc-remove-unistd-header.patch    |  14 +
 package/gcc/5.2.0/301-missing-execinfo_h.patch     |  13 +
 package/gcc/5.2.0/810-arm-softfloat-libgcc.patch   |  30 ++
 package/gcc/5.2.0/830-arm_unbreak_armv4t.patch     |  15 +
 .../840-microblaze-enable-dwarf-eh-support.patch   | 166 +++++++++++
 package/gcc/5.2.0/850-libstdcxx-uclibc-c99.patch   | 273 ++++++++++++++++++
 package/gcc/5.2.0/860-cilk-wchar.patch             |  56 ++++
 .../5.2.0/900-libitm-fixes-for-musl-support.patch  |  65 +++++
 .../901-fixincludes-update-for-musl-support.patch  |  32 ++
 package/gcc/5.2.0/902-unwind-fix-for-musl.patch    |  36 +++
 ...dc++-libgfortran-gthr-workaround-for-musl.patch |  80 +++++
 package/gcc/5.2.0/904-musl-libc-config.patch       | 321 +++++++++++++++++++++
 .../gcc/5.2.0/905-add-musl-support-to-gcc.patch    | 130 +++++++++
 package/gcc/5.2.0/906-mips-musl-support.patch      |  37 +++
 package/gcc/5.2.0/907-x86-musl-support.patch       |  45 +++
 package/gcc/5.2.0/908-arm-musl-support.patch       |  45 +++
 package/gcc/5.2.0/909-aarch64-musl-support.patch   |  33 +++
 package/gcc/Config.in.host                         |   8 +
 package/gcc/gcc.hash                               |   2 +
 21 files changed, 1623 insertions(+)
 create mode 100644 package/gcc/5.2.0/100-uclibc-conf.patch
 create mode 100644 package/gcc/5.2.0/200-gcc-poison-system-directories.patch
 create mode 100644 package/gcc/5.2.0/201-libgcc-remove-unistd-header.patch
 create mode 100644 package/gcc/5.2.0/301-missing-execinfo_h.patch
 create mode 100644 package/gcc/5.2.0/810-arm-softfloat-libgcc.patch
 create mode 100644 package/gcc/5.2.0/830-arm_unbreak_armv4t.patch
 create mode 100644 package/gcc/5.2.0/840-microblaze-enable-dwarf-eh-support.patch
 create mode 100644 package/gcc/5.2.0/850-libstdcxx-uclibc-c99.patch
 create mode 100644 package/gcc/5.2.0/860-cilk-wchar.patch
 create mode 100644 package/gcc/5.2.0/900-libitm-fixes-for-musl-support.patch
 create mode 100644 package/gcc/5.2.0/901-fixincludes-update-for-musl-support.patch
 create mode 100644 package/gcc/5.2.0/902-unwind-fix-for-musl.patch
 create mode 100644 package/gcc/5.2.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch
 create mode 100644 package/gcc/5.2.0/904-musl-libc-config.patch
 create mode 100644 package/gcc/5.2.0/905-add-musl-support-to-gcc.patch
 create mode 100644 package/gcc/5.2.0/906-mips-musl-support.patch
 create mode 100644 package/gcc/5.2.0/907-x86-musl-support.patch
 create mode 100644 package/gcc/5.2.0/908-arm-musl-support.patch
 create mode 100644 package/gcc/5.2.0/909-aarch64-musl-support.patch
package/gcc/5.2.0/100-uclibc-conf.patch new file +15 -0
new file mode 100644
index 0000000..73d1f0d
@@ -0,0 +1,15 @@
+Index: b/contrib/regression/objs-gcc.sh
+===================================================================
+--- a/contrib/regression/objs-gcc.sh
++++ b/contrib/regression/objs-gcc.sh
+@@ -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/5.2.0/200-gcc-poison-system-directories.patch new file +207 -0

207 lines not on this page · raw message

package/gcc/5.2.0/201-libgcc-remove-unistd-header.patch new file +14 -0
new file mode 100644
index 0000000..20d1c06
@@ -0,0 +1,14 @@
+Upstream status: In progress
+
+Index: b/libgcc/config/nios2/linux-atomic.c
+===================================================================
+--- a/libgcc/config/nios2/linux-atomic.c
++++ b/libgcc/config/nios2/linux-atomic.c
+@@ -20,7 +20,6 @@
+ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
+ <http://www.gnu.org/licenses/>.  */
+ 
+-#include <asm/unistd.h>
+ #define EFAULT  14
+ #define EBUSY   16
+ #define ENOSYS  38
package/gcc/5.2.0/301-missing-execinfo_h.patch new file +13 -0
new file mode 100644
index 0000000..2d0e7ba
@@ -0,0 +1,13 @@
+Index: b/boehm-gc/include/gc.h
+===================================================================
+--- a/boehm-gc/include/gc.h
++++ b/boehm-gc/include/gc.h
+@@ -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/5.2.0/810-arm-softfloat-libgcc.patch new file +30 -0
new file mode 100644
index 0000000..5efa7fd
@@ -0,0 +1,30 @@
+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/5.2.0/830-arm_unbreak_armv4t.patch new file +15 -0
new file mode 100644
index 0000000..b730059
@@ -0,0 +1,15 @@
+http://sourceware.org/ml/crossgcc/2008-05/msg00009.html
+
+Index: b/gcc/config/arm/linux-eabi.h
+===================================================================
+--- 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/5.2.0/840-microblaze-enable-dwarf-eh-support.patch new file +166 -0

166 lines not on this page · raw message

package/gcc/5.2.0/850-libstdcxx-uclibc-c99.patch new file +273 -0

273 lines not on this page · raw message

package/gcc/5.2.0/860-cilk-wchar.patch new file +56 -0

56 lines not on this page · raw message

package/gcc/5.2.0/900-libitm-fixes-for-musl-support.patch new file +65 -0

65 lines not on this page · raw message

package/gcc/5.2.0/901-fixincludes-update-for-musl-support.patch new file +32 -0
new file mode 100644
index 0000000..13c08d6
@@ -0,0 +1,32 @@
+From: ktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Wed, 22 Apr 2015 14:18:16 +0000 (+0000)
+Subject: fixincludes update for musl support
+X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=2dc727de2e87c2756a514cbb43cea23c99deaa3d
+
+fixincludes update for musl support
+
+On behalf of Szabolcs.Nagy at arm.com
+
+2015-04-22  Gregor Richards  <[email protected]>
+
+	* mkfixinc.sh: Add *-musl* with no fixes.
+
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk at 222327 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+
+Index: b/fixincludes/mkfixinc.sh
+===================================================================
+--- a/fixincludes/mkfixinc.sh
++++ b/fixincludes/mkfixinc.sh
+@@ -19,7 +19,8 @@
+     powerpc-*-eabi*    | \
+     powerpc-*-rtems*   | \
+     powerpcle-*-eabisim* | \
+-    powerpcle-*-eabi* )
++    powerpcle-*-eabi* | \
++    *-musl* )
+ 	#  IF there is no include fixing,
+ 	#  THEN create a no-op fixer and exit
+ 	(echo "#! /bin/sh" ; echo "exit 0" ) > ${target}
package/gcc/5.2.0/902-unwind-fix-for-musl.patch new file +36 -0
new file mode 100644
index 0000000..ef47054
@@ -0,0 +1,36 @@
+From: ktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Wed, 22 Apr 2015 14:20:01 +0000 (+0000)
+Subject: unwind fix for musl
+X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=a2e31d0681d8a47389b8a3552622fbd9827bcef4
+
+unwind fix for musl
+
+On behalf of szabolcs.nagy at arm.com
+
+2015-04-22  Gregor Richards  <[email protected]>
+	    Szabolcs Nagy  <[email protected]>
+
+	* unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
+	Linux if target provides dl_iterate_phdr.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk at 222328 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+
+Index: b/libgcc/unwind-dw2-fde-dip.c
+===================================================================
+--- a/libgcc/unwind-dw2-fde-dip.c
++++ b/libgcc/unwind-dw2-fde-dip.c
+@@ -59,6 +59,12 @@
+ 
+ #if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \
+     && defined(TARGET_DL_ITERATE_PHDR) \
++    && defined(__linux__)
++# define USE_PT_GNU_EH_FRAME
++#endif
++
++#if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \
++    && defined(TARGET_DL_ITERATE_PHDR) \
+     && (defined(__DragonFly__) || defined(__FreeBSD__))
+ # define ElfW __ElfN
+ # define USE_PT_GNU_EH_FRAME
package/gcc/5.2.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch new file +80 -0

80 lines not on this page · raw message

package/gcc/5.2.0/904-musl-libc-config.patch new file +321 -0

321 lines not on this page · raw message

package/gcc/5.2.0/905-add-musl-support-to-gcc.patch new file +130 -0

130 lines not on this page · raw message

package/gcc/5.2.0/906-mips-musl-support.patch new file +37 -0
new file mode 100644
index 0000000..6b473f9
@@ -0,0 +1,37 @@
+From: ktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Fri, 8 May 2015 15:16:50 +0000 (+0000)
+Subject: [PATCH 6/13] mips musl support
+X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=2550b6a866c887472b587bef87d433c51cf1ebc8
+
+[PATCH 6/13] mips musl support
+
+2015-05-08  Gregor Richards  <[email protected]>
+	    Szabolcs Nagy  <[email protected]>
+
+	* config/mips/linux.h (MUSL_DYNAMIC_LINKER32): Define.
+	(MUSL_DYNAMIC_LINKER64, MUSL_DYNAMIC_LINKERN32): Define.
+	(GNU_USER_DYNAMIC_LINKERN32): Update.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk at 222915 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+
+Index: b/gcc/config/mips/linux.h
+===================================================================
+--- a/gcc/config/mips/linux.h
++++ b/gcc/config/mips/linux.h
+@@ -37,7 +37,13 @@
+ #define UCLIBC_DYNAMIC_LINKERN32 \
+   "%{mnan=2008:/lib32/ld-uClibc-mipsn8.so.0;:/lib32/ld-uClibc.so.0}"
+ 
++#undef MUSL_DYNAMIC_LINKER32
++#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-mips%{EL:el}%{msoft-float:-sf}.so.1"
++#undef MUSL_DYNAMIC_LINKER64
++#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-mips64%{EL:el}%{msoft-float:-sf}.so.1"
++#define MUSL_DYNAMIC_LINKERN32 "/lib/ld-musl-mipsn32%{EL:el}%{msoft-float:-sf}.so.1"
++
+ #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
+ #define GNU_USER_DYNAMIC_LINKERN32 \
+   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \
+-                         BIONIC_DYNAMIC_LINKERN32)
++                         BIONIC_DYNAMIC_LINKERN32, MUSL_DYNAMIC_LINKERN32)
package/gcc/5.2.0/907-x86-musl-support.patch new file +45 -0

45 lines not on this page · raw message

package/gcc/5.2.0/908-arm-musl-support.patch new file +45 -0

45 lines not on this page · raw message

package/gcc/5.2.0/909-aarch64-musl-support.patch new file +33 -0
new file mode 100644
index 0000000..3d032f5
@@ -0,0 +1,33 @@
+From: jgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Wed, 27 May 2015 16:46:39 +0000 (+0000)
+Subject: [PATCH 3/13] aarch64 musl support
+X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=b3ff21cf0531be91bc3fb8200296a7633090ec78
+
+[PATCH 3/13] aarch64 musl support
+
+gcc/Changelog:
+
+2015-05-27  Gregor Richards  <[email protected]>
+	    Szabolcs Nagy  <[email protected]>
+
+	* config/aarch64/aarch64-linux.h (MUSL_DYNAMIC_LINKER): Define.
+
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk at 223766 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+
+Index: b/gcc/config/aarch64/aarch64-linux.h
+===================================================================
+--- a/gcc/config/aarch64/aarch64-linux.h
++++ b/gcc/config/aarch64/aarch64-linux.h
+@@ -23,6 +23,9 @@
+ 
+ #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
+ 
++#undef MUSL_DYNAMIC_LINKER
++#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
++
+ #undef  ASAN_CC1_SPEC
+ #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}"
+ 
package/gcc/Config.in.host +8 -0
index 4501b32..ab3760d 100644
@@ -86,6 +86,13 @@ choice
 		select BR2_GCC_NEEDS_MPC
 		select BR2_GCC_SUPPORTS_GRAPHITE
 
+	config BR2_GCC_VERSION_5_2_X
+		bool "gcc 5.2.x"
+		# Broken or unsupported architectures
+		depends on !BR2_arc
+		select BR2_GCC_NEEDS_MPC
+		select BR2_GCC_SUPPORTS_GRAPHITE
+
 endchoice
 
 config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
@@ -99,6 +106,7 @@ config BR2_GCC_VERSION
 	default "4.8.5"     if BR2_GCC_VERSION_4_8_X
 	default "4.9.3"     if BR2_GCC_VERSION_4_9_X
 	default "5.1.0"     if BR2_GCC_VERSION_5_1_X
+	default "5.2.0"     if BR2_GCC_VERSION_5_2_X
 	default "arc-2015.06-rc1" if BR2_GCC_VERSION_4_8_ARC
 
 config BR2_EXTRA_GCC_CONFIG_OPTIONS
package/gcc/gcc.hash +2 -0
index 1506ad9..39dbe76 100644
@@ -8,5 +8,7 @@ sha512  47fdfeca0c0a624cdec9c4ae47137d056c918d5c386d4b96985bb3c8172aba377cb66cbc
 sha512  9ac57377a6975fc7adac704ec81355262b9f537def6955576753b87715470a20ee6a2a3144a79cc8fcba3443f7b44c7337d79d704b522d053f54f79aa6b442df  gcc-4.9.3.tar.bz2
 # From ftp://gcc.gnu.org/pub/gcc/releases/gcc-5.1.0/sha512.sum
 sha512  30f6a94d3adb25bc51fcaddf32a6c41429f569eeb9ed64330445b1296f99998fbfa03277b375be4f7b2b80f519910ef88e4149db7cd9031e2c61a49f501bde94  gcc-5.1.0.tar.bz2
+# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-5.2.0/sha512.sum
+sha512 844120349ec04465dcea52d8ec747f1cbbc9d76a39fe3d8ef5e6b93614e63d718862d60d0a1c1cbf59ffc7815562287d0a2e536a6b220cebcd0b8de4ba35e715	gcc-5.2.0.tar.bz2
 # No hash for the ARC variant, comes from the github-helper:
 none  xxx  gcc-arc-2015.06-rc1.tar.gz
Signature · 1 line
2.3.6
#1 lore raw

PATCH 1/1 gcc: add gcc 5.2.0

Dear Gustavo Zacarias,

Quoted 11 lines · Gustavo Zacarias
package/gcc/Config.in.host +7 -0
+	config BR2_GCC_VERSION_5_2_X
+		bool "gcc 5.2.x"
+		# Broken or unsupported architectures
+		depends on !BR2_arc
+		select BR2_GCC_NEEDS_MPC
+		select BR2_GCC_SUPPORTS_GRAPHITE
+
 endchoice
 
 config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE

package/gcc/Config.in.host config BR2_GCC_VERSION · line 109

Quoted 4 lines
package/gcc/Config.in.host +1 -0
@@ -99,6 +106,7 @@ config BR2_GCC_VERSION
 	default "4.8.5"     if BR2_GCC_VERSION_4_8_X
 	default "4.9.3"     if BR2_GCC_VERSION_4_9_X
 	default "5.1.0"     if BR2_GCC_VERSION_5_1_X
+	default "5.2.0"     if BR2_GCC_VERSION_5_2_X

That's not the right way of adding gcc 5.2 support. The gcc release numbers have changed: 5 is the major release, and 5.{1,2} are the bug fix releases.

Quoting https://gcc.gnu.org/ml/gcc/2015-07/msg00198.html:

GCC 5.2 is a bug-fix release from the GCC 5 branch containing important fixes for regressions and serious bugs in GCC 5.1 with more than 81 bugs fixed since the previous release.

Therefore, we should instead rename BR2_GCC_VERSION_5_1_X to BR2_GCC_VERSION_5_X, and then simply update from 5.1 to 5.2 (keeping only 5.2 and removing 5.1), exactly like we were doing when the version was changed from 4.9.1 to 4.9.2 for example.

Could you rework your patch in this direction?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 gcc: add gcc 5.2.0

Quoted 10 lines · Thomas Petazzoni

That's not the right way of adding gcc 5.2 support. The gcc release numbers have changed: 5 is the major release, and 5.{1,2} are the bug fix releases.

Quoting https://gcc.gnu.org/ml/gcc/2015-07/msg00198.html:

GCC 5.2 is a bug-fix release from the GCC 5 branch containing important fixes for regressions and serious bugs in GCC 5.1 with more than 81 bugs fixed since the previous release.

Quoted 6 lines

Therefore, we should instead rename BR2_GCC_VERSION_5_1_X to BR2_GCC_VERSION_5_X, and then simply update from 5.1 to 5.2 (keeping only 5.2 and removing 5.1), exactly like we were doing when the version was changed from 4.9.1 to 4.9.2 for example.

Could you rework your patch in this direction?

Yes, i had a little talk with Yann about it and mostly agree. However the diff is big enough (8 MB bzipped) and 5.2 doesn't build a bootable kernel for qemu-versatile where 5.1 IIRC does, hence introducing a regression.
Do we still want to step on 5.1 considering this?
Regards.

#3 lore raw

PATCH 1/1 gcc: add gcc 5.2.0

Dear Gustavo Zacarias,

Quoted 4 lines · Gustavo Zacarias

Yes, i had a little talk with Yann about it and mostly agree. However the diff is big enough (8 MB bzipped) and 5.2 doesn't build a bootable kernel for qemu-versatile where 5.1 IIRC does, hence introducing a regression.

Gah, not the sort of thing you would expect from a bug fix release :-/

Quoted 1 line

Do we still want to step on 5.1 considering this?

Then I'm not sure obviously. I see two options here:

* Switch to the policy where we support only one 5.x version at a time (option named BR2_GCC_VERSION_5_X), and keep 5.1 for now until 5.3 is released, hopefully fixing the major bugs.

* Package gcc 5.2 separately from 5.1. But it's pretty useless to offer as a package a compiler that is not even capable of building a kernel that boots.

Opinions?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#4 lore raw

PATCH 1/1 gcc: add gcc 5.2.0

Quoted 10 lines · Thomas Petazzoni

Gah, not the sort of thing you would expect from a bug fix release :-/

Quoted 1 line

Do we still want to step on 5.1 considering this?

Then I'm not sure obviously. I see two options here:

* Switch to the policy where we support only one 5.x version at a time (option named BR2_GCC_VERSION_5_X), and keep 5.1 for now until 5.3 is released, hopefully fixing the major bugs.

Quoted 5 lines

* Package gcc 5.2 separately from 5.1. But it's pretty useless to offer as a package a compiler that is not even capable of building a kernel that boots.

Opinions?

I was going to go for what you've said until i saw the size delta and issue, and opted for this approach, but i'm open to votes/suggestions as well.
Maybe skipping 5.2.0 for the time?
Regards.

#5 lore raw

PATCH 1/1 gcc: add gcc 5.2.0

Hello,

Quoted 4 lines · Gustavo Zacarias

I was going to go for what you've said until i saw the size delta and issue, and opted for this approach, but i'm open to votes/suggestions as well.
Maybe skipping 5.2.0 for the time?

Yes, I think skipping 5.2.0 for the time is the best option. As I said, it anyway doesn't make much sense to have a compiler that doesn't even build a kernel properly for a major architecture like ARM.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#6 lore raw

PATCH 1/1 gcc: add gcc 5.2.0

Quoted 3 lines · Thomas Petazzoni

Yes, I think skipping 5.2.0 for the time is the best option. As I said, it anyway doesn't make much sense to have a compiler that doesn't even build a kernel properly for a major architecture like ARM.

Hi.
I've retested and found that i've got a busted versatile launcher script (used for webkit testing), after reverting some changes it works just fine. So 5.2.0 it is, replacing 5.1.0.
Regards.

#7 lore raw

PATCH 1/1 gcc: add gcc 5.2.0

Gustavo,

Quoted 3 lines · Gustavo Zacarias

I've retested and found that i've got a busted versatile launcher script (used for webkit testing), after reverting some changes it works just fine. So 5.2.0 it is, replacing 5.1.0.

Excellent, this solves the discussion I guess. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com