Hello community, here is the log from the commit of package binutils for openSUSE:Factory checked in at Fri Jun 12 16:46:53 CEST 2009. -------- --- binutils/binutils.changes 2009-05-27 18:24:44.000000000 +0200 +++ binutils/binutils.changes 2009-06-09 16:38:55.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + +------------------------------------------------------------------- cross-alpha-binutils.changes: same change cross-arm-binutils.changes: same change cross-avr-binutils.changes: same change cross-hppa64-binutils.changes: same change cross-hppa-binutils.changes: same change cross-i386-binutils.changes: same change cross-ia64-binutils.changes: same change cross-mips-binutils.changes: same change cross-ppc64-binutils.changes: same change cross-ppc-binutils.changes: same change cross-s390-binutils.changes: same change cross-s390x-binutils.changes: same change cross-sh4-binutils.changes: same change cross-sparc-binutils.changes: same change cross-spu-binutils.changes: same change cross-x86_64-binutils.changes: same change calling whatdependson for head-i586 New: ---- binutils-build-as-needed.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ binutils.spec ++++++ --- /var/tmp/diff_new_pack.f31526/_old 2009-06-12 16:45:05.000000000 +0200 +++ /var/tmp/diff_new_pack.f31526/_new 2009-06-12 16:45:05.000000000 +0200 @@ -20,7 +20,7 @@ Name: binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -283,6 +284,7 @@ %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -360,6 +362,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -425,6 +428,7 @@ %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -539,6 +543,8 @@ %{_libdir}/lib*.*a %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. ++++++ cross-alpha-binutils.spec ++++++ --- /var/tmp/diff_new_pack.f31526/_old 2009-06-12 16:45:05.000000000 +0200 +++ /var/tmp/diff_new_pack.f31526/_new 2009-06-12 16:45:05.000000000 +0200 @@ -20,7 +20,7 @@ Name: cross-alpha-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel-static Version: 2.19.51 -Release: 7 +Release: 8 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -76,6 +76,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: gold-basename.diff +Patch14: binutils-build-as-needed.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +177,7 @@ %patch11 %patch12 %patch13 +%patch14 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -246,6 +248,7 @@ make %{?jobs:-j%jobs} all-bfd all-opcodes %check +unset SUSE_IGNORED_RPATHS cd build-dir %ifnarch %arm make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling} @@ -307,6 +310,7 @@ %endif %check +unset SUSE_IGNORED_RPATHS cd build-dir make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : %endif @@ -398,6 +402,8 @@ %endif %changelog +* Tue Jun 09 2009 matz@suse.de +- Use --as-needed by default in the build system. * Wed May 27 2009 rguenther@suse.de - Update to head of trunk. - Add patch to fix gold build with glibc 2.10, gcc 4.4. cross-arm-binutils.spec: same change cross-avr-binutils.spec: same change cross-hppa64-binutils.spec: same change cross-hppa-binutils.spec: same change cross-i386-binutils.spec: same change cross-ia64-binutils.spec: same change cross-mips-binutils.spec: same change cross-ppc64-binutils.spec: same change cross-ppc-binutils.spec: same change cross-s390-binutils.spec: same change cross-s390x-binutils.spec: same change cross-sh4-binutils.spec: same change cross-sparc-binutils.spec: same change cross-spu-binutils.spec: same change cross-x86_64-binutils.spec: same change ++++++ binutils-build-as-needed.diff ++++++ 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 @@ -277,6 +277,8 @@ main (int argc, char **argv) link_info.pei386_auto_import = -1; link_info.spare_dynamic_tags = 5; link_info.path_separator = ':'; + if (getenv ("SUSE_IGNORED_RPATHS")) + as_needed = TRUE; ldfile_add_arch (""); emulation = get_emulation (argc, argv); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org