Skip to contentSkip to conversation

Various toolchain related fixes/updates

PATCH New Thomas Petazzoni 3 participants 22 messages May 16, 2016 – May 18, 2016

lore
Share & tools
lore
#0 lore raw

cover Various toolchain related fixes/updates

Hello,

This patch series contain various fixes/updates to the toolchain support.

- The first two patches might be considered for 2016.05, as they fix real problems: building gcc 6.x on Microblaze, and making sure people don't select glibc 2.22 (which is our default version) with gcc 6.x, as it doesn't build.

- The next four patches take care of gdb, adding support for 7.11, moving to 7.10 as the default, and removing 7.8.

- eglibc support is removed.

- binutils 2.23 support is removed. This patch has already been submitted in the past, I included it in this series as it is related to the other changes.

- musl support is no longer considered experimental.

Thanks!

Thomas

Thomas Petazzoni (9):
gcc: fix build of gcc 6.x on Microblaze
glibc: disable build of glibc 2.22 with gcc 6.x
gdb: add support for gdb 7.11
gdb: switch to 7.10 as the default version
gdb: remove version 7.8
gdb: specify hashes for the ARC and Microblaze versions
toolchain: remove eglibc support
binutils: remove support for version 2.23
toolchain: musl support is no longer experimental

 Config.in.legacy                                   |  31 +-
 package/binutils/2.23.2/120-sh-conf.patch          |  29 -
 .../2.23.2/300-001_ld_makefile_patch.patch         |  24 -
 .../2.23.2/300-012_check_ldrunpath_length.patch    |  21 -
 package/binutils/2.23.2/500-sysroot.patch          |  37 -
 .../2.23.2/600-poison-system-directories.patch     | 279 -------
 .../binutils/2.23.2/900-xtensa-trampolines.patch   | 846 ---------------------
 .../901-xtensa-gas-first-frag-alignment.patch      |  51 --
 .../902-xtensa-gas-ld-diff-relocation-signed.patch | 133 ----
 ...ix-ld-segfault-when-linking-linux-modules.patch |  47 --
 ...-target-out-of-range-xtensa-ld-relaxation.patch |  79 --
 ...ines-search-code-for-conditional-branches.patch |  90 ---
 ...localized-symbol-refcounting-with-gc-sect.patch |  57 --
 ...x-gas-segfault-with-text-section-literals.patch |  56 --
 ...-xtensa-fix-signedness-of-gas-relocations.patch |  47 --
 ...15-xtensa-fix-.init-.fini-literals-moving.patch |  70 --
 package/binutils/Config.in.host                    |  10 -
 package/binutils/binutils.hash                     |   1 -
 .../840-microblaze-enable-dwarf-eh-support.patch   | 166 ----
 package/gcc/Config.in.host                         |   2 +-
 .../0001-gdbserver-fix-uClibc-whithout-MMU.patch   |  34 -
 ...gdbserver-xtensa-drop-xtensa_usrregs_info.patch |  47 --
 ...erver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch |  46 --
 .../0004-Add-some-casts-for-building-on-musl.patch |  70 --
 ...musl-Move-W_STOPCODE-to-common-gdb_wait-h.patch |  63 --
 package/gdb/7.8.2/0006-move-__SIGRTMIN.patch       |  58 --
 package/gdb/Config.in.host                         |  14 +-
 package/gdb/gdb.hash                               |   9 +-
 .../2.18-svnr23787/0001-CVE-2014-7817-eglibc.patch | 174 -----
 .../glibc/2.18-svnr23787/0002-accept-make4.patch   |  33 -
 .../glibc/2.18-svnr23787/0003-CVE-2014-6040.patch  | 141 ----
 .../glibc/2.18-svnr23787/0004-CVE-2014-9402.patch  |  20 -
 .../glibc/2.18-svnr23787/0005-CVE-2015-1472.patch  |  88 ---
 .../2.19-svnr25243/0001-CVE-2014-7817-eglibc.patch | 174 -----
 .../glibc/2.19-svnr25243/0002-CVE-2014-6040.patch  | 141 ----
 .../glibc/2.19-svnr25243/0003-CVE-2014-9402.patch  |  20 -
 .../glibc/2.19-svnr25243/0004-CVE-2015-1472.patch  |  88 ---
 package/glibc/Config.in                            |  29 +-
 package/glibc/glibc.mk                             |   7 -
 toolchain/toolchain-buildroot/Config.in            |  25 +-
 toolchain/toolchain-external/Config.in             |   4 +-
 41 files changed, 45 insertions(+), 3316 deletions(-)
 delete mode 100644 package/binutils/2.23.2/120-sh-conf.patch
 delete mode 100644 package/binutils/2.23.2/300-001_ld_makefile_patch.patch
 delete mode 100644 package/binutils/2.23.2/300-012_check_ldrunpath_length.patch
 delete mode 100644 package/binutils/2.23.2/500-sysroot.patch
 delete mode 100644 package/binutils/2.23.2/600-poison-system-directories.patch
 delete mode 100644 package/binutils/2.23.2/900-xtensa-trampolines.patch
 delete mode 100644 package/binutils/2.23.2/901-xtensa-gas-first-frag-alignment.patch
 delete mode 100644 package/binutils/2.23.2/902-xtensa-gas-ld-diff-relocation-signed.patch
 delete mode 100644 package/binutils/2.23.2/903-xtensa-fix-ld-segfault-when-linking-linux-modules.patch
 delete mode 100644 package/binutils/2.23.2/904-Fix-call8-call-target-out-of-range-xtensa-ld-relaxation.patch
 delete mode 100644 package/binutils/2.23.2/905-Fix-trampolines-search-code-for-conditional-branches.patch
 delete mode 100644 package/binutils/2.23.2/911-xtensa-fix-localized-symbol-refcounting-with-gc-sect.patch
 delete mode 100644 package/binutils/2.23.2/912-xtensa-fix-gas-segfault-with-text-section-literals.patch
 delete mode 100644 package/binutils/2.23.2/914-xtensa-fix-signedness-of-gas-relocations.patch
 delete mode 100644 package/binutils/2.23.2/915-xtensa-fix-.init-.fini-literals-moving.patch
 delete mode 100644 package/gcc/6.1.0/840-microblaze-enable-dwarf-eh-support.patch
 delete mode 100644 package/gdb/7.8.2/0001-gdbserver-fix-uClibc-whithout-MMU.patch
 delete mode 100644 package/gdb/7.8.2/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch
 delete mode 100644 package/gdb/7.8.2/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch
 delete mode 100644 package/gdb/7.8.2/0004-Add-some-casts-for-building-on-musl.patch
 delete mode 100644 package/gdb/7.8.2/0005-musl-Move-W_STOPCODE-to-common-gdb_wait-h.patch
 delete mode 100644 package/gdb/7.8.2/0006-move-__SIGRTMIN.patch
 delete mode 100644 package/glibc/2.18-svnr23787/0001-CVE-2014-7817-eglibc.patch
 delete mode 100644 package/glibc/2.18-svnr23787/0002-accept-make4.patch
 delete mode 100644 package/glibc/2.18-svnr23787/0003-CVE-2014-6040.patch
 delete mode 100644 package/glibc/2.18-svnr23787/0004-CVE-2014-9402.patch
 delete mode 100644 package/glibc/2.18-svnr23787/0005-CVE-2015-1472.patch
 delete mode 100644 package/glibc/2.19-svnr25243/0001-CVE-2014-7817-eglibc.patch
 delete mode 100644 package/glibc/2.19-svnr25243/0002-CVE-2014-6040.patch
 delete mode 100644 package/glibc/2.19-svnr25243/0003-CVE-2014-9402.patch
 delete mode 100644 package/glibc/2.19-svnr25243/0004-CVE-2015-1472.patch
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/9 gcc: fix build of gcc 6.x on Microblaze

Due to patch 840-microblaze-enable-dwarf-eh-support.patch, gcc 6.x does not build:

../../gcc/config/microblaze/microblaze.c: In function 'void microblaze_expand_epilogue()':
../../gcc/config/microblaze/microblaze.c:3046: error: 'gen_rtx_raw_REG' was not declared in this scope

This patch was originally added to gcc 4.9 to make it capable of building glibc. However, this is no longer needed with gcc 6.x, which builds glibc just fine.

---
 .../840-microblaze-enable-dwarf-eh-support.patch   | 166 ---------------------
 1 file changed, 166 deletions(-)
 delete mode 100644 package/gcc/6.1.0/840-microblaze-enable-dwarf-eh-support.patch
package/gcc/6.1.0/840-microblaze-enable-dwarf-eh-support.patch deleted +0 -166
deleted file mode 100644
index 81bf60a..0000000
@@ -1,166 +0,0 @@
-Fetched from Xilinx gcc git at https://github.com/Xilinx/gcc
-
-From 23c35173490ac2d6348a668dfc9c1a6eb62171f2 Mon Sep 17 00:00:00 2001
-From: "Edgar E. Iglesias" <[email protected]>
-Date: Mon, 18 Jun 2012 20:18:13 +0200
-Subject: [PATCH] [Patch, microblaze]: Enable DWARF exception handling support.
-
-Changelog
-
-2013-03-18  Edgar E. Iglesias <[email protected]>
-            David Holsgrove <[email protected]>
-
- * common/config/microblaze/microblaze-common.c: Remove
-   TARGET_EXCEPT_UNWIND_INFO definition.
- * config/microblaze/microblaze-protos.h: Add
-   microblaze_eh_return prototype.
- * gcc/config/microblaze/microblaze.c: (microblaze_must_save_register,
-   microblaze_expand_epilogue, microblaze_return_addr): Handle
-   calls_eh_return
-   (microblaze_eh_return): New function.
- * gcc/config/microblaze/microblaze.h: Define RETURN_ADDR_OFFSET,
-   EH_RETURN_DATA_REGNO, MB_EH_STACKADJ_REGNUM, EH_RETURN_STACKADJ_RTX,
-   ASM_PREFERRED_EH_DATA_FORMAT
- * gcc/config/microblaze/microblaze.md: Define eh_return pattern.
-
-Signed-off-by: David Holsgrove <[email protected]>
-Signed-off-by: Edgar E. Iglesias <[email protected]>
----
- gcc/common/config/microblaze/microblaze-common.c |  3 ---
- gcc/config/microblaze/microblaze-protos.h        |  1 +
- gcc/config/microblaze/microblaze.c               | 29 ++++++++++++++++++++----
- gcc/config/microblaze/microblaze.h               | 15 ++++++++++++
- gcc/config/microblaze/microblaze.md              | 11 +++++++++
- 5 files changed, 52 insertions(+), 7 deletions(-)
-
-Index: b/gcc/common/config/microblaze/microblaze-common.c
-===================================================================
---- a/gcc/common/config/microblaze/microblaze-common.c
-+++ b/gcc/common/config/microblaze/microblaze-common.c
-@@ -37,7 +37,4 @@
- #undef  TARGET_OPTION_OPTIMIZATION_TABLE
- #define TARGET_OPTION_OPTIMIZATION_TABLE microblaze_option_optimization_table
- 
--#undef TARGET_EXCEPT_UNWIND_INFO
--#define TARGET_EXCEPT_UNWIND_INFO  sjlj_except_unwind_info
--
- struct gcc_targetm_common targetm_common = TARGETM_COMMON_INITIALIZER;
-Index: b/gcc/config/microblaze/microblaze-protos.h
-===================================================================
---- a/gcc/config/microblaze/microblaze-protos.h
-+++ b/gcc/config/microblaze/microblaze-protos.h
-@@ -57,6 +57,7 @@
- extern int symbol_mentioned_p (rtx);
- extern int label_mentioned_p (rtx);
- extern bool microblaze_cannot_force_const_mem (machine_mode, rtx);
-+extern void microblaze_eh_return (rtx op0);
- #endif  /* RTX_CODE */
- 
- /* Declare functions in microblaze-c.c.  */
-Index: b/gcc/config/microblaze/microblaze.c
-===================================================================
---- a/gcc/config/microblaze/microblaze.c
-+++ b/gcc/config/microblaze/microblaze.c
-@@ -1924,6 +1924,11 @@
-   if (frame_pointer_needed && (regno == HARD_FRAME_POINTER_REGNUM))
-     return 1;
- 
-+  if (crtl->calls_eh_return
-+      && regno == MB_ABI_SUB_RETURN_ADDR_REGNUM) {
-+    return 1;
-+  }
-+
-   if (!crtl->is_leaf)
-     {
-       if (regno == MB_ABI_SUB_RETURN_ADDR_REGNUM)
-@@ -1951,6 +1956,13 @@
- 	return 1;
-     }
- 
-+  if (crtl->calls_eh_return
-+      && (regno == EH_RETURN_DATA_REGNO (0)
-+          || regno == EH_RETURN_DATA_REGNO (1)))
-+    {
-+      return 1;
-+    }
-+
-   return 0;
- }
- 
-@@ -3027,6 +3039,12 @@
-       emit_insn (gen_addsi3 (stack_pointer_rtx, stack_pointer_rtx, fsiz_rtx));
-     }
- 
-+  if (crtl->calls_eh_return)
-+    emit_insn (gen_addsi3 (stack_pointer_rtx,
-+                           stack_pointer_rtx,
-+                           gen_rtx_raw_REG (SImode,
-+                                            MB_EH_STACKADJ_REGNUM)));
-+
-   emit_jump_insn (gen_return_internal (gen_rtx_REG (Pmode, GP_REG_FIRST +
- 						    MB_ABI_SUB_RETURN_ADDR_REGNUM)));
- }
-@@ -3324,10 +3342,13 @@
-   if (count != 0)
-     return NULL_RTX;
- 
--  return gen_rtx_PLUS (Pmode,
--		       get_hard_reg_initial_val (Pmode,
--						 MB_ABI_SUB_RETURN_ADDR_REGNUM),
--		       GEN_INT (8));
-+  return get_hard_reg_initial_val (Pmode,
-+                                   MB_ABI_SUB_RETURN_ADDR_REGNUM);
-+}
-+
-+void microblaze_eh_return (rtx op0)
-+{
-+  emit_insn (gen_movsi(gen_rtx_MEM(Pmode, stack_pointer_rtx), op0));
- }
- 
- /* Queue an .ident string in the queue of top-level asm statements.
-Index: b/gcc/config/microblaze/microblaze.h
-===================================================================
---- a/gcc/config/microblaze/microblaze.h
-+++ b/gcc/config/microblaze/microblaze.h
-@@ -184,6 +184,21 @@
- #define INCOMING_RETURN_ADDR_RTX  			\
-   gen_rtx_REG (VOIDmode, GP_REG_FIRST + MB_ABI_SUB_RETURN_ADDR_REGNUM)
- 
-+/* Specifies the offset from INCOMING_RETURN_ADDR_RTX and the actual return PC.  */
-+#define RETURN_ADDR_OFFSET (8)
-+
-+/* Describe how we implement __builtin_eh_return.  */
-+#define EH_RETURN_DATA_REGNO(N) (((N) < 2) ? MB_ABI_FIRST_ARG_REGNUM + (N) : INVALID_REGNUM)
-+
-+#define MB_EH_STACKADJ_REGNUM  MB_ABI_INT_RETURN_VAL2_REGNUM
-+#define EH_RETURN_STACKADJ_RTX  gen_rtx_REG (Pmode, MB_EH_STACKADJ_REGNUM)
-+
-+/* Select a format to encode pointers in exception handling data.  CODE
-+   is 0 for data, 1 for code labels, 2 for function pointers.  GLOBAL is
-+   true if the symbol may be affected by dynamic relocations.  */
-+#define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL) \
-+  ((flag_pic || GLOBAL) ? DW_EH_PE_aligned : DW_EH_PE_absptr)
-+
- /* Use DWARF 2 debugging information by default.  */
- #define DWARF2_DEBUGGING_INFO
- #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-Index: b/gcc/config/microblaze/microblaze.md
-===================================================================
---- a/gcc/config/microblaze/microblaze.md
-+++ b/gcc/config/microblaze/microblaze.md
-@@ -2324,4 +2324,15 @@
-   (set_attr "mode"      "SI")
-   (set_attr "length"    "4")])
- 
-+; This is used in compiling the unwind routines.
-+(define_expand "eh_return"
-+  [(use (match_operand 0 "general_operand" ""))]
-+  ""
-+  "
-+{
-+  microblaze_eh_return(operands[0]);
-+  DONE;
-+}")
-+
- (include "sync.md")
-+
Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/9 gcc: fix build of gcc 6.x on Microblaze

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Due to patch 840-microblaze-enable-dwarf-eh-support.patch, gcc 6.x does not build:

Quoted 8 lines

../../gcc/config/microblaze/microblaze.c: In function 'void microblaze_expand_epilogue()':
../../gcc/config/microblaze/microblaze.c:3046: error: 'gen_rtx_raw_REG' was not declared in this scope

This patch was originally added to gcc 4.9 to make it capable of building glibc. However, this is no longer needed with gcc 6.x, which builds glibc just fine.

Committed, thanks.

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

PATCH 2/9 glibc: disable build of glibc 2.22 with gcc 6.x

In reply to Thomas Petazzoni

glibc-2.22 does not build with gcc 6.x. The first issues can be fixed by:

- Using the same 0004-gcc6.patch as we're using with glibc 2.23 since Buildroot commit ab8de336eb39ae1cb019a72be65bd0504c86e527.

- Backport glibc commit 5542236837c5c41435f8282ec92799f480c36f18 to fix strchr() build failure.

But then, there are some more failures caused by the fact that numerous glibc files were not using modern prototypes in the function definitions, causing build failures such as:

../sysdeps/unix/sysv/linux/dl-openat64.c:26:1: error: 'openat64' defined as variadic function without prototype [-Werror]
openat64 (dfd, file, oflag)
^~~~~~~~
In file included from ../include/fcntl.h:2:0,

                 from ../sysdeps/unix/sysv/linux/dl-openat64.c:21:
../io/fcntl.h:214:12: note: previous declaration of 'openat64' was here
 extern int openat64 (int __fd, const char *__file, int __oflag, ...)
            ^~~~~~~~

This could be fixed by backporting glibc commit 9dd346ff431fc761f1b748bd4da8bb59f7652094, but this is a large commit, touching a significant number of files. We probably don't want to take this path, and instead making glibc 2.22 as not available with gcc 6.x seems like the right course of action.

---
 package/glibc/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/glibc/Config.in +2 -0
index 0565162..5b82170 100644
@@ -38,6 +38,8 @@ config BR2_GLIBC_VERSION_2_22
 	bool "2.22"
 	# No support for pthread barriers on < v9 ISA
 	depends on !BR2_sparc
+	# Too old to build with gcc >= 6.x
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6
 
 config BR2_GLIBC_VERSION_2_23
 	bool "2.23"
Signature · 1 line
2.7.4
#4 lore raw

PATCH 2/9 glibc: disable build of glibc 2.22 with gcc 6.x

Quoted 24 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

glibc-2.22 does not build with gcc 6.x. The first issues can be fixed by:

- Using the same 0004-gcc6.patch as we're using with glibc 2.23 since Buildroot commit ab8de336eb39ae1cb019a72be65bd0504c86e527.

- Backport glibc commit 5542236837c5c41435f8282ec92799f480c36f18 to fix strchr() build failure.

But then, there are some more failures caused by the fact that numerous glibc files were not using modern prototypes in the function definitions, causing build failures such as:

../sysdeps/unix/sysv/linux/dl-openat64.c:26:1: error: 'openat64' defined as variadic function without prototype [-Werror]
openat64 (dfd, file, oflag)
^~~~~~~~
In file included from ../include/fcntl.h:2:0,

                 from ../sysdeps/unix/sysv/linux/dl-openat64.c:21:
../io/fcntl.h:214:12: note: previous declaration of 'openat64' was here
 extern int openat64 (int __fd, const char *__file, int __oflag, ...)
            ^~~~~~~~
Quoted 7 lines

This could be fixed by backporting glibc commit 9dd346ff431fc761f1b748bd4da8bb59f7652094, but this is a large commit, touching a significant number of files. We probably don't want to take this path, and instead making glibc 2.22 as not available with gcc 6.x seems like the right course of action.

Committed, thanks.

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

PATCH 3/9 gdb: add support for gdb 7.11

In reply to Thomas Petazzoni

gdb 7.11 was released on February 2016, it's time to include it in Buildroot, which this commit does.

---
 package/gdb/Config.in.host | 4 ++++
 package/gdb/gdb.hash       | 2 ++
 2 files changed, 6 insertions(+)
package/gdb/Config.in.host +4 -0
index cc1dc40..35eb418 100644
@@ -40,6 +40,9 @@ choice
 	config BR2_GDB_VERSION_7_10
 		bool "gdb 7.10.x"
 
+	config BR2_GDB_VERSION_7_11
+		bool "gdb 7.11.x"
+
 endchoice
 
 endif
@@ -53,3 +56,4 @@ config BR2_GDB_VERSION
 	default "7.8.2"	   if BR2_GDB_VERSION_7_8
 	default "7.9.1"    if BR2_GDB_VERSION_7_9 || !BR2_PACKAGE_HOST_GDB
 	default "7.10.1"   if BR2_GDB_VERSION_7_10
+	default "7.11"	   if BR2_GDB_VERSION_7_11
package/gdb/gdb.hash +2 -0
index ee0ec73..87ce09c 100644
@@ -2,6 +2,8 @@
 sha512	face5bf1b4ce144fc8604fc84620beed956177a11fd632b4e41906fc7f632910b2b43a50e6cfdfd6cbd876ee527c813bddab8df29dc560a6c36694cdb8edc4e4	gdb-7.8.2.tar.xz
 sha512	eebdf88b24e52e792b8a4b89ea85790de72b462a7810b44975fdf4232c068f353b15506071f450102a9d4bcecdde8e93dc3748a10699b7f73f3e04fb2d9d8414	gdb-7.9.1.tar.xz
 sha512	17a5138277a31685a5c2a841cb47ed9bc4626ea617b8ca77750513b300299f4fbbffe504958b5372de610dcb952c679cf8fa9c1bdadd380294fbf59b6e366010	gdb-7.10.1.tar.xz
+sha512  eadd2a59a1e48b1484eb2bea85256d6b1912926bc8b690793d02babf2639608bd22a0f2de77d4f60092da3b1dafeaa6d75a7cff3e84bd4e22fc46364b68e5e9f	gdb-7.11.tar.xz
+
 # No hash for the ARC & microblaze variants, comes from the github-helper:
 none	xxx	gdb-arc-2016.03-rc2-gdb.tar.gz
 none	xxx	gdb-6be65fb56ea6694a9260733a536a023a1e2d4d57.tar.gz
Signature · 1 line
2.7.4
#6 lore raw

PATCH 3/9 gdb: add support for gdb 7.11

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

gdb 7.11 was released on February 2016, it's time to include it in Buildroot, which this commit does.

Committed to next, thanks.

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

PATCH 4/9 gdb: switch to 7.10 as the default version

In reply to Thomas Petazzoni

7.11 is around, 7.10 has already seen a point release, so it's time to make 7.10 the default version for gdb.

---
 package/gdb/Config.in.host | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/gdb/Config.in.host +3 -3
index 35eb418..46e00f6 100644
@@ -27,7 +27,7 @@ choice
 	prompt "GDB debugger Version"
 	depends on !BR2_arc
 	depends on !BR2_microblaze
-	default BR2_GDB_VERSION_7_9
+	default BR2_GDB_VERSION_7_10
 	help
 	  Select the version of gdb you wish to use.
 
@@ -54,6 +54,6 @@ config BR2_GDB_VERSION
 	default "arc-2016.03-rc2-gdb" if BR2_arc
 	default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
 	default "7.8.2"	   if BR2_GDB_VERSION_7_8
-	default "7.9.1"    if BR2_GDB_VERSION_7_9 || !BR2_PACKAGE_HOST_GDB
-	default "7.10.1"   if BR2_GDB_VERSION_7_10
+	default "7.9.1"    if BR2_GDB_VERSION_7_9
+	default "7.10.1"   if BR2_GDB_VERSION_7_10 || !BR2_PACKAGE_HOST_GDB
 	default "7.11"	   if BR2_GDB_VERSION_7_11
Signature · 1 line
2.7.4
#8 lore raw

PATCH 4/9 gdb: switch to 7.10 as the default version

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

7.11 is around, 7.10 has already seen a point release, so it's time to make 7.10 the default version for gdb.

Committed to next, thanks.

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

PATCH 5/9 gdb: remove version 7.8

In reply to Thomas Petazzoni

Now that 7.11 has been added and 7.10 is the default version, let's remove the old 7.8 release.

---
 Config.in.legacy                                   | 10 ++++
 .../0001-gdbserver-fix-uClibc-whithout-MMU.patch   | 34 -----------
 ...gdbserver-xtensa-drop-xtensa_usrregs_info.patch | 47 ---------------
 ...erver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch | 46 --------------
 .../0004-Add-some-casts-for-building-on-musl.patch | 70 ----------------------
 ...musl-Move-W_STOPCODE-to-common-gdb_wait-h.patch | 63 -------------------
 package/gdb/7.8.2/0006-move-__SIGRTMIN.patch       | 58 ------------------
 package/gdb/Config.in.host                         |  4 --
 package/gdb/gdb.hash                               |  1 -
 9 files changed, 10 insertions(+), 323 deletions(-)
 delete mode 100644 package/gdb/7.8.2/0001-gdbserver-fix-uClibc-whithout-MMU.patch
 delete mode 100644 package/gdb/7.8.2/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch
 delete mode 100644 package/gdb/7.8.2/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch
 delete mode 100644 package/gdb/7.8.2/0004-Add-some-casts-for-building-on-musl.patch
 delete mode 100644 package/gdb/7.8.2/0005-musl-Move-W_STOPCODE-to-common-gdb_wait-h.patch
 delete mode 100644 package/gdb/7.8.2/0006-move-__SIGRTMIN.patch
Config.in.legacy +10 -0
index 824a220..ff11d75 100644
@@ -143,6 +143,16 @@ comment "----------------------------------------------------"
 endif
 
 ###############################################################################
+comment "Legacy options removed in 2016.08"
+
+config BR2_GDB_VERSION_7_8
+	bool "gdb 7.8 has been removed"
+	select BR2_LEGACY
+	help
+	  The 7.8 version of gdb has been removed. Use a newer version
+	  instead.
+
+###############################################################################
 comment "Legacy options removed in 2016.05"
 
 config BR2_PACKAGE_NGINX_HTTP_SPDY_MODULE
package/gdb/7.8.2/0001-gdbserver-fix-uClibc-whithout-MMU.patch deleted +0 -34
deleted file mode 100644
index 42168df..0000000
@@ -1,34 +0,0 @@
-From 59432cbfe267ad89b7cfc73dcd702b8282ef4e9d Mon Sep 17 00:00:00 2001
-From: Romain Naour <[email protected]>
-Date: Fri, 10 Apr 2015 22:58:07 +0200
-Subject: [PATCH] gdbserver: fix uClibc whithout MMU.
-
-Since commit d86d4aafd4fa22fa4cccb83253fb187b03f97f48, the pid
-must be retrieved from current_inferior.
-
-The change has not been made in the function linux_read_offsets().
-
-Fixes:
-http://autobuild.buildroot.net/results/9e4/9e4df085319e346803c26c65478accb27eb950ae/build-end.log
-
-Signed-off-by: Romain Naour <[email protected]>
----
- gdb/gdbserver/linux-low.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
-index 1a40897..71d078a 100644
---- a/gdb/gdbserver/linux-low.c
-+++ b/gdb/gdbserver/linux-low.c
-@@ -4933,7 +4933,7 @@ static int
- linux_read_offsets (CORE_ADDR *text_p, CORE_ADDR *data_p)
- {
-   unsigned long text, text_end, data;
--  int pid = lwpid_of (get_thread_lwp (current_inferior));
-+  int pid = lwpid_of (current_inferior);
- 
-   errno = 0;
- 
--- 
-1.9.3
-
package/gdb/7.8.2/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch deleted +0 -47

47 lines not on this page · raw message

package/gdb/7.8.2/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch deleted +0 -46

46 lines not on this page · raw message

package/gdb/7.8.2/0004-Add-some-casts-for-building-on-musl.patch deleted +0 -70

70 lines not on this page · raw message

package/gdb/7.8.2/0005-musl-Move-W_STOPCODE-to-common-gdb_wait-h.patch deleted +0 -63

63 lines not on this page · raw message

package/gdb/7.8.2/0006-move-__SIGRTMIN.patch deleted +0 -58

58 lines not on this page · raw message

package/gdb/Config.in.host +0 -4
index 46e00f6..d006fb7 100644
@@ -31,9 +31,6 @@ choice
 	help
 	  Select the version of gdb you wish to use.
 
-	config BR2_GDB_VERSION_7_8
-		bool "gdb 7.8.x"
-
 	config BR2_GDB_VERSION_7_9
 		bool "gdb 7.9.x"
 
@@ -53,7 +50,6 @@ config BR2_GDB_VERSION
 	depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
 	default "arc-2016.03-rc2-gdb" if BR2_arc
 	default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
-	default "7.8.2"	   if BR2_GDB_VERSION_7_8
 	default "7.9.1"    if BR2_GDB_VERSION_7_9
 	default "7.10.1"   if BR2_GDB_VERSION_7_10 || !BR2_PACKAGE_HOST_GDB
 	default "7.11"	   if BR2_GDB_VERSION_7_11
package/gdb/gdb.hash +0 -1
index 87ce09c..0fec3d0 100644
@@ -1,5 +1,4 @@
 # From ftp://gcc.gnu.org/pub/gdb/releases/sha512.sum
-sha512	face5bf1b4ce144fc8604fc84620beed956177a11fd632b4e41906fc7f632910b2b43a50e6cfdfd6cbd876ee527c813bddab8df29dc560a6c36694cdb8edc4e4	gdb-7.8.2.tar.xz
 sha512	eebdf88b24e52e792b8a4b89ea85790de72b462a7810b44975fdf4232c068f353b15506071f450102a9d4bcecdde8e93dc3748a10699b7f73f3e04fb2d9d8414	gdb-7.9.1.tar.xz
 sha512	17a5138277a31685a5c2a841cb47ed9bc4626ea617b8ca77750513b300299f4fbbffe504958b5372de610dcb952c679cf8fa9c1bdadd380294fbf59b6e366010	gdb-7.10.1.tar.xz
 sha512  eadd2a59a1e48b1484eb2bea85256d6b1912926bc8b690793d02babf2639608bd22a0f2de77d4f60092da3b1dafeaa6d75a7cff3e84bd4e22fc46364b68e5e9f	gdb-7.11.tar.xz
Signature · 1 line
2.7.4
#10 lore raw

PATCH 5/9 gdb: remove version 7.8

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Now that 7.11 has been added and 7.10 is the default version, let's remove the old 7.8 release.

Committed to next, thanks.

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

PATCH 6/9 gdb: specify hashes for the ARC and Microblaze versions

In reply to Thomas Petazzoni

On ARC and Microblaze, a special GDB version is used, fetched from Github in both cases. Now that we consider Github generated tarballs to be stable, we can specify hashes for those versions, rather than using the special "none" hash to skip the hash check.

---
 package/gdb/gdb.hash | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/gdb/gdb.hash +3 -3
index 0fec3d0..dd55189 100644
@@ -3,6 +3,6 @@ sha512	eebdf88b24e52e792b8a4b89ea85790de72b462a7810b44975fdf4232c068f353b1550607
 sha512	17a5138277a31685a5c2a841cb47ed9bc4626ea617b8ca77750513b300299f4fbbffe504958b5372de610dcb952c679cf8fa9c1bdadd380294fbf59b6e366010	gdb-7.10.1.tar.xz
 sha512  eadd2a59a1e48b1484eb2bea85256d6b1912926bc8b690793d02babf2639608bd22a0f2de77d4f60092da3b1dafeaa6d75a7cff3e84bd4e22fc46364b68e5e9f	gdb-7.11.tar.xz
 
-# No hash for the ARC & microblaze variants, comes from the github-helper:
-none	xxx	gdb-arc-2016.03-rc2-gdb.tar.gz
-none	xxx	gdb-6be65fb56ea6694a9260733a536a023a1e2d4d57.tar.gz
+# Locally calculated (fetched from Github)
+sha512  0a467091d4b01fbecabb4b8da1cb743025c70e7f4874a0b5c8fa2ec623569a39bde6762b91806de0be6e63711aeb6909715cfbe43860de73d8aec6159a9f10a7	gdb-6be65fb56ea6694a9260733a536a023a1e2d4d57.tar.gz
+sha512  6026889c72baee2f57d3e706fdd07c19e9b0b27d9ab87d32da39cc3bc3afe911f0d30e3bbca6fd6281b7e94da66d475b17edadfd58bce4d8b419ee8d475660fa	gdb-arc-2016.03-rc2-gdb.tar.gz
Signature · 1 line
2.7.4
#12 lore raw

PATCH 6/9 gdb: specify hashes for the ARC and Microblaze versions

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

On ARC and Microblaze, a special GDB version is used, fetched from Github in both cases. Now that we consider Github generated tarballs to be stable, we can specify hashes for those versions, rather than using the special "none" hash to skip the hash check.

Committed to next, thanks.

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

PATCH 7/9 toolchain: remove eglibc support

In reply to Thomas Petazzoni

The eglibc support has been marked deprecated since 2015.08, so it's time to remove it.

---
 Config.in.legacy                                   |   8 +
 package/gcc/Config.in.host                         |   2 +-
 .../2.18-svnr23787/0001-CVE-2014-7817-eglibc.patch | 174 ---------------------
 .../glibc/2.18-svnr23787/0002-accept-make4.patch   |  33 ----
 .../glibc/2.18-svnr23787/0003-CVE-2014-6040.patch  | 141 -----------------
 .../glibc/2.18-svnr23787/0004-CVE-2014-9402.patch  |  20 ---
 .../glibc/2.18-svnr23787/0005-CVE-2015-1472.patch  |  88 -----------
 .../2.19-svnr25243/0001-CVE-2014-7817-eglibc.patch | 174 ---------------------
 .../glibc/2.19-svnr25243/0002-CVE-2014-6040.patch  | 141 -----------------
 .../glibc/2.19-svnr25243/0003-CVE-2014-9402.patch  |  20 ---
 .../glibc/2.19-svnr25243/0004-CVE-2015-1472.patch  |  88 -----------
 package/glibc/Config.in                            |  27 ----
 package/glibc/glibc.mk                             |   7 -
 toolchain/toolchain-buildroot/Config.in            |  23 ---
 14 files changed, 9 insertions(+), 937 deletions(-)
 delete mode 100644 package/glibc/2.18-svnr23787/0001-CVE-2014-7817-eglibc.patch
 delete mode 100644 package/glibc/2.18-svnr23787/0002-accept-make4.patch
 delete mode 100644 package/glibc/2.18-svnr23787/0003-CVE-2014-6040.patch
 delete mode 100644 package/glibc/2.18-svnr23787/0004-CVE-2014-9402.patch
 delete mode 100644 package/glibc/2.18-svnr23787/0005-CVE-2015-1472.patch
 delete mode 100644 package/glibc/2.19-svnr25243/0001-CVE-2014-7817-eglibc.patch
 delete mode 100644 package/glibc/2.19-svnr25243/0002-CVE-2014-6040.patch
 delete mode 100644 package/glibc/2.19-svnr25243/0003-CVE-2014-9402.patch
 delete mode 100644 package/glibc/2.19-svnr25243/0004-CVE-2015-1472.patch
Config.in.legacy +8 -0
index ff11d75..7b76f28 100644
@@ -145,6 +145,14 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.08"
 
+config BR2_TOOLCHAIN_BUILDROOT_EGLIBC
+	bool "eglibc support has been removed"
+	select BR2_LEGACY
+	help
+	  The eglibc project no longer exists, as it has been merged
+	  back into the glibc project. Therefore, support for eglibc
+	  has been removed, and glibc should be used instead.
+
 config BR2_GDB_VERSION_7_8
 	bool "gdb 7.8 has been removed"
 	select BR2_LEGACY
package/gcc/Config.in.host +1 -1
index 6b2d046..6c2732d 100644
@@ -128,7 +128,7 @@ config BR2_TOOLCHAIN_BUILDROOT_FORTRAN
 config BR2_GCC_ENABLE_TLS
 	bool "Enable compiler tls support" if BR2_TOOLCHAIN_BUILDROOT_UCLIBC
 	default y
-	depends on BR2_PTHREADS_NATIVE || BR2_TOOLCHAIN_BUILDROOT_EGLIBC || BR2_TOOLCHAIN_BUILDROOT_GLIBC
+	depends on BR2_PTHREADS_NATIVE || BR2_TOOLCHAIN_BUILDROOT_GLIBC
 	help
 	  Enable the compiler to generate code for accessing
 	  thread local storage variables
package/glibc/2.18-svnr23787/0001-CVE-2014-7817-eglibc.patch deleted +0 -174

174 lines not on this page · raw message

package/glibc/2.18-svnr23787/0002-accept-make4.patch deleted +0 -33
deleted file mode 100644
index 4f426f2..0000000
@@ -1,33 +0,0 @@
-Backport upstream patch (28d708c44bc47b56f6551ff285f78edcf61c208a) to accept
-make-4.0 or newer.
-We patch both configure and configure.in files so if we ever have to run
-autoreconf in the glibc source, then the fix will be propagated properly.
-
-Signed-off-by: Markos Chandras <[email protected]>
-
-Index: glibc-2.18-svnr23787/libc/configure
-===================================================================
---- glibc-2.18-svnr23787.orig/libc/configure
-+++ glibc-2.18-svnr23787/libc/configure
-@@ -4772,7 +4772,7 @@ $as_echo_n "checking version of $MAKE...
-   ac_prog_version=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
-   case $ac_prog_version in
-     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
--    3.79* | 3.[89]*)
-+    3.79* | 3.[89]* | [4-9].* | [1-9][0-9]*)
-        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
-     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
- 
-Index: glibc-2.18-svnr23787/libc/configure.in
-===================================================================
---- glibc-2.18-svnr23787.orig/libc/configure.in
-+++ glibc-2.18-svnr23787/libc/configure.in
-@@ -989,7 +989,7 @@ AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}g
-   critic_missing="$critic_missing gcc")
- AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
-   [GNU Make[^0-9]*\([0-9][0-9.]*\)],
--  [3.79* | 3.[89]*], critic_missing="$critic_missing make")
-+  [3.79* | 3.[89]* | [4-9].* | [1-9][0-9]*], critic_missing="$critic_missing make")
- 
- AC_CHECK_PROG_VER(MSGFMT, gnumsgfmt gmsgfmt msgfmt, --version,
-   [GNU gettext.* \([0-9]*\.[0-9.]*\)],
package/glibc/2.18-svnr23787/0003-CVE-2014-6040.patch deleted +0 -141

141 lines not on this page · raw message

package/glibc/2.18-svnr23787/0004-CVE-2014-9402.patch deleted +0 -20
deleted file mode 100644
index c7aa12c..0000000
@@ -1,20 +0,0 @@
-Fix CVE-2014-9402 - denial of service in getnetbyname function.
-Backport from https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=11e3417af6e354f1942c68a271ae51e892b2814d
-See https://bugzilla.redhat.com/show_bug.cgi?id=1175369
-
-Signed-off-by: Gustavo Zacarias <[email protected]>
-
-diff -Nura eglibc-2.19.orig/libc/resolv/nss_dns/dns-network.c eglibc-2.19/libc/resolv/nss_dns/dns-network.c
---- eglibc-2.19.orig/libc/resolv/nss_dns/dns-network.c	2015-01-08 16:12:35.024977879 -0300
-+++ eglibc-2.19/libc/resolv/nss_dns/dns-network.c	2015-01-08 16:12:42.543992357 -0300
-@@ -398,8 +398,8 @@
- 
- 	case BYNAME:
- 	  {
--	    char **ap = result->n_aliases++;
--	    while (*ap != NULL)
-+	    char **ap;
-+	    for (ap = result->n_aliases; *ap != NULL; ++ap)
- 	      {
- 		/* Check each alias name for being of the forms:
- 		   4.3.2.1.in-addr.arpa		= net 1.2.3.4
package/glibc/2.18-svnr23787/0005-CVE-2015-1472.patch deleted +0 -88

88 lines not on this page · raw message

package/glibc/2.19-svnr25243/0001-CVE-2014-7817-eglibc.patch deleted +0 -174

174 lines not on this page · raw message

package/glibc/2.19-svnr25243/0002-CVE-2014-6040.patch deleted +0 -141

141 lines not on this page · raw message

package/glibc/2.19-svnr25243/0003-CVE-2014-9402.patch deleted +0 -20
deleted file mode 100644
index c7aa12c..0000000
@@ -1,20 +0,0 @@
-Fix CVE-2014-9402 - denial of service in getnetbyname function.
-Backport from https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=11e3417af6e354f1942c68a271ae51e892b2814d
-See https://bugzilla.redhat.com/show_bug.cgi?id=1175369
-
-Signed-off-by: Gustavo Zacarias <[email protected]>
-
-diff -Nura eglibc-2.19.orig/libc/resolv/nss_dns/dns-network.c eglibc-2.19/libc/resolv/nss_dns/dns-network.c
---- eglibc-2.19.orig/libc/resolv/nss_dns/dns-network.c	2015-01-08 16:12:35.024977879 -0300
-+++ eglibc-2.19/libc/resolv/nss_dns/dns-network.c	2015-01-08 16:12:42.543992357 -0300
-@@ -398,8 +398,8 @@
- 
- 	case BYNAME:
- 	  {
--	    char **ap = result->n_aliases++;
--	    while (*ap != NULL)
-+	    char **ap;
-+	    for (ap = result->n_aliases; *ap != NULL; ++ap)
- 	      {
- 		/* Check each alias name for being of the forms:
- 		   4.3.2.1.in-addr.arpa		= net 1.2.3.4
package/glibc/2.19-svnr25243/0004-CVE-2015-1472.patch deleted +0 -88

88 lines not on this page · raw message

package/glibc/Config.in +0 -27
index 5b82170..75c2123 100644
@@ -1,28 +1,3 @@
-if BR2_TOOLCHAIN_BUILDROOT_EGLIBC
-
-config BR2_PACKAGE_EGLIBC
-	bool
-	default y
-	select BR2_PACKAGE_LINUX_HEADERS
-
-choice
-	prompt "eglibc version"
-	default BR2_EGLIBC_VERSION_2_18
-
-config BR2_EGLIBC_VERSION_2_18
-	bool "2.18-svnr23787"
-	# Build breakage
-	depends on !BR2_sparc
-
-config BR2_EGLIBC_VERSION_2_19
-	bool "2.19-svnr25243"
-	# Build breakage
-	depends on !BR2_powerpc_SPE
-
-endchoice
-
-endif
-
 if BR2_TOOLCHAIN_BUILDROOT_GLIBC
 
 config BR2_PACKAGE_GLIBC
@@ -52,7 +27,5 @@ endif
 
 config BR2_GLIBC_VERSION_STRING
 	string
-	default "2.18-svnr23787" if BR2_EGLIBC_VERSION_2_18
-	default "2.19-svnr25243" if BR2_EGLIBC_VERSION_2_19
 	default "2.22" if BR2_GLIBC_VERSION_2_22
 	default "2.23" if BR2_GLIBC_VERSION_2_23
package/glibc/glibc.mk +0 -7
index 2ae9cae..db9b46b 100644
@@ -5,16 +5,9 @@
 ################################################################################
 
 GLIBC_VERSION = $(call qstrip,$(BR2_GLIBC_VERSION_STRING))
-
-ifeq ($(BR2_TOOLCHAIN_BUILDROOT_EGLIBC),y)
-GLIBC_SITE = http://downloads.yoctoproject.org/releases/eglibc
-GLIBC_SOURCE = eglibc-$(GLIBC_VERSION).tar.bz2
-GLIBC_SRC_SUBDIR = libc
-else
 GLIBC_SITE = $(BR2_GNU_MIRROR)/libc
 GLIBC_SOURCE = glibc-$(GLIBC_VERSION).tar.xz
 GLIBC_SRC_SUBDIR = .
-endif
 
 GLIBC_LICENSE = GPLv2+ (programs), LGPLv2.1+, BSD-3c, MIT (library)
 GLIBC_LICENSE_FILES = $(addprefix $(GLIBC_SRC_SUBDIR)/,COPYING COPYING.LIB LICENSES)
toolchain/toolchain-buildroot/Config.in +0 -23
index 0c40801..b046a61 100644
@@ -42,26 +42,6 @@ config BR2_TOOLCHAIN_BUILDROOT_UCLIBC
 
 	  http://uclibc.org
 
-config BR2_TOOLCHAIN_BUILDROOT_EGLIBC
-	bool "eglibc"
-	depends on BR2_arm        || BR2_armeb    || BR2_aarch64    || \
-		   BR2_aarch64_be || BR2_i386     || BR2_mips       || \
-		   BR2_mipsel     || BR2_mips64   || BR2_mips64el   || \
-		   BR2_powerpc    || BR2_sh       || BR2_sh64       || \
-		   BR2_sparc      || 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
-	help
-	  This option selects eglibc as the C library for the
-	  cross-compilation toolchain.
-
-	  http://eglibc.org
-
 config BR2_TOOLCHAIN_BUILDROOT_GLIBC
 	bool "glibc"
 	depends on BR2_arm         || BR2_armeb      || BR2_aarch64 || \
@@ -107,9 +87,6 @@ endchoice
 config BR2_TOOLCHAIN_BUILDROOT_LIBC
 	string
 	default "uclibc" if BR2_TOOLCHAIN_BUILDROOT_UCLIBC
-	# Both glibc and eglibc are handled by the package called
-	# 'glibc'
-	default "glibc"  if BR2_TOOLCHAIN_BUILDROOT_EGLIBC
 	default "glibc"  if BR2_TOOLCHAIN_BUILDROOT_GLIBC
 	default "musl"	 if BR2_TOOLCHAIN_BUILDROOT_MUSL
 
Signature · 1 line
2.7.4
#14 lore raw

PATCH 7/9 toolchain: remove eglibc support

Quoted 37 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

The eglibc support has been marked deprecated since 2015.08, so it's time to remove it.

---
 Config.in.legacy                                   |   8 +
 package/gcc/Config.in.host                         |   2 +-
 .../2.18-svnr23787/0001-CVE-2014-7817-eglibc.patch | 174 ---------------------
 .../glibc/2.18-svnr23787/0002-accept-make4.patch   |  33 ----
 .../glibc/2.18-svnr23787/0003-CVE-2014-6040.patch  | 141 -----------------
 .../glibc/2.18-svnr23787/0004-CVE-2014-9402.patch  |  20 ---
 .../glibc/2.18-svnr23787/0005-CVE-2015-1472.patch  |  88 -----------
 .../2.19-svnr25243/0001-CVE-2014-7817-eglibc.patch | 174 ---------------------
 .../glibc/2.19-svnr25243/0002-CVE-2014-6040.patch  | 141 -----------------
 .../glibc/2.19-svnr25243/0003-CVE-2014-9402.patch  |  20 ---
 .../glibc/2.19-svnr25243/0004-CVE-2015-1472.patch  |  88 -----------
 package/glibc/Config.in                            |  27 ----
 package/glibc/glibc.mk                             |   7 -
 toolchain/toolchain-buildroot/Config.in            |  23 ---
 14 files changed, 9 insertions(+), 937 deletions(-)
 delete mode 100644 package/glibc/2.18-svnr23787/0001-CVE-2014-7817-eglibc.patch
 delete mode 100644 package/glibc/2.18-svnr23787/0002-accept-make4.patch
 delete mode 100644 package/glibc/2.18-svnr23787/0003-CVE-2014-6040.patch
 delete mode 100644 package/glibc/2.18-svnr23787/0004-CVE-2014-9402.patch
 delete mode 100644 package/glibc/2.18-svnr23787/0005-CVE-2015-1472.patch
 delete mode 100644 package/glibc/2.19-svnr25243/0001-CVE-2014-7817-eglibc.patch
 delete mode 100644 package/glibc/2.19-svnr25243/0002-CVE-2014-6040.patch
 delete mode 100644 package/glibc/2.19-svnr25243/0003-CVE-2014-9402.patch
 delete mode 100644 package/glibc/2.19-svnr25243/0004-CVE-2015-1472.patch
Config.in.legacy +0 -0
index ff11d75..7b76f28 100644

Config.in.legacy endif · line 154

Quoted 10 lines
Config.in.legacy +7 -0
@@ -145,6 +145,14 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.08"
 
+config BR2_TOOLCHAIN_BUILDROOT_EGLIBC
+	bool "eglibc support has been removed"
+	select BR2_LEGACY
+	help
+	  The eglibc project no longer exists, as it has been merged
+	  back into the glibc project. Therefore, support for eglibc
+	  has been removed, and glibc should be used instead.

Committed to next, thanks. Perhaps we should add:

select BR2_TOOLCHAIN_BUILDROOT_GLIBC

As the defconfig otherwise falls back to uClibc.

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

PATCH 7/9 toolchain: remove eglibc support

Hello,

Quoted 5 lines · Peter Korsgaard

Committed to next, thanks. Perhaps we should add:

select BR2_TOOLCHAIN_BUILDROOT_GLIBC

As the defconfig otherwise falls back to uClibc.

Good idea. I just sent a patch doing this.

Thanks,

Thomas

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

PATCH 7/9 toolchain: remove eglibc support

In reply to Thomas Petazzoni
Quoted 4 lines · Thomas Petazzoni

The eglibc support has been marked deprecated since 2015.08, so it's time to remove it.

It's probably a good idea to do a "sed 's/(e)glibc/glibc/' as well. Even
though we still have Linaro and possibly custom external toolchains with eglibc, I don't think it makes much sense anymore to make that distinction explicit.

The glibc.hash file wasn't updated.

There are also still some references to eglibc in the manual, these should
probably be removed.

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
#17 lore raw

PATCH 7/9 toolchain: remove eglibc support

Hello,

Quoted 3 lines · Arnout Vandecappelle

It's probably a good idea to do a "sed 's/(e)glibc/glibc/' as well. Even
though we still have Linaro and possibly custom external toolchains with eglibc, I don't think it makes much sense anymore to make that distinction explicit.

Yes, I thought about this yesterday as well.

Quoted 4 lines

The glibc.hash file wasn't updated.

There are also still some references to eglibc in the manual, these should
probably be removed.

Good points, I'll send some patches to address those issues soonish.

Thanks!

Thomas

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

PATCH 8/9 binutils: remove support for version 2.23

In reply to Thomas Petazzoni

Now that we have added support for the lastest binutils version 2.26, it is time to remove the oldest version we currently support, 2.23, in order to keep only 3 versions: 2.24, 2.25 and 2.26.

---
Changes since v2:
- As suggested by Arnout, fix the previously existing BR2_BINUTILS_VERSION_2_23_2 legacy option to make it not select BR2_BINUTILS_VERSION_2_23_X, which is also a legacy option now, and update its help text.
Changes since v1:
- Remove hash from the hash file, as noticed by Romain Naour.
- Add Config.in.legacy entry, as noticed by Romain Naour.

---
 Config.in.legacy                                   |  13 +-
 package/binutils/2.23.2/120-sh-conf.patch          |  29 -
 .../2.23.2/300-001_ld_makefile_patch.patch         |  24 -
 .../2.23.2/300-012_check_ldrunpath_length.patch    |  21 -
 package/binutils/2.23.2/500-sysroot.patch          |  37 -
 .../2.23.2/600-poison-system-directories.patch     | 279 -------
 .../binutils/2.23.2/900-xtensa-trampolines.patch   | 846 ---------------------
 .../901-xtensa-gas-first-frag-alignment.patch      |  51 --
 .../902-xtensa-gas-ld-diff-relocation-signed.patch | 133 ----
 ...ix-ld-segfault-when-linking-linux-modules.patch |  47 --
 ...-target-out-of-range-xtensa-ld-relaxation.patch |  79 --
 ...ines-search-code-for-conditional-branches.patch |  90 ---
 ...localized-symbol-refcounting-with-gc-sect.patch |  57 --
 ...x-gas-segfault-with-text-section-literals.patch |  56 --
 ...-xtensa-fix-signedness-of-gas-relocations.patch |  47 --
 ...15-xtensa-fix-.init-.fini-literals-moving.patch |  70 --
 package/binutils/Config.in.host                    |  10 -
 package/binutils/binutils.hash                     |   1 -
 18 files changed, 9 insertions(+), 1881 deletions(-)
 delete mode 100644 package/binutils/2.23.2/120-sh-conf.patch
 delete mode 100644 package/binutils/2.23.2/300-001_ld_makefile_patch.patch
 delete mode 100644 package/binutils/2.23.2/300-012_check_ldrunpath_length.patch
 delete mode 100644 package/binutils/2.23.2/500-sysroot.patch
 delete mode 100644 package/binutils/2.23.2/600-poison-system-directories.patch
 delete mode 100644 package/binutils/2.23.2/900-xtensa-trampolines.patch
 delete mode 100644 package/binutils/2.23.2/901-xtensa-gas-first-frag-alignment.patch
 delete mode 100644 package/binutils/2.23.2/902-xtensa-gas-ld-diff-relocation-signed.patch
 delete mode 100644 package/binutils/2.23.2/903-xtensa-fix-ld-segfault-when-linking-linux-modules.patch
 delete mode 100644 package/binutils/2.23.2/904-Fix-call8-call-target-out-of-range-xtensa-ld-relaxation.patch
 delete mode 100644 package/binutils/2.23.2/905-Fix-trampolines-search-code-for-conditional-branches.patch
 delete mode 100644 package/binutils/2.23.2/911-xtensa-fix-localized-symbol-refcounting-with-gc-sect.patch
 delete mode 100644 package/binutils/2.23.2/912-xtensa-fix-gas-segfault-with-text-section-literals.patch
 delete mode 100644 package/binutils/2.23.2/914-xtensa-fix-signedness-of-gas-relocations.patch
 delete mode 100644 package/binutils/2.23.2/915-xtensa-fix-.init-.fini-literals-moving.patch
Config.in.legacy +9 -4
index 7b76f28..a0a2059 100644
@@ -145,6 +145,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.08"
 
+config BR2_BINUTILS_VERSION_2_23_X
+	bool "binutils 2.23 removed"
+	select BR2_LEGACY
+	help
+	  Binutils 2.23 has been removed, using a newer version is
+	  recommended.
+
 config BR2_TOOLCHAIN_BUILDROOT_EGLIBC
 	bool "eglibc support has been removed"
 	select BR2_LEGACY
@@ -920,11 +927,9 @@ config BR2_PACKAGE_KODI_PVR_ADDONS
 config BR2_BINUTILS_VERSION_2_23_2
 	bool "binutils 2.23 option renamed"
 	select BR2_LEGACY
-	select BR2_BINUTILS_VERSION_2_23_X
 	help
-	  The binutils version option has been renamed to match the
-	  same patchlevel logic used by gcc. The new option is now
-	  BR2_BINUTILS_VERSION_2_23_X.
+	  Binutils 2.23.2 has been removed, using a newer version is
+	  recommended.
 
 config BR2_BINUTILS_VERSION_2_24
 	bool "binutils 2.24 option renamed"
package/binutils/2.23.2/120-sh-conf.patch deleted +0 -29
deleted file mode 100644
index ea3d1b6..0000000
@@ -1,29 +0,0 @@
-r10231 | lethal | 2005-05-02 09:58:00 -0400 (Mon, 02 May 2005) | 13 lines
-
-Likewise, binutils has no idea about any of these new targets either, so we 
-fix that up too.. now we're able to actually build a real toolchain for 
-sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more 
-inept targets than that one, really. Go look, I promise).
-
---- a/configure
-+++ b/configure
-@@ -1495,7 +1495,7 @@
-   mips*-*-*)
-     noconfigdirs="$noconfigdirs gprof"
-     ;;
--  sh-*-* | sh64-*-*)
-+  sh*-*-* | sh64-*-*)
-     case "${target}" in
-       sh*-*-elf)
-          ;;
---- a/configure.ac
-+++ b/configure.ac
-@@ -712,7 +712,7 @@
-   mips*-*-*)
-     noconfigdirs="$noconfigdirs gprof"
-     ;;
--  sh-*-* | sh64-*-*)
-+  sh*-*-* | sh64-*-*)
-     case "${target}" in
-       sh*-*-elf)
-          ;;
package/binutils/2.23.2/300-001_ld_makefile_patch.patch deleted +0 -24
deleted file mode 100644
index 5cb0f61..0000000
@@ -1,24 +0,0 @@
-diff -u binutils-2.17.50.0.17.oorig/ld/Makefile.am binutils-2.17.50.0.17/ld/Makefile.am
---- binutils-2.17.50.0.17.oorig/ld/Makefile.am	2007-06-18 19:29:29.000000000 +0200
-+++ binutils-2.17.50.0.17/ld/Makefile.am	2007-06-25 10:00:36.000000000 +0200
-@@ -18,7 +18,7 @@
- # We put the scripts in the directory $(scriptdir)/ldscripts.
- # We can't put the scripts in $(datadir) because the SEARCH_DIR
- # directives need to be different for native and cross linkers.
--scriptdir = $(tooldir)/lib
-+scriptdir = $(libdir)
- 
- EMUL = @EMUL@
- EMULATION_OFILES = @EMULATION_OFILES@
-diff -u binutils-2.17.50.0.17.oorig/ld/Makefile.in binutils-2.17.50.0.17/ld/Makefile.in
---- binutils-2.17.50.0.17.oorig/ld/Makefile.in	2007-06-18 19:29:29.000000000 +0200
-+++ binutils-2.17.50.0.17/ld/Makefile.in	2007-06-25 10:00:36.000000000 +0200
-@@ -287,7 +287,7 @@
- # We put the scripts in the directory $(scriptdir)/ldscripts.
- # We can't put the scripts in $(datadir) because the SEARCH_DIR
- # directives need to be different for native and cross linkers.
--scriptdir = $(tooldir)/lib
-+scriptdir = $(libdir)
- BASEDIR = $(srcdir)/..
- BFDDIR = $(BASEDIR)/bfd
- INCDIR = $(BASEDIR)/include
package/binutils/2.23.2/300-012_check_ldrunpath_length.patch deleted +0 -21
deleted file mode 100644
index df78310..0000000
@@ -1,21 +0,0 @@
-diff -Nura binutils-2.21.orig/ld/emultempl/elf32.em binutils-2.21/ld/emultempl/elf32.em
---- binutils-2.21.orig/ld/emultempl/elf32.em	2010-10-29 09:10:36.000000000 -0300
-+++ binutils-2.21/ld/emultempl/elf32.em	2010-12-10 09:26:56.746102724 -0300
-@@ -1270,6 +1270,8 @@
- 	      && command_line.rpath == NULL)
- 	    {
- 	      lib_path = (const char *) getenv ("LD_RUN_PATH");
-+	      if ((lib_path) && (strlen (lib_path) == 0))
-+	      	lib_path = NULL;
- 	      if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
- 						      force))
- 		break;
-@@ -1497,6 +1499,8 @@
-   rpath = command_line.rpath;
-   if (rpath == NULL)
-     rpath = (const char *) getenv ("LD_RUN_PATH");
-+  if ((rpath) && (strlen (rpath) == 0))
-+  	rpath = NULL;
- 
-   for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next)
-     if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
package/binutils/2.23.2/500-sysroot.patch deleted +0 -37
deleted file mode 100644
index e49c795..0000000
@@ -1,37 +0,0 @@
-Signed-off-by: Sven Rebhan <[email protected]>
-
-Always try to prepend the sysroot prefix to absolute filenames first.
-
-http://bugs.gentoo.org/275666
-http://sourceware.org/bugzilla/show_bug.cgi?id=10340
-
---- a/ld/ldfile.c
-+++ b/ld/ldfile.c
-@@ -308,18 +308,25 @@
-      directory first.  */
-   if (! entry->flags.maybe_archive)
-     {
--      if (entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename))
-+      /* For absolute pathnames, try to always open the file in the
-+	 sysroot first. If this fails, try to open the file at the
-+	 given location.  */
-+      entry->flags.sysrooted = is_sysrooted_pathname (entry->filename);
-+      if (!entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename)
-+	  && ld_sysroot)
- 	{
- 	  char *name = concat (ld_sysroot, entry->filename,
- 			       (const char *) NULL);
- 	  if (ldfile_try_open_bfd (name, entry))
- 	    {
- 	      entry->filename = name;
-+	      entry->flags.sysrooted = TRUE;
- 	      return TRUE;
- 	    }
- 	  free (name);
- 	}
--      else if (ldfile_try_open_bfd (entry->filename, entry))
-+
-+      if (ldfile_try_open_bfd (entry->filename, entry))
- 	return TRUE;
- 
-       if (IS_ABSOLUTE_PATH (entry->filename))
package/binutils/2.23.2/600-poison-system-directories.patch deleted +0 -279

279 lines not on this page · raw message

package/binutils/2.23.2/900-xtensa-trampolines.patch deleted +0 -846

846 lines not on this page · raw message

package/binutils/2.23.2/901-xtensa-gas-first-frag-alignment.patch deleted +0 -51

51 lines not on this page · raw message

package/binutils/2.23.2/902-xtensa-gas-ld-diff-relocation-signed.patch deleted +0 -133

133 lines not on this page · raw message

package/binutils/2.23.2/903-xtensa-fix-ld-segfault-when-linking-linux-modules.patch deleted +0 -47

47 lines not on this page · raw message

package/binutils/2.23.2/904-Fix-call8-call-target-out-of-range-xtensa-ld-relaxation.patch deleted +0 -79

79 lines not on this page · raw message

package/binutils/2.23.2/905-Fix-trampolines-search-code-for-conditional-branches.patch deleted +0 -90

90 lines not on this page · raw message

package/binutils/2.23.2/911-xtensa-fix-localized-symbol-refcounting-with-gc-sect.patch deleted +0 -57

57 lines not on this page · raw message

package/binutils/2.23.2/912-xtensa-fix-gas-segfault-with-text-section-literals.patch deleted +0 -56

56 lines not on this page · raw message

package/binutils/2.23.2/914-xtensa-fix-signedness-of-gas-relocations.patch deleted +0 -47

47 lines not on this page · raw message

package/binutils/2.23.2/915-xtensa-fix-.init-.fini-literals-moving.patch deleted +0 -70

70 lines not on this page · raw message

package/binutils/Config.in.host +0 -10
index 6c72fa3..33159ca 100644
@@ -7,15 +7,6 @@ choice
 	help
 	  Select the version of binutils you wish to use.
 
-	config BR2_BINUTILS_VERSION_2_23_X
-		depends on !BR2_aarch64 && !BR2_microblaze && \
-			   !BR2_powerpc64le && !BR2_nios2
-		# Unsupported for MIPS R6
-		depends on !BR2_mips_32r6 && !BR2_mips_64r6
-		# Unsupported ARM cores
-		depends on !BR2_cortex_a17
-		bool "binutils 2.23.2"
-
 	config BR2_BINUTILS_VERSION_2_24_X
 		# supported, but broken on Nios-II and powerpc64le
 		depends on !BR2_nios2 && !BR2_powerpc64le
@@ -36,7 +27,6 @@ endchoice
 config BR2_BINUTILS_VERSION
 	string
 	default "arc-2016.03-rc2"	if BR2_arc
-	default "2.23.2"	if BR2_BINUTILS_VERSION_2_23_X
 	default "2.24"		if BR2_BINUTILS_VERSION_2_24_X
 	default "2.25.1"	if BR2_BINUTILS_VERSION_2_25_X
 	default "2.26"		if BR2_BINUTILS_VERSION_2_26_X
package/binutils/binutils.hash +0 -1
index 15e7f19..7e77b6b 100644
@@ -1,5 +1,4 @@
 # From ftp://gcc.gnu.org/pub/binutils/releases/sha512.sum
-sha512  dec753bbba008f1526b89cf1bd85feba78f362f5333ffdf93953fd131eb755976dec82a0a4ba38c43d2434da007137780cfe674de5414be5cf7ce7fbc6af6d16  binutils-2.23.2.tar.bz2
 sha512  5ec95ad47d49b12c4558a8db0ca2109d3ee1955e3776057f3330c4506f8f4d1cf5e505fbf8a16b98403a0fcdeaaf986fe0a22be6456247dbdace63ce1f776b12  binutils-2.24.tar.bz2
 sha512  0b36dda0e6d32cd25613c0e64b56b28312515c54d6a159efd3db9a86717f114ab0a0a1f69d08975084d55713ebaeab64e4085c9b3d1c3fa86712869f80eb954d  binutils-2.25.1.tar.bz2
 sha512  e77e1b8dbbcbaf9ac2fae95c4403615808af3be03b2e1d32448cd3a7d32c43273f8bcace3f2de84ec120a982879295673029da306e2885dbf5f990584932cfc7  binutils-2.26.tar.bz2
Signature · 1 line
2.7.4
#19 lore raw

PATCH 8/9 binutils: remove support for version 2.23

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

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

Now that we have added support for the lastest binutils version 2.26, it is time to remove the oldest version we currently support, 2.23, in order to keep only 3 versions: 2.24, 2.25 and 2.26.

Quoted 9 lines

---
Changes since v2:
- As suggested by Arnout, fix the previously existing BR2_BINUTILS_VERSION_2_23_2 legacy option to make it not select BR2_BINUTILS_VERSION_2_23_X, which is also a legacy option now, and update its help text.
Changes since v1:
- Remove hash from the hash file, as noticed by Romain Naour.
- Add Config.in.legacy entry, as noticed by Romain Naour.

Committed to next, thanks.

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

PATCH 9/9 toolchain: musl support is no longer experimental

In reply to Thomas Petazzoni

Our musl support has now been around for quite some time, numerous packages have been fixed (although admittedly not all). It's time to no longer call our musl support "experimental": things are now expected to be working with musl just like with the other two C libraries we support.

---
 toolchain/toolchain-buildroot/Config.in | 2 +-
 toolchain/toolchain-external/Config.in  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
toolchain/toolchain-buildroot/Config.in +1 -1
index b046a61..2b0ebc1 100644
@@ -67,7 +67,7 @@ comment "(e)glibc only available with shared lib support"
 	depends on BR2_STATIC_LIBS
 
 config BR2_TOOLCHAIN_BUILDROOT_MUSL
-	bool "musl (experimental)"
+	bool "musl"
 	depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 || \
 		BR2_microblaze || BR2_mips || BR2_mipsel || BR2_powerpc || \
 		BR2_sh || BR2_x86_64
toolchain/toolchain-external/Config.in +2 -2
index a037d67..0ba5d46 100644
@@ -562,7 +562,7 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
 	  3.16.2.
 
 config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
-	bool "Musl 1.1.12 toolchain (experimental)"
+	bool "Musl 1.1.12 toolchain"
 	depends on (BR2_arm && BR2_ARM_EABI) || \
 		(BR2_arm && BR2_ARM_EABIHF && !BR2_ARM_CPU_ARMV4) || \
 		(BR2_armeb && BR2_ARM_EABI) || BR2_i386 || \
@@ -914,7 +914,7 @@ comment "(e)glibc only available with shared lib support"
 	depends on BR2_STATIC_LIBS
 
 config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
-	bool "musl (experimental)"
+	bool "musl"
 	select BR2_TOOLCHAIN_EXTERNAL_MUSL
 	help
 	  Select this option if your external toolchain uses the
Signature · 1 line
2.7.4
#21 lore raw

PATCH 9/9 toolchain: musl support is no longer experimental

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Our musl support has now been around for quite some time, numerous packages have been fixed (although admittedly not all). It's time to no longer call our musl support "experimental": things are now expected to be working with musl just like with the other two C libraries we support.

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard