Merge pull request #803 from stilor/upgrades

Various package upgrades
This commit is contained in:
Alexey Neyman 2017-08-19 12:43:51 -07:00 committed by GitHub
commit 434c205e89
325 changed files with 198 additions and 14208 deletions

View File

@ -1,5 +1,11 @@
#!/bin/bash
if [ "${BASH_VERSINFO[0]}" -lt 4 ]; then
echo "Your BASH shell version (${BASH_VERSION}) is too old." >&2
echo "Run bootstrap on a machine with BASH 4.x" >&2
exit 1
fi
########################################
# Common meta-language implementation. Syntax:
#

View File

@ -167,21 +167,6 @@ endif
endchoice
#!if [ -n "@@all_versions@@" ]
config @@pfx@@_MIRRORS
string
default "@@mirrors@@"
config @@pfx@@_ARCHIVE_FILENAME
string
default "@@archive_filename@@"
config @@pfx@@_ARCHIVE_DIRNAME
string
default "@@archive_dirname@@"
#!end-if
#!// Below, we explicitly select all milestones to which a given version
#!// compares greater-or-equal. We don't select just the latest applicable
#!// (and letting milestones chain-select each other, with FOO_6_or_later
@ -260,6 +245,28 @@ config @@pfx@@_VERSION
#!end-foreach
default "unknown"
#!if [ -n "@@all_versions@@" ]
config @@pfx@@_MIRRORS
string
default "@@mirrors@@"
config @@pfx@@_ARCHIVE_FILENAME
string
default "@@archive_filename@@"
config @@pfx@@_ARCHIVE_DIRNAME
string
default "@@archive_dirname@@"
config @@pfx@@_ARCHIVE_FORMATS
string
#!foreach version
default "@@archive_formats@@" if @@pfx@@_V_@@kcfg@@
#!end-foreach
default "@@archive_formats@@"
#!end-if
#!if [ "@@nforks@@" -ge 2 ]
endif
#!end-if

View File

@ -1,3 +1,4 @@
# We don't support building bionic (yet) so no official repository
mirrors='https://dl.google.com/android/repository'
archive_filename='@{pkg_name}-@{version}-linux-x86_64'
archive_formats='.zip'

View File

@ -0,0 +1 @@
archive_formats='.tar.xz .tar.bz2 .tar.gz'

View File

@ -1,3 +1,4 @@
repository='git git://git.sv.gnu.org/autoconf'
bootstrap='autoreconf -vi'
mirrors='$(CT_Mirrors GNU autoconf)'
archive_formats='.tar.xz .tar.gz'

View File

@ -1,3 +1,4 @@
repository='git https://git.savannah.gnu.org/git/automake.git'
bootstrap='./bootstrap'
mirrors='$(CT_Mirrors GNU automake)'
archive_formats='.tar.xz .tar.gz'

View File

@ -1 +0,0 @@
obsolete='yes'

View File

@ -1,2 +1,3 @@
repository='svn svn://svn.savannah.nongnu.org/avr-libc/trunk/avr-libc'
mirrors='http://download.savannah.gnu.org/releases/avr-libc'
archive_formats='.tar.bz2'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2'

View File

@ -3,3 +3,4 @@ repository='git https://git.linaro.org/toolchain/binutils-gdb.git'
mirrors='$(CT_Mirrors Linaro binutils ${CT_BINUTILS_LINARO_VERSION})'
origin='Linaro'
experimental='yes'
archive_formats='.tar.xz'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2 .tar.gz'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2 .tar.gz'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2 .tar.gz'

1
packages/binutils/2.26.1/version.desc vendored Normal file
View File

@ -0,0 +1 @@
archive_formats='.tar.bz2 .tar.gz'

View File

@ -0,0 +1 @@
archive_formats='.tar.bz2 .tar.gz'

View File

@ -2,3 +2,4 @@ repository='git git://sourceware.org/git/binutils-gdb.git'
mirrors='$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)'
origin='GNU'
milestones='2.23'
archive_formats='.tar.xz .tar.bz2 .tar.gz'

View File

@ -1 +0,0 @@
obsolete='yes'

View File

@ -2,3 +2,4 @@ pkg_label='CLooG'
repository='git git://repo.or.cz/cloog.git'
mirrors='http://www.bastoul.net/cloog/pages/download ftp://gcc.gnu.org/pub/gcc/infrastructure'
milestones='0.18 0.18.1 0.18.4'
archive_formats='.tar.gz'

View File

@ -2,3 +2,4 @@ repository='cvs :pserver:anonymous@duma.cvs.sourceforge.net:/cvsroot/duma duma'
mirrors='http://downloads.sourceforge.net/project/duma/duma/${CT_DUMA_VERSION//_/.}'
archive_filename='@{pkg_name}_@{version}'
archive_dirname='@{pkg_name}_@{version}'
archive_formats='.tar.gz .zip'

View File

@ -2,3 +2,4 @@ repository='git https://github.com/libexpat/libexpat.git'
repository_subdir='expat'
bootstrap='./buildconf.sh && make -C doc all'
mirrors='http://downloads.sourceforge.net/project/expat/expat/${CT_EXPAT_VERSION}'
archive_formats='.tar.bz2'

View File

@ -3,3 +3,4 @@ repository='git https://git.linaro.org/toolchain/gcc.git'
mirrors='$(CT_Mirrors Linaro gcc ${CT_GCC_LINARO_VERSION})'
origin='Linaro'
experimental='yes'
archive_formats='.tar.xz'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2 .tar.gz'

View File

@ -0,0 +1 @@
archive_formats='.tar.bz2 .tar.gz'

View File

@ -0,0 +1 @@
archive_formats='.tar.bz2 .tar.gz'

View File

@ -1,13 +0,0 @@
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80037
diff --git a/libgcc/config/alpha/t-alpha b/libgcc/config/alpha/t-alpha
index 0b6ffb1..0c2f840 100644
--- a/libgcc/config/alpha/t-alpha
+++ b/libgcc/config/alpha/t-alpha
@@ -1,2 +1,6 @@
# This is a support routine for longlong.h, used by libgcc2.c.
LIB2ADD += $(srcdir)/config/alpha/qrnnd.S
+
+# When GAS-generated unwind tables are created, they get created
+# after the __FRAME_END__ terminator, which causes an ld error.
+CRTSTUFF_T_CFLAGS = -fno-unwind-tables

View File

@ -1,74 +0,0 @@
From 06689e5973647f5c65d1984b164f2531f5418d7a Mon Sep 17 00:00:00 2001
From: Max Filippov <jcmvbkbc@gmail.com>
Date: Sun, 28 May 2017 19:56:56 -0700
Subject: [PATCH] gcc: xtensa: fix fprintf format specifiers
HOST_WIDE_INT may not be long as assumed in print_operand and
xtensa_emit_call. Use HOST_WIDE_INT_PRINT_DEC/HOST_WIDE_INT_PRINT_HEX
format strings instead of %ld/0x%lx. This fixes incorrect assembly code
generation by the compiler running on armhf host.
2017-05-28 Max Filippov <jcmvbkbc@gmail.com>
gcc/
* config/xtensa/xtensa.c (xtensa_emit_call): Use
HOST_WIDE_INT_PRINT_HEX instead of 0x%lx format string.
(print_operand): Use HOST_WIDE_INT_PRINT_DEC instead of %ld
format string.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
gcc/config/xtensa/xtensa.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c
index 0181dde..25e4a28 100644
--- a/gcc/config/xtensa/xtensa.c
+++ b/gcc/config/xtensa/xtensa.c
@@ -1780,7 +1780,8 @@ xtensa_emit_call (int callop, rtx *operands)
rtx tgt = operands[callop];
if (GET_CODE (tgt) == CONST_INT)
- sprintf (result, "call%d\t0x%lx", WINDOW_SIZE, INTVAL (tgt));
+ sprintf (result, "call%d\t" HOST_WIDE_INT_PRINT_HEX,
+ WINDOW_SIZE, INTVAL (tgt));
else if (register_operand (tgt, VOIDmode))
sprintf (result, "callx%d\t%%%d", WINDOW_SIZE, callop);
else
@@ -2351,14 +2352,14 @@ print_operand (FILE *file, rtx x, int letter)
case 'L':
if (GET_CODE (x) == CONST_INT)
- fprintf (file, "%ld", (32 - INTVAL (x)) & 0x1f);
+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, (32 - INTVAL (x)) & 0x1f);
else
output_operand_lossage ("invalid %%L value");
break;
case 'R':
if (GET_CODE (x) == CONST_INT)
- fprintf (file, "%ld", INTVAL (x) & 0x1f);
+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, INTVAL (x) & 0x1f);
else
output_operand_lossage ("invalid %%R value");
break;
@@ -2372,7 +2373,7 @@ print_operand (FILE *file, rtx x, int letter)
case 'd':
if (GET_CODE (x) == CONST_INT)
- fprintf (file, "%ld", INTVAL (x));
+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, INTVAL (x));
else
output_operand_lossage ("invalid %%d value");
break;
@@ -2437,7 +2438,7 @@ print_operand (FILE *file, rtx x, int letter)
else if (GET_CODE (x) == MEM)
output_address (GET_MODE (x), XEXP (x, 0));
else if (GET_CODE (x) == CONST_INT)
- fprintf (file, "%ld", INTVAL (x));
+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, INTVAL (x));
else
output_addr_const (file, x);
}
--
2.1.4

View File

@ -2,3 +2,4 @@ repository='svn svn://gcc.gnu.org/svn/gcc'
mirrors='$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})'
origin='GNU'
milestones='4.8 4.9 4.9.2 5 6 7'
archive_formats='.tar.xz .tar.gz'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2'

View File

@ -3,3 +3,4 @@ repository='git https://git.linaro.org/toolchain/binutils-gdb.git'
mirrors='$(CT_Mirrors Linaro gdb ${CT_GDB_LINARO_VERSION})'
origin='Linaro'
experimental='yes'
archive_formats='.tar.xz'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2 .tar.gz'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2 .tar.gz'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2 .tar.gz'

View File

@ -1,52 +0,0 @@
From 99fe86f7999afd2743b08c550b10f083ae4bd9bd Mon Sep 17 00:00:00 2001
From: Peter Bergner <bergner@vnet.ibm.com>
Date: Tue, 14 Jul 2015 10:46:16 -0500
Subject: [PATCH] Fix build issue with nat/linux-namespaces.c.
* nat/linux-namespaces.c (setns): Rename from this ...
(do_setns): ... to this. Support calling setns if it exists.
(mnsh_handle_setns): Call do_setns.
---
gdb/ChangeLog | 6 ++++++
gdb/nat/linux-namespaces.c | 12 ++++++------
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/gdb/nat/linux-namespaces.c b/gdb/nat/linux-namespaces.c
index a7a3e4d..fd0d4b0 100644
--- a/gdb/nat/linux-namespaces.c
+++ b/gdb/nat/linux-namespaces.c
@@ -34,18 +34,18 @@ int debug_linux_namespaces;
/* Handle systems without setns. */
-#ifndef HAVE_SETNS
-static int
-setns (int fd, int nstype)
+static inline int
+do_setns (int fd, int nstype)
{
-#ifdef __NR_setns
+#ifdef HAVE_SETNS
+ return setns (fd, nstype);
+#elif defined __NR_setns
return syscall (__NR_setns, fd, nstype);
#else
errno = ENOSYS;
return -1;
#endif
}
-#endif
/* Handle systems without MSG_CMSG_CLOEXEC. */
@@ -495,7 +495,7 @@ mnsh_recv_message (int sock, enum mnsh_msg_type *type,
static ssize_t
mnsh_handle_setns (int sock, int fd, int nstype)
{
- int result = setns (fd, nstype);
+ int result = do_setns (fd, nstype);
return mnsh_return_int (sock, result, errno);
}
--
1.9.4

View File

@ -1,28 +0,0 @@
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "stopcode.h"
#include "defs.h"
#include "inferior.h"
#include "infrun.h"
@@ -73,6 +74,10 @@
#define SPUFS_MAGIC 0x23c9b64e
#endif
+#ifndef __SIGRTMIN
+#define __SIGRTMIN SIGRTMIN
+#endif
+
/* This comment documents high-level logic of this file.
Waiting for events in sync mode
--- /dev/null
+++ b/gdb/stopcode.h
@@ -0,0 +1,4 @@
+#ifndef W_STOPCODE
+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
+#endif
+

View File

@ -1,39 +0,0 @@
From 7f8c0d8984bf5754807d3bb543cbc3ffc634e9e4 Mon Sep 17 00:00:00 2001
From: Max Filippov <jcmvbkbc@gmail.com>
Date: Sat, 30 May 2015 13:00:32 +0300
Subject: [PATCH] xtensa: initialize call_abi in xtensa_tdep
Use XSHAL_ABI value provided by xtensa-config.h to correctly initialize
xtensa_tdep.call_abi
This fixes calls to functions from GDB that otherwise fail with the
following assertion in call0 configuration:
gdb/regcache.c:602: internal-error: regcache_raw_read: Assertion
`regnum >= 0 && regnum < regcache->descr->nr_raw_registers' failed.
gdb/
* xtensa-tdep.h (XTENSA_GDBARCH_TDEP_INSTANTIATE): Initialize
call_abi using XSHAL_ABI macro.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
gdb/xtensa-tdep.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gdb/xtensa-tdep.h b/gdb/xtensa-tdep.h
index adacaf8..3b6ea66 100644
--- a/gdb/xtensa-tdep.h
+++ b/gdb/xtensa-tdep.h
@@ -246,7 +246,8 @@ struct gdbarch_tdep
.spill_location = -1, \
.spill_size = (spillsz), \
.unused = 0, \
- .call_abi = 0, \
+ .call_abi = (XSHAL_ABI == XTHAL_ABI_CALL0) ? \
+ CallAbiCall0Only : CallAbiDefault, \
.debug_interrupt_level = XCHAL_DEBUGLEVEL, \
.icache_line_bytes = XCHAL_ICACHE_LINESIZE, \
.dcache_line_bytes = XCHAL_DCACHE_LINESIZE, \
--
1.8.1.4

View File

@ -1,35 +0,0 @@
From 208ea73d38c9c16cf983b6419f58050dbadcb6a9 Mon Sep 17 00:00:00 2001
From: Max Filippov <jcmvbkbc@gmail.com>
Date: Sun, 7 Jun 2015 22:43:49 +0300
Subject: [PATCH 2/2] xtensa: make sure ar_base is initialized
ar_base is uninitialized for cores w/o windowed registers as their
regmap doesn't have register 0x0100.
Check that ar_base is initialized and if not initialize it with a0_base.
gdb/
* xtensa-tdep.c (xtensa_derive_tdep): Make sure ar_base is
initialized.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
gdb/xtensa-tdep.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c
index 55e7d98..41f5ec1 100644
--- a/gdb/xtensa-tdep.c
+++ b/gdb/xtensa-tdep.c
@@ -3175,6 +3175,9 @@ xtensa_derive_tdep (struct gdbarch_tdep *tdep)
tdep->num_regs = n;
}
+ if (tdep->ar_base == -1)
+ tdep->ar_base = tdep->a0_base;
+
/* Number of pseudo registers. */
tdep->num_pseudo_regs = n - tdep->num_regs;
--
1.8.1.4

View File

@ -1,31 +0,0 @@
From 7f8eacbb468575fb67db7fd1155a3aedaa91911b Mon Sep 17 00:00:00 2001
From: Max Filippov <jcmvbkbc@gmail.com>
Date: Sun, 7 Jun 2015 23:15:39 +0300
Subject: [PATCH] WIP: *end of prologue* detection hack
see
http://www.esp8266.com/viewtopic.php?p=18461#p18461
http://www.esp8266.com/viewtopic.php?p=19026#p19026
http://www.esp8266.com/viewtopic.php?p=19683#p19683
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
gdb/xtensa-tdep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c
index 41f5ec1..6a7dba7 100644
--- a/gdb/xtensa-tdep.c
+++ b/gdb/xtensa-tdep.c
@@ -2410,7 +2410,7 @@ call0_analyze_prologue (struct gdbarch *gdbarch,
/* Find out, if we have an information about the prologue from DWARF. */
prologue_sal = find_pc_line (start, 0);
if (prologue_sal.line != 0) /* Found debug info. */
- body_pc = prologue_sal.end;
+ body_pc = prologue_sal.end + 40;
/* If we are going to analyze the prologue in general without knowing about
the current PC, make the best assumtion for the end of the prologue. */
--
1.8.1.4

View File

@ -1 +0,0 @@
obsolete='yes'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2 .tar.gz'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2 .tar.gz'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2 .tar.gz'

View File

@ -1 +0,0 @@
obsolete='yes'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2 .tar.gz'

View File

@ -1 +0,0 @@
obsolete='yes'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2 .tar.gz'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2 .tar.gz'

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.bz2 .tar.gz'

View File

@ -1 +0,0 @@
obsolete='yes'

View File

@ -1 +0,0 @@
obsolete='yes'

View File

@ -1 +0,0 @@
obsolete='yes'

View File

@ -2,3 +2,4 @@ origin='GNU'
repository='git git://sourceware.org/git/binutils-gdb.git'
mirrors='$(CT_Mirrors GNU gdb) $(CT_Mirrors sourceware gdb/releases)'
milestones='7.0 7.2 8.0'
archive_formats='.tar.xz .tar.gz'

View File

@ -3,3 +3,4 @@ repository='git https://git.savannah.gnu.org/git/gettext.git'
# a separate package and depend on it in case of devel builds?
bootstrap='./autogen.sh'
mirrors='$(CT_Mirrors GNU gettext)'
archive_formats='.tar.xz .tar.lz .tar.gz'

View File

@ -3,3 +3,4 @@ origin='Linaro'
repository='git https://git.linaro.org/toolchain/glibc.git'
mirrors='$(CT_Mirrors Linaro glibc ${CT_GLIBC_LINARO_VERSION})'
experimental='yes'
archive_formats='.tar.xz'

View File

@ -0,0 +1 @@
archive_formats='.tar.bz2 .tar.gz'

View File

@ -0,0 +1 @@
archive_formats='.tar.bz2 .tar.gz'

View File

@ -6,3 +6,5 @@ mirrors='$(CT_Mirrors GNU glibc) $(CT_Mirrors sourceware glibc/releases)'
# Version of this package must be the same as the glibc's
versionlocked='glibc'
archive_formats='.tar.xz .tar.bz2 .tar.gz'

View File

@ -0,0 +1,15 @@
diff -urN glibc-2.23-orig/posix/sys/types.h glibc-2.23/posix/sys/types.h
--- glibc-2.23-orig/posix/sys/types.h 2016-02-18 12:54:00.000000000 -0500
+++ glibc-2.23/posix/sys/types.h 2017-01-06 11:40:05.842147165 -0500
@@ -113,7 +113,10 @@
#ifdef __USE_MISC
# ifndef __daddr_t_defined
typedef __daddr_t daddr_t;
+# if ! defined(caddr_t) && ! defined(__caddr_t_defined)
typedef __caddr_t caddr_t;
+# define __caddr_t_defined
+# endif
# define __daddr_t_defined
# endif
#endif

Some files were not shown because too many files have changed in this diff Show More