2.11.90-1
This commit is contained in:
parent
d1a379ba7a
commit
6c0e600a93
@ -1,2 +1,2 @@
|
|||||||
glibc-2.10-343-gf450806-fedora.tar.bz2
|
glibc-2.11-12-g24c0bf7-fedora.tar.bz2
|
||||||
glibc-2.10-343-gf450806.tar.bz2
|
glibc-2.11-12-g24c0bf7.tar.bz2
|
||||||
|
File diff suppressed because it is too large
Load Diff
145
glibc.spec
145
glibc.spec
@ -1,5 +1,5 @@
|
|||||||
%define glibcsrcdir glibc-2.10-343-gf450806
|
%define glibcsrcdir glibc-2.11-12-g24c0bf7
|
||||||
%define glibcversion 2.10.90
|
%define glibcversion 2.11.90
|
||||||
### glibc.spec.in follows:
|
### glibc.spec.in follows:
|
||||||
%define run_glibc_tests 1
|
%define run_glibc_tests 1
|
||||||
%define auxarches athlon sparcv9v sparc64v alphaev6
|
%define auxarches athlon sparcv9v sparc64v alphaev6
|
||||||
@ -24,7 +24,7 @@
|
|||||||
Summary: The GNU libc libraries
|
Summary: The GNU libc libraries
|
||||||
Name: glibc
|
Name: glibc
|
||||||
Version: %{glibcversion}
|
Version: %{glibcversion}
|
||||||
Release: 24
|
Release: 1
|
||||||
# GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
|
# GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
|
||||||
# Things that are linked directly into dynamically linked programs
|
# Things that are linked directly into dynamically linked programs
|
||||||
# and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
|
# and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
|
||||||
@ -34,13 +34,7 @@ License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
|
|||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://sources.redhat.com/glibc/
|
URL: http://sources.redhat.com/glibc/
|
||||||
Source0: %{?glibc_release_url}%{glibcsrcdir}.tar.bz2
|
Source0: %{?glibc_release_url}%{glibcsrcdir}.tar.bz2
|
||||||
%if 0%{?glibc_release_url:1}
|
Source1: %{glibcsrcdir}-fedora.tar.bz2
|
||||||
%define glibc_libidn_srcdir %(echo %{glibcsrcdir} | sed s/glibc-/glibc-libidn-/)
|
|
||||||
Source1: %{glibc_release_url}%{glibc_libidn_srcdir}.tar.bz2
|
|
||||||
%define glibc_release_unpack -a1
|
|
||||||
%define glibc_release_setup mv %{glibc_libidn_srcdir} libidn
|
|
||||||
%endif
|
|
||||||
Source2: %{glibcsrcdir}-fedora.tar.bz2
|
|
||||||
Patch0: %{name}-fedora.patch
|
Patch0: %{name}-fedora.patch
|
||||||
Patch1: %{name}-ia64-lib64.patch
|
Patch1: %{name}-ia64-lib64.patch
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -68,6 +62,7 @@ BuildRequires: gcc >= 3.2
|
|||||||
%ifarch %{multiarcharches}
|
%ifarch %{multiarcharches}
|
||||||
# Need STT_IFUNC support
|
# Need STT_IFUNC support
|
||||||
BuildRequires: binutils >= 2.19.51.0.10
|
BuildRequires: binutils >= 2.19.51.0.10
|
||||||
|
Conflicts: binutils < 2.19.51.0.10
|
||||||
# Earlier releases have broken support for IRELATIVE relocations
|
# Earlier releases have broken support for IRELATIVE relocations
|
||||||
Conflicts: prelink < 0.4.2
|
Conflicts: prelink < 0.4.2
|
||||||
%else
|
%else
|
||||||
@ -240,8 +235,7 @@ package or when debugging this package.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{glibcsrcdir} %{?glibc_release_unpack} -b2
|
%setup -q -n %{glibcsrcdir} -b1
|
||||||
%{?glibc_release_setup}
|
|
||||||
%patch0 -E -p1
|
%patch0 -E -p1
|
||||||
%ifarch ia64
|
%ifarch ia64
|
||||||
%if "%{_lib}" == "lib64"
|
%if "%{_lib}" == "lib64"
|
||||||
@ -320,8 +314,6 @@ GXX="g++ -m64"
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
BuildFlags="$BuildFlags -fasynchronous-unwind-tables"
|
BuildFlags="$BuildFlags -fasynchronous-unwind-tables"
|
||||||
# gcc is a memory hog without that (#523172).
|
|
||||||
BuildFlags="$BuildFlags -fno-var-tracking-assignments"
|
|
||||||
# Add -DNDEBUG unless using a prerelease
|
# Add -DNDEBUG unless using a prerelease
|
||||||
case %{version} in
|
case %{version} in
|
||||||
*.*.9[0-9]*) ;;
|
*.*.9[0-9]*) ;;
|
||||||
@ -387,7 +379,7 @@ build_nptl linuxnptl-power6
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
cd build-%{nptl_target_cpu}-linuxnptl
|
cd build-%{nptl_target_cpu}-linuxnptl
|
||||||
$GCC -static -L. -Os ../fedora/glibc_post_upgrade.c -o glibc_post_upgrade.%{_target_cpu} \
|
$GCC -static -L. -Os -g ../fedora/glibc_post_upgrade.c -o glibc_post_upgrade.%{_target_cpu} \
|
||||||
-DNO_SIZE_OPTIMIZATION \
|
-DNO_SIZE_OPTIMIZATION \
|
||||||
%ifarch i386 i486 i586
|
%ifarch i386 i486 i586
|
||||||
-DARCH_386 \
|
-DARCH_386 \
|
||||||
@ -425,53 +417,60 @@ ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/rtkaio/librtkaio-*.so` $RPM_BUILD_ROOT/
|
|||||||
%if %{buildxen}
|
%if %{buildxen}
|
||||||
%define nosegneg_subdir_base i686
|
%define nosegneg_subdir_base i686
|
||||||
%define nosegneg_subdir i686/nosegneg
|
%define nosegneg_subdir i686/nosegneg
|
||||||
|
%define nosegneg_subdir_up ../..
|
||||||
cd build-%{nptl_target_cpu}-linuxnptl-nosegneg
|
cd build-%{nptl_target_cpu}-linuxnptl-nosegneg
|
||||||
SubDir=%{nosegneg_subdir}
|
destdir=$RPM_BUILD_ROOT/%{_lib}/%{nosegneg_subdir}
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_lib}/$SubDir/
|
mkdir -p $destdir
|
||||||
cp -a libc.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libc-*.so`
|
for lib in libc math/libm nptl/libpthread rt/librt nptl_db/libthread_db
|
||||||
ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libc-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libc.so.*`
|
do
|
||||||
cp -a math/libm.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libm-*.so`
|
libbase=${lib#*/}
|
||||||
ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libm-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libm.so.*`
|
libbaseso=$(basename $RPM_BUILD_ROOT/%{_lib}/${libbase}-*.so)
|
||||||
cp -a nptl/libpthread.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/libpthread-%{version}.so
|
# Only install if different from base lib
|
||||||
pushd $RPM_BUILD_ROOT/%{_lib}/$SubDir
|
if cmp -s ${lib}.so ../build-%{nptl_target_cpu}-linuxnptl/${lib}.so; then
|
||||||
ln -sf libpthread-*.so `basename $RPM_BUILD_ROOT/%{_lib}/libpthread.so.*`
|
ln -sf %{nosegneg_subdir_up}/$libbaseso $destdir/$libbaseso
|
||||||
popd
|
else
|
||||||
cp -a rt/librt.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so`
|
cp -a ${lib}.so $destdir/$libbaseso
|
||||||
ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/$librtso
|
fi
|
||||||
cp -a nptl_db/libthread_db.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libthread_db-*.so`
|
ln -sf $libbaseso $destdir/$(basename $RPM_BUILD_ROOT/%{_lib}/${libbase}.so.*)
|
||||||
ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libthread_db-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libthread_db.so.*`
|
done
|
||||||
%ifarch %{rtkaioarches}
|
%ifarch %{rtkaioarches}
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_lib}/rtkaio/$SubDir
|
destdir=$RPM_BUILD_ROOT/%{_lib}/rtkaio/%{nosegneg_subdir}
|
||||||
cp -a rtkaio/librtkaio.so $RPM_BUILD_ROOT/%{_lib}/rtkaio/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed s/librt-/librtkaio-/`
|
mkdir -p $destdir
|
||||||
ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/rtkaio/$SubDir/librtkaio-*.so` $RPM_BUILD_ROOT/%{_lib}/rtkaio/$SubDir/$librtso
|
librtkaioso=$(basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed s/librt-/librtkaio-/)
|
||||||
|
if cmp -s rtkaio/librtkaio.so ../build-%{nptl_target_cpu}-linuxnptl/rtkaio/librtkaio.so; then
|
||||||
|
ln -s %{nosegneg_subdir_up}/$librtkaioso $destdir/$librtkaioso
|
||||||
|
else
|
||||||
|
cp -a rtkaio/librtkaio.so $destdir/$librtkaioso
|
||||||
|
fi
|
||||||
|
ln -sf $librtkaioso $destdir/$librtso
|
||||||
%endif
|
%endif
|
||||||
cd ..
|
cd ..
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{buildpower6}
|
%if %{buildpower6}
|
||||||
cd build-%{nptl_target_cpu}-linuxnptl-power6
|
cd build-%{nptl_target_cpu}-linuxnptl-power6
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_lib}/power6{,x}
|
destdir=$RPM_BUILD_ROOT/%{_lib}/power6
|
||||||
cp -a libc.so $RPM_BUILD_ROOT/%{_lib}/power6/`basename $RPM_BUILD_ROOT/%{_lib}/libc-*.so`
|
mkdir -p ${destdir}
|
||||||
ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libc-*.so` $RPM_BUILD_ROOT/%{_lib}/power6/`basename $RPM_BUILD_ROOT/%{_lib}/libc.so.*`
|
for lib in libc math/libm nptl/libpthread rt/librt nptl_db/libthread_db
|
||||||
cp -a math/libm.so $RPM_BUILD_ROOT/%{_lib}/power6/`basename $RPM_BUILD_ROOT/%{_lib}/libm-*.so`
|
do
|
||||||
ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libm-*.so` $RPM_BUILD_ROOT/%{_lib}/power6/`basename $RPM_BUILD_ROOT/%{_lib}/libm.so.*`
|
libbase=${lib#*/}
|
||||||
cp -a nptl/libpthread.so $RPM_BUILD_ROOT/%{_lib}/power6/libpthread-%{version}.so
|
libbaseso=$(basename $RPM_BUILD_ROOT/%{_lib}/${libbase}-*.so)
|
||||||
pushd $RPM_BUILD_ROOT/%{_lib}/power6
|
cp -a ${lib}.so $destdir/$libbaseso
|
||||||
ln -sf libpthread-*.so `basename $RPM_BUILD_ROOT/%{_lib}/libpthread.so.*`
|
ln -sf $libbaseso $destdir/$(basename $RPM_BUILD_ROOT/%{_lib}/${libbase}.so.*)
|
||||||
popd
|
done
|
||||||
cp -a rt/librt.so $RPM_BUILD_ROOT/%{_lib}/power6/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so`
|
mkdir -p ${destdir}x
|
||||||
ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so` $RPM_BUILD_ROOT/%{_lib}/power6/$librtso
|
pushd ${destdir}x
|
||||||
cp -a nptl_db/libthread_db.so $RPM_BUILD_ROOT/%{_lib}/power6/`basename $RPM_BUILD_ROOT/%{_lib}/libthread_db-*.so`
|
|
||||||
ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libthread_db-*.so` $RPM_BUILD_ROOT/%{_lib}/power6/`basename $RPM_BUILD_ROOT/%{_lib}/libthread_db.so.*`
|
|
||||||
pushd $RPM_BUILD_ROOT/%{_lib}/power6x
|
|
||||||
ln -sf ../power6/*.so .
|
ln -sf ../power6/*.so .
|
||||||
cp -a ../power6/*.so.* .
|
cp -a ../power6/*.so.* .
|
||||||
popd
|
popd
|
||||||
%ifarch %{rtkaioarches}
|
%ifarch %{rtkaioarches}
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_lib}/rtkaio/power6{,x}
|
destdir=$RPM_BUILD_ROOT/%{_lib}/rtkaio/power6
|
||||||
cp -a rtkaio/librtkaio.so $RPM_BUILD_ROOT/%{_lib}/rtkaio/power6/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed s/librt-/librtkaio-/`
|
mkdir -p $destdir
|
||||||
ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/rtkaio/power6/librtkaio-*.so` $RPM_BUILD_ROOT/%{_lib}/rtkaio/power6/$librtso
|
librtkaioso=$(basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed s/librt-/librtkaio-/)
|
||||||
pushd $RPM_BUILD_ROOT/%{_lib}/rtkaio/power6x
|
cp -a rtkaio/librtkaio.so $destdir/$librtkaioso
|
||||||
|
ln -sf $librtkaioso $destdir/$librtso
|
||||||
|
mkdir -p ${destdir}x
|
||||||
|
pushd ${destdir}x
|
||||||
ln -sf ../power6/*.so .
|
ln -sf ../power6/*.so .
|
||||||
cp -a ../power6/*.so.* .
|
cp -a ../power6/*.so.* .
|
||||||
popd
|
popd
|
||||||
@ -682,13 +681,13 @@ touch -r timezone/northamerica $RPM_BUILD_ROOT/etc/localtime
|
|||||||
touch -r sunrpc/etc.rpc $RPM_BUILD_ROOT/etc/rpc
|
touch -r sunrpc/etc.rpc $RPM_BUILD_ROOT/etc/rpc
|
||||||
|
|
||||||
cd fedora
|
cd fedora
|
||||||
$GCC -Os -static -o build-locale-archive build-locale-archive.c \
|
$GCC -Os -g -static -o build-locale-archive build-locale-archive.c \
|
||||||
../build-%{nptl_target_cpu}-linuxnptl/locale/locarchive.o \
|
../build-%{nptl_target_cpu}-linuxnptl/locale/locarchive.o \
|
||||||
../build-%{nptl_target_cpu}-linuxnptl/locale/md5.o \
|
../build-%{nptl_target_cpu}-linuxnptl/locale/md5.o \
|
||||||
-DDATADIR=\"%{_datadir}\" -DPREFIX=\"%{_prefix}\" \
|
-DDATADIR=\"%{_datadir}\" -DPREFIX=\"%{_prefix}\" \
|
||||||
-L../build-%{nptl_target_cpu}-linuxnptl
|
-L../build-%{nptl_target_cpu}-linuxnptl
|
||||||
install -m 700 build-locale-archive $RPM_BUILD_ROOT/usr/sbin/build-locale-archive
|
install -m 700 build-locale-archive $RPM_BUILD_ROOT/usr/sbin/build-locale-archive
|
||||||
$GCC -Os -static -o tzdata-update tzdata-update.c \
|
$GCC -Os -g -static -o tzdata-update tzdata-update.c \
|
||||||
-L../build-%{nptl_target_cpu}-linuxnptl
|
-L../build-%{nptl_target_cpu}-linuxnptl
|
||||||
install -m 700 tzdata-update $RPM_BUILD_ROOT/usr/sbin/tzdata-update
|
install -m 700 tzdata-update $RPM_BUILD_ROOT/usr/sbin/tzdata-update
|
||||||
cd ..
|
cd ..
|
||||||
@ -1029,6 +1028,48 @@ rm -f *.filelist*
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 12 2009 Andreas Schwab <schwab@redhat.com> - 2.11.90-1
|
||||||
|
- Update from master.
|
||||||
|
|
||||||
|
* Thu Nov 5 2009 Andreas Schwab <schwab@redhat.com> - 2.11-2
|
||||||
|
- Fix readahead on powerpc32.
|
||||||
|
- Fix R_PPC64_{JMP_IREL,IRELATIVE} handling.
|
||||||
|
- Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64 (#533063).
|
||||||
|
|
||||||
|
* Mon Nov 2 2009 Andreas Schwab <schwab@redhat.com> - 2.11-1
|
||||||
|
- Update to 2.11 release.
|
||||||
|
- Disable multi-arch support on PowerPC again since binutils is too old.
|
||||||
|
- Fix crash in tzdata-update due to use of multi-arch symbol (#532128).
|
||||||
|
|
||||||
|
* Fri Oct 30 2009 Andreas Schwab <schwab@redhat.com> - 2.10.90-27
|
||||||
|
- Update from master.
|
||||||
|
- Fix races in setXid implementation (BZ#3270).
|
||||||
|
- Implement IFUNC for PPC and enable multi-arch support.
|
||||||
|
- Implement mkstemps/mkstemps64 and mkostemps/mkostemps64 (BZ#10349).
|
||||||
|
- Fix IA-64 and S390 sigevent definitions (BZ#10446).
|
||||||
|
- Fix memory leak in NIS grp database handling (BZ#10713).
|
||||||
|
- Print timestamp in nscd debug messages (BZ#10742).
|
||||||
|
- Fix mixing IPv4 and IPv6 name server in resolv.conf.
|
||||||
|
- Fix range checks in coshl.
|
||||||
|
- Implement SSE4.2 optimized strchr and strrchr.
|
||||||
|
- Handle IFUNC symbols in dlsym (#529965).
|
||||||
|
- Misc fixes (BZ#10312, BZ#10315, BZ#10319, BZ#10391, BZ#10425,
|
||||||
|
BZ#10540, BZ#10553, BZ#10564, BZ#10609, BZ#10692, BZ#10780,
|
||||||
|
BZ#10717, BZ#10784, BZ#10789, BZ#10847
|
||||||
|
- No longer build with -fno-var-tracking-assignments.
|
||||||
|
|
||||||
|
* Mon Oct 19 2009 Andreas Schwab <schwab@redhat.com> - 2.10.90-26
|
||||||
|
- Update from master.
|
||||||
|
- Add ____longjmp_chk for sparc.
|
||||||
|
- Avoid installing the same libraries twice.
|
||||||
|
|
||||||
|
* Mon Oct 12 2009 Andreas Schwab <schwab@redhat.com> - 2.10.90-25
|
||||||
|
- Update from master
|
||||||
|
- Fix descriptor leak when calling dlopen with RTLD_NOLOAD (#527409).
|
||||||
|
- Fix week-1stday in C locale.
|
||||||
|
- Check for integer overflows in formatting functions.
|
||||||
|
- Fix locale program error handling (#525363).
|
||||||
|
|
||||||
* Mon Sep 28 2009 Andreas Schwab <schwab@redhat.com> - 2.10.90-24
|
* Mon Sep 28 2009 Andreas Schwab <schwab@redhat.com> - 2.10.90-24
|
||||||
- Update from master.
|
- Update from master.
|
||||||
- Fix missing reloc dependency (#517001).
|
- Fix missing reloc dependency (#517001).
|
||||||
|
@ -32,3 +32,4 @@ glibc-2_10_90-21:HEAD:glibc-2.10.90-21.src.rpm:1252314102
|
|||||||
glibc-2_10_90-22:HEAD:glibc-2.10.90-22.src.rpm:1252930886
|
glibc-2_10_90-22:HEAD:glibc-2.10.90-22.src.rpm:1252930886
|
||||||
glibc-2_10_90-23:HEAD:glibc-2.10.90-23.src.rpm:1253528881
|
glibc-2_10_90-23:HEAD:glibc-2.10.90-23.src.rpm:1253528881
|
||||||
glibc-2_10_90-24:HEAD:glibc-2.10.90-24.src.rpm:1254140947
|
glibc-2_10_90-24:HEAD:glibc-2.10.90-24.src.rpm:1254140947
|
||||||
|
glibc-2_11_90-1:HEAD:glibc-2.11.90-1.src.rpm:1258048159
|
||||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
be1259fdd4fa0ec48668085c15bcd6d0 glibc-2.10-343-gf450806-fedora.tar.bz2
|
e3f0405ffd8cdb72da2ae382cdc85697 glibc-2.11-12-g24c0bf7-fedora.tar.bz2
|
||||||
65cd71dd2818a4de21a3eba59a20c180 glibc-2.10-343-gf450806.tar.bz2
|
6b1673df005832948288a326df0a8bbe glibc-2.11-12-g24c0bf7.tar.bz2
|
||||||
|
Loading…
Reference in New Issue
Block a user