21555682 upgrade binutils to 2.27
authorNorm Jacobs <Norm.Jacobs@Oracle.COM>
Tue, 15 Nov 2016 08:47:03 -0800
changeset 7310 88d40c6177a1
parent 7309 2655ef11c386
child 7312 6b323adaf9e7
21555682 upgrade binutils to 2.27 22834895 binutils should be 64-bit 22813888 GNU objectcopy corrupts ELF files 20460059 GNU-BINUTILS should have some master test results to compare against 22677739 GNU assembler does not support %d and %q syntax for fp registers 24380705 gas on 32-bit SPARC emits a wrong R_SPARC_UA64 relocation
components/binutils/Makefile
components/binutils/binutils.p5m
components/binutils/patches/bfd.aoutfl1.h.patch
components/binutils/patches/bfd_config.patch
components/binutils/patches/cache.c.patch
components/binutils/patches/elf-common.h.patch
components/binutils/patches/ihex.c.patch
components/binutils/patches/output.cc.patch
components/binutils/patches/srec.c.patch
components/binutils/patches/timer.cc.patch
components/binutils/test/results-i386.master
components/binutils/test/results-sparc.master
components/gcc3/gcc-3.p5m
components/gcc3/patches/i386.sol2-10.h.patch
--- a/components/binutils/Makefile	Wed Nov 02 08:17:06 2016 -0700
+++ b/components/binutils/Makefile	Tue Nov 15 08:47:03 2016 -0800
@@ -22,50 +22,37 @@
 #
 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
 #
-# At the moment, we build both 32-bit and 64-bit versions of binutils, but only
-# deliver the 32-bit binaries and libraries.
-BUILD_BITS= 32_and_64
+BUILD_BITS= 64
 COMPILER= gcc
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		binutils
-COMPONENT_VERSION=	2.25.1
+COMPONENT_VERSION=	2.27
 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
 COMPONENT_ARCHIVE_HASH=	\
-	sha256:b5b14added7d78a8d1ca70b5cb75fef57ce2197264f4f5835326b0df22ac9f22
+	sha256:369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88
 COMPONENT_BUGDB=	utility/gnu-binutils
 
-TPNO=			23923
+TPNO=			32076
 
-TEST_TARGET= $(TEST_32)
+TEST_TARGET= $(TEST_64)
 include $(WS_MAKE_RULES)/gnu-component.mk
 
-PATCH_LEVEL := 0
+export PATH=$(dirname $(CC)):$(GNUBIN):/usr/bin
+COMPONENT_TEST_ARGS += -k
+COMPONENT_TEST_MASTER =	$(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH).master
 
-PARCH =		$(MACH:i386=i386-pc)
-GNU_ARCH =	$(PARCH:sparc=sparc-sun)-solaris$(SOLARIS_VERSION)
+COMPONENT_TEST_TRANSFORMS += '-e "/bin\/gcc/d" '
+COMPONENT_TEST_TRANSFORMS += '-e "/bin\/g++/d" '
+COMPONENT_TEST_TRANSFORMS += '-e "/^Test Run By /d" '
+
+PARCH =		$(MACH:i386=x86_64-pc)
+GNU_ARCH =	$(PARCH:sparc=sparcv9-sun)-solaris$(SOLARIS_VERSION)
 
 PKG_MACROS +=	GNU_ARCH="$(GNU_ARCH)"
 
-CFLAGS.i386 = -mtune=opteron -march=opteron
-CFLAGS.sparc = -mtune=ultrasparc3 -mcpu=ultrasparc3 -mvis2 \
-  -mno-unaligned-doubles -mhard-float -mimpure-text
-
-CFLAGS = $(CC_BITS) -g -O2 -std=c99
-CFLAGS += $(CFLAGS.$(MACH))
-CFLAGS += -D_REENTRANT  $(CPP_LARGEFILES) $(CPP_POSIX)
-CXXFLAGS = $(CC_BITS) -g -O2 -std=c++03
-CXXFLAGS += $(CFLAGS.$(MACH))
-CXXFLAGS += -D_REENTRANT $(CPP_LARGEFILES) $(CPP_POSIX)
-CPPFLAGS += -D_REENTRANT $(CPP_LARGEFILES) $(CPP_POSIX)
-
 CONFIGURE_PREFIX =	$(USRDIR)/gnu
 
-CONFIGURE_ENV +=	LD_OPTIONS="$(LD_OPTIONS)"
-CONFIGURE_ENV +=	CCLD="$(CC) $(CFLAGS) $(LDFLAGS)"
-CONFIGURE_ENV +=	LIBS="$(LIBS)"
-CONFIGURE_ENV +=	PATH="$(PATH)"
-
 CONFIGURE_OPTIONS +=	--mandir=$(CONFIGURE_MANDIR)
 CONFIGURE_OPTIONS +=	--infodir=$(CONFIGURE_INFODIR)
 CONFIGURE_OPTIONS +=    --disable-gold
@@ -76,6 +63,8 @@
 CONFIGURE_OPTIONS +=    --enable-largefile
 CONFIGURE_OPTIONS +=    --enable-nls
 CONFIGURE_OPTIONS +=    --enable-plugins
+CONFIGURE_OPTIONS +=    --with-system-zlib
+CONFIGURE_OPTIONS +=    --build=$(GNU_ARCH)
 
 REQUIRED_PACKAGES += library/zlib
 REQUIRED_PACKAGES += system/library/math
--- a/components/binutils/binutils.p5m	Wed Nov 02 08:17:06 2016 -0700
+++ b/components/binutils/binutils.p5m	Tue Nov 15 08:47:03 2016 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 <transform file path=usr.*/man/.*$ -> default mangler.man.stability uncommitted>
 <transform link path=usr/bin/g.* -> default facet.compat.gnulinks true>
@@ -162,6 +162,9 @@
 file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_i386_sol2.x variant.arch=i386
 file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_i386_sol2.xbn variant.arch=i386
 file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_i386_sol2.xc variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_i386_sol2.xd variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_i386_sol2.xdc variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_i386_sol2.xdw variant.arch=i386
 file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_i386_sol2.xn variant.arch=i386
 file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_i386_sol2.xr variant.arch=i386
 file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_i386_sol2.xs variant.arch=i386
@@ -169,6 +172,19 @@
 file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_i386_sol2.xsw variant.arch=i386
 file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_i386_sol2.xu variant.arch=i386
 file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_i386_sol2.xw variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_iamcu.x variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_iamcu.xbn variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_iamcu.xc variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_iamcu.xd variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_iamcu.xdc variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_iamcu.xdw variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_iamcu.xn variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_iamcu.xr variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_iamcu.xs variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_iamcu.xsc variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_iamcu.xsw variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_iamcu.xu variant.arch=i386
+file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_iamcu.xw variant.arch=i386
 file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_k1om.x variant.arch=i386
 file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_k1om.xbn variant.arch=i386
 file path=usr/gnu/$(GNU_ARCH)/lib/ldscripts/elf_k1om.xc variant.arch=i386
@@ -247,10 +263,16 @@
 file path=usr/gnu/include/bfd.h
 file path=usr/gnu/include/bfdlink.h
 file path=usr/gnu/include/dis-asm.h
+file path=usr/gnu/include/plugin-api.h
 file path=usr/gnu/include/symcat.h
+file path=usr/gnu/lib/$(MACH64)/libbfd.a variant.arch=drop
+file path=usr/gnu/lib/$(MACH64)/libbfd.la
+file path=usr/gnu/lib/$(MACH64)/libopcodes.a variant.arch=drop
+file path=usr/gnu/lib/$(MACH64)/libopcodes.la
 file path=usr/gnu/share/locale/bg/LC_MESSAGES/binutils.mo
 file path=usr/gnu/share/locale/bg/LC_MESSAGES/gprof.mo
 file path=usr/gnu/share/locale/bg/LC_MESSAGES/ld.mo
+file path=usr/gnu/share/locale/ca/LC_MESSAGES/binutils.mo
 file path=usr/gnu/share/locale/da/LC_MESSAGES/bfd.mo
 file path=usr/gnu/share/locale/da/LC_MESSAGES/binutils.mo
 file path=usr/gnu/share/locale/da/LC_MESSAGES/gprof.mo
@@ -315,6 +337,7 @@
 file path=usr/gnu/share/locale/rw/LC_MESSAGES/gas.mo
 file path=usr/gnu/share/locale/rw/LC_MESSAGES/gprof.mo
 file path=usr/gnu/share/locale/sk/LC_MESSAGES/binutils.mo
+file path=usr/gnu/share/locale/sr/LC_MESSAGES/bfd.mo
 file path=usr/gnu/share/locale/sr/LC_MESSAGES/binutils.mo
 file path=usr/gnu/share/locale/sr/LC_MESSAGES/gprof.mo
 file path=usr/gnu/share/locale/sv/LC_MESSAGES/bfd.mo
@@ -342,6 +365,7 @@
 file path=usr/gnu/share/locale/vi/LC_MESSAGES/opcodes.mo
 file path=usr/gnu/share/locale/zh_CN/LC_MESSAGES/bfd.mo
 file path=usr/gnu/share/locale/zh_CN/LC_MESSAGES/binutils.mo
+file path=usr/gnu/share/locale/zh_CN/LC_MESSAGES/gas.mo
 file path=usr/gnu/share/locale/zh_CN/LC_MESSAGES/ld.mo
 file path=usr/gnu/share/locale/zh_CN/LC_MESSAGES/opcodes.mo
 file path=usr/gnu/share/locale/zh_TW/LC_MESSAGES/binutils.mo
@@ -351,6 +375,7 @@
 file path=usr/gnu/share/man/man1/ar.1
 file path=usr/gnu/share/man/man1/as.1
 file path=usr/gnu/share/man/man1/c++filt.1
+file path=usr/gnu/share/man/man1/dlltool.1 variant.arch=drop
 file path=usr/gnu/share/man/man1/elfedit.1
 file path=usr/gnu/share/man/man1/gprof.1
 file usr/gnu/share/man/man1/strip.1 path=usr/gnu/share/man/man1/gstrip.1
@@ -363,6 +388,9 @@
 file path=usr/gnu/share/man/man1/readelf.1
 file path=usr/gnu/share/man/man1/size.1
 file path=usr/gnu/share/man/man1/strings.1
+file path=usr/gnu/share/man/man1/strip.1 variant.arch=drop
+file path=usr/gnu/share/man/man1/windmc.1 variant.arch=drop
+file path=usr/gnu/share/man/man1/windres.1 variant.arch=drop
 #
 link path=usr/sfw/bin/gaddr2line target=../../gnu/bin/addr2line
 link path=usr/sfw/bin/gar target=../../gnu/bin/ar
--- a/components/binutils/patches/bfd.aoutfl1.h.patch	Wed Nov 02 08:17:06 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-# struct regs definition conflicts with the struct regs 
-# declaration from /usr/include/sys/dtrace.h.
-# This patch has been submitted to the community.
---- bfd/aoutf1.h	2014-10-14 00:32:02.000000000 -0700
-+++ bfd/aoutf1.h	2015-08-04 11:47:24.254878877 -0700
-@@ -251,7 +251,7 @@
- /* But the reg structure can be gotten from the SPARC processor handbook.
-   This really should be in a GNU include file though so that gdb can use
-   the same info.  */
--struct regs
-+struct sparc_regs
- {
-   int r_psr;
-   int r_pc;
-@@ -285,7 +285,7 @@
-   int c_magic;				/* Corefile magic number.  */
-   int c_len;				/* Sizeof (struct core).  */
- #define	SPARC_CORE_LEN	432
--  struct regs c_regs;			/* General purpose registers -- MACHDEP SIZE.  */
-+  struct sparc_regs c_regs;		/* General purpose registers -- MACHDEP SIZE.  */
-   struct external_exec c_aouthdr;	/* A.out header.  */
-   int c_signo;				/* Killing signal, if any.  */
-   int c_tsize;				/* Text size (bytes).  */
-@@ -308,7 +308,7 @@
-   int c_magic;				/* Corefile magic number.  */
-   int c_len;				/* Sizeof (struct core).  */
- #define	SOLARIS_BCP_CORE_LEN	456
--  struct regs c_regs;			/* General purpose registers -- MACHDEP SIZE.  */
-+  struct sparc_regs c_regs;		/* General purpose registers -- MACHDEP SIZE.  */
-   int c_exdata_vp;			/* Exdata structure.  */
-   int c_exdata_tsize;
-   int c_exdata_dsize;
--- a/components/binutils/patches/bfd_config.patch	Wed Nov 02 08:17:06 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-Source:
-Internal
-Info:
-This patch is created so that objcopy will support additional targets.
-Status:
-Submitted upstream. Emailed [email protected] and submitted
-bug at https://sourceware.org/bugzilla/show_bug.cgi?id=19501.  Fix
-is in version 2.26.
-
---- bfd/config.bfd	2015-12-21 14:44:52.467611718 -0800
-+++ bfd/config.bfd	2015-12-21 14:48:28.692616591 -0800
-@@ -526,13 +526,13 @@
-   i[3-7]86-*-solaris2*)
-     targ_defvec=i386_elf32_sol2_vec
-     targ_selvecs="i386_coff_vec"
--    targ64_selvecs="x86_64_elf64_sol2_vec l1om_elf64_vec k1om_elf64_vec"
-+    targ64_selvecs="x86_64_elf64_sol2_vec l1om_elf64_vec k1om_elf64_vec i386_pe_vec x86_64_pe_vec x86_64_pei_vec i386_pei_vec"
-     want64=true
-     ;;
- #ifdef BFD64
-   x86_64-*-solaris2*)
-     targ_defvec=i386_elf32_sol2_vec
--    targ_selvecs="x86_64_elf64_sol2_vec l1om_elf64_vec k1om_elf64_vec i386_coff_vec"
-+    targ_selvecs="x86_64_elf64_sol2_vec l1om_elf64_vec k1om_elf64_vec i386_coff_vec i386_pe_vec x86_64_pe_vec x86_64_pei_vec i386_pei_vec"
-     want64=true
-     ;;
- #endif
--- a/components/binutils/patches/cache.c.patch	Wed Nov 02 08:17:06 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-# Patch submitted to the binutils project:
-# https://sourceware.org/bugzilla/show_bug.cgi?id=19260
---- bfd/cache.c	2014-10-14 00:32:02.000000000 -0700
-+++ bfd/cache.c	2015-11-17 21:23:28.679754360 -0800
-@@ -77,6 +77,23 @@
- {
-   if (max_open_files == 0)
-     {
-+#if defined(__sun) && !defined(__sparcv9) && !defined(__x86_64__)
-+      /* Very inelegant handling of the 255 file descriptor limit
-+       * in 32-bit Solaris libc.
-+       * The problem is that setrlimit(2) can raise RLIMIT_NOFILE
-+       * in 32-bit to a value that is not supported by libc, resulting
-+       * in "Too many open files" errors.
-+       * This can happen even if max_open_files = rlim.rlim_cur / 8.
-+       * For example, if rlim.rlim_cur == 65536, then max_open_files == 8192.
-+       * This essentially reverts to the behavior from binutils 2.23.1
-+       * for 32-bit Solaris only.
-+       * We hope to have this 32-bit libc limitation removed soon.
-+       * 64-bit Solaris libc does not have this limitation.
-+       */
-+      max_open_files = 16;
-+      return max_open_files;
-+#endif
-+
-       int max;
- #ifdef HAVE_GETRLIMIT
-       struct rlimit rlim;
--- a/components/binutils/patches/elf-common.h.patch	Wed Nov 02 08:17:06 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
-# If building on Solaris, then do the following:
-# 1. #include <sys/auxv.h> - which will bring in all the
-# necessary AT_SUN_* macros.
-# 2. #ifndef guard all the AT_SUN_* macros. The definitions from
-# /usr/include/sys/auxv.h will be used.
-#
-# If not building on Solaris - i.e. cross-compiling, then
-# the AT_SUN_* macro definitions present here will be used.
-#
-# This patch has been submitted to the community.
---- include/elf/common.h	2014-10-14 00:32:04.000000000 -0700
-+++ include/elf/common.h	2015-08-04 12:32:32.098574442 -0700
-@@ -30,6 +30,10 @@
- #ifndef _ELF_COMMON_H
- #define _ELF_COMMON_H
- 
-+#if defined(sun) || defined(__sun) || defined(__sun__)
-+#include <sys/auxv.h>
-+#endif
-+
- /* Fields in e_ident[].  */
- 
- #define EI_MAG0		0	/* File identification byte 0 index */
-@@ -975,25 +979,77 @@
- #define AT_L2_CACHESHAPE  36
- #define AT_L3_CACHESHAPE  37
- 
-+#ifndef AT_SUN_UID
- #define AT_SUN_UID      2000    /* Effective user ID.  */
-+#endif
-+
-+#ifndef AT_SUN_RUID
- #define AT_SUN_RUID     2001    /* Real user ID.  */
-+#endif
-+
-+#ifndef AT_SUN_GID
- #define AT_SUN_GID      2002    /* Effective group ID.  */
-+#endif
-+
-+#ifndef AT_SUN_RGID
- #define AT_SUN_RGID     2003    /* Real group ID.  */
-+#endif
-+
-+#ifndef AT_SUN_LDELF
- #define AT_SUN_LDELF    2004    /* Dynamic linker's ELF header.  */
-+#endif
-+
-+#ifndef AT_SUN_LDSHDR
- #define AT_SUN_LDSHDR   2005    /* Dynamic linker's section headers.  */
-+#endif
-+
-+#ifndef AT_SUN_LDNAME
- #define AT_SUN_LDNAME   2006    /* String giving name of dynamic linker.  */
-+#endif
-+
-+#ifndef AT_SUN_LPAGESZ
- #define AT_SUN_LPAGESZ  2007    /* Large pagesize.   */
-+#endif
-+
-+#ifndef AT_SUN_PLATFORM
- #define AT_SUN_PLATFORM 2008    /* Platform name string.  */
-+#endif
-+
-+#ifndef AT_SUN_HWCAP
- #define AT_SUN_HWCAP    2009	/* Machine dependent hints about
- 				   processor capabilities.  */
-+#endif
-+
-+#ifndef AT_SUN_IFLUSH
- #define AT_SUN_IFLUSH   2010    /* Should flush icache? */
-+#endif
-+
-+#ifndef AT_SUN_CPU
- #define AT_SUN_CPU      2011    /* CPU name string.  */
-+#endif
-+
-+#ifndef AT_SUN_EMUL_ENTRY
- #define AT_SUN_EMUL_ENTRY 2012	/* COFF entry point address.  */
-+#endif
-+
-+#ifndef AT_SUN_EMUL_EXECFD
- #define AT_SUN_EMUL_EXECFD 2013	/* COFF executable file descriptor.  */
-+#endif
-+
-+#ifndef AT_SUN_EXECNAME
- #define AT_SUN_EXECNAME 2014    /* Canonicalized file name given to execve.  */
-+#endif
-+
-+#ifndef AT_SUN_MMU
- #define AT_SUN_MMU      2015    /* String for name of MMU module.   */
-+#endif
-+
-+#ifndef AT_SUN_LDDATA
- #define AT_SUN_LDDATA   2016    /* Dynamic linker's data segment address.  */
--#define AT_SUN_AUXFLAGS	2017	/* AF_SUN_ flags passed from the kernel.  */
-+#endif
- 
-+#ifndef AT_SUN_AUXFLAGS
-+#define AT_SUN_AUXFLAGS	2017	/* AF_SUN_ flags passed from the kernel.  */
-+#endif
- 
- #endif /* _ELF_COMMON_H */
--- a/components/binutils/patches/ihex.c.patch	Wed Nov 02 08:17:06 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-# Patch is from RedHat binutils-2.25.1 src rpm.
-# No need to send to binutils, they know about it.
---- bfd/ihex.c	2014-11-04 01:54:41.000000000 -0800
-+++ bfd/ihex.c	2015-11-14 22:31:59.559502520 -0800
-@@ -219,7 +219,7 @@
-       char buf[10];
- 
-       if (! ISPRINT (c))
--	sprintf (buf, "\\%03o", (unsigned int) c);
-+	sprintf (buf, "\\%03o", (unsigned int) (c & 0xff));
-       else
- 	{
- 	  buf[0] = c;
-@@ -276,7 +276,7 @@
-       else
- 	{
- 	  file_ptr pos;
--	  char hdr[8];
-+	  unsigned char hdr[8];
- 	  unsigned int i;
- 	  unsigned int len;
- 	  bfd_vma addr;
-@@ -553,7 +553,7 @@
-   error = FALSE;
-   while ((c = ihex_get_byte (abfd, &error)) != EOF)
-     {
--      char hdr[8];
-+      unsigned char hdr[8];
-       unsigned int len;
-       unsigned int type;
-       unsigned int i;
--- a/components/binutils/patches/output.cc.patch	Wed Nov 02 08:17:06 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-# Solaris posix_fallocate(3C) will fail if len == 0. Try using
-# posix_fallocate(3C) first, and if it fails, fallback to
-# ftruncate(3C).
-# We aren't building the Gold Linker anyway. This is just for
-# those of us who are building and working on the Gold Linker.
-# This patch has been submitted to the community.
---- gold/output.cc	2014-10-14 00:32:04.000000000 -0700
-+++ gold/output.cc	2015-08-04 11:57:17.805271241 -0700
-@@ -22,6 +22,7 @@
- 
- #include "gold.h"
- 
-+#include <cstdio>
- #include <cstdlib>
- #include <cstring>
- #include <cerrno>
-@@ -127,9 +128,15 @@
- static int
- gold_fallocate(int o, off_t offset, off_t len)
- {
--#ifdef HAVE_POSIX_FALLOCATE
--  if (parameters->options().posix_fallocate())
--    return ::posix_fallocate(o, offset, len);
-+#if defined(HAVE_POSIX_FALLOCATE)
-+  if (parameters->options().posix_fallocate()) {
-+    // posix_fallocate on Solaris will fail if len == 0
-+    int ret = ::posix_fallocate(o, offset, len);
-+    // try ::ftruncate(3C) is posix_fallocate(3C) failed.
-+    if (ret != 0)
-+      ret = ::ftruncate(o, offset + len);
-+    return ret;
-+  }
- #endif // defined(HAVE_POSIX_FALLOCATE)
- #ifdef HAVE_FALLOCATE
-   if (::fallocate(o, 0, offset, len) == 0)
--- a/components/binutils/patches/srec.c.patch	Wed Nov 02 08:17:06 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-# Patch is from RedHat binutils-2.25.1 src rpm.
-# No need to send to binutils, they know about it.
---- bfd/srec.c	2014-11-04 01:54:41.000000000 -0800
-+++ bfd/srec.c	2015-11-14 22:32:41.094053576 -0800
-@@ -249,7 +249,7 @@
-       char buf[40];
- 
-       if (! ISPRINT (c))
--	sprintf (buf, "\\%03o", (unsigned int) c);
-+	sprintf (buf, "\\%03o", (unsigned int) (c & 0xff));
-       else
- 	{
- 	  buf[0] = c;
--- a/components/binutils/patches/timer.cc.patch	Wed Nov 02 08:17:06 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-# We need <unistd.h>.
-# This patch has been submitted to the community.
---- gold/timer.cc	2014-10-14 00:32:04.000000000 -0700
-+++ gold/timer.cc	2015-08-04 11:59:42.929031188 -0700
-@@ -28,6 +28,8 @@
- #include <sys/times.h>
- #endif
- 
-+#include <unistd.h>
-+
- #include "libiberty.h"
- 
- #include "timer.h"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/binutils/test/results-i386.master	Tue Nov 15 08:47:03 2016 -0800
@@ -0,0 +1,842 @@
+make[1]: Entering directory '$(@D)'
+make[2]: Entering directory '$(@D)'
+make[3]: Entering directory '$(@D)/bfd'
+/usr/gnu/bin/make  check-recursive
+make[4]: Entering directory '$(@D)/bfd'
+Making check in doc
+make[5]: Entering directory '$(@D)/bfd/doc'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/bfd/doc'
+Making check in po
+make[5]: Entering directory '$(@D)/bfd/po'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/bfd/po'
+make[5]: Entering directory '$(@D)/bfd'
+make[5]: Leaving directory '$(@D)/bfd'
+make[4]: Leaving directory '$(@D)/bfd'
+make[3]: Leaving directory '$(@D)/bfd'
+make[3]: Entering directory '$(@D)/opcodes'
+Making check in .
+make[4]: Entering directory '$(@D)/opcodes'
+make[4]: Leaving directory '$(@D)/opcodes'
+Making check in po
+make[4]: Entering directory '$(@D)/opcodes/po'
+make[4]: Nothing to be done for 'check'.
+make[4]: Leaving directory '$(@D)/opcodes/po'
+make[3]: Leaving directory '$(@D)/opcodes'
+make[3]: Entering directory '$(@D)/binutils'
+/usr/gnu/bin/make  check-recursive
+make[4]: Entering directory '$(@D)/binutils'
+Making check in doc
+make[5]: Entering directory '$(@D)/binutils/doc'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/binutils/doc'
+Making check in po
+make[5]: Entering directory '$(@D)/binutils/po'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/binutils/po'
+make[5]: Entering directory '$(@D)/binutils'
+/usr/gnu/bin/make  check-DEJAGNU
+make[6]: Entering directory '$(@D)/binutils'
+Making a new site.exp file...
+srcdir=`cd $(SOURCE_DIR)/binutils && pwd`; export srcdir; \
+r=`pwd`; export r; \
+LC_ALL=C; export LC_ALL; \
+EXPECT=expect; export EXPECT; \
+runtest=runtest; \
+if /bin/bash -c "$runtest --version" > /dev/null 2>&1; then \
+	$runtest --tool binutils --srcdir ${srcdir}/testsuite \
+		; \
+else echo "WARNING: could not find \`runtest'" 1>&2; :;\
+fi
+WARNING: Couldn't find the global config file.
+WARNING: Couldn't find tool init file
+Native configuration is x86_64-pc-solaris2.12
+
+		=== binutils tests ===
+
+Schedule of variations:
+    unix
+
+Running target unix
+Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
+Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
+Using $(SOURCE_DIR)/binutils/testsuite/config/default.exp as tool-and-target-specific interface file.
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/aarch64/aarch64.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/ar.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/arm/objdump.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/bfin/objdump.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/compress.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/dlltool.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/elfedit.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/hppa/objdump.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/i386/i386.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/m68k/objdump.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/mips/mips.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/nm.exp ...
+Version $(@D)/binutils/nm-new 2.27
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/objcopy.exp ...
+Version $(@D)/binutils/objcopy 2.27
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/objdump.exp ...
+Version $(@D)/binutils/objdump 2.27
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/readelf.exp ...
+Version $(@D)/binutils/readelf 2.27
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/size.exp ...
+Version $(@D)/binutils/size 2.27
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/update-section.exp ...
+Version $(@D)/binutils/objcopy 2.27
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/vax/objdump.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/windres/windres.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/x86-64/x86-64.exp ...
+
+		=== binutils Summary ===
+
+# of expected passes		139
+# of expected failures		1
+# of unsupported tests		4
+make[6]: Leaving directory '$(@D)/binutils'
+make[5]: Leaving directory '$(@D)/binutils'
+make[4]: Leaving directory '$(@D)/binutils'
+make[3]: Leaving directory '$(@D)/binutils'
+make[3]: Entering directory '$(@D)/etc'
+make[3]: Nothing to be done for 'check'.
+make[3]: Leaving directory '$(@D)/etc'
+make[3]: Entering directory '$(@D)/gas'
+Making check in doc
+make[4]: Entering directory '$(@D)/gas/doc'
+make[4]: Nothing to be done for 'check'.
+make[4]: Leaving directory '$(@D)/gas/doc'
+Making check in po
+make[4]: Entering directory '$(@D)/gas/po'
+make[4]: Nothing to be done for 'check'.
+make[4]: Leaving directory '$(@D)/gas/po'
+make[4]: Entering directory '$(@D)/gas'
+/usr/gnu/bin/make  check-DEJAGNU
+make[5]: Entering directory '$(@D)/gas'
+Making a new site.exp file...
+if [ -d testsuite ]; then \
+  true; \
+else \
+  mkdir testsuite; \
+fi
+rm -f testsuite/site.exp
+cp site.exp testsuite/site.exp
+rootme=`pwd`; export rootme; \
+srcdir=`cd $(SOURCE_DIR)/gas; pwd` ; export srcdir ; \
+LC_ALL=C; export LC_ALL; \
+EXPECT=expect ; export EXPECT ; \
+runtest=runtest; \
+cd testsuite; \
+if /bin/bash -c "$runtest --version" > /dev/null 2>&1; then \
+  $runtest --tool gas --srcdir ${srcdir}/testsuite \
+	; \
+else echo "WARNING: could not find \`runtest'" 1>&2; :;\
+fi
+WARNING: Couldn't find the global config file.
+WARNING: Couldn't find tool init file
+Native configuration is x86_64-pc-solaris2.12
+
+		=== gas tests ===
+
+Schedule of variations:
+    unix
+
+Running target unix
+Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
+Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
+Using $(SOURCE_DIR)/gas/testsuite/config/default.exp as tool-and-target-specific interface file.
+Running $(SOURCE_DIR)/gas/testsuite/gas/aarch64/aarch64.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/all/gas.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/alpha/alpha.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/arc/arc.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/arc/warn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/arm/arm.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/avr/avr.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/bfin/bfin.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/bfin/error.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/cfi/cfi.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/cr16/cr16.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/cr16/pic.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/cris/cris.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/crx/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/d10v/d10v.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/d30v/d30.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/dlx/alltests.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/elf/elf.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/epiphany/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/fr30/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/fr30/fr30.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/frv/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/ft32/ft32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/h8300-coff.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/h8300-elf.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/h8300.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t01_mov.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t02_mova.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t03_add.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t04_sub.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t05_cmp.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t06_ari2.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t07_ari3.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t08_or.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t09_xor.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t10_and.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t11_logs.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t12_bit.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t13_otr.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/hppa/basic/basic.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/hppa/parse/parse.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/hppa/reloc/reloc.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/hppa/unsorted/unsorted.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/i386/i386.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/i386/ilp32/cfi/ilp32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/i386/ilp32/elf/ilp32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/i386/ilp32/ilp32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/i386/ilp32/lns/ilp32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/i860/i860.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/ia64/ia64.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/ieee-fp/x930509a.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/ip2k/ip2k-allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/iq2000/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/iq2000/load-hazards.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/iq2000/odd-ldw.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/iq2000/odd-sdw.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/iq2000/yield.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/lm32/all.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/lns/lns.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m32r/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m32r/error.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m32r/m32r.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m32r/m32r2.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m32r/m32rx.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m32r/pic.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m32r/rel32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m68hc11/m68hc11.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m68k-coff/gas.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m68k/all.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mach-o/mach-o.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/macros/macros.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mcore/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mep/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mep/complex-relocs.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/metag/metag.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/microblaze/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/microblaze/endian.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/microblaze/relax_size.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/microblaze/reloc_sym.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/microblaze/special_reg.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mips/mips.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mmix/mmix-err.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mmix/mmix-list.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mmix/mmix.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mn10200/basic.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mn10300/basic.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mri/mri.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/msp430/msp430.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mt/errors.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mt/mt.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mt/relocs.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/nds32/nds32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/nios2/nios2.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/or1k/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/pdp11/pdp11.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/pe/pe.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/pj/pj.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/ppc/aix.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/ppc/ppc.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/rl78/rl78.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/rx/rx.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/s390/s390.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/score/relax.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/score/relax_32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sh/arch/arch.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sh/basic.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sh/err.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sh/sh64/err.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sh/sh64/sh64.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sparc-solaris/addend.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sparc-solaris/gas.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sparc/mismatch.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sparc/sparc.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sun4/addend.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/symver/symver.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/tic4x/tic4x.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/tic54x/tic54x.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/tic6x/tic6x.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/tilegx/tilegx.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/tilepro/tilepro.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/v850/basic.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/vax/vax.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/visium/error.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/visium/visium.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/xc16x/xc16x.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/xgate/xgate.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/xstormy16/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/xtensa/all.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/xtensa/xtensa-err.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/z80/z80.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/z8k/z8k.exp ...
+
+		=== gas Summary ===
+
+# of expected passes		859
+# of unsupported tests		1
+../as-new 2.27
+
+make[5]: Leaving directory '$(@D)/gas'
+make[4]: Leaving directory '$(@D)/gas'
+make[3]: Leaving directory '$(@D)/gas'
+make[3]: Entering directory '$(@D)/gprof'
+/usr/gnu/bin/make  check-recursive
+make[4]: Entering directory '$(@D)/gprof'
+Making check in po
+make[5]: Entering directory '$(@D)/gprof/po'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/gprof/po'
+make[5]: Entering directory '$(@D)/gprof'
+make[5]: Leaving directory '$(@D)/gprof'
+make[4]: Leaving directory '$(@D)/gprof'
+make[3]: Leaving directory '$(@D)/gprof'
+make[3]: Entering directory '$(@D)/intl'
+make[3]: Nothing to be done for 'check'.
+make[3]: Leaving directory '$(@D)/intl'
+make[3]: Entering directory '$(@D)/ld'
+/usr/gnu/bin/make  check-recursive
+make[4]: Entering directory '$(@D)/ld'
+Making check in po
+make[5]: Entering directory '$(@D)/ld/po'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/ld/po'
+make[5]: Entering directory '$(@D)/ld'
+/usr/gnu/bin/make  check-DEJAGNU
+make[6]: Entering directory '$(@D)/ld'
+Making a new site.exp file...
+srcroot=`cd $(SOURCE_DIR)/ld && pwd`; export srcroot; \
+r=`pwd`; export r; \
+LC_ALL=C; export LC_ALL; \
+EXPECT=expect; export EXPECT; \
+runtest=runtest; \
+if /bin/bash -c "$runtest --version" > /dev/null 2>&1; then \
+  $runtest --tool ld --srcdir ${srcroot}/testsuite \
+	OFILES="ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o plugin.o ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf_x86_64_sol2.o eelf_x86_64.o eelf_i386_sol2.o eelf_i386_ldso.o eelf_i386.o eelf_iamcu.o eelf_l1om.o eelf_k1om.o  ldbuildid.o" BFDLIB="../bfd/.libs/libbfd.a" \
+	LIBIBERTY="../libiberty/libiberty.a " LIBS="" \
+	DO_COMPARE="`echo 'cmp --ignore-initial=16 $f1 $f2' | sed -e 's,\\$,,g'`" \
+	; \
+else echo "WARNING: could not find \`runtest'" 1>&2; :;\
+fi
+WARNING: Couldn't find the global config file.
+WARNING: Couldn't find tool init file
+Native configuration is x86_64-pc-solaris2.12
+
+		=== ld tests ===
+
+Schedule of variations:
+    unix
+
+Running target unix
+Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
+Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
+Using $(SOURCE_DIR)/ld/testsuite/config/default.exp as tool-and-target-specific interface file.
+Running $(SOURCE_DIR)/ld/testsuite/ld-aarch64/aarch64-elf.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-alpha/alpha.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-arc/arc.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-arm/arm-elf.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-arm/export-class.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-auto-import/auto-import.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-avr/avr.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-bootstrap/bootstrap.exp ...
+FAIL: bootstrap
+FAIL: bootstrap with strip
+FAIL: bootstrap with --traditional-format
+FAIL: bootstrap with --no-keep-memory
+FAIL: bootstrap with --relax
+Running $(SOURCE_DIR)/ld/testsuite/ld-cdtest/cdtest.exp ...
+FAIL: cdtest
+FAIL: cdtest with -Ur
+Running $(SOURCE_DIR)/ld/testsuite/ld-checks/checks.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-cris/cris.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-crx/crx.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-cygwin/exe-export.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-d10v/d10v.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-discard/discard.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/audit.exp ...
+FAIL: Run with -paudit.so
+FAIL: Run with -paudit.so
+FAIL: Run with --depaudit=audit.so
+FAIL: Run with --depaudit=audit.so
+FAIL: Run with shared with --audit
+FAIL: Run with shared with --audit
+FAIL: Run with shared with --audit
+FAIL: Run with shared with --audit
+FAIL: Run with -lusesaudit
+FAIL: Run with -lusesaudit
+FAIL: Run with -lusesaudit -lusesaudit2
+FAIL: Run with -lusesaudit -lusesaudit2
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/binutils.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/comm-data.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/compress.exp ...
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/foo.c: compilation failed
+FAIL: Build libfoozlib.so with compressed debug sections with zlib-gabi
+FAIL: Build libfoozlib.so with compressed debug sections with zlib-gabi
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/begin.c: compilation failed
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/end.c: compilation failed
+FAIL: Build libbarzlib.so with compressed debug sections with zlib-gabi
+FAIL: Build libbarzlib.so with compressed debug sections with zlib-gabi
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/foo.c: compilation failed
+FAIL: Build libzlibfoo.so with zlib compressed debug sections
+FAIL: Build libzlibfoo.so with zlib compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/foo.c: compilation failed
+FAIL: Build libgnufoo.so with zlib-gnu compressed debug sections
+FAIL: Build libgnufoo.so with zlib-gnu compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/foo.c: compilation failed
+FAIL: Build libgabifoo.so with zlib-gabi compressed debug sections
+FAIL: Build libgabifoo.so with zlib-gabi compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/begin.c: compilation failed
+FAIL: Build zlibbegin.o with zlib compressed debug sections
+FAIL: Build zlibbegin.o with zlib compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/begin.c: compilation failed
+FAIL: Build gnubegin.o with zlib-gnu compressed debug sections
+FAIL: Build gnubegin.o with zlib-gnu compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/end.c: compilation failed
+FAIL: Build gabiend.o with zlib-gabi compressed debug sections
+FAIL: Build gabiend.o with zlib-gabi compressed debug sections
+FAIL: Run normal with libfoo.so with compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/main.c: compilation failed
+FAIL: Run normal with libfoozlib.so with compressed debug sections with zlib-gabi
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/main.c: compilation failed
+FAIL: Run zlibnormal with libzlibfoo.so with zlib compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/main.c: compilation failed
+FAIL: Run zlibnormal with libfoozlib.so with zlib compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/main.c: compilation failed
+FAIL: Run gnunormal with libgnufoo.so with zlib-gnu compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/main.c: compilation failed
+FAIL: Run gnunormal with libfoozlib.so with zlib-gnu compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/main.c: compilation failed
+FAIL: Run gabinormal with libgabifoo.so with zlib-gabi compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/main.c: compilation failed
+FAIL: Run gabinormal with libfoozlib.so with zlib-gabi compressed debug sections
+FAIL: Link with zlib-gabi compressed debug input
+FAIL: Link -r with zlib compressed debug output
+FAIL: Link -r with zlib-gnu compressed debug output
+FAIL: Link -r with zlib-gabi compressed debug output
+FAIL: Link with zlib compressed debug output
+FAIL: Link with zlib compressed debug output
+FAIL: Link with zlib-gnu compressed debug output
+FAIL: Link with zlib-gnu compressed debug output
+FAIL: Link with zlib-gabi compressed debug output
+FAIL: Link with zlib-gabi compressed debug output
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/dwarf.exp ...
+FAIL: Build libdwarf1.so
+FAIL: Build libdwarf1.so
+FAIL: Run with libdwarf1.so first
+FAIL: Run with libdwarf1.so last
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/eh-group.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/elf.exp ...
+FAIL: PR ld/13195
+FAIL: PR ld/13195
+FAIL: preinit array
+FAIL: init array
+FAIL: fini array
+FAIL: init array mixed
+FAIL: static preinit array
+FAIL: static init array
+FAIL: static fini array
+FAIL: static init array mixed
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/exclude.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/export-class.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/frame.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/indirect.exp ...
+FAIL: Build libpr19553b.so
+FAIL: Build libpr19553b.so
+FAIL: Build libpr19553c.so
+FAIL: Build libpr19553c.so
+FAIL: Build libpr19553d.so
+FAIL: Build libpr19553d.so
+FAIL: Run with libindirect3c.so 1
+FAIL: Run with libindirect3c.so 2
+FAIL: Run with libindirect3c.so 3
+FAIL: Run with libindirect3c.so 4
+FAIL: Run with libindirect4c.so 1
+FAIL: Run with libindirect4c.so 2
+FAIL: Run with libindirect4c.so 3
+FAIL: Run with libindirect4c.so 4
+FAIL: Run with libpr18720c.so 1
+FAIL: Run with libpr18720c.so 2
+FAIL: Run with libpr18720c.so 3
+FAIL: Run with libpr18720c.so 4
+FAIL: Run with libpr18720c.so 5
+FAIL: Run with libpr19553b.so
+FAIL: Run with libpr19553c.so
+FAIL: Run with libpr19553d.so
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/provide-hidden.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/sec-to-seg.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/sec64k.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/shared.exp ...
+FAIL: Build versioned libfoo.so
+FAIL: Build versioned libfoo.so
+FAIL: Build warn libbar.so
+FAIL: Build warn libbar.so
+FAIL: Build libar.so with versioned libfoo.so
+FAIL: Build libar.so with versioned libfoo.so
+FAIL: Build hidden libar.so with versioned libfoo.so
+FAIL: Build hidden libar.so with versioned libfoo.so
+FAIL: Build protected libbar.so with versioned libfoo.so
+FAIL: Build protected libbar.so with versioned libfoo.so
+FAIL: Build libdl2a.so with --dynamic-list=dl2.list
+FAIL: Build libdl2a.so with --dynamic-list=dl2.list
+FAIL: Build libdl2a.so with --dynamic-list=dl2a.list
+FAIL: Build libdl2a.so with --dynamic-list=dl2a.list
+FAIL: Build libdl2a.so with --dynamic-list-data
+FAIL: Build libdl2a.so with --dynamic-list-data
+FAIL: Build libdl2b.so with --dynamic-list=dl2.list and dl2xxx.list
+FAIL: Build libdl2b.so with --dynamic-list=dl2.list and dl2xxx.list
+FAIL: Build libdl2c.so with --dynamic-list-data and dl2xxx.list
+FAIL: Build libdl2c.so with --dynamic-list-data and dl2xxx.list
+FAIL: Build libdl4a.so with --dynamic-list=dl4.list
+FAIL: Build libdl4a.so with --dynamic-list=dl4.list
+FAIL: Build libdl4b.so with --dynamic-list-data
+FAIL: Build libdl4b.so with --dynamic-list-data
+FAIL: Build libdl4c.so with --dynamic-list=dl4.list and dl4xxx.list
+FAIL: Build libdl4c.so with --dynamic-list=dl4.list and dl4xxx.list
+FAIL: Build libdl4d.so with --dynamic-list-data and dl4xxx.list
+FAIL: Build libdl4d.so with --dynamic-list-data and dl4xxx.list
+FAIL: Build libdl4e.so with -Bsymbolic-functions --dynamic-list-cpp-new
+FAIL: Build libdl4e.so with -Bsymbolic-functions --dynamic-list-cpp-new
+FAIL: Build libdl4f.so with --dynamic-list-cpp-new -Bsymbolic-functions
+FAIL: Build libdl4f.so with --dynamic-list-cpp-new -Bsymbolic-functions
+FAIL: Build libdl6b.so with -Bsymbolic --dynamic-list-data
+FAIL: Build libdl6b.so with -Bsymbolic --dynamic-list-data
+FAIL: Build libdl6d.so with --dynamic-list-data -Bsymbolic
+FAIL: Build libdl6d.so with --dynamic-list-data -Bsymbolic
+FAIL: Build libpr9676-4a.so
+FAIL: Build libpr9679.so
+FAIL: Build libpr11138-1.so
+FAIL: Build libpr11138-1.so
+FAIL: Build libpr14862.so
+FAIL: Build libpr14862.so
+FAIL: Build libneeded1a.so
+FAIL: Build libneeded1a.so
+FAIL: Build needed1a.so with --add-needed
+FAIL: Build needed1a.so with --add-needed
+FAIL: Build needed1b.so with --copy-dt-needed-entries
+FAIL: Build needed1b.so with --copy-dt-needed-entries
+FAIL: Build needed1a.so with --no-add-needed
+FAIL: Build needed1a.so with --no-add-needed
+FAIL: Build needed1b.so with --no-copy-dt-needed-entries
+FAIL: Build needed1b.so with --no-copy-dt-needed-entries
+FAIL: Build libneeded2b.so
+FAIL: Build libneeded2b.so
+FAIL: Build needed2
+FAIL: Build needed2
+FAIL: Build libneeded3a.so
+FAIL: Build libneeded3a.so
+FAIL: Build libneeded3b.so
+FAIL: Build libneeded3b.so
+FAIL: Build needed3
+FAIL: Build needed3
+FAIL: Build rdynamic-1
+FAIL: Build rdynamic-1
+FAIL: Build dynamic-1
+FAIL: Build dynamic-1
+FAIL: Build libpr16496a.so
+FAIL: Build libpr16496a.so
+FAIL: Build libpr16496b.so
+FAIL: Build libpr16496b.so
+FAIL: Build libpr16452a.so
+FAIL: Build libpr16452a.so
+FAIL: Build libpr16452b.so
+FAIL: Build libpr16452b.so
+FAIL: Build pr16452
+FAIL: Build pr16452
+FAIL: Build pr16457
+FAIL: Build pr16457
+FAIL: Build libpr19073.so
+FAIL: Build libpr19073.so
+FAIL: Run normal with libfoo.so
+FAIL: Run protected with libfoo.so
+FAIL: Run hidden with libfoo.so
+FAIL: Run normal with versioned libfoo.so
+FAIL: Run warn with versioned libfoo.so
+FAIL: Run protected with versioned libfoo.so
+FAIL: Run hidden with versioned libfoo.so
+FAIL: Run normal libbar.so with libfoo.so
+FAIL: Run protected libbar.so with libfoo.so
+FAIL: Run hidden libbar.so with libfoo.so
+FAIL: Run normal libbar.so with versioned libfoo.so
+FAIL: Run protected libbar.so with versioned libfoo.so
+FAIL: Run hidden libbar.so with versioned libfoo.so
+FAIL: Run dl1a with --dynamic-list=dl1.list and dlopen on libdl1.so
+FAIL: Run dl1b with --dynamic-list-data and dlopen on libdl1.so
+FAIL: Run with libdl2a.so
+FAIL: Run with libdl2b.so
+FAIL: Run with libdl2c.so
+FAIL: Run with libdl4a.so
+FAIL: Run with libdl4b.so
+FAIL: Run with libdl4c.so
+FAIL: Run with libdl4d.so
+FAIL: Run with libdl4e.so
+FAIL: Run with libdl4f.so
+FAIL: Run dl6a1 with --dynamic-list-data and dlopen on libdl6a.so
+FAIL: Run dl6a2 with -Bsymbolic-functions and dlopen on libdl6a.so
+FAIL: Run dl6a3 with -Bsymbolic and dlopen on libdl6a.so
+FAIL: Run dl6a4 with -Bsymbolic --dynamic-list-data and dlopen on libdl6a.so
+FAIL: Run dl6a5 with -Bsymbolic-functions --dynamic-list-cpp-new and dlopen on libdl6a.so
+FAIL: Run dl6a6 with --dynamic-list-cpp-new -Bsymbolic-functions and dlopen on libdl6a.so
+FAIL: Run dl6a7 with --dynamic-list-data -Bsymbolic and dlopen on libdl6a.so
+FAIL: Run dl6b1 with --dynamic-list-data and dlopen on libdl6b.so
+FAIL: Run dl6b2 with dlopen on libdl6b.so
+FAIL: Run dl6c1 with --dynamic-list-data and dlopen on libdl6c.so
+FAIL: Run dl6d1 with --dynamic-list-data and dlopen on libdl6d.so
+FAIL: Run with libdata1.so
+FAIL: Run with libdata2.so
+FAIL: Run with libfunc1.so comm1.o
+FAIL: Run with comm1.o libfunc1.so
+FAIL: Run with pr11138-2.c libpr11138-1.so
+FAIL: Run with libpr11138-1.so pr11138-2.c
+FAIL: Run with pr13250-3.c, libpr13250-1.so and libpr13250-2.so
+FAIL: Run with pr14323-1.c pr14323-2.so
+FAIL: Run with pr14862-1.c libpr14862.so
+FAIL: Link with --add-needed
+FAIL: Link with --copy-dt-needed-entries
+FAIL: Run relmain
+FAIL: Run pr2404
+FAIL: Run pr18458
+FAIL: --no-add-needed
+FAIL: --no-copy-dt-needed-entries
+FAIL: --no-add-needed -shared
+FAIL: --no-copy-dt-needed-entries -shared
+FAIL: Build libdl3a.so with --dynamic-list=dl3.list
+FAIL: Build libdl3a.so with --dynamic-list=dl3.list
+FAIL: Build libdl3a.so with --dynamic-list-cpp-typeinfo
+FAIL: Build libdl3a.so with --dynamic-list-cpp-typeinfo
+FAIL: Build libdnew1a.so with --Bsymbolic-functions --dynamic-list-cpp-new
+FAIL: Build libdnew1a.so with --Bsymbolic-functions --dynamic-list-cpp-new
+FAIL: Build libdnew1b.so with --dynamic-list-data --dynamic-list-cpp-new
+FAIL: Build libdnew1b.so with --dynamic-list-data --dynamic-list-cpp-new
+FAIL: Run with libdl3a.so
+FAIL: Run with libdl3c.so
+FAIL: Run with libnew1a.so
+FAIL: Run with libnew1b.so
+FAIL: Run pr19719 fun defined
+ERROR: tmpdir/pr19719 does not exist
+FAIL: Run pr19719pie fun defined
+ERROR: tmpdir/pr19719pie does not exist
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/tls_common.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/wrap.exp ...
+FAIL: Run with libwrap1a.so and libwrap1b.so
+FAIL: Run with libwrap1b.so and libwrap1a.so
+Running $(SOURCE_DIR)/ld/testsuite/ld-elfcomm/elfcomm.exp ...
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elfcomm/common1b.c: compilation failed
+Running $(SOURCE_DIR)/ld/testsuite/ld-elfvers/vers.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elfvsb/elfvsb.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elfweak/elfweak.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-fastcall/fastcall.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-frv/fdpic.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-frv/frv-elf.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-frv/tls.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-gc/gc.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-h8300/h8300.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-i386/export-class.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-i386/i386.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-i386/no-plt.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-i386/tls.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-ia64/ia64.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-ia64/line.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-ifunc/binutils.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-ifunc/ifunc.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-libs/libs.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-linkonce/linkonce.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-m68hc11/m68hc11.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-m68k/m68k-got.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-m68k/m68k.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-mep/mep.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-metag/metag.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-mips-elf/comm-data.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-mips-elf/export-class.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-mips-elf/mips-elf-flags.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-mips-elf/mips-elf.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-misc/defsym.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-mmix/mmix.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-mn10300/mn10300.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-nds32/nds32.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-nios2/nios2.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-pe/pe-compile.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-pe/pe-run.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-pe/pe-run2.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-pe/pe.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-pie/pie.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-plugin/lto.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-plugin/plugin.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-powerpc/aix52.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-powerpc/export-class.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-powerpc/powerpc.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-s390/s390.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/align.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/alignof.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/assert.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/crossref.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/data.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/default-script.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/defined.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/dynamic-sections.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/empty-address.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/empty-aligned.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/empty-orphan.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/expr.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/extern.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/include.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/log2.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/map-address.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/overlay-size.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/phdrs.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/phdrs2.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/phdrs3.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/print-memory-usage.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/provide.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/rgn-at.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/rgn-over.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/script.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/section-flags.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/section-match.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/size.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/sizeof.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/sort.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/sysroot-prefix.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/weak.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-selective/sel-dump.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-selective/selective.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/arch/arch.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/rd-sh.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/sh-vxworks.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/sh.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/sh64/rd-sh64.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/sh64/relax.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/sh64/relfail.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/sh64/sh64.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-shared/shared.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-size/size.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sparc/sparc.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-spu/spu.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-srec/srec.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-tic6x/tic6x.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-tilegx/tilegx.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-tilepro/tilepro.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-undefined/entry.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-undefined/require-defined.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-undefined/undefined.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-undefined/weak-undef.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-unique/unique.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-v850/v850.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-vax-elf/export-class.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-vax-elf/vax-elf.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-versados/versados.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-visium/visium.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-vxworks/vxworks.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-x86-64/dwarfreloc.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-x86-64/export-class.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-x86-64/line.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-x86-64/mpx.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-x86-64/no-plt.exp ...
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-x86-64/no-plt-check1.S: compilation failed
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-x86-64/no-plt-extern1.S: compilation failed
+FAIL: Build libno-plt-1b.so
+FAIL: Build libno-plt-1b.so
+FAIL: No PLT (dynamic 1a)
+FAIL: No PLT (dynamic 1a)
+FAIL: No PLT (dynamic 1b)
+FAIL: No PLT (dynamic 1b)
+FAIL: No PLT (dynamic 1c)
+FAIL: No PLT (dynamic 1c)
+FAIL: No PLT (static 1d)
+FAIL: No PLT (static 1d)
+FAIL: No PLT (PIE 1e)
+FAIL: No PLT (PIE 1e)
+FAIL: No PLT (PIE 1f)
+FAIL: No PLT (PIE 1f)
+FAIL: No PLT (PIE 1g)
+FAIL: No PLT (PIE 1g)
+FAIL: No PLT (dynamic 1a)
+FAIL: No PLT (dynamic 1b)
+FAIL: No PLT (dynamic 1c)
+FAIL: No PLT (static 1d)
+FAIL: No PLT (PIE 1e)
+FAIL: No PLT (PIE 1f)
+FAIL: No PLT (PIE 1g)
+Running $(SOURCE_DIR)/ld/testsuite/ld-x86-64/tls.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-x86-64/x86-64.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-xc16x/xc16x.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-xstormy16/xstormy16.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-xtensa/coalesce.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-xtensa/diff_overflow.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-xtensa/lcall.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-xtensa/xtensa.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-z8k/z8k.exp ...
+
+		=== ld Summary ===
+
+# of expected passes		415
+# of unexpected failures	261
+# of expected failures		4
+# of unresolved testcases	14
+# of untested testcases		1
+# of unsupported tests		12
+$(@D)/ld/ld-new 2.27
+
+make[6]: *** [Makefile:3647: check-DEJAGNU] Error 1
+make[6]: Leaving directory '$(@D)/ld'
+make[5]: *** [Makefile:1940: check-am] Error 2
+make[5]: Leaving directory '$(@D)/ld'
+make[4]: *** [Makefile:1780: check-recursive] Error 1
+make[4]: Leaving directory '$(@D)/ld'
+make[3]: *** [Makefile:1942: check] Error 2
+make[3]: Leaving directory '$(@D)/ld'
+make[2]: *** [Makefile:7225: check-ld] Error 2
+make[3]: Entering directory '$(@D)/libiberty'
+make[4]: Entering directory '$(@D)/libiberty/testsuite'
+	$(SOURCE_DIR)/libiberty/testsuite/test-demangle.c ../libiberty.a
+./test-demangle < $(SOURCE_DIR)/libiberty/testsuite/demangle-expected
+./test-demangle: 912 tests, 0 failures
+./test-demangle < $(SOURCE_DIR)/libiberty/testsuite/d-demangle-expected
+./test-demangle: 269 tests, 0 failures
+	$(SOURCE_DIR)/libiberty/testsuite/test-pexecute.c ../libiberty.a
+./test-pexecute
+	$(SOURCE_DIR)/libiberty/testsuite/test-expandargv.c ../libiberty.a
+./test-expandargv
+PASS: test-expandargv-0.
+PASS: test-expandargv-1.
+PASS: test-expandargv-2.
+PASS: test-expandargv-3.
+PASS: test-expandargv-4.
+PASS: test-expandargv-5.
+PASS: test-expandargv-6.
+	$(SOURCE_DIR)/libiberty/testsuite/test-strtol.c ../libiberty.a
+./test-strtol
+PASS: test-strtol-0.
+PASS: test-strtol-1.
+PASS: test-strtol-2.
+PASS: test-strtol-3.
+PASS: test-strtol-4.
+PASS: test-strtol-5.
+PASS: test-strtol-6.
+PASS: test-strtol-7.
+PASS: test-strtol-8.
+PASS: test-strtol-9.
+PASS: test-strtol-10.
+PASS: test-strtol-11.
+PASS: test-strtol-12.
+PASS: test-strtol-13.
+PASS: test-strtol-14.
+PASS: test-strtol-15.
+PASS: test-strtol-16.
+PASS: test-strtol-17.
+PASS: test-strtol-18.
+PASS: test-strtol-19.
+PASS: test-strtol-20.
+make[4]: Leaving directory '$(@D)/libiberty/testsuite'
+make[3]: Leaving directory '$(@D)/libiberty'
+make[2]: Target 'check-host' not remade because of errors.
+make[2]: Nothing to be done for 'check-target'.
+make[2]: Leaving directory '$(@D)'
+make[1]: *** [Makefile:2203: do-check] Error 2
+make[1]: Target 'check' not remade because of errors.
+make[1]: Leaving directory '$(@D)'
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/binutils/test/results-sparc.master	Tue Nov 15 08:47:03 2016 -0800
@@ -0,0 +1,1138 @@
+make[1]: Entering directory '$(@D)'
+make[2]: Entering directory '$(@D)'
+make[3]: Entering directory '$(@D)/bfd'
+/usr/gnu/bin/make  check-recursive
+make[4]: Entering directory '$(@D)/bfd'
+Making check in doc
+make[5]: Entering directory '$(@D)/bfd/doc'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/bfd/doc'
+Making check in po
+make[5]: Entering directory '$(@D)/bfd/po'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/bfd/po'
+make[5]: Entering directory '$(@D)/bfd'
+make[5]: Leaving directory '$(@D)/bfd'
+make[4]: Leaving directory '$(@D)/bfd'
+make[3]: Leaving directory '$(@D)/bfd'
+make[3]: Entering directory '$(@D)/opcodes'
+Making check in .
+make[4]: Entering directory '$(@D)/opcodes'
+make[4]: Leaving directory '$(@D)/opcodes'
+Making check in po
+make[4]: Entering directory '$(@D)/opcodes/po'
+make[4]: Nothing to be done for 'check'.
+make[4]: Leaving directory '$(@D)/opcodes/po'
+make[3]: Leaving directory '$(@D)/opcodes'
+make[3]: Entering directory '$(@D)/binutils'
+/usr/gnu/bin/make  check-recursive
+make[4]: Entering directory '$(@D)/binutils'
+Making check in doc
+make[5]: Entering directory '$(@D)/binutils/doc'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/binutils/doc'
+Making check in po
+make[5]: Entering directory '$(@D)/binutils/po'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/binutils/po'
+make[5]: Entering directory '$(@D)/binutils'
+/usr/gnu/bin/make  check-DEJAGNU
+make[6]: Entering directory '$(@D)/binutils'
+Making a new site.exp file...
+srcdir=`cd $(SOURCE_DIR)/binutils && pwd`; export srcdir; \
+r=`pwd`; export r; \
+LC_ALL=C; export LC_ALL; \
+EXPECT=expect; export EXPECT; \
+runtest=runtest; \
+if /bin/bash -c "$runtest --version" > /dev/null 2>&1; then \
+	$runtest --tool binutils --srcdir ${srcdir}/testsuite \
+		; \
+else echo "WARNING: could not find \`runtest'" 1>&2; :;\
+fi
+WARNING: Couldn't find the global config file.
+WARNING: Couldn't find tool init file
+Native configuration is sparcv9-sun-solaris2.12
+
+		=== binutils tests ===
+
+Schedule of variations:
+    unix
+
+Running target unix
+Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
+Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
+Using $(SOURCE_DIR)/binutils/testsuite/config/default.exp as tool-and-target-specific interface file.
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/aarch64/aarch64.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/ar.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/arm/objdump.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/bfin/objdump.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/compress.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/dlltool.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/elfedit.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/hppa/objdump.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/i386/i386.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/m68k/objdump.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/mips/mips.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/nm.exp ...
+Version $(@D)/binutils/nm-new 2.27
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/objcopy.exp ...
+Version $(@D)/binutils/objcopy 2.27
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/objdump.exp ...
+Version $(@D)/binutils/objdump 2.27
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/readelf.exp ...
+Version $(@D)/binutils/readelf 2.27
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/size.exp ...
+Version $(@D)/binutils/size 2.27
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/update-section.exp ...
+Version $(@D)/binutils/objcopy 2.27
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/vax/objdump.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/windres/windres.exp ...
+Running $(SOURCE_DIR)/binutils/testsuite/binutils-all/x86-64/x86-64.exp ...
+
+		=== binutils Summary ===
+
+# of expected passes		135
+# of expected failures		1
+# of unsupported tests		7
+make[6]: Leaving directory '$(@D)/binutils'
+make[5]: Leaving directory '$(@D)/binutils'
+make[4]: Leaving directory '$(@D)/binutils'
+make[3]: Leaving directory '$(@D)/binutils'
+make[3]: Entering directory '$(@D)/etc'
+make[3]: Nothing to be done for 'check'.
+make[3]: Leaving directory '$(@D)/etc'
+make[3]: Entering directory '$(@D)/gas'
+Making check in doc
+make[4]: Entering directory '$(@D)/gas/doc'
+make[4]: Nothing to be done for 'check'.
+make[4]: Leaving directory '$(@D)/gas/doc'
+Making check in po
+make[4]: Entering directory '$(@D)/gas/po'
+make[4]: Nothing to be done for 'check'.
+make[4]: Leaving directory '$(@D)/gas/po'
+make[4]: Entering directory '$(@D)/gas'
+/usr/gnu/bin/make  check-DEJAGNU
+make[5]: Entering directory '$(@D)/gas'
+Making a new site.exp file...
+if [ -d testsuite ]; then \
+  true; \
+else \
+  mkdir testsuite; \
+fi
+rm -f testsuite/site.exp
+cp site.exp testsuite/site.exp
+rootme=`pwd`; export rootme; \
+srcdir=`cd $(SOURCE_DIR)/gas; pwd` ; export srcdir ; \
+LC_ALL=C; export LC_ALL; \
+EXPECT=expect ; export EXPECT ; \
+runtest=runtest; \
+cd testsuite; \
+if /bin/bash -c "$runtest --version" > /dev/null 2>&1; then \
+  $runtest --tool gas --srcdir ${srcdir}/testsuite \
+	; \
+else echo "WARNING: could not find \`runtest'" 1>&2; :;\
+fi
+WARNING: Couldn't find the global config file.
+WARNING: Couldn't find tool init file
+Native configuration is sparcv9-sun-solaris2.12
+
+		=== gas tests ===
+
+Schedule of variations:
+    unix
+
+Running target unix
+Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
+Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
+Using $(SOURCE_DIR)/gas/testsuite/config/default.exp as tool-and-target-specific interface file.
+Running $(SOURCE_DIR)/gas/testsuite/gas/aarch64/aarch64.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/all/gas.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/alpha/alpha.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/arc/arc.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/arc/warn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/arm/arm.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/avr/avr.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/bfin/bfin.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/bfin/error.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/cfi/cfi.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/cr16/cr16.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/cr16/pic.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/cris/cris.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/crx/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/d10v/d10v.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/d30v/d30.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/dlx/alltests.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/elf/elf.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/epiphany/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/fr30/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/fr30/fr30.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/frv/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/ft32/ft32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/h8300-coff.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/h8300-elf.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/h8300.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t01_mov.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t02_mova.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t03_add.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t04_sub.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t05_cmp.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t06_ari2.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t07_ari3.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t08_or.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t09_xor.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t10_and.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t11_logs.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t12_bit.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/h8300/t13_otr.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/hppa/basic/basic.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/hppa/parse/parse.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/hppa/reloc/reloc.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/hppa/unsorted/unsorted.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/i386/i386.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/i386/ilp32/cfi/ilp32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/i386/ilp32/elf/ilp32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/i386/ilp32/ilp32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/i386/ilp32/lns/ilp32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/i860/i860.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/ia64/ia64.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/ieee-fp/x930509a.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/ip2k/ip2k-allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/iq2000/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/iq2000/load-hazards.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/iq2000/odd-ldw.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/iq2000/odd-sdw.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/iq2000/yield.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/lm32/all.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/lns/lns.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m32r/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m32r/error.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m32r/m32r.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m32r/m32r2.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m32r/m32rx.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m32r/pic.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m32r/rel32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m68hc11/m68hc11.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m68k-coff/gas.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/m68k/all.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mach-o/mach-o.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/macros/macros.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mcore/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mep/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mep/complex-relocs.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/metag/metag.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/microblaze/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/microblaze/endian.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/microblaze/relax_size.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/microblaze/reloc_sym.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/microblaze/special_reg.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mips/mips.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mmix/mmix-err.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mmix/mmix-list.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mmix/mmix.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mn10200/basic.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mn10300/basic.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mri/mri.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/msp430/msp430.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mt/errors.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mt/mt.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/mt/relocs.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/nds32/nds32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/nios2/nios2.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/or1k/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/pdp11/pdp11.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/pe/pe.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/pj/pj.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/ppc/aix.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/ppc/ppc.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/rl78/rl78.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/rx/rx.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/s390/s390.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/score/relax.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/score/relax_32.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sh/arch/arch.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sh/basic.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sh/err.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sh/sh64/err.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sh/sh64/sh64.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sparc-solaris/addend.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sparc-solaris/gas.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sparc/mismatch.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/sparc/sparc.exp ...
+FAIL: sparc64 rdasr
+FAIL: sparc64 rdpr
+FAIL: sparc64 rdhpr
+FAIL: sparc64 wrasr
+FAIL: sparc64 wrpr
+FAIL: sparc64 wrhpr
+FAIL: sparc HPC+VIS3
+FAIL: sparc IMA
+FAIL: sparc CRYPTO
+FAIL: OSA2015 crypto instructions
+FAIL: sparc CBCOND
+FAIL: sparc PAUSE
+FAIL: sparc CFR
+FAIL: sparc OSA2015 %mwait asr and MWAIT instruction
+FAIL: sparc OSA2015 %mcdper asr
+FAIL: sparc SPARC5 and VIS4.0
+Running $(SOURCE_DIR)/gas/testsuite/gas/sun4/addend.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/symver/symver.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/tic4x/tic4x.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/tic54x/tic54x.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/tic6x/tic6x.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/tilegx/tilegx.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/tilepro/tilepro.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/v850/basic.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/vax/vax.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/visium/error.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/visium/visium.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/xc16x/xc16x.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/xgate/xgate.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/xstormy16/allinsn.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/xtensa/all.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/xtensa/xtensa-err.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/z80/z80.exp ...
+Running $(SOURCE_DIR)/gas/testsuite/gas/z8k/z8k.exp ...
+
+		=== gas Summary ===
+
+# of expected passes		200
+# of unexpected failures	16
+# of unsupported tests		3
+../as-new 2.27
+
+make[5]: *** [Makefile:2537: check-DEJAGNU] Error 1
+make[5]: Leaving directory '$(@D)/gas'
+make[4]: *** [Makefile:2392: check-am] Error 2
+make[4]: Leaving directory '$(@D)/gas'
+make[3]: *** [Makefile:2232: check-recursive] Error 1
+make[3]: Target 'check' not remade because of errors.
+make[3]: Leaving directory '$(@D)/gas'
+make[2]: *** [Makefile:4951: check-gas] Error 2
+make[3]: Entering directory '$(@D)/gprof'
+/usr/gnu/bin/make  check-recursive
+make[4]: Entering directory '$(@D)/gprof'
+Making check in po
+make[5]: Entering directory '$(@D)/gprof/po'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/gprof/po'
+make[5]: Entering directory '$(@D)/gprof'
+make[5]: Leaving directory '$(@D)/gprof'
+make[4]: Leaving directory '$(@D)/gprof'
+make[3]: Leaving directory '$(@D)/gprof'
+make[3]: Entering directory '$(@D)/intl'
+make[3]: Nothing to be done for 'check'.
+make[3]: Leaving directory '$(@D)/intl'
+make[3]: Entering directory '$(@D)/ld'
+/usr/gnu/bin/make  check-recursive
+make[4]: Entering directory '$(@D)/ld'
+Making check in po
+make[5]: Entering directory '$(@D)/ld/po'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/ld/po'
+make[5]: Entering directory '$(@D)/ld'
+/usr/gnu/bin/make  check-DEJAGNU
+make[6]: Entering directory '$(@D)/ld'
+Making a new site.exp file...
+srcroot=`cd $(SOURCE_DIR)/ld && pwd`; export srcroot; \
+r=`pwd`; export r; \
+LC_ALL=C; export LC_ALL; \
+EXPECT=expect; export EXPECT; \
+runtest=runtest; \
+if /bin/bash -c "$runtest --version" > /dev/null 2>&1; then \
+  $runtest --tool ld --srcdir ${srcroot}/testsuite \
+	OFILES="ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o plugin.o ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf64_sparc_sol2.o eelf64_sparc.o eelf32_sparc_sol2.o eelf32_sparc.o  ldbuildid.o" BFDLIB="../bfd/.libs/libbfd.a" \
+	LIBIBERTY="../libiberty/libiberty.a " LIBS="" \
+	DO_COMPARE="`echo 'cmp --ignore-initial=16 $f1 $f2' | sed -e 's,\\$,,g'`" \
+	; \
+else echo "WARNING: could not find \`runtest'" 1>&2; :;\
+fi
+WARNING: Couldn't find the global config file.
+WARNING: Couldn't find tool init file
+Native configuration is sparcv9-sun-solaris2.12
+
+		=== ld tests ===
+
+Schedule of variations:
+    unix
+
+Running target unix
+Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
+Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
+Using $(SOURCE_DIR)/ld/testsuite/config/default.exp as tool-and-target-specific interface file.
+Running $(SOURCE_DIR)/ld/testsuite/ld-aarch64/aarch64-elf.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-alpha/alpha.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-arc/arc.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-arm/arm-elf.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-arm/export-class.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-auto-import/auto-import.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-avr/avr.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-bootstrap/bootstrap.exp ...
+FAIL: bootstrap
+FAIL: bootstrap with strip
+FAIL: bootstrap with --traditional-format
+FAIL: bootstrap with --no-keep-memory
+FAIL: bootstrap with --relax
+Running $(SOURCE_DIR)/ld/testsuite/ld-cdtest/cdtest.exp ...
+FAIL: cdtest
+FAIL: cdtest with -Ur
+Running $(SOURCE_DIR)/ld/testsuite/ld-checks/checks.exp ...
+FAIL: check sections 1
+Running $(SOURCE_DIR)/ld/testsuite/ld-cris/cris.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-crx/crx.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-cygwin/exe-export.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-d10v/d10v.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-discard/discard.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/audit.exp ...
+FAIL: Run with -paudit.so
+FAIL: Run with -paudit.so
+FAIL: Run with --depaudit=audit.so
+FAIL: Run with --depaudit=audit.so
+FAIL: Run with shared with --audit
+FAIL: Run with shared with --audit
+FAIL: Run with shared with --audit
+FAIL: Run with shared with --audit
+FAIL: Run with -lusesaudit
+FAIL: Run with -lusesaudit
+FAIL: Run with -lusesaudit -lusesaudit2
+FAIL: Run with -lusesaudit -lusesaudit2
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/binutils.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/comm-data.exp ...
+FAIL: Common symbol override test (auxiliary shared object build)
+FAIL: Common symbol override test
+FAIL: Common symbol override test 3a
+FAIL: Common symbol override test 3b
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/compress.exp ...
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/foo.c: compilation failed
+FAIL: Build libfoozlib.so with compressed debug sections with zlib-gabi
+FAIL: Build libfoozlib.so with compressed debug sections with zlib-gabi
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/begin.c: compilation failed
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/end.c: compilation failed
+FAIL: Build libbarzlib.so with compressed debug sections with zlib-gabi
+FAIL: Build libbarzlib.so with compressed debug sections with zlib-gabi
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/foo.c: compilation failed
+FAIL: Build libzlibfoo.so with zlib compressed debug sections
+FAIL: Build libzlibfoo.so with zlib compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/foo.c: compilation failed
+FAIL: Build libgnufoo.so with zlib-gnu compressed debug sections
+FAIL: Build libgnufoo.so with zlib-gnu compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/foo.c: compilation failed
+FAIL: Build libgabifoo.so with zlib-gabi compressed debug sections
+FAIL: Build libgabifoo.so with zlib-gabi compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/begin.c: compilation failed
+FAIL: Build zlibbegin.o with zlib compressed debug sections
+FAIL: Build zlibbegin.o with zlib compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/begin.c: compilation failed
+FAIL: Build gnubegin.o with zlib-gnu compressed debug sections
+FAIL: Build gnubegin.o with zlib-gnu compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/end.c: compilation failed
+FAIL: Build gabiend.o with zlib-gabi compressed debug sections
+FAIL: Build gabiend.o with zlib-gabi compressed debug sections
+FAIL: Run normal with libfoo.so with compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/main.c: compilation failed
+FAIL: Run normal with libfoozlib.so with compressed debug sections with zlib-gabi
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/main.c: compilation failed
+FAIL: Run zlibnormal with libzlibfoo.so with zlib compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/main.c: compilation failed
+FAIL: Run zlibnormal with libfoozlib.so with zlib compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/main.c: compilation failed
+FAIL: Run gnunormal with libgnufoo.so with zlib-gnu compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/main.c: compilation failed
+FAIL: Run gnunormal with libfoozlib.so with zlib-gnu compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/main.c: compilation failed
+FAIL: Run gabinormal with libgabifoo.so with zlib-gabi compressed debug sections
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elf/main.c: compilation failed
+FAIL: Run gabinormal with libfoozlib.so with zlib-gabi compressed debug sections
+FAIL: Link with zlib-gabi compressed debug input
+FAIL: Link -r with zlib compressed debug output
+FAIL: Link -r with zlib-gnu compressed debug output
+FAIL: Link -r with zlib-gabi compressed debug output
+FAIL: Link with zlib compressed debug output
+FAIL: Link with zlib compressed debug output
+FAIL: Link with zlib-gnu compressed debug output
+FAIL: Link with zlib-gnu compressed debug output
+FAIL: Link with zlib-gabi compressed debug output
+FAIL: Link with zlib-gabi compressed debug output
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/dwarf.exp ...
+FAIL: Build libdwarf1.so
+FAIL: Build libdwarf1.so
+FAIL: Run with libdwarf1.so first
+FAIL: Run with libdwarf1.so last
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/eh-group.exp ...
+FAIL: Build eh-group1.o
+FAIL: Link eh-group.o to eh-group
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/elf.exp ...
+FAIL: Build shared library for pr14170
+FAIL: PR ld/14170
+FAIL: Build shared library for next test
+FAIL: Link using broken linker script
+FAIL: Build pr17068.so
+FAIL: pr17068 link --as-needed lib in group
+FAIL: -Bsymbolic-functions
+FAIL: Symbol flags copy
+FAIL: ld-elf/comm-data4
+FAIL: ld-elf/comm-data5
+FAIL: ld-elf/compress1a
+FAIL: ld-elf/compress1b
+FAIL: ld-elf/compressed1a
+FAIL: ld-elf/compressed1d
+FAIL: ld-elf/eh-frame-hdr
+FAIL: ld-elf/eh5
+FAIL: ld-elf/empty
+FAIL: ld-elf/empty2
+FAIL: ld-elf/endsym
+FAIL: ld-elf/exclude3a
+FAIL: ld-elf/exclude3c
+FAIL: --set-section-flags test 1 (sections)
+FAIL: ld-elf/group1
+FAIL: ld-elf/group10
+FAIL: ld-elf/group2
+FAIL: ld-elf/group3a
+FAIL: ld-elf/group3b
+FAIL: ld-elf/group4
+FAIL: ld-elf/group5
+FAIL: ld-elf/group6
+FAIL: ld-elf/group7
+FAIL: ld-elf/group8a
+FAIL: ld-elf/group8b
+FAIL: ld-elf/group9a
+FAIL: ld-elf/group9b
+FAIL: ld-elf/init-fini-arrays
+FAIL: ld-elf/linkonce1
+FAIL: ld-elf/linkonce2
+FAIL: ld-elf/linkoncerdiff
+FAIL: ld-elf/merge2
+FAIL: ld-elf/merge3
+FAIL: ld-elf/nobits-1
+FAIL: ld-elf/noload-1
+FAIL: ld-elf/noload-3
+FAIL: ld-elf/note-1
+FAIL: ld-elf/note-2
+FAIL: Report warning for orphan sections
+FAIL: Discard orphan sections
+FAIL: Place orphan sections
+FAIL: ld-elf/orphan-region
+FAIL: ld-elf/orphan
+FAIL: ld-elf/orphan2
+FAIL: ld-elf/orphan3
+FAIL: ld-elf/orphan4
+FAIL: ld-elf/overlay
+FAIL: ld-elf/pie
+FAIL: ld-elf/pr11304
+FAIL: ld-elf/pr12851
+FAIL: ld-elf/pr13839
+FAIL: ld-elf/pr14052
+FAIL: ld-elf/pr14156a
+FAIL: ld-elf/pr14156b
+FAIL: ld-elf/pr14156c
+FAIL: ld-elf/pr14926
+FAIL: ld-elf/pr17550a
+FAIL: ld-elf/pr17550b
+FAIL: ld-elf/pr17550c
+FAIL: ld-elf/pr17550d
+FAIL: ld-elf/pr18735
+FAIL: ld-elf/pr19005
+FAIL: ld-elf/pr19539
+FAIL: ld-elf/pr19617a
+FAIL: ld-elf/pr19617b
+FAIL: ld-elf/pr19617c
+FAIL: ld-elf/pr19698
+FAIL: ld-elf/pr19789
+FAIL: ld-elf/pr349
+FAIL: relocatable with script
+FAIL: ld-elf/stab
+FAIL: ld-elf/unknown
+FAIL: ld-elf/var1
+FAIL: ld-elf/warn3
+FAIL: --gc-sections on tls variable
+FAIL: PR ld/13195
+FAIL: PR ld/13195
+FAIL: preinit array
+FAIL: init array
+FAIL: fini array
+FAIL: init array mixed
+FAIL: static preinit array
+FAIL: static init array
+FAIL: static fini array
+FAIL: static init array mixed
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/exclude.exp ...
+FAIL: ld link shared library
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/export-class.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/frame.exp ...
+FAIL: read-only .eh_frame section
+FAIL: read-only .gcc_except_table section
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/indirect.exp ...
+FAIL: Build libpr19553b.so
+FAIL: Build libpr19553b.so
+FAIL: Build libpr19553c.so
+FAIL: Build libpr19553c.so
+FAIL: Build libpr19553d.so
+FAIL: Build libpr19553d.so
+FAIL: Run with libindirect3c.so 1
+FAIL: Run with libindirect3c.so 2
+FAIL: Run with libindirect3c.so 3
+FAIL: Run with libindirect3c.so 4
+FAIL: Run with libindirect4c.so 1
+FAIL: Run with libindirect4c.so 2
+FAIL: Run with libindirect4c.so 3
+FAIL: Run with libindirect4c.so 4
+FAIL: Run with libpr18720c.so 1
+FAIL: Run with libpr18720c.so 2
+FAIL: Run with libpr18720c.so 3
+FAIL: Run with libpr18720c.so 4
+FAIL: Run with libpr18720c.so 5
+FAIL: Run with libpr19553b.so
+FAIL: Run with libpr19553c.so
+FAIL: Run with libpr19553d.so
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/provide-hidden.exp ...
+FAIL: PROVIDE_HIDDEN test (auxiliary shared object)
+FAIL: PROVIDE_HIDDEN test 1
+FAIL: PROVIDE_HIDDEN test 2
+FAIL: PROVIDE_HIDDEN test 3
+FAIL: PROVIDE_HIDDEN test 4
+FAIL: PROVIDE_HIDDEN test 5
+FAIL: PROVIDE_HIDDEN test 6
+FAIL: PROVIDE_HIDDEN test 7
+FAIL: PROVIDE_HIDDEN test 8
+FAIL: PROVIDE_HIDDEN test 9
+FAIL: PROVIDE_HIDDEN test 10
+FAIL: PROVIDE_HIDDEN test 11
+FAIL: PROVIDE_HIDDEN test 12
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/sec-to-seg.exp ...
+FAIL: assignment of ELF sections to segments (same page)
+FAIL: assignment of ELF sections to segments (adjacent pages)
+FAIL: assignment of ELF sections to segments (disjoint pages)
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/sec64k.exp ...
+FAIL: ld-elf/64ksec-r
+FAIL: ld-elf/64ksec
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/shared.exp ...
+FAIL: Build versioned libfoo.so
+FAIL: Build versioned libfoo.so
+FAIL: Build warn libbar.so
+FAIL: Build warn libbar.so
+FAIL: Build libar.so with versioned libfoo.so
+FAIL: Build libar.so with versioned libfoo.so
+FAIL: Build hidden libar.so with versioned libfoo.so
+FAIL: Build hidden libar.so with versioned libfoo.so
+FAIL: Build protected libbar.so with versioned libfoo.so
+FAIL: Build protected libbar.so with versioned libfoo.so
+FAIL: Build libdl2a.so with --dynamic-list=dl2.list
+FAIL: Build libdl2a.so with --dynamic-list=dl2.list
+FAIL: Build libdl2a.so with --dynamic-list=dl2a.list
+FAIL: Build libdl2a.so with --dynamic-list=dl2a.list
+FAIL: Build libdl2a.so with --dynamic-list-data
+FAIL: Build libdl2a.so with --dynamic-list-data
+FAIL: Build libdl2b.so with --dynamic-list=dl2.list and dl2xxx.list
+FAIL: Build libdl2b.so with --dynamic-list=dl2.list and dl2xxx.list
+FAIL: Build libdl2c.so with --dynamic-list-data and dl2xxx.list
+FAIL: Build libdl2c.so with --dynamic-list-data and dl2xxx.list
+FAIL: Build libdl4a.so with --dynamic-list=dl4.list
+FAIL: Build libdl4a.so with --dynamic-list=dl4.list
+FAIL: Build libdl4b.so with --dynamic-list-data
+FAIL: Build libdl4b.so with --dynamic-list-data
+FAIL: Build libdl4c.so with --dynamic-list=dl4.list and dl4xxx.list
+FAIL: Build libdl4c.so with --dynamic-list=dl4.list and dl4xxx.list
+FAIL: Build libdl4d.so with --dynamic-list-data and dl4xxx.list
+FAIL: Build libdl4d.so with --dynamic-list-data and dl4xxx.list
+FAIL: Build libdl4e.so with -Bsymbolic-functions --dynamic-list-cpp-new
+FAIL: Build libdl4e.so with -Bsymbolic-functions --dynamic-list-cpp-new
+FAIL: Build libdl4f.so with --dynamic-list-cpp-new -Bsymbolic-functions
+FAIL: Build libdl4f.so with --dynamic-list-cpp-new -Bsymbolic-functions
+FAIL: Build libdl6b.so with -Bsymbolic --dynamic-list-data
+FAIL: Build libdl6b.so with -Bsymbolic --dynamic-list-data
+FAIL: Build libdl6d.so with --dynamic-list-data -Bsymbolic
+FAIL: Build libdl6d.so with --dynamic-list-data -Bsymbolic
+FAIL: Build libpr9676-4a.so
+FAIL: Build libpr9679.so
+FAIL: Build libpr11138-1.so
+FAIL: Build libpr11138-1.so
+FAIL: Build libpr14862.so
+FAIL: Build libpr14862.so
+FAIL: Build libneeded1a.so
+FAIL: Build libneeded1a.so
+FAIL: Build needed1a.so with --add-needed
+FAIL: Build needed1a.so with --add-needed
+FAIL: Build needed1b.so with --copy-dt-needed-entries
+FAIL: Build needed1b.so with --copy-dt-needed-entries
+FAIL: Build needed1a.so with --no-add-needed
+FAIL: Build needed1a.so with --no-add-needed
+FAIL: Build needed1b.so with --no-copy-dt-needed-entries
+FAIL: Build needed1b.so with --no-copy-dt-needed-entries
+FAIL: Build libneeded2b.so
+FAIL: Build libneeded2b.so
+FAIL: Build needed2
+FAIL: Build needed2
+FAIL: Build libneeded3a.so
+FAIL: Build libneeded3a.so
+FAIL: Build libneeded3b.so
+FAIL: Build libneeded3b.so
+FAIL: Build needed3
+FAIL: Build needed3
+FAIL: Build rdynamic-1
+FAIL: Build rdynamic-1
+FAIL: Build dynamic-1
+FAIL: Build dynamic-1
+FAIL: Build libpr16496a.so
+FAIL: Build libpr16496a.so
+FAIL: Build libpr16496b.so
+FAIL: Build libpr16496b.so
+FAIL: Build libpr16452a.so
+FAIL: Build libpr16452a.so
+FAIL: Build libpr16452b.so
+FAIL: Build libpr16452b.so
+FAIL: Build pr16452
+FAIL: Build pr16452
+FAIL: Build pr16457
+FAIL: Build pr16457
+FAIL: Build libpr19073.so
+FAIL: Build libpr19073.so
+FAIL: Run normal with libfoo.so
+FAIL: Run protected with libfoo.so
+FAIL: Run hidden with libfoo.so
+FAIL: Run normal with versioned libfoo.so
+FAIL: Run warn with versioned libfoo.so
+FAIL: Run protected with versioned libfoo.so
+FAIL: Run hidden with versioned libfoo.so
+FAIL: Run normal libbar.so with libfoo.so
+FAIL: Run protected libbar.so with libfoo.so
+FAIL: Run hidden libbar.so with libfoo.so
+FAIL: Run normal libbar.so with versioned libfoo.so
+FAIL: Run protected libbar.so with versioned libfoo.so
+FAIL: Run hidden libbar.so with versioned libfoo.so
+FAIL: Run dl1a with --dynamic-list=dl1.list and dlopen on libdl1.so
+FAIL: Run dl1b with --dynamic-list-data and dlopen on libdl1.so
+FAIL: Run with libdl2a.so
+FAIL: Run with libdl2b.so
+FAIL: Run with libdl2c.so
+FAIL: Run with libdl4a.so
+FAIL: Run with libdl4b.so
+FAIL: Run with libdl4c.so
+FAIL: Run with libdl4d.so
+FAIL: Run with libdl4e.so
+FAIL: Run with libdl4f.so
+FAIL: Run dl6a1 with --dynamic-list-data and dlopen on libdl6a.so
+FAIL: Run dl6a2 with -Bsymbolic-functions and dlopen on libdl6a.so
+FAIL: Run dl6a3 with -Bsymbolic and dlopen on libdl6a.so
+FAIL: Run dl6a4 with -Bsymbolic --dynamic-list-data and dlopen on libdl6a.so
+FAIL: Run dl6a5 with -Bsymbolic-functions --dynamic-list-cpp-new and dlopen on libdl6a.so
+FAIL: Run dl6a6 with --dynamic-list-cpp-new -Bsymbolic-functions and dlopen on libdl6a.so
+FAIL: Run dl6a7 with --dynamic-list-data -Bsymbolic and dlopen on libdl6a.so
+FAIL: Run dl6b1 with --dynamic-list-data and dlopen on libdl6b.so
+FAIL: Run dl6b2 with dlopen on libdl6b.so
+FAIL: Run dl6c1 with --dynamic-list-data and dlopen on libdl6c.so
+FAIL: Run dl6d1 with --dynamic-list-data and dlopen on libdl6d.so
+FAIL: Run with libdata1.so
+FAIL: Run with libdata2.so
+FAIL: Run with libfunc1.so comm1.o
+FAIL: Run with comm1.o libfunc1.so
+FAIL: Run with pr11138-2.c libpr11138-1.so
+FAIL: Run with libpr11138-1.so pr11138-2.c
+FAIL: Run with pr13250-3.c, libpr13250-1.so and libpr13250-2.so
+FAIL: Run with pr14323-1.c pr14323-2.so
+FAIL: Run with pr14862-1.c libpr14862.so
+FAIL: Link with --add-needed
+FAIL: Link with --copy-dt-needed-entries
+FAIL: Run relmain
+FAIL: Run pr2404
+FAIL: Run pr18458
+FAIL: --no-add-needed
+FAIL: --no-copy-dt-needed-entries
+FAIL: --no-add-needed -shared
+FAIL: --no-copy-dt-needed-entries -shared
+FAIL: Build libdl3a.so with --dynamic-list=dl3.list
+FAIL: Build libdl3a.so with --dynamic-list=dl3.list
+FAIL: Build libdl3a.so with --dynamic-list-cpp-typeinfo
+FAIL: Build libdl3a.so with --dynamic-list-cpp-typeinfo
+FAIL: Build libdnew1a.so with --Bsymbolic-functions --dynamic-list-cpp-new
+FAIL: Build libdnew1a.so with --Bsymbolic-functions --dynamic-list-cpp-new
+FAIL: Build libdnew1b.so with --dynamic-list-data --dynamic-list-cpp-new
+FAIL: Build libdnew1b.so with --dynamic-list-data --dynamic-list-cpp-new
+FAIL: Run with libdl3a.so
+FAIL: Run with libdl3c.so
+FAIL: Run with libnew1a.so
+FAIL: Run with libnew1b.so
+FAIL: Run pr19719 fun defined
+ERROR: tmpdir/pr19719 does not exist
+FAIL: Run pr19719pie fun defined
+ERROR: tmpdir/pr19719pie does not exist
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/tls_common.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elf/wrap.exp ...
+FAIL: Run with libwrap1a.so and libwrap1b.so
+FAIL: Run with libwrap1b.so and libwrap1a.so
+Running $(SOURCE_DIR)/ld/testsuite/ld-elfcomm/elfcomm.exp ...
+FAIL: --sort-common (descending)
+ERROR: $(SOURCE_DIR)/ld/testsuite/ld-elfcomm/common1b.c: compilation failed
+Running $(SOURCE_DIR)/ld/testsuite/ld-elfvers/vers.exp ...
+ERROR:  tmpdir/vers1.s: assembly failed
+ERROR:  tmpdir/vers2.s: assembly failed
+ERROR:  tmpdir/vers3.s: assembly failed
+ERROR:  tmpdir/vers4.s: assembly failed
+ERROR:  tmpdir/vers4a.s: assembly failed
+ERROR:  tmpdir/vers4b.s: assembly failed
+ERROR:  tmpdir/vers6.s: assembly failed
+FAIL: vers7a
+ERROR:  tmpdir/vers7.s: assembly failed
+ERROR:  tmpdir/vers8.s: assembly failed
+ERROR:  tmpdir/vers9.s: assembly failed
+ERROR: tcl error sourcing $(SOURCE_DIR)/ld/testsuite/ld-elfvers/vers.exp.
+ERROR: cp: cannot stat 'tmpdir/vers1.so': No such file or directory
+    while executing
+"exec cp $tmpdir/$srclib $tmpdir/$libname.so"
+    (procedure "test_strip_vers_lib" line 11)
+    invoked from within
+"test_strip_vers_lib "vers14" vers1.so vers14 vers1.ver vers1.dsym"
+    (file "$(SOURCE_DIR)/ld/testsuite/ld-elfvers/vers.exp" line 884)
+    invoked from within
+"source $(SOURCE_DIR)/ld/testsuite/ld-elfvers/vers.exp"
+    ("uplevel" body line 1)
+    invoked from within
+"uplevel #0 source $(SOURCE_DIR)/ld/testsuite/ld-elfvers/vers.exp"
+    invoked from within
+"catch "uplevel #0 source $test_file_name""
+Running $(SOURCE_DIR)/ld/testsuite/ld-elfvsb/elfvsb.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-elfweak/elfweak.exp ...
+FAIL: ELF weak func first
+FAIL: ELF weak func last
+FAIL: ELF DSO weak data first DSO
+FAIL: ELF DSO weak data last DSO
+FAIL: ELF DSO weak data first DSO common
+FAIL: ELF DSO weak data last DSO common
+FAIL: ELF weak data first
+FAIL: ELF weak data last
+FAIL: ELF weak data first common
+FAIL: ELF weak data last common
+FAIL: ELF weak data first DSO
+FAIL: ELF weak data last DSO
+FAIL: ELF weak data first DSO common
+FAIL: ELF weak data last DSO common
+FAIL: ld-elfweak/size2
+Running $(SOURCE_DIR)/ld/testsuite/ld-fastcall/fastcall.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-frv/fdpic.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-frv/frv-elf.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-frv/tls.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-gc/gc.exp ...
+FAIL: --gc-sections with multiple debug sections for a function section
+FAIL: libpersonality
+FAIL: --gc-sections with .text._init
+FAIL: --gc-sections with --defsym
+FAIL: --gc-sections with KEEP
+FAIL: --gc-sections with __start_SECTIONNAME
+Running $(SOURCE_DIR)/ld/testsuite/ld-h8300/h8300.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-i386/export-class.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-i386/i386.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-i386/no-plt.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-i386/tls.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-ia64/ia64.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-ia64/line.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-ifunc/binutils.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-ifunc/ifunc.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-libs/libs.exp ...
+FAIL: -l: test (preparation)
+FAIL: -l: test
+Running $(SOURCE_DIR)/ld/testsuite/ld-linkonce/linkonce.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-m68hc11/m68hc11.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-m68k/m68k-got.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-m68k/m68k.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-mep/mep.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-metag/metag.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-mips-elf/comm-data.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-mips-elf/export-class.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-mips-elf/mips-elf-flags.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-mips-elf/mips-elf.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-misc/defsym.exp ...
+FAIL: ld-misc/defsym1
+Running $(SOURCE_DIR)/ld/testsuite/ld-mmix/mmix.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-mn10300/mn10300.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-nds32/nds32.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-nios2/nios2.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-pe/pe-compile.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-pe/pe-run.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-pe/pe-run2.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-pe/pe.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-pie/pie.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-plugin/lto.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-plugin/plugin.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-powerpc/aix52.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-powerpc/export-class.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-powerpc/powerpc.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-s390/s390.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/align.exp ...
+FAIL: align1
+FAIL: ld-scripts/align2a
+FAIL: ld-scripts/align2b
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/alignof.exp ...
+FAIL: ALIGNOF
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/assert.exp ...
+FAIL: ASSERT
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/crossref.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/data.exp ...
+FAIL: ld-scripts/data
+FAIL: ld-scripts/fill
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/default-script.exp ...
+FAIL: ld-scripts/default-script1
+FAIL: ld-scripts/default-script2
+FAIL: ld-scripts/default-script3
+FAIL: ld-scripts/default-script4
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/defined.exp ...
+FAIL: DEFINED (PRMS 5699)
+FAIL: ld-scripts/defined2
+FAIL: ld-scripts/defined3
+FAIL: ld-scripts/defined4
+FAIL: ld-scripts/defined5
+FAIL: ld-scripts/defined6
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/dynamic-sections.exp ...
+FAIL: dynamic sections
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/empty-address.exp ...
+FAIL: ld-scripts/empty-address-1
+FAIL: ld-scripts/empty-address-2a
+FAIL: ld-scripts/empty-address-2b
+FAIL: ld-scripts/empty-address-3a
+FAIL: ld-scripts/empty-address-3b
+FAIL: ld-scripts/empty-address-3c
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/empty-aligned.exp ...
+FAIL: ld-scripts/empty-aligned
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/empty-orphan.exp ...
+FAIL: ld-scripts/empty-orphan
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/expr.exp ...
+FAIL: ld-scripts/expr2
+FAIL: ld-scripts/sane1
+FAIL: ld-scripts/assign-loc
+FAIL: ld-scripts/pr14962
+FAIL: ld-scripts/pr14962-2
+FAIL: ld-scripts/pr18963
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/extern.exp ...
+FAIL: EXTERN
+ERROR: tmpdir/extern: nm failed
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/include.exp ...
+FAIL: include-1
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/log2.exp ...
+FAIL: binary logarithm
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/map-address.exp ...
+FAIL: map addresses
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/overlay-size.exp ...
+FAIL: overlay size
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/phdrs.exp ...
+FAIL: PHDRS
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/phdrs2.exp ...
+FAIL: PHDRS2
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/phdrs3.exp ...
+FAIL: PHDRS headers 3a
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/print-memory-usage.exp ...
+FAIL: print-memory-usage-1
+FAIL: print-memory-usage-2
+FAIL: print-memory-usage-3
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/provide.exp ...
+FAIL: ld-scripts/provide-1
+FAIL: ld-scripts/provide-2
+FAIL: ld-scripts/provide-4
+FAIL: ld-scripts/provide-5
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/rgn-at.exp ...
+FAIL: rgn-at1
+FAIL: ld-scripts/rgn-at10
+FAIL: ld-scripts/rgn-at11
+FAIL: rgn-at2
+FAIL: rgn-at3
+FAIL: rgn-at4
+FAIL: ld-scripts/rgn-at6
+FAIL: ld-scripts/rgn-at7
+FAIL: ld-scripts/rgn-at8
+FAIL: ld-scripts/rgn-at9
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/rgn-over.exp ...
+FAIL: rgn-over1
+FAIL: rgn-over2
+FAIL: rgn-over3
+FAIL: rgn-over4
+FAIL: rgn-over5
+FAIL: rgn-over6
+FAIL: rgn-over7
+FAIL: rgn-over8
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/script.exp ...
+FAIL: script
+FAIL: MRI script
+FAIL: MEMORY
+FAIL: MEMORY with symbols
+FAIL: ld-scripts/pr20302
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/section-flags.exp ...
+FAIL: section-flags-1
+FAIL: section-flags-2
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/section-match.exp ...
+FAIL: ld-scripts/section-match-1
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/size.exp ...
+FAIL: ld-scripts/size-1
+FAIL: ld-scripts/size-2
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/sizeof.exp ...
+FAIL: SIZEOF
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/sort.exp ...
+FAIL: --sort-section alignment
+FAIL: SORT_BY_ALIGNMENT
+FAIL: SORT_BY_ALIGNMENT(SORT_BY_ALIGNMENT())
+FAIL: SORT_BY_ALIGNMENT(SORT_BY_ALIGNMENT()) --sort-section alignment
+FAIL: SORT_BY_ALIGNMENT(SORT_BY_ALIGNMENT()) --sort-section name
+FAIL: SORT_BY_ALIGNMENT(SORT_BY_NAME())
+FAIL: SORT_BY_ALIGNMENT(SORT_BY_NAME()) --sort-section name
+FAIL: SORT_BY_ALIGNMENT(SORT_BY_NAME()) --sort-section alignment
+FAIL: --sort-section name
+FAIL: SORT_BY_NAME
+FAIL: SORT_BY_NAME(SORT_BY_ALIGNMENT())
+FAIL: SORT_BY_NAME(SORT_BY_ALIGNMENT()) --sort-section alignment
+FAIL: SORT_BY_NAME(SORT_BY_ALIGNMENT()) --sort-section alignment
+FAIL: SORT_BY_NAME(SORT_BY_NAME())
+FAIL: SORT_BY_NAME(SORT_BY_NAME()) --sort-section name
+FAIL: SORT_BY_NAME(SORT_BY_NAME()) --sort-section alignment
+FAIL: no SORT_BY_NAME/SORT_BY_ALIGNMENT/SORT
+FAIL: no SORT_BY_NAME/SORT_BY_ALIGNMENT/SORT
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/sysroot-prefix.exp ...
+FAIL: sysroot-prefix common plain -Lpath, quoted
+FAIL: sysroot-prefix common plain -Lpath, unquoted
+FAIL: sysroot-prefix common full-path, quoted
+FAIL: sysroot-prefix common full-path, unquoted
+FAIL: sysroot-prefix common full-path =-prefixed with empty, quoted
+FAIL: sysroot-prefix common full-path =-prefixed with empty, unquoted
+FAIL: sysroot-prefix common plain =-prefixed with empty, quoted
+FAIL: sysroot-prefix common plain =-prefixed with empty, unquoted
+FAIL: sysroot-prefix common plain =-prefixed -Lpath, quoted
+FAIL: sysroot-prefix common plain =-prefixed -Lpath, unquoted
+FAIL: sysroot-prefix common full-path =-prefixed without, quoted
+FAIL: sysroot-prefix common full-path =-prefixed without, unquoted
+Running $(SOURCE_DIR)/ld/testsuite/ld-scripts/weak.exp ...
+FAIL: weak symbols
+Running $(SOURCE_DIR)/ld/testsuite/ld-selective/sel-dump.exp ...
+FAIL: Preserve default . = 0
+FAIL: Preserve explicit . = 0
+Running $(SOURCE_DIR)/ld/testsuite/ld-selective/selective.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/arch/arch.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/rd-sh.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/sh-vxworks.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/sh.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/sh64/rd-sh64.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/sh64/relax.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/sh64/relfail.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sh/sh64/sh64.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-shared/shared.exp ...
+FAIL: shared (non PIC)
+FAIL: shared (non PIC, load offset)
+FAIL: shared (PIC main, non PIC so)
+Running $(SOURCE_DIR)/ld/testsuite/ld-size/size.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-sparc/sparc.exp ...
+FAIL: 32-bit: TLS -fpic -shared transitions
+FAIL: 32-bit: Helper shared library
+FAIL: 32-bit: Another helper shared library
+FAIL: 32-bit: TLS -fpic and -fno-pic exec transitions
+FAIL: 32-bit: TLS -fno-pic -shared
+FAIL: 32-bit: TLS in debug sections
+FAIL: 32-bit: GOTDATA relocations
+FAIL: 64-bit: TLS -fpic -shared transitions
+FAIL: 64-bit: Helper shared library
+FAIL: 64-bit: Another helper shared library
+FAIL: 64-bit: TLS -fpic and -fno-pic exec transitions
+FAIL: 64-bit: TLS -fno-pic -shared
+FAIL: 64-bit: TLS in debug sections
+FAIL: 64-bit: GOTDATA relocations
+Running $(SOURCE_DIR)/ld/testsuite/ld-spu/spu.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-srec/srec.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-tic6x/tic6x.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-tilegx/tilegx.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-tilepro/tilepro.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-undefined/entry.exp ...
+FAIL: --entry foo archive
+FAIL: --entry foo -u foo archive
+FAIL: --entry foo
+FAIL: --entry foo -u foo
+FAIL: --entry 0x0
+Running $(SOURCE_DIR)/ld/testsuite/ld-undefined/require-defined.exp ...
+FAIL: Check require-defined can require a symbol from an object
+FAIL: Check require-defined does no error on a defined symbol
+FAIL: Check require-defined can require a symbol from an archive
+FAIL: Check require-defined can require two symbols
+Running $(SOURCE_DIR)/ld/testsuite/ld-undefined/undefined.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-undefined/weak-undef.exp ...
+FAIL: weak undefined symbols
+Running $(SOURCE_DIR)/ld/testsuite/ld-unique/unique.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-v850/v850.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-vax-elf/export-class.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-vax-elf/vax-elf.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-versados/versados.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-visium/visium.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-vxworks/vxworks.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-x86-64/dwarfreloc.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-x86-64/export-class.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-x86-64/line.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-x86-64/mpx.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-x86-64/no-plt.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-x86-64/tls.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-x86-64/x86-64.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-xc16x/xc16x.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-xstormy16/xstormy16.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-xtensa/coalesce.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-xtensa/diff_overflow.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-xtensa/lcall.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-xtensa/xtensa.exp ...
+Running $(SOURCE_DIR)/ld/testsuite/ld-z8k/z8k.exp ...
+
+		=== ld Summary ===
+
+# of expected passes		169
+# of unexpected failures	511
+# of expected failures		5
+# of unresolved testcases	26
+# of untested testcases		2
+# of unsupported tests		12
+$(@D)/ld/ld-new 2.27
+
+make[6]: *** [Makefile:3643: check-DEJAGNU] Error 1
+make[6]: Leaving directory '$(@D)/ld'
+make[5]: *** [Makefile:1940: check-am] Error 2
+make[5]: Leaving directory '$(@D)/ld'
+make[4]: *** [Makefile:1780: check-recursive] Error 1
+make[4]: Leaving directory '$(@D)/ld'
+make[3]: *** [Makefile:1942: check] Error 2
+make[3]: Leaving directory '$(@D)/ld'
+make[2]: *** [Makefile:7225: check-ld] Error 2
+make[3]: Entering directory '$(@D)/libiberty'
+make[4]: Entering directory '$(@D)/libiberty/testsuite'
+	$(SOURCE_DIR)/libiberty/testsuite/test-demangle.c ../libiberty.a
+./test-demangle < $(SOURCE_DIR)/libiberty/testsuite/demangle-expected
+./test-demangle: 912 tests, 0 failures
+./test-demangle < $(SOURCE_DIR)/libiberty/testsuite/d-demangle-expected
+./test-demangle: 269 tests, 0 failures
+	$(SOURCE_DIR)/libiberty/testsuite/test-pexecute.c ../libiberty.a
+./test-pexecute
+	$(SOURCE_DIR)/libiberty/testsuite/test-expandargv.c ../libiberty.a
+./test-expandargv
+PASS: test-expandargv-0.
+PASS: test-expandargv-1.
+PASS: test-expandargv-2.
+PASS: test-expandargv-3.
+PASS: test-expandargv-4.
+PASS: test-expandargv-5.
+PASS: test-expandargv-6.
+	$(SOURCE_DIR)/libiberty/testsuite/test-strtol.c ../libiberty.a
+./test-strtol
+PASS: test-strtol-0.
+PASS: test-strtol-1.
+PASS: test-strtol-2.
+PASS: test-strtol-3.
+PASS: test-strtol-4.
+PASS: test-strtol-5.
+PASS: test-strtol-6.
+PASS: test-strtol-7.
+PASS: test-strtol-8.
+PASS: test-strtol-9.
+PASS: test-strtol-10.
+PASS: test-strtol-11.
+PASS: test-strtol-12.
+PASS: test-strtol-13.
+PASS: test-strtol-14.
+PASS: test-strtol-15.
+PASS: test-strtol-16.
+PASS: test-strtol-17.
+PASS: test-strtol-18.
+PASS: test-strtol-19.
+PASS: test-strtol-20.
+make[4]: Leaving directory '$(@D)/libiberty/testsuite'
+make[3]: Leaving directory '$(@D)/libiberty'
+make[2]: Target 'check-host' not remade because of errors.
+make[2]: Nothing to be done for 'check-target'.
+make[2]: Leaving directory '$(@D)'
+make[1]: *** [Makefile:2203: do-check] Error 2
+make[1]: Target 'check' not remade because of errors.
+make[1]: Leaving directory '$(@D)'
--- a/components/gcc3/gcc-3.p5m	Wed Nov 02 08:17:06 2016 -0700
+++ b/components/gcc3/gcc-3.p5m	Tue Nov 15 08:47:03 2016 -0800
@@ -405,10 +405,6 @@
 file path=usr/gcc/3.4/lib/locale/nl/LC_MESSAGES/gcc.mo
 file path=usr/gcc/3.4/lib/locale/sv/LC_MESSAGES/gcc.mo
 file path=usr/gcc/3.4/lib/locale/tr/LC_MESSAGES/gcc.mo
-link path=usr/gcc/3.4/libexec/gcc/$(GNU_ARCH)/3.4.3/as \
-    target=../../../../../../gnu/$(GNU_ARCH)/bin/as
-link path=usr/gcc/3.4/libexec/gcc/$(GNU_ARCH)/3.4.3/as \
-    target=../../../../../../gnu/$(GNU_ARCH)/bin/as
 file path=usr/gcc/3.4/libexec/gcc/$(GNU_ARCH)/3.4.3/cc1 mode=0555
 file path=usr/gcc/3.4/libexec/gcc/$(GNU_ARCH)/3.4.3/cc1obj mode=0555
 file path=usr/gcc/3.4/libexec/gcc/$(GNU_ARCH)/3.4.3/cc1plus mode=0555
--- a/components/gcc3/patches/i386.sol2-10.h.patch	Wed Nov 02 08:17:06 2016 -0700
+++ b/components/gcc3/patches/i386.sol2-10.h.patch	Tue Nov 15 08:47:03 2016 -0800
@@ -1,29 +1,39 @@
-*** gcc-3.4.3/gcc/config/i386/sol2-10.h.orig	Wed Nov 17 09:59:39 2004
---- gcc-3.4.3/gcc/config/i386/sol2-10.h	Mon Jan 28 13:39:30 2008
-***************
-*** 69,80 ****
-     %{YP,*} \
-     %{R*} \
-     %{compat-bsd: \
-!      %{!YP,*:%{p|pg:-Y P,/usr/ucblib/64:/usr/lib/libp/64:/lib/64:/usr/lib/64} \
-!              %{!p:%{!pg:-Y P,/usr/ucblib/64:/lib:/usr/lib/64}}} \
-!              -R /usr/ucblib/64} \
-     %{!compat-bsd: \
-!      %{!YP,*:%{p|pg:-Y P,/usr/lib/libp/64:/lib/64:/usr/lib/64} \
-!              %{!p:%{!pg:-Y P,/lib/64:/usr/lib/64}}}}"
-  
-  #undef LINK_ARCH64_SPEC
-  #define LINK_ARCH64_SPEC LINK_ARCH64_SPEC_BASE
---- 69,80 ----
-     %{YP,*} \
-     %{R*} \
-     %{compat-bsd: \
-!      %{!YP,*:%{p|pg:-Y P,/usr/gcc/3.4/lib/64:/usr/lib/libp/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64:/usr/lib/libp/64} \
-!              %{!p:%{!pg:-Y P,/usr/gcc/3.4/lib/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64}}} \
-!              } \
-     %{!compat-bsd: \
-!      %{!YP,*:%{p|pg:-Y P,/usr/gcc/3.4/lib/64:/usr/lib/libp/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64:/usr/lib/libp/64} \
-!              %{!p:%{!pg:-Y P,/usr/gcc/3.4/lib/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64}}}}"
-  
-  #undef LINK_ARCH64_SPEC
-  #define LINK_ARCH64_SPEC LINK_ARCH64_SPEC_BASE
+#
+# This patch was developed in house and encompasses two changes to GCC 3.
+#    1. It causes gcc to always specify the desired bittedness when calling
+#       the assembler to generate an object file.  That particular change
+#       has already been addressed by the upstream in future versions of GCC.
+#    2. It adjust the linker search path to find GCC 3 bits.  This current
+#       versions of GCC already handle this how we want them to.
+#
+# There is no need for either change to be submitted upstream.
+#
+--- gcc-3.4.3/gcc/config/i386/sol2-10.h.orig	2004-11-17 09:59:39.000000000 -0800
++++ gcc-3.4.3/gcc/config/i386/sol2-10.h	2016-10-04 11:58:11.778683101 -0700
+@@ -24,7 +24,7 @@
+ 
+ #undef ASM_SPEC
+ #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} " \
+-		 "%{Wa,*:%*} %{m32:--32} %{m64:--64} -s %(asm_cpu)"
++		 "%{Wa,*:%*} %{!m64:--32} %{m64:--64} -s %(asm_cpu)"
+ 
+ #undef NO_PROFILE_COUNTERS
+ 
+@@ -69,12 +69,12 @@
+    %{YP,*} \
+    %{R*} \
+    %{compat-bsd: \
+-     %{!YP,*:%{p|pg:-Y P,/usr/ucblib/64:/usr/lib/libp/64:/lib/64:/usr/lib/64} \
+-             %{!p:%{!pg:-Y P,/usr/ucblib/64:/lib:/usr/lib/64}}} \
+-             -R /usr/ucblib/64} \
++     %{!YP,*:%{p|pg:-Y P,/usr/gcc/3.4/lib/64:/usr/lib/libp/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64:/usr/lib/libp/64} \
++             %{!p:%{!pg:-Y P,/usr/gcc/3.4/lib/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64}}} \
++             } \
+    %{!compat-bsd: \
+-     %{!YP,*:%{p|pg:-Y P,/usr/lib/libp/64:/lib/64:/usr/lib/64} \
+-             %{!p:%{!pg:-Y P,/lib/64:/usr/lib/64}}}}"
++     %{!YP,*:%{p|pg:-Y P,/usr/gcc/3.4/lib/64:/usr/lib/libp/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64:/usr/lib/libp/64} \
++             %{!p:%{!pg:-Y P,/usr/gcc/3.4/lib/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64}}}}"
+ 
+ #undef LINK_ARCH64_SPEC
+ #define LINK_ARCH64_SPEC LINK_ARCH64_SPEC_BASE