2.14-5
This commit is contained in:
parent
d1bf7db949
commit
3097122438
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
/glibc-ports-2.14.tar.xz
|
||||
/glibc-2.14-15-g9614794-fedora.tar.xz
|
||||
/glibc-2.14-15-g9614794.tar.xz
|
||||
/glibc-2.14-34-ge2a3090-fedora.tar.xz
|
||||
/glibc-2.14-34-ge2a3090.tar.xz
|
||||
/glibc-ports-2.14-1-g2408627.tar.xz
|
||||
|
File diff suppressed because it is too large
Load Diff
84
glibc.spec
84
glibc.spec
@ -1,6 +1,6 @@
|
||||
%define glibcsrcdir glibc-2.14-15-g9614794
|
||||
%define glibcsrcdir glibc-2.14-34-ge2a3090
|
||||
%define glibcversion 2.14
|
||||
%define glibcportsdir glibc-ports-2.14
|
||||
%define glibcportsdir glibc-ports-2.14-1-g2408627
|
||||
### glibc.spec.in follows:
|
||||
%define run_glibc_tests 1
|
||||
%define auxarches athlon alphaev6
|
||||
@ -27,7 +27,7 @@
|
||||
Summary: The GNU libc libraries
|
||||
Name: glibc
|
||||
Version: %{glibcversion}
|
||||
Release: 4
|
||||
Release: 5
|
||||
# GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
|
||||
# Things that are linked directly into dynamically linked programs
|
||||
# and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
|
||||
@ -62,10 +62,9 @@ BuildRequires: systemtap-sdt-devel
|
||||
BuildRequires: gcc >= 3.2
|
||||
%define enablekernel 2.6.32
|
||||
Conflicts: kernel < %{enablekernel}
|
||||
%ifarch i386
|
||||
%define nptl_target_cpu i486
|
||||
%else
|
||||
%define nptl_target_cpu %{_target_cpu}
|
||||
%define target %{_target_cpu}-redhat-linux
|
||||
%ifarch %{arm}
|
||||
%define target %{_target_cpu}-redhat-linuxeabi
|
||||
%endif
|
||||
%ifarch %{multiarcharches}
|
||||
# Need STT_IFUNC support
|
||||
@ -283,7 +282,7 @@ touch locale/programs/*-kw.h
|
||||
GCC=gcc
|
||||
GXX=g++
|
||||
%ifarch %{ix86}
|
||||
BuildFlags="-march=%{nptl_target_cpu} -mtune=generic"
|
||||
BuildFlags="-march=%{_target_cpu} -mtune=generic"
|
||||
%endif
|
||||
%ifarch i686
|
||||
BuildFlags="-march=i686 -mtune=generic"
|
||||
@ -343,10 +342,10 @@ AddOns=`echo */configure | sed -e 's!/configure!!g;s!\(linuxthreads\|nptl\|rtkai
|
||||
AddOns=,rtkaio$AddOns
|
||||
%endif
|
||||
|
||||
build_nptl()
|
||||
build()
|
||||
{
|
||||
builddir=build-%{nptl_target_cpu}-$1
|
||||
shift
|
||||
builddir=build-%{target}${1:+-$1}
|
||||
${1+shift}
|
||||
rm -rf $builddir
|
||||
mkdir $builddir ; cd $builddir
|
||||
build_CFLAGS="$BuildFlags -g -O3 $*"
|
||||
@ -357,8 +356,7 @@ configure_CFLAGS="$build_CFLAGS -fno-asynchronous-unwind-tables"
|
||||
--prefix=%{_prefix} \
|
||||
--enable-add-ons=../%{glibcportsdir},nptl$AddOns \
|
||||
--with-headers=%{_prefix}/include $EnableKernel --enable-bind-now \
|
||||
--with-tls --with-__thread --build %{nptl_target_cpu}-redhat-linux \
|
||||
--host %{nptl_target_cpu}-redhat-linux \
|
||||
--with-tls --with-__thread --build=%{target} \
|
||||
%ifarch %{multiarcharches}
|
||||
--enable-multi-arch \
|
||||
%endif
|
||||
@ -373,10 +371,10 @@ make %{?_smp_mflags} -r CFLAGS="$build_CFLAGS" %{silentrules}
|
||||
cd ..
|
||||
}
|
||||
|
||||
build_nptl linuxnptl
|
||||
build
|
||||
|
||||
%if %{buildxen}
|
||||
build_nptl linuxnptl-nosegneg -mno-tls-direct-seg-refs
|
||||
build nosegneg -mno-tls-direct-seg-refs
|
||||
%endif
|
||||
|
||||
%if %{buildpower6}
|
||||
@ -396,11 +394,11 @@ fi
|
||||
AddOns="$AddOns --with-cpu=power6"
|
||||
GCC="$GCC -mcpu=power6"
|
||||
GXX="$GXX -mcpu=power6"
|
||||
build_nptl linuxnptl-power6
|
||||
build power6
|
||||
)
|
||||
%endif
|
||||
|
||||
cd build-%{nptl_target_cpu}-linuxnptl
|
||||
cd build-%{target}
|
||||
$GCC -static -L. -Os -g ../fedora/glibc_post_upgrade.c -o glibc_post_upgrade.%{_target_cpu} \
|
||||
-DNO_SIZE_OPTIMIZATION \
|
||||
'-DLIBTLS="/%{_lib}/tls/"' \
|
||||
@ -414,9 +412,9 @@ GCC=`cat Gcc`
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT
|
||||
make -j1 install_root=$RPM_BUILD_ROOT install -C build-%{nptl_target_cpu}-linuxnptl %{silentrules}
|
||||
make -j1 install_root=$RPM_BUILD_ROOT install -C build-%{target} %{silentrules}
|
||||
%ifnarch %{auxarches}
|
||||
cd build-%{nptl_target_cpu}-linuxnptl && \
|
||||
cd build-%{target} && \
|
||||
make %{?_smp_mflags} install_root=$RPM_BUILD_ROOT install-locales -C ../localedata objdir=`pwd` && \
|
||||
cd ..
|
||||
%endif
|
||||
@ -437,7 +435,7 @@ ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/rtkaio/librtkaio-*.so` $RPM_BUILD_ROOT/
|
||||
%define nosegneg_subdir_base i686
|
||||
%define nosegneg_subdir i686/nosegneg
|
||||
%define nosegneg_subdir_up ../..
|
||||
cd build-%{nptl_target_cpu}-linuxnptl-nosegneg
|
||||
cd build-%{target}-nosegneg
|
||||
destdir=$RPM_BUILD_ROOT/%{_lib}/%{nosegneg_subdir}
|
||||
mkdir -p $destdir
|
||||
for lib in libc math/libm nptl/libpthread rt/librt nptl_db/libthread_db
|
||||
@ -445,7 +443,7 @@ do
|
||||
libbase=${lib#*/}
|
||||
libbaseso=$(basename $RPM_BUILD_ROOT/%{_lib}/${libbase}-*.so)
|
||||
# Only install if different from base lib
|
||||
if cmp -s ${lib}.so ../build-%{nptl_target_cpu}-linuxnptl/${lib}.so; then
|
||||
if cmp -s ${lib}.so ../build-%{target}/${lib}.so; then
|
||||
ln -sf %{nosegneg_subdir_up}/$libbaseso $destdir/$libbaseso
|
||||
else
|
||||
cp -a ${lib}.so $destdir/$libbaseso
|
||||
@ -456,7 +454,7 @@ done
|
||||
destdir=$RPM_BUILD_ROOT/%{_lib}/rtkaio/%{nosegneg_subdir}
|
||||
mkdir -p $destdir
|
||||
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
|
||||
if cmp -s rtkaio/librtkaio.so ../build-%{target}/rtkaio/librtkaio.so; then
|
||||
ln -s %{nosegneg_subdir_up}/$librtkaioso $destdir/$librtkaioso
|
||||
else
|
||||
cp -a rtkaio/librtkaio.so $destdir/$librtkaioso
|
||||
@ -467,7 +465,7 @@ cd ..
|
||||
%endif
|
||||
|
||||
%if %{buildpower6}
|
||||
cd build-%{nptl_target_cpu}-linuxnptl-power6
|
||||
cd build-%{target}-power6
|
||||
destdir=$RPM_BUILD_ROOT/%{_lib}/power6
|
||||
mkdir -p ${destdir}
|
||||
for lib in libc math/libm nptl/libpthread rt/librt nptl_db/libthread_db
|
||||
@ -545,7 +543,7 @@ mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
|
||||
chmod 644 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/gconv-modules.cache
|
||||
|
||||
# Install the upgrade program
|
||||
install -m 700 build-%{nptl_target_cpu}-linuxnptl/glibc_post_upgrade.%{_target_cpu} \
|
||||
install -m 700 build-%{target}/glibc_post_upgrade.%{_target_cpu} \
|
||||
$RPM_BUILD_ROOT/usr/sbin/glibc_post_upgrade.%{_target_cpu}
|
||||
|
||||
strip -g $RPM_BUILD_ROOT%{_prefix}/%{_lib}/*.o
|
||||
@ -567,9 +565,9 @@ pushd ${RPM_BUILD_ROOT}%{_prefix}/lib/locale
|
||||
rm locale-archive || :
|
||||
# Intentionally we do not pass --alias-file=, aliases will be added
|
||||
# by build-locale-archive.
|
||||
$olddir/build-%{nptl_target_cpu}-linuxnptl/elf/ld.so \
|
||||
--library-path $olddir/build-%{nptl_target_cpu}-linuxnptl/ \
|
||||
$olddir/build-%{nptl_target_cpu}-linuxnptl/locale/localedef \
|
||||
$olddir/build-%{target}/elf/ld.so \
|
||||
--library-path $olddir/build-%{target}/ \
|
||||
$olddir/build-%{target}/locale/localedef \
|
||||
--prefix ${RPM_BUILD_ROOT} --add-to-archive \
|
||||
*_*
|
||||
rm -rf *_*
|
||||
@ -697,13 +695,13 @@ touch -r sunrpc/etc.rpc $RPM_BUILD_ROOT/etc/rpc
|
||||
|
||||
cd fedora
|
||||
$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/md5.o \
|
||||
../build-%{target}/locale/locarchive.o \
|
||||
../build-%{target}/locale/md5.o \
|
||||
-DDATADIR=\"%{_datadir}\" -DPREFIX=\"%{_prefix}\" \
|
||||
-L../build-%{nptl_target_cpu}-linuxnptl
|
||||
-L../build-%{target}
|
||||
install -m 700 build-locale-archive $RPM_BUILD_ROOT/usr/sbin/build-locale-archive
|
||||
$GCC -Os -g -static -o tzdata-update tzdata-update.c \
|
||||
-L../build-%{nptl_target_cpu}-linuxnptl
|
||||
-L../build-%{target}
|
||||
install -m 700 tzdata-update $RPM_BUILD_ROOT/usr/sbin/tzdata-update
|
||||
cd ..
|
||||
|
||||
@ -735,7 +733,7 @@ ln -sf /%{_lib}/ld-linux-ia64.so.2 $RPM_BUILD_ROOT/lib/ld-linux-ia64.so.2
|
||||
export TIMEOUTFACTOR=16
|
||||
parent=$$
|
||||
echo ====================TESTING=========================
|
||||
cd build-%{nptl_target_cpu}-linuxnptl
|
||||
cd build-%{target}
|
||||
( make %{?_smp_mflags} -k check %{silentrules} 2>&1
|
||||
sleep 10s
|
||||
teepid="`ps -eo ppid,pid,command | awk '($1 == '${parent}' && $3 ~ /^tee/) { print $2 }'`"
|
||||
@ -744,7 +742,7 @@ cd build-%{nptl_target_cpu}-linuxnptl
|
||||
cd ..
|
||||
%if %{buildxen}
|
||||
echo ====================TESTING -mno-tls-direct-seg-refs=============
|
||||
cd build-%{nptl_target_cpu}-linuxnptl-nosegneg
|
||||
cd build-%{target}-nosegneg
|
||||
( make %{?_smp_mflags} -k check %{silentrules} 2>&1
|
||||
sleep 10s
|
||||
teepid="`ps -eo ppid,pid,command | awk '($1 == '${parent}' && $3 ~ /^tee/) { print $2 }'`"
|
||||
@ -754,7 +752,7 @@ cd ..
|
||||
%endif
|
||||
%if %{buildpower6}
|
||||
echo ====================TESTING -mcpu=power6=============
|
||||
cd build-%{nptl_target_cpu}-linuxnptl-power6
|
||||
cd build-%{target}-power6
|
||||
( if [ -d ../power6emul ]; then
|
||||
export LD_PRELOAD=`cd ../power6emul; pwd`/\$LIB/power6emul.so
|
||||
fi
|
||||
@ -1051,6 +1049,24 @@ rm -f *.filelist*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Aug 5 2011 Andreas Schwab <schwab@redhat.com> - 2.14-5
|
||||
- Update from 2.14 branch
|
||||
- Properly tokenize nameserver line for servers with IPv6 address
|
||||
- Fix encoding name for IDN in getaddrinfo (#725755)
|
||||
- Fix inline strncat/strncmp on x86
|
||||
- Fix check for AVX enablement (BZ#13007)
|
||||
- Check for overflows in expressions (BZ#12852)
|
||||
- Force La_x86_64_ymm to be 16-byte aligned
|
||||
- Fix alloca accounting in strxfm
|
||||
- Avoid possible crashes in anormal nscd exits
|
||||
- Handle Lustre filesystem (BZ#12868)
|
||||
- Handle W; without long options in getopt (BZ#12922)
|
||||
- Change error code for underflows in strtod (BZ#9696)
|
||||
- Fix robust mutex handling after fork
|
||||
- Make sure RES_USE_INET6 is always restored
|
||||
- Fix quoting in some installed shell scripts (#726483)
|
||||
- Use eabi for arm
|
||||
|
||||
* Tue Jun 28 2011 Andreas Schwab <schwab@redhat.com> - 2.14-4
|
||||
- Update from 2.14 branch
|
||||
- Fix crash in GB18030 encoder (#712901)
|
||||
|
6
sources
6
sources
@ -1,3 +1,3 @@
|
||||
af85a1921f8062fed1005a1a000c146f glibc-2.14-15-g9614794-fedora.tar.xz
|
||||
dd6e7ae7a2251c25c2ce1fa81957bf98 glibc-2.14-15-g9614794.tar.xz
|
||||
05c85905b43021a81318c3aa81718019 glibc-ports-2.14.tar.xz
|
||||
1e75689d975749ac6243ad006851ec08 glibc-2.14-34-ge2a3090-fedora.tar.xz
|
||||
47a1971272a8be4f2f6437ab2061ab9d glibc-2.14-34-ge2a3090.tar.xz
|
||||
069f0c4e41686838aa9bdd9700fcf52b glibc-ports-2.14-1-g2408627.tar.xz
|
||||
|
Loading…
Reference in New Issue
Block a user