Hello community,

here is the log from the commit of package prelink for openSUSE:Factory
checked in at Mon Sep 5 18:09:38 CEST 2011.



--------
--- prelink/prelink.changes     2010-03-15 14:43:39.000000000 +0100
+++ prelink/prelink.changes     2011-09-05 13:41:20.000000000 +0200
@@ -1,0 +2,12 @@
+Mon Sep  5 11:05:02 CEST 2011 - [email protected]
+
+- buildrequire glibc-devel-static
+- --copy-dt-needed-entries for testsuite.
+
+-------------------------------------------------------------------
+Wed Feb 23 10:16:42 CET 2011 - [email protected]
+
+- ifunc3 test fails with malloc perturb, so disable that until fixed
+  in glibc.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  fix-copydtneeded.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ prelink.spec ++++++
--- /var/tmp/diff_new_pack.HGPwj5/_old  2011-09-05 18:01:19.000000000 +0200
+++ /var/tmp/diff_new_pack.HGPwj5/_new  2011-09-05 18:01:19.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package prelink (Version 20100106)
+# spec file for package prelink
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,10 +19,10 @@
 
 
 Name:           prelink
-BuildRequires:  gcc-c++ libelf0-devel
+BuildRequires:  gcc-c++ glibc-devel-static libelf0-devel
 Summary:        An ELF Prelinking Utility
 Version:        20100106
-Release:        1
+Release:        9
 Group:          System/Base
 License:        GPLv2+
 Url:            ftp://people.redhat.com/jakub/prelink
@@ -34,6 +34,7 @@
 Patch0:         %name-make_it_cool.diff
 Patch3:         %name-tests.diff
 Patch4:         %name-make-dry-run-verbose.diff
+Patch5:         fix-copydtneeded.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # It does not work at all on ia64, so let's listen upstream supported
 # architectures
@@ -62,12 +63,18 @@
 %patch0 -p0
 %patch3 -p0
 %patch4 -p0
+%patch5 -p1
 
 %build
 # This package failed when testing with -Wl,-as-needed being default.
 # So we disable it here, if you want to retest, just delete this comment and 
the line below.
 export SUSE_ASNEEDED=0
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --mandir=%{_mandir}
+# Uninitialized memory in dynamic loader in ifunc3 test.
+export -n MALLOC_PERTURB_
+unset MALLOC_PERTURB_
+
+CFLAGS="$RPM_OPT_FLAGS" \
+./configure --prefix=/usr --mandir=%{_mandir} || cat config.log
 make %{?jobs:-j%jobs}
 make -C testsuite check-harder
 

++++++ fix-copydtneeded.patch ++++++
Index: prelink/testsuite/functions.sh
===================================================================
--- prelink.orig/testsuite/functions.sh
+++ prelink/testsuite/functions.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
-CC="${CC:-gcc} ${LINKOPTS}"
+CC="${CC:-gcc} ${LINKOPTS} -Wl,--copy-dt-needed-entries" ; echo "CC=$CC"
-CCLINK=${CCLINK:-${CC} -Wl,--dynamic-linker=`echo ./ld*.so.*[0-9]`}
+CCLINK="${CCLINK:-${CC} -Wl,--dynamic-linker=`echo ./ld*.so.*[0-9]`} 
-Wl,--copy-dt-needed-entries"
-CXX="${CXX:-g++} ${LINKOPTS}"
+CXX="${CXX:-g++} ${LINKOPTS} -Wl,--copy-dt-needed-entries" ; echo "CXX=$CXX"
-CXXLINK=${CXXLINK:-${CXX} -Wl,--dynamic-linker=`echo ./ld*.so.*[0-9]`}
+CXXLINK="${CXXLINK:-${CXX} -Wl,--dynamic-linker=`echo ./ld*.so.*[0-9]`} 
-Wl,--copy-dt-needed-entries"
 PRELINK=${PRELINK:-../src/prelink -c ./prelink.conf -C ./prelink.cache 
--ld-library-path=. --dynamic-linker=`echo ./ld*.so.*[0-9]`}
 srcdir=${srcdir:-`dirname $0`}

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to