diff --git a/glibc.spec b/glibc.spec index f4c90247bf1212b786c899482d9c67539c63180c..8d9af157ce3beeed1567add0b850caa9f6293fbe 100644 --- a/glibc.spec +++ b/glibc.spec @@ -67,7 +67,7 @@ ############################################################################## Name: glibc Version: 2.38 -Release: 53 +Release: 54 Summary: The GNU libc libraries License: %{all_license} URL: http://www.gnu.org/software/glibc/ @@ -648,6 +648,7 @@ mkdir $builddir pushd $builddir ../configure CC="%GCC" CXX="%GXX" CFLAGS="$BuildFlags" LDFLAGS="$LinkFlags" \ --prefix=%{_prefix} \ + --enable-hardcoded-path-in-tests \ --with-headers=%{_prefix}/include $EnableKernel \ --with-nonshared-cflags=-Wp,-D_FORTIFY_SOURCE=2 \ --enable-bind-now \ @@ -1087,7 +1088,9 @@ function removeLoadPath() currPath=$(echo $runpathInfo | awk -F "RUNPATH=" '{print $2}') fi - if [ x"$currPath" == x"\$ORIGIN" ]; then + # 2dcaf7064 using rpath instead of runpath with --enable-hardcoded-path-in-tests + # using "\$ORIGIN"* to match rpath address + if [[ x"$currPath" == x"\$ORIGIN"* ]]; then chrpath -d $file findReliantLib $file @@ -1488,6 +1491,9 @@ fi %endif %changelog +* Tue Feb 18 2025 shixuantong - 2.38-54 +- glibc testcase use newly built ld.so instead of environment default installed ld.so + * Thu Feb 06 2025 shixuantong - 2.38-53 - fix CVE-2019-1010023