Skip to contentSkip to conversation

Internal toolchain backend updates

PATCH New Thomas Petazzoni 5 participants 20 messages Jun 14, 2015 – Jun 22, 2015

lore
Share & tools
lore
#0 lore raw

cover Internal toolchain backend updates

Hello,

Here is a set of updates to the internal toolchain backend, bumping uClibc-ng, adding support for gcc 5.1, bumping gdb 7.9 and deprecating support for eglibc.

Also available at:

git at git.free-electrons.com:users/thomas-petazzoni/buildroot

branch internal-toolchain-updates.

Best regards,

Thomas

Thomas Petazzoni (6):
uclibc: bump uClibc-ng to 1.0.3
uclibc: add libgcc_s_resume fix
gcc: add support for gcc 5.1
gcc: switch to gcc 4.9 as the default version
gdb: bump 7.9 series to 7.9.1
toolchain-buildroot: mark eglibc as deprecated

 package/gcc/5.1.0/100-uclibc-conf.patch            |  15 +
 .../5.1.0/200-gcc-poison-system-directories.patch  | 207 +++++++++++++
 .../5.1.0/201-libgcc-remove-unistd-header.patch    |  14 +
 package/gcc/5.1.0/301-missing-execinfo_h.patch     |  13 +
 package/gcc/5.1.0/810-arm-softfloat-libgcc.patch   |  30 ++
 package/gcc/5.1.0/830-arm_unbreak_armv4t.patch     |  15 +
 .../840-microblaze-enable-dwarf-eh-support.patch   | 166 +++++++++++
 package/gcc/5.1.0/850-libstdcxx-uclibc-c99.patch   | 273 ++++++++++++++++++
 package/gcc/5.1.0/860-cilk-wchar.patch             |  56 ++++
 .../5.1.0/900-libitm-fixes-for-musl-support.patch  |  65 +++++
 .../901-fixincludes-update-for-musl-support.patch  |  32 ++
 package/gcc/5.1.0/902-unwind-fix-for-musl.patch    |  36 +++
 ...dc++-libgfortran-gthr-workaround-for-musl.patch |  80 +++++
 package/gcc/5.1.0/904-musl-libc-config.patch       | 321 +++++++++++++++++++++
 .../gcc/5.1.0/905-add-musl-support-to-gcc.patch    | 130 +++++++++
 package/gcc/5.1.0/906-mips-musl-support.patch      |  37 +++
 package/gcc/5.1.0/907-x86-musl-support.patch       |  45 +++
 package/gcc/5.1.0/908-arm-musl-support.patch       |  45 +++
 package/gcc/5.1.0/909-aarch64-musl-support.patch   |  33 +++
 package/gcc/Config.in.host                         |  11 +-
 package/gcc/gcc.hash                               |   2 +
 .../0001-gdbserver-fix-uClibc-whithout-MMU.patch   |   0
 ...gdbserver-xtensa-drop-xtensa_usrregs_info.patch |   0
 ...erver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch |   0
 package/gdb/Config.in.host                         |   2 +-
 package/gdb/gdb.hash                               |   2 +-
 .../0.9.33.2/0071-Fix-libgcc_s_resume-issue.patch  |  53 ++++
 .../0001-fix-static-linking-of-pthread-apps.patch  |  72 -----
 ...ert-Do-not-define-unimplemented-functions.patch | 118 --------
 .../1.0.3/0001-Fix-libgcc_s_resume-issue.patch     |  53 ++++
 package/uclibc/Config.in                           |   2 +-
 package/uclibc/uclibc.hash                         |   2 +-
 toolchain/toolchain-buildroot/Config.in            |   1 +
 33 files changed, 1735 insertions(+), 196 deletions(-)
 create mode 100644 package/gcc/5.1.0/100-uclibc-conf.patch
 create mode 100644 package/gcc/5.1.0/200-gcc-poison-system-directories.patch
 create mode 100644 package/gcc/5.1.0/201-libgcc-remove-unistd-header.patch
 create mode 100644 package/gcc/5.1.0/301-missing-execinfo_h.patch
 create mode 100644 package/gcc/5.1.0/810-arm-softfloat-libgcc.patch
 create mode 100644 package/gcc/5.1.0/830-arm_unbreak_armv4t.patch
 create mode 100644 package/gcc/5.1.0/840-microblaze-enable-dwarf-eh-support.patch
 create mode 100644 package/gcc/5.1.0/850-libstdcxx-uclibc-c99.patch
 create mode 100644 package/gcc/5.1.0/860-cilk-wchar.patch
 create mode 100644 package/gcc/5.1.0/900-libitm-fixes-for-musl-support.patch
 create mode 100644 package/gcc/5.1.0/901-fixincludes-update-for-musl-support.patch
 create mode 100644 package/gcc/5.1.0/902-unwind-fix-for-musl.patch
 create mode 100644 package/gcc/5.1.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch
 create mode 100644 package/gcc/5.1.0/904-musl-libc-config.patch
 create mode 100644 package/gcc/5.1.0/905-add-musl-support-to-gcc.patch
 create mode 100644 package/gcc/5.1.0/906-mips-musl-support.patch
 create mode 100644 package/gcc/5.1.0/907-x86-musl-support.patch
 create mode 100644 package/gcc/5.1.0/908-arm-musl-support.patch
 create mode 100644 package/gcc/5.1.0/909-aarch64-musl-support.patch
 rename package/gdb/{7.9 => 7.9.1}/0001-gdbserver-fix-uClibc-whithout-MMU.patch (100%)
 rename package/gdb/{7.9 => 7.9.1}/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch (100%)
 rename package/gdb/{7.9 => 7.9.1}/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch (100%)
 create mode 100644 package/uclibc/0.9.33.2/0071-Fix-libgcc_s_resume-issue.patch
 delete mode 100644 package/uclibc/1.0.2/0001-fix-static-linking-of-pthread-apps.patch
 delete mode 100644 package/uclibc/1.0.2/0002-Revert-Do-not-define-unimplemented-functions.patch
 create mode 100644 package/uclibc/1.0.3/0001-Fix-libgcc_s_resume-issue.patch
Signature · 1 line
2.1.0
#1 lore raw

PATCH 1/6 uclibc: bump uClibc-ng to 1.0.3

This commit bumps uClibc-ng to the latest version, and drops the two patches that have been merged upstream.

---
 .../0001-fix-static-linking-of-pthread-apps.patch  |  72 -------------
 ...ert-Do-not-define-unimplemented-functions.patch | 118 ---------------------
 package/uclibc/Config.in                           |   2 +-
 package/uclibc/uclibc.hash                         |   2 +-
 4 files changed, 2 insertions(+), 192 deletions(-)
 delete mode 100644 package/uclibc/1.0.2/0001-fix-static-linking-of-pthread-apps.patch
 delete mode 100644 package/uclibc/1.0.2/0002-Revert-Do-not-define-unimplemented-functions.patch
package/uclibc/1.0.2/0001-fix-static-linking-of-pthread-apps.patch deleted +0 -72
deleted file mode 100644
index e3e6621..0000000
@@ -1,72 +0,0 @@
-From 74c69da52ad5029cd2fc2d3d41d581022ed0a7aa Mon Sep 17 00:00:00 2001
-From: Waldemar Brodkorb <[email protected]>
-Date: Wed, 15 Apr 2015 12:47:57 -0500
-Subject: [PATCH] fix static linking of pthread apps
-
-When compiling python you get duplicate symbol problem.
-Seen in the autobuilders of buildroot project.
-
-Signed-off-by: Waldemar Brodkorb <[email protected]>
----
- libc/sysdeps/linux/common/setregid.c  | 2 +-
- libc/sysdeps/linux/common/setresgid.c | 4 ++--
- libc/sysdeps/linux/common/setresuid.c | 4 ++--
- 3 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/libc/sysdeps/linux/common/setregid.c b/libc/sysdeps/linux/common/setregid.c
-index 15d590a..aaa7293 100644
---- a/libc/sysdeps/linux/common/setregid.c
-+++ b/libc/sysdeps/linux/common/setregid.c
-@@ -37,4 +37,4 @@ int setregid(gid_t rgid, gid_t egid)
- }
- #endif
- 
--libc_hidden_def(setregid)
-+libc_hidden_weak(setregid)
-diff --git a/libc/sysdeps/linux/common/setresgid.c b/libc/sysdeps/linux/common/setresgid.c
-index 95decc2..b6d1647 100644
---- a/libc/sysdeps/linux/common/setresgid.c
-+++ b/libc/sysdeps/linux/common/setresgid.c
-@@ -16,7 +16,7 @@
- # define __NR_setresgid __NR_setresgid32
- 
- _syscall3(int, setresgid, gid_t, rgid, gid_t, egid, gid_t, sgid)
--libc_hidden_def(setresgid)
-+libc_hidden_weak(setresgid)
- 
- #elif defined(__NR_setresgid)
- 
-@@ -34,7 +34,7 @@ int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
- 	}
- 	return (__syscall_setresgid(rgid, egid, sgid));
- }
--libc_hidden_def(setresgid)
-+libc_hidden_weak(setresgid)
- 
- #endif
- 
-diff --git a/libc/sysdeps/linux/common/setresuid.c b/libc/sysdeps/linux/common/setresuid.c
-index 022ccfe..a2a2183 100644
---- a/libc/sysdeps/linux/common/setresuid.c
-+++ b/libc/sysdeps/linux/common/setresuid.c
-@@ -16,7 +16,7 @@
- # define __NR_setresuid __NR_setresuid32
- 
- _syscall3(int, setresuid, uid_t, ruid, uid_t, euid, uid_t, suid)
--libc_hidden_def(setresuid)
-+libc_hidden_weak(setresuid)
- 
- #elif defined(__NR_setresuid)
- 
-@@ -34,7 +34,7 @@ int setresuid(uid_t ruid, uid_t euid, uid_t suid)
- 	}
- 	return (__syscall_setresuid(ruid, euid, suid));
- }
--libc_hidden_def(setresuid)
-+libc_hidden_weak(setresuid)
- 
- #endif
- 
--- 
-2.3.2 (Apple Git-55)
-
package/uclibc/1.0.2/0002-Revert-Do-not-define-unimplemented-functions.patch deleted +0 -118

118 lines not on this page · raw message

package/uclibc/Config.in +1 -1
index f69cc25..0e954d19 100644
@@ -64,7 +64,7 @@ config BR2_UCLIBC_VERSION_STRING
 	string
 	default "0.9.33.2"	if BR2_UCLIBC_VERSION_0_9_33
 	default "arc-2014.12" if BR2_UCLIBC_VERSION_ARC_GIT
-	default "1.0.2"		if BR2_UCLIBC_VERSION_NG
+	default "1.0.3"		if BR2_UCLIBC_VERSION_NG
 	default BR2_USE_UCLIBC_SNAPSHOT	if BR2_UCLIBC_VERSION_SNAPSHOT
 
 config BR2_UCLIBC_CONFIG
package/uclibc/uclibc.hash +1 -1
index fe60291..841c96b 100644
@@ -2,7 +2,7 @@
 sha256	62333167b79afb0b25a843513288c67b59547acf653e8fbe62ee64e71ebd1587	uClibc-0.9.33.2.tar.xz
 
 # From http://www.uclibc-ng.org/trac/
-sha256  7e92e99995daa634cbdc63c297784df6e8fe39cc1d3bbd2d37eb5c3ced8a86e5        uClibc-ng-1.0.2.tar.xz
+sha256  b4c73fe3e7af4eeabf7510ee66ca85f775c3ed44d20b1bcd30c6ac481dd753cd        uClibc-ng-1.0.3.tar.xz
 
 # No hash for the ARC variant, comes from the github-helper
 none	xxx	uClibc-arc-2014.12.tar.gz
Signature · 1 line
2.1.0
#2 lore raw

PATCH 1/6 uclibc: bump uClibc-ng to 1.0.3

Hi Thomas,
Thomas Petazzoni wrote,

Quoted 2 lines

This commit bumps uClibc-ng to the latest version, and drops the two patches that have been merged upstream.

Have you seen the new uclibcng-testrunner.sh? It can be used on a target without GNU make. I tested it already with busybox hush. This might be used on no-MMU targets.

You need to generate a file while cross-compiling with "gen" target.

best regards
Waldemar

#3 lore raw

PATCH 1/6 uclibc: bump uClibc-ng to 1.0.3

Waldemar,

Quoted 6 lines · Waldemar Brodkorb
Quoted 2 lines

This commit bumps uClibc-ng to the latest version, and drops the two patches that have been merged upstream.

Have you seen the new uclibcng-testrunner.sh? It can be used on a target without GNU make. I tested it already with busybox hush. This might be used on no-MMU targets.

Yes, I've seen it, but so far I haven't used it. We could add support for it later on.

Thomas

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

PATCH 2/6 uclibc: add libgcc_s_resume fix

In reply to Thomas Petazzoni

This commit adds a fix for building uClibc 0.9.33.2 and uClibc-ng 1.0.3 with gcc 5.1 on ARM, since we're about to add support for gcc 5.1.

---
 .../0.9.33.2/0071-Fix-libgcc_s_resume-issue.patch  | 53 ++++++++++++++++++++++
 .../1.0.3/0001-Fix-libgcc_s_resume-issue.patch     | 53 ++++++++++++++++++++++
 2 files changed, 106 insertions(+)
 create mode 100644 package/uclibc/0.9.33.2/0071-Fix-libgcc_s_resume-issue.patch
 create mode 100644 package/uclibc/1.0.3/0001-Fix-libgcc_s_resume-issue.patch
package/uclibc/0.9.33.2/0071-Fix-libgcc_s_resume-issue.patch new file +53 -0
new file mode 100644
index 0000000..8a165f3
@@ -0,0 +1,53 @@
+From 7ed8bacef45a2537646e7235092bd2e5408cd0b5 Mon Sep 17 00:00:00 2001
+From: Thomas Petazzoni <[email protected]>
+Date: Sun, 14 Jun 2015 15:14:22 +0200
+Subject: [PATCH] Fix libgcc_s_resume issue
+
+When built with gcc 5.1, uClibc-ng fails to build with the following
+issue:
+
+   librt/librt_so.a(rt-unwind-resume.oS): In function `_Unwind_Resume':
+   rt-unwind-resume.c:(.text+0x3c): undefined reference to
+
+This commit fixes the code in a way similar to what was done in glibc
+in commit:
+
+   https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=175cef4163dd60f95106cfd5f593b8a4e09d02c9
+
+Signed-off-by: Thomas Petazzoni <[email protected]>
+---
+ libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c | 3 ++-
+ libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c       | 3 ++-
+ 2 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
+index f4d6f41..a6a0515 100644
+--- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
++++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
+@@ -27,7 +27,8 @@
+ #define __libc_fatal(x)         {/*write(STDERR_FILENO, x, strlen(x));*/ abort();}
+ 
+ static void *libgcc_s_handle;
+-static void (*libgcc_s_resume) (struct _Unwind_Exception *exc);
++static void (*libgcc_s_resume) (struct _Unwind_Exception *exc)
++  __attribute_used__;
+ static _Unwind_Reason_Code (*libgcc_s_personality)
+   (_Unwind_State, struct _Unwind_Exception *, struct _Unwind_Context *);
+ static _Unwind_Reason_Code (*libgcc_s_forcedunwind)
+diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c
+index f9a4ffb..e2e2e0b 100644
+--- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c
++++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c
+@@ -25,7 +25,8 @@
+ #define __libc_dlclose          dlclose
+ #define __libc_fatal(x)         {/*write(STDERR_FILENO, x, strlen(x));*/ abort();}
+ 
+-static void (*libgcc_s_resume) (struct _Unwind_Exception *exc);
++static void (*libgcc_s_resume) (struct _Unwind_Exception *exc)
++  __attribute_used__;
+ static _Unwind_Reason_Code (*libgcc_s_personality)
+   (_Unwind_State, struct _Unwind_Exception *, struct _Unwind_Context *);
+ 
+-- 
+2.1.0
+
package/uclibc/1.0.3/0001-Fix-libgcc_s_resume-issue.patch new file +53 -0

53 lines not on this page · raw message

Signature · 1 line
2.1.0
#6 lore raw

PATCH 2/6 uclibc: add libgcc_s_resume fix

Hi Thomas,

package/uclibc/0.9.33.2/0071-Fix-libgcc_s_resume-issue.patch line 7

Quoted 13 lines · Thomas Petazzoni
package/uclibc/0.9.33.2/0071-Fix-libgcc_s_resume-issue.patch new file +7 -0
new file mode 100644
index 0000000..8a165f3
@@ -0,0 +1,53 @@
+From 7ed8bacef45a2537646e7235092bd2e5408cd0b5 Mon Sep 17 00:00:00 2001
+From: Thomas Petazzoni <[email protected]>
+Date: Sun, 14 Jun 2015 15:14:22 +0200
+Subject: [PATCH] Fix libgcc_s_resume issue
+
+When built with gcc 5.1, uClibc-ng fails to build with the following
+issue:

This patch is for uClibc.

package/uclibc/0.9.33.2/0071-Fix-libgcc_s_resume-issue.patch line 10

Quoted 3 lines
package/uclibc/0.9.33.2/0071-Fix-libgcc_s_resume-issue.patch new file +3 -0
+
+   librt/librt_so.a(rt-unwind-resume.oS): In function `_Unwind_Resume':
+   rt-unwind-resume.c:(.text+0x3c): undefined reference to

Is that the full error message? I have that strange feeling that something is missing. Same goes for the uClibc-ng patch.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#7 lore raw

PATCH 2/6 uclibc: add libgcc_s_resume fix

Dear Baruch Siach,

Quoted 4 lines · Baruch Siach

Review

Quoted 2 lines
(quoted diff) +2 -0
+When built with gcc 5.1, uClibc-ng fails to build with the following
+issue:

This patch is for uClibc.

Bad copy/paste, indeed.

Quoted 5 lines

Review

Quoted 2 lines
(quoted diff) +2 -0
+   librt/librt_so.a(rt-unwind-resume.oS): In function `_Unwind_Resume':
+   rt-unwind-resume.c:(.text+0x3c): undefined reference to

Is that the full error message? I have that strange feeling that something is missing. Same goes for the uClibc-ng patch.

Gah, again a copy/paste issue (though different than the previous one). The full error message is:

LD librt-0.9.33.2.so
librt/librt_so.a(rt-unwind-resume.oS): In function `_Unwind_Resume':
rt-unwind-resume.c:(.text+0x3c): undefined reference to `libgcc_s_resume'
collect2: error: ld returned 1 exit status
make[2]: *** [lib/librt.so] Error 1

I'll update the commit log accordingly.

Thanks for the review!

Thomas

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

PATCH 2/6 uclibc: add libgcc_s_resume fix

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hi,

Quoted 10 lines

Gah, again a copy/paste issue (though different than the previous one). The full error message is:

LD librt-0.9.33.2.so
librt/librt_so.a(rt-unwind-resume.oS): In function `_Unwind_Resume':
rt-unwind-resume.c:(.text+0x3c): undefined reference to `libgcc_s_resume'
collect2: error: ld returned 1 exit status
make[2]: *** [lib/librt.so] Error 1

I'll update the commit log accordingly.

Thanks, please send an updated patch with that fixed.

Signature · 1 line
Bye, Peter Korsgaard
#9 lore raw

PATCH 3/6 gcc: add support for gcc 5.1

In reply to Thomas Petazzoni

This commit adds support for gcc 5.1 in Buildroot. In terms of gcc patches, compared to gcc 4.9.x:

* Kept as is, sometimes after minor adjusments:

100-uclibc-conf.patch
301-missing-execinfo_h.patch
810-arm-softfloat-libgcc.patch
830-arm_unbreak_armv4t.patch
840-microblaze-enable-dwarf-eh-support.patch
850-libstdcxx-uclibc-c99.patch
860-cilk-wchar.patch

* Dropped:

110-pr64896.patch
111-pr65730.patch

* Split in multiple parts:

900-musl-support.patch

The patches from Crosstool-NG for muls support are used instead of one single patch.

* Renamed:

910-gcc-poison-system-directories.patch to
200-gcc-poison-system-directories.patch

920-libgcc-remove-unistd-header.patch to
201-libgcc-remove-unistd-header.patch

Since the 9xx part of the series is now used by the various musl related patches.

We have tested the following configurations, with a minimal Busybox system:

* ARM, uClibc-ng
* ARM, glibc
* ARM, musl
* x86, uClibc-ng and uClibc 0.9.33.2
* x86, glibc
* x86, musl

All of the configurations built fine. All the configurations boot fine in Qemu, except x86/uClibc (either ng or 0.9.33.2), it segfaults when running init:

devtmpfs: mounted
Freeing unused kernel memory: 300K (c1389000 - c13d4000)
init[1]: segfault at 0 ip b77708c1 sp bfa9bb0c error 4 in ld-uClibc-0.9.33.2.so[b776c000+6000]

Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

We'll give some time for the uClibc developers to fix the problem before taking other measures in Buildroot to exclude gcc 5.1 from a x86/uClibc configuration.

---
 package/gcc/5.1.0/100-uclibc-conf.patch            |  15 +
 .../5.1.0/200-gcc-poison-system-directories.patch  | 207 +++++++++++++
 .../5.1.0/201-libgcc-remove-unistd-header.patch    |  14 +
 package/gcc/5.1.0/301-missing-execinfo_h.patch     |  13 +
 package/gcc/5.1.0/810-arm-softfloat-libgcc.patch   |  30 ++
 package/gcc/5.1.0/830-arm_unbreak_armv4t.patch     |  15 +
 .../840-microblaze-enable-dwarf-eh-support.patch   | 166 +++++++++++
 package/gcc/5.1.0/850-libstdcxx-uclibc-c99.patch   | 273 ++++++++++++++++++
 package/gcc/5.1.0/860-cilk-wchar.patch             |  56 ++++
 .../5.1.0/900-libitm-fixes-for-musl-support.patch  |  65 +++++
 .../901-fixincludes-update-for-musl-support.patch  |  32 ++
 package/gcc/5.1.0/902-unwind-fix-for-musl.patch    |  36 +++
 ...dc++-libgfortran-gthr-workaround-for-musl.patch |  80 +++++
 package/gcc/5.1.0/904-musl-libc-config.patch       | 321 +++++++++++++++++++++
 .../gcc/5.1.0/905-add-musl-support-to-gcc.patch    | 130 +++++++++
 package/gcc/5.1.0/906-mips-musl-support.patch      |  37 +++
 package/gcc/5.1.0/907-x86-musl-support.patch       |  45 +++
 package/gcc/5.1.0/908-arm-musl-support.patch       |  45 +++
 package/gcc/5.1.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.1.0/100-uclibc-conf.patch
 create mode 100644 package/gcc/5.1.0/200-gcc-poison-system-directories.patch
 create mode 100644 package/gcc/5.1.0/201-libgcc-remove-unistd-header.patch
 create mode 100644 package/gcc/5.1.0/301-missing-execinfo_h.patch
 create mode 100644 package/gcc/5.1.0/810-arm-softfloat-libgcc.patch
 create mode 100644 package/gcc/5.1.0/830-arm_unbreak_armv4t.patch
 create mode 100644 package/gcc/5.1.0/840-microblaze-enable-dwarf-eh-support.patch
 create mode 100644 package/gcc/5.1.0/850-libstdcxx-uclibc-c99.patch
 create mode 100644 package/gcc/5.1.0/860-cilk-wchar.patch
 create mode 100644 package/gcc/5.1.0/900-libitm-fixes-for-musl-support.patch
 create mode 100644 package/gcc/5.1.0/901-fixincludes-update-for-musl-support.patch
 create mode 100644 package/gcc/5.1.0/902-unwind-fix-for-musl.patch
 create mode 100644 package/gcc/5.1.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch
 create mode 100644 package/gcc/5.1.0/904-musl-libc-config.patch
 create mode 100644 package/gcc/5.1.0/905-add-musl-support-to-gcc.patch
 create mode 100644 package/gcc/5.1.0/906-mips-musl-support.patch
 create mode 100644 package/gcc/5.1.0/907-x86-musl-support.patch
 create mode 100644 package/gcc/5.1.0/908-arm-musl-support.patch
 create mode 100644 package/gcc/5.1.0/909-aarch64-musl-support.patch
package/gcc/5.1.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.1.0/200-gcc-poison-system-directories.patch new file +207 -0

207 lines not on this page · raw message

package/gcc/5.1.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.1.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.1.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.1.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.1.0/840-microblaze-enable-dwarf-eh-support.patch new file +166 -0

166 lines not on this page · raw message

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

273 lines not on this page · raw message

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

56 lines not on this page · raw message

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

65 lines not on this page · raw message

package/gcc/5.1.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.1.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.1.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch new file +80 -0

80 lines not on this page · raw message

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

321 lines not on this page · raw message

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

130 lines not on this page · raw message

package/gcc/5.1.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.1.0/907-x86-musl-support.patch new file +45 -0

45 lines not on this page · raw message

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

45 lines not on this page · raw message

package/gcc/5.1.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 cf96c73..578e24f 100644
@@ -78,6 +78,13 @@ choice
 		select BR2_GCC_NEEDS_MPC
 		select BR2_GCC_SUPPORTS_GRAPHITE
 
+	config BR2_GCC_VERSION_5_1_X
+		bool "gcc 5.1.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
@@ -90,6 +97,7 @@ config BR2_GCC_VERSION
 	default "4.7.4"     if BR2_GCC_VERSION_4_7_X
 	default "4.8.4"     if BR2_GCC_VERSION_4_8_X
 	default "4.9.2"     if BR2_GCC_VERSION_4_9_X
+	default "5.1.0"     if BR2_GCC_VERSION_5_1_X
 	default "arc-2014.12" if BR2_GCC_VERSION_4_8_ARC
 
 config BR2_EXTRA_GCC_CONFIG_OPTIONS
package/gcc/gcc.hash +2 -0
index 5eec97f..f7a6c94 100644
@@ -6,5 +6,7 @@ sha512  dfcb737073191e628231031a3571ec77ee760a59377630f4a6e4fdfa66f9ddad39fde47e
 sha512  b4c84ebd754c026029d706ef52c4242df4dcadc6a22cc5669b3aa37ac9dc25bc9cd9651fda83fb24dd5d17b1710e6865a35bb6c5cd9b95d0971717453935ae8e  gcc-4.8.4.tar.bz2
 # From ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.9.2/sha512.sum
 sha512  e96cba06d572dbe7f382a2b00fd9297dcf9f9219d46a9ad0bd904dc36d5e7db3335e422640b79a27fed6fde91b0731732b94a0e2fbcd47344d6779f8ba1f4f9c  gcc-4.9.2.tar.bz2
+# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-5.1.0/sha512.sum
+sha512  30f6a94d3adb25bc51fcaddf32a6c41429f569eeb9ed64330445b1296f99998fbfa03277b375be4f7b2b80f519910ef88e4149db7cd9031e2c61a49f501bde94  gcc-5.1.0.tar.bz2
 # No hash for the ARC variant, comes from the github-helper:
 none  xxx  gcc-arc-2014.12.tar.gz
Signature · 1 line
2.1.0
#10 lore raw

PATCH 3/6 gcc: add support for gcc 5.1

Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8 @public.gmane.org> wrote in news:1434292411-5003-4-git-send-email- thomas.petazzoni at free-electrons.com:

Quoted 1 line

* x86, uClibc-ng and uClibc 0.9.33.2

Hi,

using buildroot master

* 333002c - (origin/master, origin/HEAD) dnsmasq: bump to version 2.73 (70 minutes ago) <Gustavo Zacarias>

including

http://patchwork.ozlabs.org/patch/483999/
http://patchwork.ozlabs.org/patch/484002/
http://patchwork.ozlabs.org/patch/483998/
http://patchwork.ozlabs.org/patch/483997/

this defconfig

BR2_x86_i386=y
BR2_GCC_VERSION_5_1_X=y

fails to compile:

make[2]: Entering directory `/home/fli4l/br9_gcc5/output/build/host-gcc- final-5.1.0/build/i386-buildroot-linux-uclibc/libgcc'
# If this is the top-level multilib, build all the other

# multilibs.
/home/fli4l/br9_gcc5/output/build/host-gcc-final-5.1.0/build/./gcc/xgcc -
B/home/fli4l/br9_gcc5/output/build/host-gcc-final-5.1.0/build/./gcc/ -
B/home/fli4l/br9_gcc5/output/host/usr/i386-buildroot-linux-uclibc/bin/ -
B/home/fli4l/br9_gcc5/output/host/usr/i386-buildroot-linux-uclibc/lib/ -
isystem /home/fli4l/br9_gcc5/output/host/usr/i386-buildroot-linux-
uclibc/include -isystem /home/fli4l/br9_gcc5/output/host/usr/i386-
buildroot-linux-uclibc/sys-include    -g -O2 -g -Os -O2  -g -O2 -g -Os -
DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-
strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-
definition  -isystem ./include   -fpic -mlong-double-80 -g -DIN_LIBGCC2 -
fbuilding-libgcc -fno-stack-protector   -fpic -mlong-double-80 -I. -I. -
I../.././gcc -I../../../libgcc -I../../../libgcc/. -I../../../libgcc/../gcc 
-I../../../libgcc/../include    -DUSE_TLS -o generic-morestack-thread.o -MT 
generic-morestack-thread.o -MD -MP -MF generic-morestack-thread.dep  -c 
../../../libgcc/generic-morestack-thread.c -fvisibility=hidden -
DHIDE_EXPORTS
../../../libgcc/generic-morestack-thread.c:41:21: fatal error: pthread.h: 
No such file or directory
compilation terminated.
make[2]: *** [generic-morestack-thread.o] Error 1
make[2]: Leaving directory `/home/fli4l/br9_gcc5/output/build/host-gcc-
final-5.1.0/build/i386-buildroot-linux-uclibc/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/fli4l/br9_gcc5/output/build/host-gcc-
final-5.1.0/build'
make: *** [all] Error 2
make: Leaving directory `/home/fli4l/br9_gcc5/output/build/host-gcc-final-
5.1.0/build'

Regards, Bernd

#11 lore raw

PATCH 3/6 gcc: add support for gcc 5.1

Bernd Kuhls <[email protected]> wrote in news:XnsA4BFAF16D8B15berndkuhlsPkbjNfxxIA at bernd-kuhls.de:

Quoted 1 line

../../../libgcc/generic-morestack-thread.c:41:21: fatal error: pthread.h:

Hi,

the problem seems to be the uclibc-ng, choosing it and i386 as target limits the choice "Thread library implementation" to "None", changing back to uclibc provides also "linuxthreads" and "linuxthreads (stable/old)".

It is caused by
http://git.buildroot.net/buildroot/tree/package/uclibc/Config.in#n40 and the following lines which differ to those for BR2_UCLIBC_VERSION_0_9_33.

Is this the intended behaviour?

Regards, Bernd

#12 lore raw

PATCH 3/6 gcc: add support for gcc 5.1

Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

Bernd Kuhls <[email protected]> wrote in news:XnsA4BFAF16D8B15berndkuhlsPkbjNfxxIA at bernd-kuhls.de:

Quoted 1 line

../../../libgcc/generic-morestack-thread.c:41:21: fatal error: pthread.h:

Hi,

the problem seems to be the uclibc-ng, choosing it and i386 as target limits the choice "Thread library implementation" to "None", changing back to uclibc provides also "linuxthreads" and "linuxthreads (stable/old)".

Quoted 5 lines

It is caused by
http://git.buildroot.net/buildroot/tree/package/uclibc/Config.in#n40 and the following lines which differ to those for BR2_UCLIBC_VERSION_0_9_33.

Is this the intended behaviour?

I believe so as NTPL uses atomic instructions not available on i386. Perhaps we should simply deprecate the i386 variant, it is after all 26 years since the i486 was released and I doubt anybody still uses i386'es.

Signature · 1 line
Bye, Peter Korsgaard
#13 lore raw

PATCH 3/6 gcc: add support for gcc 5.1

In reply to Thomas Petazzoni
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

This commit adds support for gcc 5.1 in Buildroot. In terms of gcc patches, compared to gcc 4.9.x:

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#14 lore raw

PATCH 4/6 gcc: switch to gcc 4.9 as the default version

In reply to Thomas Petazzoni

Now that we have added gcc 5.1, it's time to make gcc 4.9 the default version used in Buildroot.

---
Should we deprecate/remove gcc 4.7 ? Maybe it's a bit early, I don't know.

---
 package/gcc/Config.in.host | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
package/gcc/Config.in.host +1 -2
index 578e24f..51f04f5 100644
@@ -9,8 +9,7 @@ config BR2_GCC_SUPPORTS_GRAPHITE
 choice
 	prompt "GCC compiler Version"
 	default BR2_GCC_VERSION_4_8_ARC if BR2_arc
-	default BR2_GCC_VERSION_4_9_X if BR2_microblaze || BR2_powerpc64le
-	default BR2_GCC_VERSION_4_8_X
+	default BR2_GCC_VERSION_4_9_X
 	help
 	  Select the version of gcc you wish to use.
 
Signature · 1 line
2.1.0
#15 lore raw

PATCH 4/6 gcc: switch to gcc 4.9 as the default version

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Now that we have added gcc 5.1, it's time to make gcc 4.9 the default version used in Buildroot.

Committed, thanks.

Quoted 2 lines

Should we deprecate/remove gcc 4.7 ? Maybe it's a bit early, I don't know.

I think it's a bit too early, I'm still stuck on 4.7.x for a project at work atleast.

Signature · 1 line
Bye, Peter Korsgaard
#16 lore raw

PATCH 5/6 gdb: bump 7.9 series to 7.9.1

In reply to Thomas Petazzoni

Note that both gdb 7.9 and 7.9.1 fail to build in a chroot without texinfo, due to the infamous makeinfo issue. This should be fixed separately.

---
 package/gdb/{7.9 => 7.9.1}/0001-gdbserver-fix-uClibc-whithout-MMU.patch | 0
 .../{7.9 => 7.9.1}/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch | 0
 .../0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch            | 0
 package/gdb/Config.in.host                                              | 2 +-
 package/gdb/gdb.hash                                                    | 2 +-
 5 files changed, 2 insertions(+), 2 deletions(-)
 rename package/gdb/{7.9 => 7.9.1}/0001-gdbserver-fix-uClibc-whithout-MMU.patch (100%)
 rename package/gdb/{7.9 => 7.9.1}/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch (100%)
 rename package/gdb/{7.9 => 7.9.1}/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch (100%)
package/gdb/7.9.1/0001-gdbserver-fix-uClibc-whithout-MMU.patch renamed from package/gdb/7.9/0001-gdbserver-fix-uClibc-whithout-MMU.patch +0 -0
similarity index 100%
rename from package/gdb/7.9/0001-gdbserver-fix-uClibc-whithout-MMU.patch
rename to package/gdb/7.9.1/0001-gdbserver-fix-uClibc-whithout-MMU.patch
package/gdb/7.9.1/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch renamed from package/gdb/7.9/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch +0 -0
similarity index 100%
rename from package/gdb/7.9/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch
rename to package/gdb/7.9.1/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch
package/gdb/7.9.1/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch renamed from package/gdb/7.9/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch +0 -0
similarity index 100%
rename from package/gdb/7.9/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch
rename to package/gdb/7.9.1/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch
package/gdb/Config.in.host +1 -1
index 6b0ca9b..b0046b5 100644
@@ -53,4 +53,4 @@ config BR2_GDB_VERSION
 	default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
 	default "7.7.1"    if BR2_GDB_VERSION_7_7
 	default "7.8.2"	   if BR2_GDB_VERSION_7_8 || !BR2_PACKAGE_HOST_GDB
-	default "7.9"      if BR2_GDB_VERSION_7_9
+	default "7.9.1"      if BR2_GDB_VERSION_7_9
package/gdb/gdb.hash +1 -1
index f489f64..0130935 100644
@@ -1,7 +1,7 @@
 # From ftp://gcc.gnu.org/pub/gdb/releases/sha512.sum
 sha512	887b9b726dae8f6e3e5e41574460a67e4f9002b0d47bc985dcf63bdf3518397a90b6a208cb5b19e5ed2341715ad75cfeed4df4fb423f39f74218e36bc87f1cab	gdb-7.7.1.tar.bz2
 sha512	face5bf1b4ce144fc8604fc84620beed956177a11fd632b4e41906fc7f632910b2b43a50e6cfdfd6cbd876ee527c813bddab8df29dc560a6c36694cdb8edc4e4	gdb-7.8.2.tar.xz
-sha512	850202a477b486a75dc8196efead79c95bc675e348064a5eefee2a50215d40f62e9e052e9b8df29f997f91430f6e7454883652c701f5b1e688d9e2c575876c83	gdb-7.9.tar.xz
+sha512	eebdf88b24e52e792b8a4b89ea85790de72b462a7810b44975fdf4232c068f353b15506071f450102a9d4bcecdde8e93dc3748a10699b7f73f3e04fb2d9d8414	gdb-7.9.1.tar.xz
 # No hash for the ARC & microblaze variants, comes from the github-helper:
 none	xxx	gdb-arc-2014.12-gdb.tar.gz
 none	xxx	gdb-6be65fb56ea6694a9260733a536a023a1e2d4d57.tar.gz
Signature · 1 line
2.1.0
#17 lore raw

PATCH 5/6 gdb: bump 7.9 series to 7.9.1

Quoted 35 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Note that both gdb 7.9 and 7.9.1 fail to build in a chroot without texinfo, due to the infamous makeinfo issue. This should be fixed separately.

---
 package/gdb/{7.9 => 7.9.1}/0001-gdbserver-fix-uClibc-whithout-MMU.patch | 0
 .../{7.9 => 7.9.1}/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch | 0
 .../0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch            | 0
 package/gdb/Config.in.host                                              | 2 +-
 package/gdb/gdb.hash                                                    | 2 +-
 5 files changed, 2 insertions(+), 2 deletions(-)
 rename package/gdb/{7.9 => 7.9.1}/0001-gdbserver-fix-uClibc-whithout-MMU.patch (100%)
 rename package/gdb/{7.9 => 7.9.1}/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch (100%)
 rename package/gdb/{7.9 => 7.9.1}/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch (100%)
package/gdb/7.9.1/0001-gdbserver-fix-uClibc-whithout-MMU.patch renamed from package/gdb/7.9/0001-gdbserver-fix-uClibc-whithout-MMU.patch +0 -0
similarity index 100%
rename from package/gdb/7.9/0001-gdbserver-fix-uClibc-whithout-MMU.patch
rename to package/gdb/7.9.1/0001-gdbserver-fix-uClibc-whithout-MMU.patch
package/gdb/7.9.1/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch renamed from package/gdb/7.9/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch +0 -0
similarity index 100%
rename from package/gdb/7.9/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch
rename to package/gdb/7.9.1/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch
package/gdb/7.9.1/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch renamed from package/gdb/7.9/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch +0 -0
similarity index 100%
rename from package/gdb/7.9/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch
rename to package/gdb/7.9.1/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch
package/gdb/Config.in.host +0 -0
index 6b0ca9b..b0046b5 100644

package/gdb/Config.in.host config BR2_GDB_VERSION · line 56

Quoted 5 lines
package/gdb/Config.in.host +1 -1
@@ -53,4 +53,4 @@ config BR2_GDB_VERSION
 	default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
 	default "7.7.1"    if BR2_GDB_VERSION_7_7
 	default "7.8.2"	   if BR2_GDB_VERSION_7_8 || !BR2_PACKAGE_HOST_GDB
-	default "7.9"      if BR2_GDB_VERSION_7_9
+	default "7.9.1"      if BR2_GDB_VERSION_7_9

Committed with the white space trimmed so this aligns up with the other lines.

Signature · 1 line
Bye, Peter Korsgaard
#18 lore raw

PATCH 6/6 toolchain-buildroot: mark eglibc as deprecated

In reply to Thomas Petazzoni

eglibc is a dead project and has not been making any release since a while, now that glibc is back and kicking. So let's deprecated our eglibc support.

---
 toolchain/toolchain-buildroot/Config.in | 1 +
 1 file changed, 1 insertion(+)
toolchain/toolchain-buildroot/Config.in +1 -0
index d9914b0..77a197e 100644
@@ -49,6 +49,7 @@ config BR2_TOOLCHAIN_BUILDROOT_EGLIBC
 		   BR2_x86_64 || BR2_microblaze || BR2_powerpc64
 	depends on BR2_USE_MMU
 	depends on !BR2_STATIC_LIBS
+	depends on BR2_DEPRECATED_SINCE_2015_08
 	select BR2_TOOLCHAIN_USES_GLIBC
 	# our eglibc.mk enables RPC support
 	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Signature · 1 line
2.1.0
#19 lore raw

PATCH 6/6 toolchain-buildroot: mark eglibc as deprecated

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

eglibc is a dead project and has not been making any release since a while, now that glibc is back and kicking. So let's deprecated our eglibc support.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard