diff --git a/binutils-2.19.51.tar.bz2 b/binutils-2.19.51.tar.bz2 deleted file mode 100644 index 5d68327..0000000 --- a/binutils-2.19.51.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7ca13d3b310eb5f911e9e37a15ea3b2a1aebd5d2234d3fbc34261b7a019396a9 -size 17835911 diff --git a/binutils-2.20.0.tar.bz2 b/binutils-2.20.0.tar.bz2 new file mode 100644 index 0000000..0c9fc9a --- /dev/null +++ b/binutils-2.20.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e73921a0c4fbe122e939f78f05af4798b231c54895605eaff922d88ae9b71946 +size 18646989 diff --git a/binutils-build-as-needed.diff b/binutils-build-as-needed.diff index bc4e2c4..fb08326 100644 --- a/binutils-build-as-needed.diff +++ b/binutils-build-as-needed.diff @@ -1,7 +1,7 @@ Index: ld/ldmain.c =================================================================== ---- ld/ldmain.c.orig 2009-06-09 14:34:35.000000000 +0200 -+++ ld/ldmain.c 2009-06-09 14:47:37.000000000 +0200 +--- ld/ldmain.c.orig 2009-11-23 14:03:09.000000000 +0100 ++++ ld/ldmain.c 2009-11-23 14:03:10.000000000 +0100 @@ -277,6 +277,8 @@ main (int argc, char **argv) link_info.pei386_auto_import = -1; link_info.spare_dynamic_tags = 5; diff --git a/binutils-skip-rpaths.patch b/binutils-skip-rpaths.patch index d80dbe2..c42301e 100644 --- a/binutils-skip-rpaths.patch +++ b/binutils-skip-rpaths.patch @@ -1,6 +1,8 @@ ---- ld/emultempl/elf32.em -+++ ld/emultempl/elf32.em -@@ -1377,15 +1377,46 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" != +Index: ld/emultempl/elf32.em +=================================================================== +--- ld/emultempl/elf32.em.orig 2009-11-23 14:02:48.000000000 +0100 ++++ ld/emultempl/elf32.em 2009-11-23 14:03:07.000000000 +0100 +@@ -1394,15 +1394,46 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" != else ELF_INTERPRETER_SET_DEFAULT= fi @@ -48,7 +50,7 @@ asection *sinterp; if (link_info.hash->type == bfd_link_elf_hash_table) -@@ -1400,7 +1431,66 @@ gld${EMULATION_NAME}_before_allocation ( +@@ -1417,7 +1448,66 @@ gld${EMULATION_NAME}_before_allocation ( by dynamic linking. */ rpath = command_line.rpath; if (rpath == NULL) @@ -114,5 +116,5 @@ + } + if (! (bfd_elf_size_dynamic_sections - (output_bfd, command_line.soname, rpath, + (link_info.output_bfd, command_line.soname, rpath, command_line.filter_shlib, diff --git a/binutils.changes b/binutils.changes index 1eb4574..f1a91b6 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/binutils.spec b/binutils.spec index 6ec1021..c3999b7 100644 --- a/binutils.spec +++ b/binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -152,7 +156,7 @@ Authors: Ulf Carlsson %package gold -License: GPL v3 or later +License: GPLv3+ Summary: The gold linker AutoReqProv: on Requires: binutils = %{version}-%{release} @@ -194,7 +198,7 @@ Authors: Andrew Chatham %package devel -License: GPL v2 or later ; GPL v3 or later ; LGPL v2.1 or later +License: GPLv2+ ; LGPLv2.1+ Summary: GNU binutils (BFD development files) AutoReqProv: on Requires: binutils = %{version}-%{release}, zlib-devel @@ -241,7 +245,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -286,9 +290,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -340,7 +342,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} @@ -356,8 +357,8 @@ make %{?jobs:-j%jobs} %ifarch %gold_archs mkdir ../build-dir2 cd ../build-dir2 -../configure %common_flags %extra_gold_targets \ - --enable-shared --enable-gold --program-prefix=go +../configure --disable-ld-targets %common_flags %extra_gold_targets \ + --enable-shared --enable-gold --program-prefix=go --enable-plugins make %{?jobs:-j%jobs} %endif mkdir ../build-dir3 diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index 1734b52..963d60b 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-alpha-binutils (Version 2.19.51) +# spec file for package cross-alpha-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-alpha-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 77f0a49..64210cb 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-arm-binutils (Version 2.19.51) +# spec file for package cross-arm-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-arm-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 73a36e9..9a5a882 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-avr-binutils (Version 2.19.51) +# spec file for package cross-avr-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-avr-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 4c23d21..2737021 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-hppa-binutils (Version 2.19.51) +# spec file for package cross-hppa-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-hppa-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index caf07f3..a71aeed 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-hppa64-binutils (Version 2.19.51) +# spec file for package cross-hppa64-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-hppa64-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 7378985..790d41c 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-i386-binutils (Version 2.19.51) +# spec file for package cross-i386-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-i386-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index a9b4769..7c1726c 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-ia64-binutils (Version 2.19.51) +# spec file for package cross-ia64-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-ia64-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index c95613a..31cd099 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-mips-binutils (Version 2.19.51) +# spec file for package cross-mips-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-mips-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 577ebb2..eb50d09 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-ppc-binutils (Version 2.19.51) +# spec file for package cross-ppc-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-ppc-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index bfa350d..7bb9c36 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-ppc64-binutils (Version 2.19.51) +# spec file for package cross-ppc64-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-ppc64-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index ddbf6d3..d46f19e 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-s390-binutils (Version 2.19.51) +# spec file for package cross-s390-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-s390-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index f9b0604..dfb43c3 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-s390x-binutils (Version 2.19.51) +# spec file for package cross-s390x-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-s390x-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-sh4-binutils.changes b/cross-sh4-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-sh4-binutils.changes +++ b/cross-sh4-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-sh4-binutils.spec b/cross-sh4-binutils.spec index 3c25eb7..e510303 100644 --- a/cross-sh4-binutils.spec +++ b/cross-sh4-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-sh4-binutils (Version 2.19.51) +# spec file for package cross-sh4-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-sh4-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 948c30a..237f79f 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-sparc-binutils (Version 2.19.51) +# spec file for package cross-sparc-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-sparc-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 71179f3..80f615e 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-spu-binutils (Version 2.19.51) +# spec file for package cross-spu-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-spu-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 1eb4574..f1a91b6 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + +------------------------------------------------------------------- +Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + +- Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + ------------------------------------------------------------------- Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index b9233bb..3254ed6 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-x86_64-binutils (Version 2.19.51) +# spec file for package cross-x86_64-binutils (Version 2.20.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,9 +18,14 @@ Name: cross-x86_64-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 -Release: 11 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.0 +Release: 1 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -33,6 +38,7 @@ Release: 11 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else +# XXX check again %define make_check_handling false %endif # let make check fail anyway if RUN_TESTS was requested @@ -50,7 +56,7 @@ Release: 11 # # Url: http://www.gnu.org/software/binutils/ -License: GFDL v1.1 ; GFDL v1.2 ; GPL v2 or later ; GPL v3 or later ; LGPL v2.0 or later ; LGPL v2.1 or later ; LGPL v3 or later +License: GFDLv1.1 ; GFDLv1.2 ; GPLv2+ ; GPLv3+ ; LGPLv2.0+ ; LGPLv2.1+ ; LGPLv3+ Group: Development/Tools/Building PreReq: %{install_info_prereq} AutoReqProv: on @@ -75,9 +81,7 @@ Patch9: testsuite.diff Patch10: enable-targets.diff Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff -Patch13: gold-basename.diff Patch14: binutils-build-as-needed.diff -Patch15: lto-discard.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -127,7 +131,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -213,7 +217,7 @@ Authors: Jim Kingdon Jim Wilson John Gilmore - Jörn Rennecke + Joern Rennecke K. Richard Pixley Ken Raeburn Kung Hsu @@ -258,9 +262,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +314,6 @@ EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf" --with-pkgversion="GNU Binutils; %{DIST}" \\\ --with-separate-debug-dir=%{_prefix}/lib/debug \\\ --with-pic --build=%{HOST} \\\ - --disable-ld-targets \\\ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} %define extra_ld_targets \\\ ${EXTRA_LD_TARGETS:+--enable-ld-targets="${EXTRA_LD_TARGETS#,}"} diff --git a/enable-targets.diff b/enable-targets.diff index 6264edc..d6c7f23 100644 --- a/enable-targets.diff +++ b/enable-targets.diff @@ -1,25 +1,32 @@ ---- gold/configure -+++ gold/configure -@@ -867,6 +867,7 @@ Optional Features: - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] +Index: gold/configure +=================================================================== +--- gold/configure.orig 2009-11-23 14:02:48.000000000 +0100 ++++ gold/configure 2009-11-23 14:03:09.000000000 +0100 +@@ -762,6 +762,7 @@ with_sysroot + enable_threads + enable_plugins + enable_targets ++enable_ld_targets + enable_dependency_tracking + enable_nls + enable_werror +@@ -1406,6 +1407,7 @@ Optional Features: --enable-threads multi-threaded linking + --enable-plugins linker plugins --enable-targets alternative target configurations + --enable-ld-targets alternative target configurations --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --disable-nls do not use Native Language Support -@@ -1981,9 +1982,31 @@ else +@@ -3297,9 +3299,29 @@ else + fi - fi; -+# Check whether --enable-ld-targets or --disable-ld-targets was given. -+if test "${enable_ld_targets+set}" = set; then -+ enableval="$enable_ld_targets" -+ case "${enableval}" in ++# Check whether --enable-ld-targets was given. ++if test "${enable_ld_targets+set}" = set; then : ++ enableval=$enable_ld_targets; case "${enableval}" in + yes | "") -+ { { echo "$as_me:$LINENO: error: --enable-ld-targets option must specify target names or 'all'" >&5 -+echo "$as_me: error: --enable-ld-targets option must specify target names or 'all'" >&2;} -+ { (exit 1); exit 1; }; } ++ as_fn_error "--enable-ld-targets option must specify target names or 'all'" "$LINENO" 5 + ;; + no) + enable_ld_targets= @@ -32,7 +39,8 @@ + # For now, enable all targets by default + enable_ld_targets=$enable_targets + -+fi; ++fi ++ + # Canonicalize the enabled targets. -if test -n "$enable_targets"; then @@ -42,9 +50,11 @@ result=`$ac_config_sub $targ 2>/dev/null` if test -n "$result"; then canon_targets="$canon_targets $result" ---- gold/configure.ac -+++ gold/configure.ac -@@ -70,9 +70,26 @@ esac], +Index: gold/configure.ac +=================================================================== +--- gold/configure.ac.orig 2009-11-23 14:02:48.000000000 +0100 ++++ gold/configure.ac 2009-11-23 14:03:09.000000000 +0100 +@@ -84,9 +84,26 @@ esac], enable_targets=all ]) @@ -73,37 +83,19 @@ result=`$ac_config_sub $targ 2>/dev/null` if test -n "$result"; then canon_targets="$canon_targets $result" ---- ld/configure -+++ ld/configure -@@ -1003,6 +1003,7 @@ Optional Features: - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors +Index: ld/configure +=================================================================== +--- ld/configure.orig 2009-11-23 14:02:48.000000000 +0100 ++++ ld/configure 2009-11-23 14:03:09.000000000 +0100 +@@ -1547,6 +1547,7 @@ Optional Features: + --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer --enable-targets alternative target configurations + --enable-ld-targets alternative target configurations --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) --enable-got= GOT handling scheme (target, single, negative, multigot) -@@ -3283,6 +3284,19 @@ echo "$as_me: error: enable-targets opti - no) enable_targets= ;; - *) enable_targets=$enableval ;; - esac -+fi; # Check whether --enable-ld-targets or --disable-ld-targets was given. -+if test "${enable_ld_targets+set}" = set; then -+ enableval="$enable_ld_targets" -+ case "${enableval}" in -+ yes | "") { { echo "$as_me:$LINENO: error: enable-ld-targets option must specify target names or 'all'" >&5 -+echo "$as_me: error: enable-ld-targets option must specify target names or 'all'" >&2;} -+ { (exit 1); exit 1; }; } -+ ;; -+ no) enable_ld_targets= ;; -+ *) enable_ld_targets=$enableval ;; -+esac -+else -+ enable_ld_targets=$enable_targets - fi; # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given. - if test "${enable_64_bit_bfd+set}" = set; then - enableval="$enable_64_bit_bfd" -@@ -12958,7 +12972,7 @@ all_libpath= +@@ -12818,7 +12819,7 @@ all_libpath= rm -f tdirs @@ -112,9 +104,11 @@ do if test "$targ_alias" = "all"; then all_targets=true ---- ld/configure.in -+++ ld/configure.in -@@ -21,6 +21,14 @@ AC_ARG_ENABLE(targets, +Index: ld/configure.in +=================================================================== +--- ld/configure.in.orig 2009-11-23 14:02:48.000000000 +0100 ++++ ld/configure.in 2009-11-23 14:03:09.000000000 +0100 +@@ -22,6 +22,14 @@ AC_ARG_ENABLE(targets, no) enable_targets= ;; *) enable_targets=$enableval ;; esac])dnl @@ -129,7 +123,7 @@ AC_ARG_ENABLE(64-bit-bfd, [ --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)], [case "${enableval}" in -@@ -187,7 +195,7 @@ dnl not permit literal newlines in an AC +@@ -190,7 +198,7 @@ dnl not permit literal newlines in an AC dnl file. rm -f tdirs diff --git a/gold-basename.diff b/gold-basename.diff deleted file mode 100644 index f6eb2fc..0000000 --- a/gold-basename.diff +++ /dev/null @@ -1,2054 +0,0 @@ ---- gold/configure.ac.orig 2009-05-27 17:51:48.000000000 +0200 -+++ gold/configure.ac 2009-05-27 17:52:48.000000000 +0200 -@@ -318,13 +318,16 @@ - AC_SEARCH_LIBS(zlibVersion, z, [AC_CHECK_HEADERS(zlib.h)]) - AM_CONDITIONAL(HAVE_ZLIB, test "$ac_cv_search_zlibVersion" != "no") - -+# Use C for the following tests, new GCC and glibc provide overloads -+# for C++ which confuse the decl checks -+AC_CHECK_DECLS([basename, ffs, asprintf, vasprintf, snprintf, vsnprintf, strverscmp]) -+ - AC_LANG_PUSH(C++) - - AC_CHECK_HEADERS(tr1/unordered_set tr1/unordered_map) - AC_CHECK_HEADERS(ext/hash_map ext/hash_set) - AC_CHECK_HEADERS(byteswap.h) - AC_CHECK_FUNCS(mallinfo posix_fallocate) --AC_CHECK_DECLS([basename, ffs, asprintf, vasprintf, snprintf, vsnprintf, strverscmp]) - - # Use of ::std::tr1::unordered_map::rehash causes undefined symbols - # at link time with some versions of GCC. ---- gold/configure.orig 2009-05-27 17:51:51.000000000 +0200 -+++ gold/configure 2009-05-27 17:53:09.000000000 +0200 -@@ -6058,272 +6058,240 @@ - fi - - --ac_ext=cc --ac_cpp='$CXXCPP $CPPFLAGS' --ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' --ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' --ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -- -- -- --ac_ext=cc --ac_cpp='$CXXCPP $CPPFLAGS' --ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' --ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' --ac_compiler_gnu=$ac_cv_cxx_compiler_gnu --echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 --echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 --if test -z "$CXXCPP"; then -- if test "${ac_cv_prog_CXXCPP+set}" = set; then -+# Use C for the following tests, new GCC and glibc provide overloads -+# for C++ which confuse the decl checks -+echo "$as_me:$LINENO: checking whether basename is declared" >&5 -+echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6 -+if test "${ac_cv_have_decl_basename+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else -- # Double quotes because CXXCPP needs to be expanded -- for CXXCPP in "$CXX -E" "/lib/cpp" -- do -- ac_preproc_ok=false --for ac_cxx_preproc_warn_flag in '' yes --do -- # Use a header file that comes with gcc, so configuring glibc -- # with a fresh cross-compiler works. -- # Prefer to if __STDC__ is defined, since -- # exists even on freestanding compilers. -- # On the NeXT, cc -E runs the code through the compiler's parser, -- # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ --#ifdef __STDC__ --# include --#else --# include -+$ac_includes_default -+int -+main () -+{ -+#ifndef basename -+ char *p = (char *) basename; - #endif -- Syntax error -+ -+ ; -+ return 0; -+} - _ACEOF --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -+rm -f conftest.$ac_objext -+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+ (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null; then -- if test -s conftest.err; then -- ac_cpp_err=$ac_cxx_preproc_warn_flag -- ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag -- else -- ac_cpp_err= -- fi --else -- ac_cpp_err=yes --fi --if test -z "$ac_cpp_err"; then -- : -+ (exit $ac_status); } && -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; } && -+ { ac_try='test -s conftest.$ac_objext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ ac_cv_have_decl_basename=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - -- # Broken: fails on valid input. --continue -+ac_cv_have_decl_basename=no - fi --rm -f conftest.err conftest.$ac_ext -+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5 -+echo "${ECHO_T}$ac_cv_have_decl_basename" >&6 -+if test $ac_cv_have_decl_basename = yes; then - -- # OK, works on sane cases. Now check whether non-existent headers -- # can be detected and how. -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_BASENAME 1 -+_ACEOF -+ -+ -+else -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_BASENAME 0 -+_ACEOF -+ -+ -+fi -+echo "$as_me:$LINENO: checking whether ffs is declared" >&5 -+echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6 -+if test "${ac_cv_have_decl_ffs+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ --#include -+$ac_includes_default -+int -+main () -+{ -+#ifndef ffs -+ char *p = (char *) ffs; -+#endif -+ -+ ; -+ return 0; -+} - _ACEOF --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -+rm -f conftest.$ac_objext -+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+ (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null; then -- if test -s conftest.err; then -- ac_cpp_err=$ac_cxx_preproc_warn_flag -- ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag -- else -- ac_cpp_err= -- fi --else -- ac_cpp_err=yes --fi --if test -z "$ac_cpp_err"; then -- # Broken: success on invalid input. --continue -+ (exit $ac_status); } && -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; } && -+ { ac_try='test -s conftest.$ac_objext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ ac_cv_have_decl_ffs=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - -- # Passes both tests. --ac_preproc_ok=: --break -+ac_cv_have_decl_ffs=no - fi --rm -f conftest.err conftest.$ac_ext -- --done --# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. --rm -f conftest.err conftest.$ac_ext --if $ac_preproc_ok; then -- break -+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - fi -+echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5 -+echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6 -+if test $ac_cv_have_decl_ffs = yes; then -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_FFS 1 -+_ACEOF - -- done -- ac_cv_prog_CXXCPP=$CXXCPP - --fi -- CXXCPP=$ac_cv_prog_CXXCPP - else -- ac_cv_prog_CXXCPP=$CXXCPP -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_FFS 0 -+_ACEOF -+ -+ - fi --echo "$as_me:$LINENO: result: $CXXCPP" >&5 --echo "${ECHO_T}$CXXCPP" >&6 --ac_preproc_ok=false --for ac_cxx_preproc_warn_flag in '' yes --do -- # Use a header file that comes with gcc, so configuring glibc -- # with a fresh cross-compiler works. -- # Prefer to if __STDC__ is defined, since -- # exists even on freestanding compilers. -- # On the NeXT, cc -E runs the code through the compiler's parser, -- # not just through cpp. "Syntax error" is here to catch this case. -+echo "$as_me:$LINENO: checking whether asprintf is declared" >&5 -+echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6 -+if test "${ac_cv_have_decl_asprintf+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ --#ifdef __STDC__ --# include --#else --# include -+$ac_includes_default -+int -+main () -+{ -+#ifndef asprintf -+ char *p = (char *) asprintf; - #endif -- Syntax error -+ -+ ; -+ return 0; -+} - _ACEOF --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -+rm -f conftest.$ac_objext -+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+ (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null; then -- if test -s conftest.err; then -- ac_cpp_err=$ac_cxx_preproc_warn_flag -- ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag -- else -- ac_cpp_err= -- fi --else -- ac_cpp_err=yes --fi --if test -z "$ac_cpp_err"; then -- : -+ (exit $ac_status); } && -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; } && -+ { ac_try='test -s conftest.$ac_objext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ ac_cv_have_decl_asprintf=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - -- # Broken: fails on valid input. --continue -+ac_cv_have_decl_asprintf=no - fi --rm -f conftest.err conftest.$ac_ext -+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5 -+echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6 -+if test $ac_cv_have_decl_asprintf = yes; then - -- # OK, works on sane cases. Now check whether non-existent headers -- # can be detected and how. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_ASPRINTF 1 - _ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include --_ACEOF --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null; then -- if test -s conftest.err; then -- ac_cpp_err=$ac_cxx_preproc_warn_flag -- ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag -- else -- ac_cpp_err= -- fi --else -- ac_cpp_err=yes --fi --if test -z "$ac_cpp_err"; then -- # Broken: success on invalid input. --continue --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - -- # Passes both tests. --ac_preproc_ok=: --break --fi --rm -f conftest.err conftest.$ac_ext - --done --# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. --rm -f conftest.err conftest.$ac_ext --if $ac_preproc_ok; then -- : - else -- { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 --echo "$as_me: error: in \`$ac_pwd':" >&2;} --{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check --See \`config.log' for more details." >&5 --echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; }; } --fi -- --ac_ext=cc --ac_cpp='$CXXCPP $CPPFLAGS' --ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' --ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' --ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -- -- -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_ASPRINTF 0 -+_ACEOF - - --for ac_header in tr1/unordered_set tr1/unordered_map --do --as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` --if eval "test \"\${$as_ac_Header+set}\" = set"; then -- echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 --if eval "test \"\${$as_ac_Header+set}\" = set"; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 - fi --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -+echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5 -+echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6 -+if test "${ac_cv_have_decl_vasprintf+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 - else -- # Is the header compilable? --echo "$as_me:$LINENO: checking $ac_header usability" >&5 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 --cat >conftest.$ac_ext <<_ACEOF -+ cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - $ac_includes_default --#include <$ac_header> -+int -+main () -+{ -+#ifndef vasprintf -+ char *p = (char *) vasprintf; -+#endif -+ -+ ; -+ return 0; -+} - _ACEOF - rm -f conftest.$ac_objext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -@@ -6334,7 +6302,7 @@ - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_cxx_werror_flag" -+ { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 -@@ -6347,134 +6315,53 @@ - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then -- ac_header_compiler=yes -+ ac_cv_have_decl_vasprintf=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - --ac_header_compiler=no -+ac_cv_have_decl_vasprintf=no - fi - rm -f conftest.err conftest.$ac_objext conftest.$ac_ext --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 --echo "${ECHO_T}$ac_header_compiler" >&6 -+fi -+echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5 -+echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6 -+if test $ac_cv_have_decl_vasprintf = yes; then - --# Is the header present? --echo "$as_me:$LINENO: checking $ac_header presence" >&5 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include <$ac_header> -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_VASPRINTF 1 - _ACEOF --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null; then -- if test -s conftest.err; then -- ac_cpp_err=$ac_cxx_preproc_warn_flag -- ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag -- else -- ac_cpp_err= -- fi --else -- ac_cpp_err=yes --fi --if test -z "$ac_cpp_err"; then -- ac_header_preproc=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - -- ac_header_preproc=no --fi --rm -f conftest.err conftest.$ac_ext --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 --echo "${ECHO_T}$ac_header_preproc" >&6 - --# So? What about this header? --case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in -- yes:no: ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 --echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} -- ac_header_preproc=yes -- ;; -- no:yes:* ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 --echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 --echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 --echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 --echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 --echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} -- ( -- cat <<\_ASBOX --## ------------------------------- ## --## Report this to the gold lists. ## --## ------------------------------- ## --_ASBOX -- ) | -- sed "s/^/$as_me: WARNING: /" >&2 -- ;; --esac --echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 --if eval "test \"\${$as_ac_Header+set}\" = set"; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 - else -- eval "$as_ac_Header=\$ac_header_preproc" --fi --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -- --fi --if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -+#define HAVE_DECL_VASPRINTF 0 - _ACEOF - --fi -- --done -- - -- --for ac_header in ext/hash_map ext/hash_set --do --as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` --if eval "test \"\${$as_ac_Header+set}\" = set"; then -- echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 --if eval "test \"\${$as_ac_Header+set}\" = set"; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 - fi --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -+echo "$as_me:$LINENO: checking whether snprintf is declared" >&5 -+echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6 -+if test "${ac_cv_have_decl_snprintf+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 - else -- # Is the header compilable? --echo "$as_me:$LINENO: checking $ac_header usability" >&5 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 --cat >conftest.$ac_ext <<_ACEOF -+ cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - $ac_includes_default --#include <$ac_header> -+int -+main () -+{ -+#ifndef snprintf -+ char *p = (char *) snprintf; -+#endif -+ -+ ; -+ return 0; -+} - _ACEOF - rm -f conftest.$ac_objext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -@@ -6485,7 +6372,7 @@ - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_cxx_werror_flag" -+ { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 -@@ -6498,133 +6385,123 @@ - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then -- ac_header_compiler=yes -+ ac_cv_have_decl_snprintf=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - --ac_header_compiler=no -+ac_cv_have_decl_snprintf=no - fi - rm -f conftest.err conftest.$ac_objext conftest.$ac_ext --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 --echo "${ECHO_T}$ac_header_compiler" >&6 -+fi -+echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5 -+echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6 -+if test $ac_cv_have_decl_snprintf = yes; then - --# Is the header present? --echo "$as_me:$LINENO: checking $ac_header presence" >&5 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 --cat >conftest.$ac_ext <<_ACEOF -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_SNPRINTF 1 -+_ACEOF -+ -+ -+else -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_SNPRINTF 0 -+_ACEOF -+ -+ -+fi -+echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5 -+echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6 -+if test "${ac_cv_have_decl_vsnprintf+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ --#include <$ac_header> --_ACEOF --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -+$ac_includes_default -+int -+main () -+{ -+#ifndef vsnprintf -+ char *p = (char *) vsnprintf; -+#endif -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext -+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+ (eval $ac_compile) 2>conftest.er1 -+ ac_status=$? -+ grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null; then -- if test -s conftest.err; then -- ac_cpp_err=$ac_cxx_preproc_warn_flag -- ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag -- else -- ac_cpp_err= -- fi --else -- ac_cpp_err=yes --fi --if test -z "$ac_cpp_err"; then -- ac_header_preproc=yes -+ (exit $ac_status); } && -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; } && -+ { ac_try='test -s conftest.$ac_objext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ ac_cv_have_decl_vsnprintf=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - -- ac_header_preproc=no -+ac_cv_have_decl_vsnprintf=no - fi --rm -f conftest.err conftest.$ac_ext --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 --echo "${ECHO_T}$ac_header_preproc" >&6 -- --# So? What about this header? --case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in -- yes:no: ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 --echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} -- ac_header_preproc=yes -- ;; -- no:yes:* ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 --echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 --echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 --echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 --echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 --echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} -- ( -- cat <<\_ASBOX --## ------------------------------- ## --## Report this to the gold lists. ## --## ------------------------------- ## --_ASBOX -- ) | -- sed "s/^/$as_me: WARNING: /" >&2 -- ;; --esac --echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 --if eval "test \"\${$as_ac_Header+set}\" = set"; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- eval "$as_ac_Header=\$ac_header_preproc" -+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - fi --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -+echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5 -+echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6 -+if test $ac_cv_have_decl_vsnprintf = yes; then - --fi --if test `eval echo '${'$as_ac_Header'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_VSNPRINTF 1 - _ACEOF - --fi - --done -+else -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_VSNPRINTF 0 -+_ACEOF - - --for ac_header in byteswap.h --do --as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` --if eval "test \"\${$as_ac_Header+set}\" = set"; then -- echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 --if eval "test \"\${$as_ac_Header+set}\" = set"; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 - fi --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -+echo "$as_me:$LINENO: checking whether strverscmp is declared" >&5 -+echo $ECHO_N "checking whether strverscmp is declared... $ECHO_C" >&6 -+if test "${ac_cv_have_decl_strverscmp+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 - else -- # Is the header compilable? --echo "$as_me:$LINENO: checking $ac_header usability" >&5 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 --cat >conftest.$ac_ext <<_ACEOF -+ cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - $ac_includes_default --#include <$ac_header> -+int -+main () -+{ -+#ifndef strverscmp -+ char *p = (char *) strverscmp; -+#endif -+ -+ ; -+ return 0; -+} - _ACEOF - rm -f conftest.$ac_objext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -@@ -6635,7 +6512,7 @@ - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_cxx_werror_flag" -+ { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 -@@ -6648,27 +6525,77 @@ - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then -- ac_header_compiler=yes -+ ac_cv_have_decl_strverscmp=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - --ac_header_compiler=no -+ac_cv_have_decl_strverscmp=no - fi - rm -f conftest.err conftest.$ac_objext conftest.$ac_ext --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 --echo "${ECHO_T}$ac_header_compiler" >&6 -+fi -+echo "$as_me:$LINENO: result: $ac_cv_have_decl_strverscmp" >&5 -+echo "${ECHO_T}$ac_cv_have_decl_strverscmp" >&6 -+if test $ac_cv_have_decl_strverscmp = yes; then - --# Is the header present? --echo "$as_me:$LINENO: checking $ac_header presence" >&5 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 --cat >conftest.$ac_ext <<_ACEOF -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_STRVERSCMP 1 -+_ACEOF -+ -+ -+else -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_STRVERSCMP 0 -+_ACEOF -+ -+ -+fi -+ -+ -+ -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -+ -+ -+ -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -+echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 -+echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 -+if test -z "$CXXCPP"; then -+ if test "${ac_cv_prog_CXXCPP+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ # Double quotes because CXXCPP needs to be expanded -+ for CXXCPP in "$CXX -E" "/lib/cpp" -+ do -+ ac_preproc_ok=false -+for ac_cxx_preproc_warn_flag in '' yes -+do -+ # Use a header file that comes with gcc, so configuring glibc -+ # with a fresh cross-compiler works. -+ # Prefer to if __STDC__ is defined, since -+ # exists even on freestanding compilers. -+ # On the NeXT, cc -E runs the code through the compiler's parser, -+ # not just through cpp. "Syntax error" is here to catch this case. -+ cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ --#include <$ac_header> -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ Syntax error - _ACEOF - if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -@@ -6688,334 +6615,210 @@ - ac_cpp_err=yes - fi - if test -z "$ac_cpp_err"; then -- ac_header_preproc=yes -+ : - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - -- ac_header_preproc=no -+ # Broken: fails on valid input. -+continue - fi - rm -f conftest.err conftest.$ac_ext --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 --echo "${ECHO_T}$ac_header_preproc" >&6 -- --# So? What about this header? --case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in -- yes:no: ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 --echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} -- ac_header_preproc=yes -- ;; -- no:yes:* ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 --echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 --echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 --echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 --echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 --echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} -- ( -- cat <<\_ASBOX --## ------------------------------- ## --## Report this to the gold lists. ## --## ------------------------------- ## --_ASBOX -- ) | -- sed "s/^/$as_me: WARNING: /" >&2 -- ;; --esac --echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 --if eval "test \"\${$as_ac_Header+set}\" = set"; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- eval "$as_ac_Header=\$ac_header_preproc" --fi --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 - --fi --if test `eval echo '${'$as_ac_Header'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 --_ACEOF -- --fi -- --done -- -- -- --for ac_func in mallinfo posix_fallocate --do --as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` --echo "$as_me:$LINENO: checking for $ac_func" >&5 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 --if eval "test \"\${$as_ac_var+set}\" = set"; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -+ # OK, works on sane cases. Now check whether non-existent headers -+ # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ --/* Define $ac_func to an innocuous variant, in case declares $ac_func. -- For example, HP-UX 11i declares gettimeofday. */ --#define $ac_func innocuous_$ac_func -- --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char $ac_func (); below. -- Prefer to if __STDC__ is defined, since -- exists even on freestanding compilers. */ -- --#ifdef __STDC__ --# include --#else --# include --#endif -- --#undef $ac_func -- --/* Override any gcc2 internal prototype to avoid an error. */ --#ifdef __cplusplus --extern "C" --{ --#endif --/* We use char because int might match the return type of a gcc2 -- builtin and then its argument prototype would still apply. */ --char $ac_func (); --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined (__stub_$ac_func) || defined (__stub___$ac_func) --choke me --#else --char (*f) () = $ac_func; --#endif --#ifdef __cplusplus --} --#endif -- --int --main () --{ --return f != $ac_func; -- ; -- return 0; --} -+#include - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -- (eval $ac_link) 2>conftest.er1 -+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && -- { ac_try='test -z "$ac_cxx_werror_flag" -- || test ! -s conftest.err' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; } && -- { ac_try='test -s conftest$ac_exeext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- eval "$as_ac_var=yes" -+ (exit $ac_status); } >/dev/null; then -+ if test -s conftest.err; then -+ ac_cpp_err=$ac_cxx_preproc_warn_flag -+ ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag -+ else -+ ac_cpp_err= -+ fi -+else -+ ac_cpp_err=yes -+fi -+if test -z "$ac_cpp_err"; then -+ # Broken: success on invalid input. -+continue - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - --eval "$as_ac_var=no" --fi --rm -f conftest.err conftest.$ac_objext \ -- conftest$ac_exeext conftest.$ac_ext -+ # Passes both tests. -+ac_preproc_ok=: -+break - fi --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 --echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 --if test `eval echo '${'$as_ac_var'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 --_ACEOF -+rm -f conftest.err conftest.$ac_ext - --fi - done -+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -+rm -f conftest.err conftest.$ac_ext -+if $ac_preproc_ok; then -+ break -+fi - --echo "$as_me:$LINENO: checking whether basename is declared" >&5 --echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6 --if test "${ac_cv_have_decl_basename+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ done -+ ac_cv_prog_CXXCPP=$CXXCPP -+ -+fi -+ CXXCPP=$ac_cv_prog_CXXCPP - else -+ ac_cv_prog_CXXCPP=$CXXCPP -+fi -+echo "$as_me:$LINENO: result: $CXXCPP" >&5 -+echo "${ECHO_T}$CXXCPP" >&6 -+ac_preproc_ok=false -+for ac_cxx_preproc_warn_flag in '' yes -+do -+ # Use a header file that comes with gcc, so configuring glibc -+ # with a fresh cross-compiler works. -+ # Prefer to if __STDC__ is defined, since -+ # exists even on freestanding compilers. -+ # On the NeXT, cc -E runs the code through the compiler's parser, -+ # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ --$ac_includes_default --int --main () --{ --#ifndef basename -- char *p = (char *) basename; -+#ifdef __STDC__ -+# include -+#else -+# include - #endif -- -- ; -- return 0; --} -+ Syntax error - _ACEOF --rm -f conftest.$ac_objext --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -- (eval $ac_compile) 2>conftest.er1 -+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && -- { ac_try='test -z "$ac_cxx_werror_flag" -- || test ! -s conftest.err' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; } && -- { ac_try='test -s conftest.$ac_objext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_have_decl_basename=yes -+ (exit $ac_status); } >/dev/null; then -+ if test -s conftest.err; then -+ ac_cpp_err=$ac_cxx_preproc_warn_flag -+ ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag -+ else -+ ac_cpp_err= -+ fi -+else -+ ac_cpp_err=yes -+fi -+if test -z "$ac_cpp_err"; then -+ : - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - --ac_cv_have_decl_basename=no --fi --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -+ # Broken: fails on valid input. -+continue - fi --echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5 --echo "${ECHO_T}$ac_cv_have_decl_basename" >&6 --if test $ac_cv_have_decl_basename = yes; then -- --cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_BASENAME 1 --_ACEOF -- -- --else -- cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_BASENAME 0 --_ACEOF -- -+rm -f conftest.err conftest.$ac_ext - --fi --echo "$as_me:$LINENO: checking whether ffs is declared" >&5 --echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6 --if test "${ac_cv_have_decl_ffs+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -+ # OK, works on sane cases. Now check whether non-existent headers -+ # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ --$ac_includes_default --int --main () --{ --#ifndef ffs -- char *p = (char *) ffs; --#endif -- -- ; -- return 0; --} -+#include - _ACEOF --rm -f conftest.$ac_objext --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -- (eval $ac_compile) 2>conftest.er1 -+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && -- { ac_try='test -z "$ac_cxx_werror_flag" -- || test ! -s conftest.err' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; } && -- { ac_try='test -s conftest.$ac_objext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_have_decl_ffs=yes -+ (exit $ac_status); } >/dev/null; then -+ if test -s conftest.err; then -+ ac_cpp_err=$ac_cxx_preproc_warn_flag -+ ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag -+ else -+ ac_cpp_err= -+ fi -+else -+ ac_cpp_err=yes -+fi -+if test -z "$ac_cpp_err"; then -+ # Broken: success on invalid input. -+continue - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - --ac_cv_have_decl_ffs=no -+ # Passes both tests. -+ac_preproc_ok=: -+break - fi --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -+rm -f conftest.err conftest.$ac_ext -+ -+done -+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -+rm -f conftest.err conftest.$ac_ext -+if $ac_preproc_ok; then -+ : -+else -+ { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -+echo "$as_me: error: in \`$ac_pwd':" >&2;} -+{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check -+See \`config.log' for more details." >&5 -+echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check -+See \`config.log' for more details." >&2;} -+ { (exit 1); exit 1; }; }; } - fi --echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5 --echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6 --if test $ac_cv_have_decl_ffs = yes; then - --cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_FFS 1 --_ACEOF -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - --else -- cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_FFS 0 --_ACEOF - - --fi --echo "$as_me:$LINENO: checking whether asprintf is declared" >&5 --echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6 --if test "${ac_cv_have_decl_asprintf+set}" = set; then -+for ac_header in tr1/unordered_set tr1/unordered_map -+do -+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -+if eval "test \"\${$as_ac_Header+set}\" = set"; then -+ echo "$as_me:$LINENO: checking for $ac_header" >&5 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -+if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -+fi -+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 - else -- cat >conftest.$ac_ext <<_ACEOF -+ # Is the header compilable? -+echo "$as_me:$LINENO: checking $ac_header usability" >&5 -+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 -+cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - $ac_includes_default --int --main () --{ --#ifndef asprintf -- char *p = (char *) asprintf; --#endif -- -- ; -- return 0; --} -+#include <$ac_header> - _ACEOF - rm -f conftest.$ac_objext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -@@ -7039,53 +6842,134 @@ - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then -- ac_cv_have_decl_asprintf=yes -+ ac_header_compiler=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - --ac_cv_have_decl_asprintf=no -+ac_header_compiler=no - fi - rm -f conftest.err conftest.$ac_objext conftest.$ac_ext --fi --echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5 --echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6 --if test $ac_cv_have_decl_asprintf = yes; then -+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -+echo "${ECHO_T}$ac_header_compiler" >&6 - --cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_ASPRINTF 1 -+# Is the header present? -+echo "$as_me:$LINENO: checking $ac_header presence" >&5 -+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 -+cat >conftest.$ac_ext <<_ACEOF -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+#include <$ac_header> - _ACEOF -+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -+ ac_status=$? -+ grep -v '^ *+' conftest.er1 >conftest.err -+ rm -f conftest.er1 -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } >/dev/null; then -+ if test -s conftest.err; then -+ ac_cpp_err=$ac_cxx_preproc_warn_flag -+ ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag -+ else -+ ac_cpp_err= -+ fi -+else -+ ac_cpp_err=yes -+fi -+if test -z "$ac_cpp_err"; then -+ ac_header_preproc=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 - -+ ac_header_preproc=no -+fi -+rm -f conftest.err conftest.$ac_ext -+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -+echo "${ECHO_T}$ac_header_preproc" >&6 - -+# So? What about this header? -+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in -+ yes:no: ) -+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 -+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 -+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} -+ ac_header_preproc=yes -+ ;; -+ no:yes:* ) -+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 -+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 -+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 -+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 -+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} -+ ( -+ cat <<\_ASBOX -+## ------------------------------- ## -+## Report this to the gold lists. ## -+## ------------------------------- ## -+_ASBOX -+ ) | -+ sed "s/^/$as_me: WARNING: /" >&2 -+ ;; -+esac -+echo "$as_me:$LINENO: checking for $ac_header" >&5 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -+if eval "test \"\${$as_ac_Header+set}\" = set"; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 - else -+ eval "$as_ac_Header=\$ac_header_preproc" -+fi -+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -+ -+fi -+if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_ASPRINTF 0 -+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 - _ACEOF - -- - fi --echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5 --echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6 --if test "${ac_cv_have_decl_vasprintf+set}" = set; then -+ -+done -+ -+ -+ -+for ac_header in ext/hash_map ext/hash_set -+do -+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -+if eval "test \"\${$as_ac_Header+set}\" = set"; then -+ echo "$as_me:$LINENO: checking for $ac_header" >&5 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -+if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -+fi -+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 - else -- cat >conftest.$ac_ext <<_ACEOF -+ # Is the header compilable? -+echo "$as_me:$LINENO: checking $ac_header usability" >&5 -+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 -+cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - $ac_includes_default --int --main () --{ --#ifndef vasprintf -- char *p = (char *) vasprintf; --#endif -- -- ; -- return 0; --} -+#include <$ac_header> - _ACEOF - rm -f conftest.$ac_objext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -@@ -7109,53 +6993,133 @@ - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then -- ac_cv_have_decl_vasprintf=yes -+ ac_header_compiler=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - --ac_cv_have_decl_vasprintf=no -+ac_header_compiler=no - fi - rm -f conftest.err conftest.$ac_objext conftest.$ac_ext --fi --echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5 --echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6 --if test $ac_cv_have_decl_vasprintf = yes; then -+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -+echo "${ECHO_T}$ac_header_compiler" >&6 - --cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_VASPRINTF 1 -+# Is the header present? -+echo "$as_me:$LINENO: checking $ac_header presence" >&5 -+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 -+cat >conftest.$ac_ext <<_ACEOF -+/* confdefs.h. */ - _ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+#include <$ac_header> -+_ACEOF -+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -+ ac_status=$? -+ grep -v '^ *+' conftest.er1 >conftest.err -+ rm -f conftest.er1 -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } >/dev/null; then -+ if test -s conftest.err; then -+ ac_cpp_err=$ac_cxx_preproc_warn_flag -+ ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag -+ else -+ ac_cpp_err= -+ fi -+else -+ ac_cpp_err=yes -+fi -+if test -z "$ac_cpp_err"; then -+ ac_header_preproc=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 - -+ ac_header_preproc=no -+fi -+rm -f conftest.err conftest.$ac_ext -+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -+echo "${ECHO_T}$ac_header_preproc" >&6 - -+# So? What about this header? -+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in -+ yes:no: ) -+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 -+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 -+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} -+ ac_header_preproc=yes -+ ;; -+ no:yes:* ) -+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 -+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 -+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 -+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 -+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} -+ ( -+ cat <<\_ASBOX -+## ------------------------------- ## -+## Report this to the gold lists. ## -+## ------------------------------- ## -+_ASBOX -+ ) | -+ sed "s/^/$as_me: WARNING: /" >&2 -+ ;; -+esac -+echo "$as_me:$LINENO: checking for $ac_header" >&5 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -+if eval "test \"\${$as_ac_Header+set}\" = set"; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 - else -+ eval "$as_ac_Header=\$ac_header_preproc" -+fi -+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -+ -+fi -+if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_VASPRINTF 0 -+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 - _ACEOF - -+fi -+ -+done -+ - --fi --echo "$as_me:$LINENO: checking whether snprintf is declared" >&5 --echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6 --if test "${ac_cv_have_decl_snprintf+set}" = set; then -+for ac_header in byteswap.h -+do -+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -+if eval "test \"\${$as_ac_Header+set}\" = set"; then -+ echo "$as_me:$LINENO: checking for $ac_header" >&5 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -+if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -+fi -+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 - else -- cat >conftest.$ac_ext <<_ACEOF -+ # Is the header compilable? -+echo "$as_me:$LINENO: checking $ac_header usability" >&5 -+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 -+cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - $ac_includes_default --int --main () --{ --#ifndef snprintf -- char *p = (char *) snprintf; --#endif -- -- ; -- return 0; --} -+#include <$ac_header> - _ACEOF - rm -f conftest.$ac_objext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -@@ -7179,104 +7143,117 @@ - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then -- ac_cv_have_decl_snprintf=yes -+ ac_header_compiler=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - --ac_cv_have_decl_snprintf=no -+ac_header_compiler=no - fi - rm -f conftest.err conftest.$ac_objext conftest.$ac_ext --fi --echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5 --echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6 --if test $ac_cv_have_decl_snprintf = yes; then -- --cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_SNPRINTF 1 --_ACEOF -- -- --else -- cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_SNPRINTF 0 --_ACEOF -- -+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -+echo "${ECHO_T}$ac_header_compiler" >&6 - --fi --echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5 --echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6 --if test "${ac_cv_have_decl_vsnprintf+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF -+# Is the header present? -+echo "$as_me:$LINENO: checking $ac_header presence" >&5 -+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 -+cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ --$ac_includes_default --int --main () --{ --#ifndef vsnprintf -- char *p = (char *) vsnprintf; --#endif -- -- ; -- return 0; --} -+#include <$ac_header> - _ACEOF --rm -f conftest.$ac_objext --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -- (eval $ac_compile) 2>conftest.er1 -+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && -- { ac_try='test -z "$ac_cxx_werror_flag" -- || test ! -s conftest.err' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; } && -- { ac_try='test -s conftest.$ac_objext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_have_decl_vsnprintf=yes -+ (exit $ac_status); } >/dev/null; then -+ if test -s conftest.err; then -+ ac_cpp_err=$ac_cxx_preproc_warn_flag -+ ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag -+ else -+ ac_cpp_err= -+ fi -+else -+ ac_cpp_err=yes -+fi -+if test -z "$ac_cpp_err"; then -+ ac_header_preproc=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - --ac_cv_have_decl_vsnprintf=no -+ ac_header_preproc=no - fi --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -+rm -f conftest.err conftest.$ac_ext -+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -+echo "${ECHO_T}$ac_header_preproc" >&6 -+ -+# So? What about this header? -+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in -+ yes:no: ) -+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 -+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 -+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} -+ ac_header_preproc=yes -+ ;; -+ no:yes:* ) -+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 -+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 -+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 -+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} -+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 -+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} -+ ( -+ cat <<\_ASBOX -+## ------------------------------- ## -+## Report this to the gold lists. ## -+## ------------------------------- ## -+_ASBOX -+ ) | -+ sed "s/^/$as_me: WARNING: /" >&2 -+ ;; -+esac -+echo "$as_me:$LINENO: checking for $ac_header" >&5 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -+if eval "test \"\${$as_ac_Header+set}\" = set"; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ eval "$as_ac_Header=\$ac_header_preproc" - fi --echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5 --echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6 --if test $ac_cv_have_decl_vsnprintf = yes; then -+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 - --cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_VSNPRINTF 1 -+fi -+if test `eval echo '${'$as_ac_Header'}'` = yes; then -+ cat >>confdefs.h <<_ACEOF -+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 - _ACEOF - -+fi - --else -- cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_VSNPRINTF 0 --_ACEOF -+done - - --fi --echo "$as_me:$LINENO: checking whether strverscmp is declared" >&5 --echo $ECHO_N "checking whether strverscmp is declared... $ECHO_C" >&6 --if test "${ac_cv_have_decl_strverscmp+set}" = set; then -+ -+for ac_func in mallinfo posix_fallocate -+do -+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -+echo "$as_me:$LINENO: checking for $ac_func" >&5 -+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -+if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - cat >conftest.$ac_ext <<_ACEOF -@@ -7285,21 +7262,54 @@ - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ --$ac_includes_default --int --main () -+/* Define $ac_func to an innocuous variant, in case declares $ac_func. -+ For example, HP-UX 11i declares gettimeofday. */ -+#define $ac_func innocuous_$ac_func -+ -+/* System header to define __stub macros and hopefully few prototypes, -+ which can conflict with char $ac_func (); below. -+ Prefer to if __STDC__ is defined, since -+ exists even on freestanding compilers. */ -+ -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ -+#undef $ac_func -+ -+/* Override any gcc2 internal prototype to avoid an error. */ -+#ifdef __cplusplus -+extern "C" - { --#ifndef strverscmp -- char *p = (char *) strverscmp; -+#endif -+/* We use char because int might match the return type of a gcc2 -+ builtin and then its argument prototype would still apply. */ -+char $ac_func (); -+/* The GNU C library defines this for functions which it implements -+ to always fail with ENOSYS. Some functions are actually named -+ something starting with __ and the normal name is an alias. */ -+#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -+choke me -+#else -+char (*f) () = $ac_func; -+#endif -+#ifdef __cplusplus -+} - #endif - -+int -+main () -+{ -+return f != $ac_func; - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -- (eval $ac_compile) 2>conftest.er1 -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 -@@ -7313,38 +7323,31 @@ - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && -- { ac_try='test -s conftest.$ac_objext' -+ { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then -- ac_cv_have_decl_strverscmp=yes -+ eval "$as_ac_var=yes" - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - --ac_cv_have_decl_strverscmp=no -+eval "$as_ac_var=no" - fi --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -+rm -f conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - fi --echo "$as_me:$LINENO: result: $ac_cv_have_decl_strverscmp" >&5 --echo "${ECHO_T}$ac_cv_have_decl_strverscmp" >&6 --if test $ac_cv_have_decl_strverscmp = yes; then -- --cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_STRVERSCMP 1 --_ACEOF -- -- --else -+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -+if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_STRVERSCMP 0 -+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 - _ACEOF - -- - fi -- -+done - - - # Use of ::std::tr1::unordered_map::rehash causes undefined symbols ---- libiberty/testsuite/test-demangle.c.orig 2009-05-27 17:56:59.000000000 +0200 -+++ libiberty/testsuite/test-demangle.c 2009-05-27 17:57:58.000000000 +0200 -@@ -46,7 +46,7 @@ - #define LINELEN 80 - - static void --getline(buf) -+my_getline(buf) - struct line *buf; - { - char *data = buf->data; -@@ -196,12 +196,12 @@ - { - const char *inp; - -- getline (&format); -+ my_getline (&format); - if (feof (stdin)) - break; - -- getline (&input); -- getline (&expect); -+ my_getline (&input); -+ my_getline (&expect); - - inp = protect_end (input.data); - -@@ -322,7 +322,7 @@ - - if (no_params) - { -- getline (&expect); -+ my_getline (&expect); - result = cplus_demangle (inp, DMGL_ANSI|DMGL_TYPES); - - if (result diff --git a/ld-dtags.diff b/ld-dtags.diff index f21eadf..8cbdf33 100644 --- a/ld-dtags.diff +++ b/ld-dtags.diff @@ -1,6 +1,8 @@ ---- binutils-2.17.50/ld/ld.texinfo -+++ binutils-2.17.50/ld/ld.texinfo -@@ -1941,7 +1941,7 @@ +Index: binutils-2.20.0/ld/ld.texinfo +=================================================================== +--- binutils-2.20.0.orig/ld/ld.texinfo 2009-11-23 14:02:48.000000000 +0100 ++++ binutils-2.20.0/ld/ld.texinfo 2009-11-23 14:03:08.000000000 +0100 +@@ -2026,7 +2026,7 @@ This linker can create the new dynamic t systems may not understand them. If you specify @option{--enable-new-dtags}, the dynamic tags will be created as needed. If you specify @option{--disable-new-dtags}, no new dynamic tags will be @@ -9,13 +11,15 @@ those options are only available for ELF systems. @kindex --hash-size=@var{number} ---- binutils-2.17.50/ld/ldmain.c -+++ binutils-2.17.50/ld/ldmain.c -@@ -263,6 +263,7 @@ +Index: binutils-2.20.0/ld/ldmain.c +=================================================================== +--- binutils-2.20.0.orig/ld/ldmain.c 2009-11-23 14:02:48.000000000 +0100 ++++ binutils-2.20.0/ld/ldmain.c 2009-11-23 14:03:08.000000000 +0100 +@@ -262,6 +262,7 @@ main (int argc, char **argv) link_info.allow_undefined_version = TRUE; link_info.keep_memory = TRUE; + link_info.new_dtags = TRUE; link_info.combreloc = TRUE; link_info.strip_discarded = TRUE; - link_info.callbacks = &link_callbacks; + link_info.emit_hash = TRUE; diff --git a/ld-relro.diff b/ld-relro.diff index 15b3398..b911f49 100644 --- a/ld-relro.diff +++ b/ld-relro.diff @@ -1,6 +1,8 @@ ---- ld/lexsup.c -+++ ld/lexsup.c -@@ -643,6 +643,9 @@ +Index: ld/lexsup.c +=================================================================== +--- ld/lexsup.c.orig 2009-11-23 14:02:48.000000000 +0100 ++++ ld/lexsup.c 2009-11-23 14:03:09.000000000 +0100 +@@ -687,6 +687,9 @@ parse_args (unsigned argc, char **argv) } } @@ -10,9 +12,11 @@ last_optind = -1; while (1) { ---- ld/testsuite/config/default.exp -+++ ld/testsuite/config/default.exp -@@ -20,7 +20,7 @@ +Index: ld/testsuite/config/default.exp +=================================================================== +--- ld/testsuite/config/default.exp.orig 2009-11-23 14:02:48.000000000 +0100 ++++ ld/testsuite/config/default.exp 2009-11-23 14:03:09.000000000 +0100 +@@ -23,7 +23,7 @@ # if ![info exists ld] then { @@ -21,7 +25,7 @@ } if ![info exists as] then { -@@ -67,7 +67,7 @@ +@@ -68,7 +68,7 @@ if {![file isdirectory tmpdir/ld]} then catch "exec mkdir tmpdir/ld" status catch "exec ln -s ../../ld-new tmpdir/ld/ld" status } @@ -30,7 +34,7 @@ # load the linker path if {[file exists tmpdir/libpath.exp]} { -@@ -261,7 +261,7 @@ +@@ -270,7 +270,7 @@ if ![info exists READELFFLAGS] then { } if ![info exists LD] then { @@ -39,9 +43,11 @@ } if ![info exists LDFLAGS] then { ---- ld/testsuite/ld-bootstrap/bootstrap.exp -+++ ld/testsuite/ld-bootstrap/bootstrap.exp -@@ -53,7 +53,12 @@ +Index: ld/testsuite/ld-bootstrap/bootstrap.exp +=================================================================== +--- ld/testsuite/ld-bootstrap/bootstrap.exp.orig 2009-11-23 14:02:48.000000000 +0100 ++++ ld/testsuite/ld-bootstrap/bootstrap.exp 2009-11-23 14:03:09.000000000 +0100 +@@ -56,7 +56,12 @@ foreach flags {"" "strip" "--static" "-- # This test can only be run if we have the ld build directory, # since we need the object files. diff --git a/lto-discard.diff b/lto-discard.diff deleted file mode 100644 index 89909e5..0000000 --- a/lto-discard.diff +++ /dev/null @@ -1,17 +0,0 @@ -2009-08-20 Richard Guenther - - * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix. - -Index: ld/scripttempl/elf.sc -=================================================================== ---- ld/scripttempl/elf.sc.orig 2009-01-16 15:14:06.000000000 +0100 -+++ ld/scripttempl/elf.sc 2009-08-20 11:18:16.000000000 +0200 -@@ -127,7 +127,7 @@ fi - DYNAMIC=".dynamic ${RELOCATING-0} : { *(.dynamic) }" - RODATA=".rodata ${RELOCATING-0} : { *(.rodata${RELOCATING+ .rodata.* .gnu.linkonce.r.*}) }" - DATARELRO=".data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro* .gnu.linkonce.d.rel.ro.*) }" --DISCARDED="/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) }" -+DISCARDED="/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }" - if test -z "${NO_SMALL_DATA}"; then - SBSS=".sbss ${RELOCATING-0} : - { diff --git a/s390-biarch.diff b/s390-biarch.diff index 449fe63..a38afac 100644 --- a/s390-biarch.diff +++ b/s390-biarch.diff @@ -1,6 +1,8 @@ ---- ld/emulparams/elf_s390.sh -+++ ld/emulparams/elf_s390.sh -@@ -11,3 +11,18 @@ +Index: ld/emulparams/elf_s390.sh +=================================================================== +--- ld/emulparams/elf_s390.sh.orig 2009-11-23 14:02:48.000000000 +0100 ++++ ld/emulparams/elf_s390.sh 2009-11-23 14:03:08.000000000 +0100 +@@ -11,3 +11,18 @@ TEMPLATE_NAME=elf32 GENERATE_SHLIB_SCRIPT=yes GENERATE_PIE_SCRIPT=yes NO_SMALL_DATA=yes diff --git a/s390-pic-dso.diff b/s390-pic-dso.diff index adeb8cb..3f6d7fa 100644 --- a/s390-pic-dso.diff +++ b/s390-pic-dso.diff @@ -1,6 +1,8 @@ ---- bfd/elf32-s390.c -+++ bfd/elf32-s390.c -@@ -2546,13 +2546,34 @@ elf_s390_relocate_section (output_bfd, i +Index: bfd/elf32-s390.c +=================================================================== +--- bfd/elf32-s390.c.orig 2009-11-23 14:02:48.000000000 +0100 ++++ bfd/elf32-s390.c 2009-11-23 14:03:09.000000000 +0100 +@@ -2509,13 +2509,34 @@ elf_s390_relocate_section (output_bfd, i unresolved_reloc = FALSE; break; @@ -38,9 +40,11 @@ if ((input_section->flags & SEC_ALLOC) == 0) break; ---- bfd/elf64-s390.c -+++ bfd/elf64-s390.c -@@ -2525,15 +2525,36 @@ elf_s390_relocate_section (output_bfd, i +Index: bfd/elf64-s390.c +=================================================================== +--- bfd/elf64-s390.c.orig 2009-11-23 14:02:48.000000000 +0100 ++++ bfd/elf64-s390.c 2009-11-23 14:03:09.000000000 +0100 +@@ -2486,15 +2486,36 @@ elf_s390_relocate_section (output_bfd, i unresolved_reloc = FALSE; break; @@ -81,8 +85,10 @@ if ((input_section->flags & SEC_ALLOC) == 0) break; ---- ld/testsuite/ld-elfvers/vers.exp -+++ ld/testsuite/ld-elfvers/vers.exp +Index: ld/testsuite/ld-elfvers/vers.exp +=================================================================== +--- ld/testsuite/ld-elfvers/vers.exp.orig 2009-11-23 14:02:48.000000000 +0100 ++++ ld/testsuite/ld-elfvers/vers.exp 2009-11-23 14:03:09.000000000 +0100 @@ -97,6 +97,7 @@ if [istarget mips*-*-*] { case $target_triplet in { @@ -103,9 +109,11 @@ set pic "yes" } else { set pic "no" ---- ld/testsuite/ld-elfvsb/elfvsb.exp -+++ ld/testsuite/ld-elfvsb/elfvsb.exp -@@ -268,6 +268,7 @@ proc visibility_run {visibility} { +Index: ld/testsuite/ld-elfvsb/elfvsb.exp +=================================================================== +--- ld/testsuite/ld-elfvsb/elfvsb.exp.orig 2009-11-23 14:02:48.000000000 +0100 ++++ ld/testsuite/ld-elfvsb/elfvsb.exp 2009-11-23 14:03:09.000000000 +0100 +@@ -269,6 +269,7 @@ proc visibility_run {visibility} { setup_xfail "sparc*-*-linux*" } } @@ -113,7 +121,7 @@ setup_xfail "x86_64-*-linux*" if { ![istarget hppa*64*-*-linux*] } { setup_xfail "hppa*-*-linux*" -@@ -306,6 +307,7 @@ proc visibility_run {visibility} { +@@ -307,6 +308,7 @@ proc visibility_run {visibility} { setup_xfail "alpha*-*-linux*" setup_xfail "mips*-*-linux*" } @@ -121,7 +129,7 @@ setup_xfail "x86_64-*-linux*" if { ![istarget hppa*64*-*-linux*] } { setup_xfail "hppa*-*-linux*" -@@ -372,6 +374,7 @@ proc visibility_run {visibility} { +@@ -373,6 +375,7 @@ proc visibility_run {visibility} { setup_xfail "sparc*-*-linux*" } } @@ -129,8 +137,10 @@ setup_xfail "x86_64-*-linux*" if { ![istarget hppa*64*-*-linux*] } { setup_xfail "hppa*-*-linux*" ---- ld/testsuite/ld-shared/shared.exp -+++ ld/testsuite/ld-shared/shared.exp +Index: ld/testsuite/ld-shared/shared.exp +=================================================================== +--- ld/testsuite/ld-shared/shared.exp.orig 2009-11-23 14:02:48.000000000 +0100 ++++ ld/testsuite/ld-shared/shared.exp 2009-11-23 14:03:09.000000000 +0100 @@ -211,7 +211,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $ setup_xfail "sparc*-*-linux*" } diff --git a/s390-pic.patch b/s390-pic.patch index 8ef0926..343e4fe 100644 --- a/s390-pic.patch +++ b/s390-pic.patch @@ -1,6 +1,8 @@ ---- libiberty/configure -+++ libiberty/configure -@@ -3726,7 +3726,7 @@ if [ "${shared}" = "yes" ]; then +Index: libiberty/configure +=================================================================== +--- libiberty/configure.orig 2009-11-23 14:02:49.000000000 +0100 ++++ libiberty/configure 2009-11-23 14:03:07.000000000 +0100 +@@ -4859,7 +4859,7 @@ if [ "${shared}" = "yes" ]; then *-fpic* ) PICFLAG=-fpic ;; * ) PICFLAG=-fPIC ;; esac ;; @@ -9,9 +11,11 @@ esac fi ---- libiberty/configure.ac -+++ libiberty/configure.ac -@@ -214,7 +214,7 @@ if [[ "${shared}" = "yes" ]]; then +Index: libiberty/configure.ac +=================================================================== +--- libiberty/configure.ac.orig 2009-11-23 14:02:49.000000000 +0100 ++++ libiberty/configure.ac 2009-11-23 14:03:07.000000000 +0100 +@@ -216,7 +216,7 @@ if [[ "${shared}" = "yes" ]]; then *-fpic* ) PICFLAG=-fpic ;; * ) PICFLAG=-fPIC ;; esac ;; diff --git a/testsuite.diff b/testsuite.diff index 2d34d8f..988cd31 100644 --- a/testsuite.diff +++ b/testsuite.diff @@ -1,18 +1,22 @@ ---- binutils/testsuite/binutils-all/windres/windres.exp -+++ binutils/testsuite/binutils-all/windres/windres.exp -@@ -46,6 +46,7 @@ +Index: binutils/testsuite/binutils-all/windres/windres.exp +=================================================================== +--- binutils/testsuite/binutils-all/windres/windres.exp.orig 2009-11-23 14:02:48.000000000 +0100 ++++ binutils/testsuite/binutils-all/windres/windres.exp 2009-11-23 14:03:09.000000000 +0100 +@@ -36,6 +36,7 @@ set wr "$WINDRES --include-dir $srcdir/$ + if [file exists "$srcdir/../../winsup/w32api/include"] { set wr "$wr --include-dir $srcdir/../../winsup/w32api/include" - set target_xfail "no" } else { + return send_log "\nWarning: Assuming windres can find the win32 headers\n\n" } ---- ld/testsuite/ld-srec/srec.exp -+++ ld/testsuite/ld-srec/srec.exp -@@ -17,6 +17,9 @@ - # along with this program; if not, write to the Free Software - # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. +Index: ld/testsuite/ld-srec/srec.exp +=================================================================== +--- ld/testsuite/ld-srec/srec.exp.orig 2009-11-23 14:02:48.000000000 +0100 ++++ ld/testsuite/ld-srec/srec.exp 2009-11-23 14:03:09.000000000 +0100 +@@ -20,6 +20,9 @@ + # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + # MA 02110-1301, USA. +# Too fragile. +return @@ -20,13 +24,16 @@ # Get the offset from an S-record line to the start of the data. proc srec_off { l } { ---- ld/testsuite/ld-undefined/undefined.exp -+++ ld/testsuite/ld-undefined/undefined.exp -@@ -127,6 +127,6 @@ +Index: ld/testsuite/ld-undefined/undefined.exp +=================================================================== +--- ld/testsuite/ld-undefined/undefined.exp.orig 2009-11-23 14:02:48.000000000 +0100 ++++ ld/testsuite/ld-undefined/undefined.exp 2009-11-23 14:03:09.000000000 +0100 +@@ -136,7 +136,7 @@ setup_xfail "sh64-*-*" # the function. Therefore the line number in the error message is 8 instead # of 9. On 64 bit s/390 this works because of the new brasl instruction that # doesn't need a literal pool entry. -setup_xfail s390-*-* +#setup_xfail s390-*-* - checkund $ml $testline + # See comments above for Xtensa. + setup_xfail xtensa*-*-linux* diff --git a/unit-at-a-time.patch b/unit-at-a-time.patch index a3c5909..d366ee1 100644 --- a/unit-at-a-time.patch +++ b/unit-at-a-time.patch @@ -1,27 +1,15 @@ -Index: selective.exp +Index: ld/testsuite/ld-selective/selective.exp =================================================================== -RCS file: /cvs/src/src/ld/testsuite/ld-selective/selective.exp,v -retrieving revision 1.26 -diff -c -3 -p -r1.26 selective.exp -*** ld/testsuite/ld-selective/selective.exp 10 Aug 2002 12:48:52 -0000 1.26 ---- ld/testsuite/ld-selective/selective.exp 19 Aug 2003 08:00:20 -0000 -*************** set seltests { -*** 59,66 **** - {A::foo() B::foo() dropme1() dropme2()} {*-*-*}} - } - -! set cflags "-w -O -ffunction-sections -fdata-sections" -! set cxxflags "-fvtable-gc -fno-exceptions -fno-rtti" - set ldflags "--gc-sections -Bstatic" - - if [istarget sh64*-*-elf] { ---- 59,66 ---- - {A::foo() B::foo() dropme1() dropme2()} {*-*-*}} - } - -! set cflags "-w -O -ffunction-sections -fdata-sections -fno-unit-at-a-time" -! set cxxflags "-fvtable-gc -fno-exceptions -fno-rtti -fno-unit-at-a-time" - set ldflags "--gc-sections -Bstatic" - - if [istarget sh64*-*-elf] { - +--- ld/testsuite/ld-selective/selective.exp.orig 2009-11-23 14:02:48.000000000 +0100 ++++ ld/testsuite/ld-selective/selective.exp 2009-11-23 14:03:08.000000000 +0100 +@@ -59,8 +59,8 @@ set seltests { + {A::foo() B::foo() dropme1() dropme2()} {*-*-*}} + } + +-set cflags "-w -O -ffunction-sections -fdata-sections" +-set cxxflags "-fvtable-gc -fno-exceptions -fno-rtti" ++set cflags "-w -O -ffunction-sections -fdata-sections -fno-unit-at-a-time" ++set cxxflags "-fvtable-gc -fno-exceptions -fno-rtti -fno-unit-at-a-time" + set ldflags "--gc-sections -Bstatic" + + if [istarget mips*-*] { diff --git a/use-hashtype-both-by-default.diff b/use-hashtype-both-by-default.diff index f31c42d..48c68ce 100644 --- a/use-hashtype-both-by-default.diff +++ b/use-hashtype-both-by-default.diff @@ -1,6 +1,8 @@ ---- ld/ldmain.c -+++ ld/ldmain.c -@@ -267,6 +267,7 @@ +Index: ld/ldmain.c +=================================================================== +--- ld/ldmain.c.orig 2009-11-23 14:03:08.000000000 +0100 ++++ ld/ldmain.c 2009-11-23 14:03:09.000000000 +0100 +@@ -266,6 +266,7 @@ main (int argc, char **argv) link_info.combreloc = TRUE; link_info.strip_discarded = TRUE; link_info.emit_hash = TRUE; @@ -8,9 +10,11 @@ link_info.callbacks = &link_callbacks; link_info.input_bfds_tail = &link_info.input_bfds; /* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init ---- ld/testsuite/config/default.exp -+++ ld/testsuite/config/default.exp -@@ -20,7 +20,7 @@ +Index: ld/testsuite/config/default.exp +=================================================================== +--- ld/testsuite/config/default.exp.orig 2009-11-23 14:03:09.000000000 +0100 ++++ ld/testsuite/config/default.exp 2009-11-23 14:03:09.000000000 +0100 +@@ -23,7 +23,7 @@ # if ![info exists ld] then { @@ -19,7 +23,7 @@ } if ![info exists as] then { -@@ -67,7 +67,7 @@ +@@ -68,7 +68,7 @@ if {![file isdirectory tmpdir/ld]} then catch "exec mkdir tmpdir/ld" status catch "exec ln -s ../../ld-new tmpdir/ld/ld" status } @@ -28,7 +32,7 @@ # load the linker path if {[file exists tmpdir/libpath.exp]} { -@@ -261,7 +261,7 @@ +@@ -270,7 +270,7 @@ if ![info exists READELFFLAGS] then { } if ![info exists LD] then { diff --git a/x86-64-biarch.patch b/x86-64-biarch.patch index cbf1169..f11fc04 100644 --- a/x86-64-biarch.patch +++ b/x86-64-biarch.patch @@ -1,8 +1,8 @@ Index: ld/emulparams/elf_i386.sh -================================================================================ ---- ld/emulparams/elf_i386.sh -+++ ld/emulparams/elf_i386.sh -@@ -12,3 +12,8 @@ +=================================================================== +--- ld/emulparams/elf_i386.sh.orig 2009-11-23 14:02:48.000000000 +0100 ++++ ld/emulparams/elf_i386.sh 2009-11-23 14:03:08.000000000 +0100 +@@ -12,4 +12,9 @@ GENERATE_SHLIB_SCRIPT=yes GENERATE_PIE_SCRIPT=yes NO_SMALL_DATA=yes SEPARATE_GOTPLT=12 @@ -11,3 +11,4 @@ Index: ld/emulparams/elf_i386.sh +case "$EMULATION_NAME" in + *64*) LIBPATH_SUFFIX=64 ;; +esac + IREL_IN_PLT=