From 41055b7c62979a4ead7e502a7fdfd22153de95a241d9111d00f2a427e94cb61c Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 19 Oct 2009 09:35:54 +0000 Subject: [PATCH] Accepting request 22567 from home:rguenther Copy from home:rguenther/binutils via accept of submit request 22567 revision 5. OBS-URL: https://build.opensuse.org/request/show/22567 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=7 --- binutils-2.19.51.tar.bz2 | 3 -- binutils-2.20.51.tar.bz2 | 3 ++ binutils.changes | 12 +++++ binutils.spec | 32 +++++++------ cross-alpha-binutils.changes | 12 +++++ cross-alpha-binutils.spec | 26 ++++++----- cross-arm-binutils.changes | 12 +++++ cross-arm-binutils.spec | 26 ++++++----- cross-avr-binutils.changes | 12 +++++ cross-avr-binutils.spec | 26 ++++++----- cross-hppa-binutils.changes | 12 +++++ cross-hppa-binutils.spec | 26 ++++++----- cross-hppa64-binutils.changes | 12 +++++ cross-hppa64-binutils.spec | 26 ++++++----- cross-i386-binutils.changes | 12 +++++ cross-i386-binutils.spec | 26 ++++++----- cross-ia64-binutils.changes | 12 +++++ cross-ia64-binutils.spec | 26 ++++++----- cross-mips-binutils.changes | 12 +++++ cross-mips-binutils.spec | 26 ++++++----- cross-ppc-binutils.changes | 12 +++++ cross-ppc-binutils.spec | 26 ++++++----- cross-ppc64-binutils.changes | 12 +++++ cross-ppc64-binutils.spec | 26 ++++++----- cross-s390-binutils.changes | 12 +++++ cross-s390-binutils.spec | 26 ++++++----- cross-s390x-binutils.changes | 12 +++++ cross-s390x-binutils.spec | 26 ++++++----- cross-sh4-binutils.changes | 12 +++++ cross-sh4-binutils.spec | 26 ++++++----- cross-sparc-binutils.changes | 12 +++++ cross-sparc-binutils.spec | 26 ++++++----- cross-spu-binutils.changes | 12 +++++ cross-spu-binutils.spec | 26 ++++++----- cross-x86_64-binutils.changes | 12 +++++ cross-x86_64-binutils.spec | 26 ++++++----- enable-targets.diff | 88 ++++++++++++++++------------------- lto-discard.diff | 17 ------- x86-64-biarch.patch | 9 ++-- 39 files changed, 511 insertions(+), 261 deletions(-) delete mode 100644 binutils-2.19.51.tar.bz2 create mode 100644 binutils-2.20.51.tar.bz2 delete mode 100644 lto-discard.diff 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.51.tar.bz2 b/binutils-2.20.51.tar.bz2 new file mode 100644 index 0000000..4baa0fb --- /dev/null +++ b/binutils-2.20.51.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:052db7fbe25ccc8c26437825ddc6c1926b8eaa6fcae6fa607ddc2d83f83e097a +size 18280447 diff --git a/binutils.changes b/binutils.changes index 1eb4574..080cd56 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 87621ed..f298ef5 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.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -276,7 +281,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -286,9 +292,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -340,7 +345,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 +360,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 @@ -369,10 +373,10 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %ifarch %gold_archs cd ../build-dir2 -make -k check-gold CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check-gold CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %endif # @@ -434,7 +438,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 758b99a..2a980dc 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-alpha-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 04a8fc4..4713a96 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-arm-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 2e36813..0c8fe9c 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-avr-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 9825583..11cebec 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-hppa-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 6295667..b7d6f4a 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-hppa64-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 b5dc308..ce097fc 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-i386-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 4fa731a..0e21dc0 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-ia64-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 c3e5bac..a52da88 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-mips-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 1a8fff1..b3f9e27 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-ppc-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 5a3cbbd..3d871cd 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-ppc64-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 a5736a6..62cbeba 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-s390-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 ce8c137..df5b595 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-s390x-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-sh4-binutils.changes b/cross-sh4-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-sh4-binutils.changes +++ b/cross-sh4-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 ef2af74..7310501 100644 --- a/cross-sh4-binutils.spec +++ b/cross-sh4-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-sh4-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 1997853..ef1bf97 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-sparc-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 0a0327d..eb46748 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-spu-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 1eb4574..080cd56 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 f6e16a0..2d6a2ef 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils (Version 2.19.51) +# spec file for package binutils (Version 2.20.51) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,13 @@ Name: cross-x86_64-binutils -BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static -Version: 2.19.51 +BuildRequires: bison dejagnu flex gcc-c++ +%if 0%{suse_version} > 1110 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +Version: 2.20.51 Release: 10 # # RUN_TESTS @@ -33,7 +38,8 @@ Release: 10 %ifarch alpha armv4l hppa mips sh4 sparc sparc64 %define make_check_handling true %else -%define make_check_handling false +# XXX check again +%define make_check_handling true %endif # let make check fail anyway if RUN_TESTS was requested %if %{run_tests} @@ -77,7 +83,6 @@ 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 @@ -248,7 +253,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %setup -q -n binutils-%{binutils_version} %if !%{test_vanilla} %patch2 -%patch3 +# XXX +#%patch3 %patch4 %patch5 %patch6 @@ -258,9 +264,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch10 %patch11 %patch12 -%patch13 +#%patch13 %patch14 -%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -312,7 +317,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#,}"} @@ -334,7 +338,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes export SUSE_ASNEEDED=0 cd build-dir %ifnarch %arm -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || %{make_check_handling} %endif # # @@ -395,7 +399,7 @@ make -C gas-nesc %{?jobs:-j%jobs} %check unset SUSE_ASNEEDED cd build-dir -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif %install diff --git a/enable-targets.diff b/enable-targets.diff index 6264edc..b5d2343 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-10-10 01:20:44.000000000 +0200 ++++ gold/configure 2009-10-13 17:13:57.000000000 +0200 +@@ -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-10-10 01:20:44.000000000 +0200 ++++ gold/configure.ac 2009-10-13 17:12:56.000000000 +0200 +@@ -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-08-22 19:59:33.000000000 +0200 ++++ ld/configure 2009-10-13 17:12:56.000000000 +0200 +@@ -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-08-22 19:59:33.000000000 +0200 ++++ ld/configure.in 2009-10-13 17:12:56.000000000 +0200 +@@ -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/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/x86-64-biarch.patch b/x86-64-biarch.patch index cbf1169..ccce40c 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-10-13 17:26:45.000000000 +0200 ++++ ld/emulparams/elf_i386.sh 2009-10-13 17:26:51.000000000 +0200 +@@ -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=