Skip to content

Commit

Permalink
More fixes after the upgrades:
Browse files Browse the repository at this point in the history
- GLIBC requires a fix to work with binutils 2.30 on aarch64. This fix
  relies on binutils 2.24 or newer, which is okay for glibc 2.26 since
  it needs 2.25 or newer anyway. But older glibc versions are now pinned
  to binutils 2.29 or older on aarch64.
- xtensa needs patches in libgcc with gcc 7.3.
- comment in newlib's patch to indicate it is a reversal of a commit.

Signed-off-by: Alexey Neyman <stilor@att.net>
  • Loading branch information
stilor committed Jan 30, 2018
1 parent 1c329c3 commit 36bb675
Show file tree
Hide file tree
Showing 21 changed files with 1,054 additions and 944 deletions.
5 changes: 5 additions & 0 deletions config/libc/glibc.in
Expand Up @@ -26,9 +26,14 @@ config GLIBC_DEP_KERNEL_HEADERS_VERSION
def_bool y
select LINUX_REQUIRE_3_2_or_later if GLIBC_2_24_or_later

# Glibc 2.26 requires at least binutils 2.25.
# Also, binutils 2.30 fail while compiling aarch64 glibc; fixed in 2.27
# and backported to 2.26. For other versions, require binutils older than
# 2.30 (if the patch is backported, binutils 2.23 will break).
config GLIBC_DEP_BINUTILS
def_bool y
select BINUTILS_REQUIRE_2_25_or_later if GLIBC_2_26_or_later
select BINUTILS_REQUIRE_older_than_2_30 if GLIBC_older_than_2_26 && ARCH_ARM && ARCH_64

config GLIBC_DEP_GCC
def_bool y
Expand Down
2 changes: 1 addition & 1 deletion packages/binutils/package.desc
@@ -1,6 +1,6 @@
repository='git git://sourceware.org/git/binutils-gdb.git'
mirrors='$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)'
origin='GNU'
milestones='2.23 2.25'
milestones='2.23 2.25 2.30'
archive_formats='.tar.xz .tar.bz2 .tar.gz'
signature_format='packed/.sig'
Expand Up @@ -53,7 +53,7 @@
if test x"$have_pic_shared" != x"yes" -o x"$ac_cv_search_dlopen" = x"no"; then
--- a/gcc/configure
+++ b/gcc/configure
@@ -29478,6 +29478,9 @@
@@ -29510,6 +29510,9 @@

pluginlibs=

Expand All @@ -63,7 +63,7 @@
case "${host}" in
*-*-darwin*)
if test x$build = x$host; then
@@ -29488,6 +29491,11 @@
@@ -29520,6 +29523,11 @@
export_sym_check=
fi
;;
Expand All @@ -75,7 +75,7 @@
*)
if test x$build = x$host; then
export_sym_check="objdump${exeext} -T"
@@ -29600,23 +29608,23 @@
@@ -29632,23 +29640,23 @@
case "${host}" in
*-*-darwin*)
CFLAGS=`echo $CFLAGS | sed s/-mdynamic-no-pic//g`
Expand Down
Expand Up @@ -10,7 +10,7 @@ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -820,7 +820,7 @@
@@ -821,7 +821,7 @@
m68k*-*-openbsd*)
;;
m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 36bb675

Please sign in to comment.