Hello community, here is the log from the commit of package glibc checked in at Sat Nov 1 23:14:37 CET 2008. -------- --- glibc/glibc.changes 2008-10-23 22:20:44.000000000 +0200 +++ /mounts/work_src_done/STABLE/glibc/glibc.changes 2008-10-31 19:51:32.000000000 +0100 @@ -1,0 +2,15 @@ +Fri Oct 31 19:51:08 CET 2008 - matz@suse.de + +- Fix atomics on s390/s390x, leading to failures in pthread mutexes. + +------------------------------------------------------------------- +Tue Oct 28 18:08:32 CET 2008 - schwab@suse.de + +- Restore alignment patch. + +------------------------------------------------------------------- +Tue Oct 28 09:45:22 CET 2008 - olh@suse.de + +- symlink power5/power5+ to power4 on ppc32 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- glibc-fix-s390-atomics.diff res_send.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glibc.spec ++++++ --- /var/tmp/diff_new_pack.HC2506/_old 2008-11-01 23:14:15.000000000 +0100 +++ /var/tmp/diff_new_pack.HC2506/_new 2008-11-01 23:14:15.000000000 +0100 @@ -37,7 +37,12 @@ %define powerpc_optimize_base_cpu_power4 1 %define powerpc_optimize_cpu_power4 0 %endif +%ifarch ppc +%define powerpc_optimize_cpu_power5 1 +%else %define powerpc_optimize_cpu_power5 0 +%endif +%define powerpc_optimize_cpu_power5_compile 0 %define powerpc_optimize_cpu_power6 1 %define powerpc_optimize_cpu_power7 0 %define powerpc_optimize_cpu_cell 1 @@ -64,7 +69,7 @@ Provides: rtld(GNU_HASH) AutoReqProv: on Version: 2.8.90 -Release: 16 +Release: 17 %define snapshot_date 2008101314 Url: http://www.gnu.org/software/libc/libc.html PreReq: filesystem @@ -126,6 +131,8 @@ Patch62: glibc-getgroups-fortify.diff Patch63: missing-include-build-fix.diff Patch64: glibc-no-unwind-tables.diff +Patch65: res_send.diff +Patch66: glibc-fix-s390-atomics.diff %description The GNU C Library provides the most important standard libraries used @@ -325,6 +332,8 @@ %patch62 -p1 %patch63 %patch64 +%patch65 +%patch66 # # Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map->l_init_called' failed! # @@ -447,8 +456,10 @@ power4 \ %endif %if %{powerpc_optimize_cpu_power5} +%if %{powerpc_optimize_cpu_power5_compile} power5 \ %endif +%endif %if %{powerpc_optimize_cpu_power6} power6 \ %endif @@ -538,8 +549,10 @@ power4 \ %endif %if %{powerpc_optimize_cpu_power5} +%if %{powerpc_optimize_cpu_power5_compile} power5 \ %endif +%endif %if %{powerpc_optimize_cpu_power6} power6 \ %endif @@ -576,6 +589,8 @@ %if %{powerpc_optimize_cpu_power5} # power5+ is compatible with power5 (adds only a few floating point instructions) # doing a symlink doesnt work, ldconfig follows them and accepts only the first real dir +# symlink to power4 directory, which is built only on ppc32 +%if %{powerpc_optimize_cpu_power5_compile} if test -d $RPM_BUILD_ROOT/%{_lib}/power5 then mkdir -p $RPM_BUILD_ROOT/%{_lib}/power5+ @@ -586,6 +601,22 @@ done $my_ldconfig -n $RPM_BUILD_ROOT/%{_lib}/power5+/ fi +%else +if test -d $RPM_BUILD_ROOT/%{_lib}/power4 +then + mkdir -p $RPM_BUILD_ROOT/%{_lib}/power5 + mkdir -p $RPM_BUILD_ROOT/%{_lib}/power5+ + for i in $RPM_BUILD_ROOT/%{_lib}/power4/*.so ; do + b=`basename $i` + ln -vs ../power4/$b \ + $RPM_BUILD_ROOT/%{_lib}/power5/$b + ln -vs ../power4/$b \ + $RPM_BUILD_ROOT/%{_lib}/power5+/$b + done + $my_ldconfig -n $RPM_BUILD_ROOT/%{_lib}/power5/ + $my_ldconfig -n $RPM_BUILD_ROOT/%{_lib}/power5+/ +fi +%endif %endif %if %{powerpc_optimize_cpu_power6} # power6 is compatible with power6x @@ -1068,7 +1099,13 @@ %{_libdir}/libdl_p.a %changelog -* Fri Oct 24 2008 ro@suse.de +* Fri Oct 31 2008 matz@suse.de +- Fix atomics on s390/s390x, leading to failures in pthread mutexes. +* Tue Oct 28 2008 schwab@suse.de +- Restore alignment patch. +* Tue Oct 28 2008 olh@suse.de +- symlink power5/power5+ to power4 on ppc32 +* Thu Oct 23 2008 ro@suse.de - only do obsoletes for XXbit packages on ppc, not on x86 * Thu Oct 23 2008 matz@suse.de - Deactivate unwind tables for initfini.c. @@ -1203,7 +1240,7 @@ * Fri Aug 31 2007 aj@suse.de - Add /usr/share/locale-bundle/ as fallback directory for usage with bundle-lang packages (see bug #302270). -* Wed Aug 22 2007 pbaudis@suse.cz +* Tue Aug 21 2007 pbaudis@suse.cz - Reintroduce errorneously omitted AMD64 optimizations (and fix them to compile again) * Thu Aug 16 2007 aj@suse.de @@ -1272,7 +1309,7 @@ * Thu Nov 16 2006 pbaudis@suse.cz - Disable power6 optimization for 10.2, not all pieces are there [#219962] -* Thu Oct 26 2006 pbaudis@suse.cz +* Wed Oct 25 2006 pbaudis@suse.cz - Change ld.so madvise() call to posix_fadvise() - Fix mallopt(M_MXFAST,0) behaviour [#198760] - Update the powerpc cpu-tuned environment to v0.04 [#215117] @@ -1290,7 +1327,7 @@ - Fix 2.4.90-nscd patch wrt. new gcc * Mon Oct 02 2006 aj@suse.de - Fix warnings in testsuite (patch from CVS). -* Sat Sep 30 2006 pbaudis@suse.cz +* Fri Sep 29 2006 pbaudis@suse.cz - Update to 2.5 CVS - official release (only minimal changes in CVS since the last update) - Fix a thinko in the -Bdirect patch @@ -1318,7 +1355,7 @@ - Update to current CVS * Thu Sep 21 2006 pbaudis@suse.cz - Fix cut'n'paste error in a last-minute change -* Thu Sep 21 2006 pbaudis@suse.cz +* Wed Sep 20 2006 pbaudis@suse.cz - Update to current CVS - Fix powerpc-cpu tarball extension - Move crypt-blowfish to a patch so that quilt works on the tree @@ -1372,7 +1409,7 @@ - S390 fix for startupcode. Part of it was not PIC. * Fri Apr 07 2006 kukuk@suse.de - Don't hardcode syscall numbers at our own -* Wed Apr 05 2006 schwab@suse.de +* Tue Apr 04 2006 schwab@suse.de - Fix readlink declaration. * Mon Apr 03 2006 kukuk@suse.de - Update from CVS: @@ -1407,7 +1444,7 @@ - Update to current CVS (nptl/ia64 fix) * Thu Mar 09 2006 kukuk@suse.de - Fix linux/input.h for userspace inclusion -* Thu Mar 09 2006 kukuk@suse.de +* Wed Mar 08 2006 kukuk@suse.de - Update kernel headers to 2.6.16-rc5 * Mon Mar 06 2006 kukuk@suse.de - Update to 2.4 CVS @@ -1473,11 +1510,11 @@ - Readd <fmtmsg.h>, <ucontext.h>, <sys/ucontext.h>. * Sun Jan 15 2006 schwab@suse.de - Readd <alloca.h>. -* Sun Jan 15 2006 kukuk@suse.de +* Sat Jan 14 2006 kukuk@suse.de - Update to current CVS (long double support) * Fri Jan 13 2006 aj@suse.de - Fix x86-64 w_exp to not use extra plt. -* Fri Jan 13 2006 kukuk@suse.de +* Thu Jan 12 2006 kukuk@suse.de - Fix asm-s390/setup.h for userspace inclusion - nsswitch.conf: Add nis to netgroup and automount entry - Fix sys/procfs.h for ppc64 @@ -1659,7 +1696,7 @@ - Update to current CVS snapshot * Wed Apr 06 2005 schwab@suse.de - Cleanup neededforbuild. -* Wed Apr 06 2005 aj@suse.de +* Tue Apr 05 2005 aj@suse.de - Add gettext-devel to neededforbuild. * Tue Apr 05 2005 aj@suse.de - Do not build on xen machines. @@ -1738,7 +1775,7 @@ - Merge kernel-headers.remove-SO_BSDCOMPAT.diff with kernel-headers.SuSE.diff - Revert nscd paths on old SuSE Linux distributions -* Thu Dec 30 2004 kukuk@suse.de +* Wed Dec 29 2004 kukuk@suse.de - Update to glibc 2.3.90 CVS branch - Remove alarm-round.patch (merged upstream) * Thu Dec 09 2004 kukuk@suse.de @@ -2307,7 +2344,7 @@ - Update to nptl 0.39 - Add URL tag - asm-i386/byteorder.h: fix asm vs. __asm__ -* Thu May 15 2003 schwab@suse.de +* Wed May 14 2003 schwab@suse.de - Fix missing syscall numbers on ia64. * Wed May 14 2003 kukuk@suse.de - More kernel headers fixes for i386, ia64, ppc and s390 @@ -2408,7 +2445,7 @@ * Mon Feb 03 2003 meissner@suse.de - Merged a unistd.h gcc3.3 compliance patch from Franz Sirl for ppc and ppc64 kernel headers. -* Sat Feb 01 2003 schwab@suse.de +* Fri Jan 31 2003 schwab@suse.de - Fix building on s390[x]. * Fri Jan 31 2003 kukuk@suse.de - Update to current glibc cvs @@ -2421,7 +2458,7 @@ * Thu Jan 23 2003 schwab@suse.de - Fix use of DT_FINI_ARRAY. - Temporarily disable tst-aio7 test on ia64. -* Wed Jan 15 2003 schwab@suse.de +* Tue Jan 14 2003 schwab@suse.de - Fix ia64 for non-tls build. * Tue Jan 14 2003 aj@suse.de - Package libpthread_nonshared.a. @@ -2449,7 +2486,7 @@ dont run configure in subshell, it can fail and rpm cant catch it * Fri Dec 13 2002 schwab@suse.de - Add more ia64 syscalls. -* Sat Dec 07 2002 olh@suse.de +* Fri Dec 06 2002 olh@suse.de - build also the locals parallel do not fail with parallel calculation on lowmem systems * Tue Dec 03 2002 aj@suse.de @@ -2737,7 +2774,7 @@ * Thu Feb 07 2002 kukuk@suse.de - Add fix for glob (glob should not call globfree) - Add fix for innetgr -* Thu Feb 07 2002 kukuk@suse.de +* Wed Feb 06 2002 kukuk@suse.de - Use correct BuildRoot * Wed Feb 06 2002 kukuk@suse.de - Update hu.po @@ -2782,7 +2819,7 @@ - Clear pointer if asprintf fails - pthread_key_delete should not contact thread manager before it is created. -* Wed Dec 12 2001 kukuk@suse.de +* Tue Dec 11 2001 kukuk@suse.de - Fix prelink patch * Tue Dec 11 2001 kukuk@suse.de - Add fixes for LSB.os test suite (ftw, grantpt and ftok) @@ -2815,7 +2852,7 @@ - Update kernel-headers to 2.4.14 * Thu Nov 01 2001 kukuk@suse.de - Use again old rules to generate html files -* Mon Oct 22 2001 schwab@suse.de +* Sun Oct 21 2001 schwab@suse.de - Fix inttypes.h for C++. * Fri Oct 19 2001 aj@suse.de - Fix typo in inttypes.h that presents compilation by non-GCC compilers. @@ -3021,7 +3058,7 @@ * Mon Nov 20 2000 schwab@suse.de - Remove use of getpagesize syscall on ia64. - Follow DT_INIT/DT_FINI change in compiler. -* Mon Nov 20 2000 kukuk@suse.de +* Sun Nov 19 2000 kukuk@suse.de - Minor specfile fixes * Thu Nov 16 2000 kukuk@suse.de - Add lot of more bug fixes @@ -3110,7 +3147,7 @@ - Update ia64 patch * Fri May 26 2000 kukuk@suse.de - Fix (f)truncate64 and xdr_uint8_t -* Thu May 25 2000 kukuk@suse.de +* Wed May 24 2000 kukuk@suse.de - Fix ldconfig.8 manual page * Thu May 18 2000 bk@suse.de - added s390 dlopen fix @@ -3122,7 +3159,7 @@ - Update ia64 patches. * Fri May 12 2000 kukuk@suse.de - Don't apply LFS patch -* Wed May 10 2000 kukuk@suse.de +* Tue May 09 2000 kukuk@suse.de - Add LFS patches * Mon May 08 2000 kukuk@suse.de - Add lot of bug fixes from CVS @@ -3230,7 +3267,7 @@ - Add linuxthreads/signals.c fix from Andreas Schwab - Remove dangling symlink (Bug #544) - Add more bug fixes -* Sat Oct 09 1999 kukuk@suse.de +* Fri Oct 08 1999 kukuk@suse.de - Add timezone update * Fri Oct 08 1999 kukuk@suse.de - Add NIS+ shadow parser fix ++++++ glibc-fix-s390-atomics.diff ++++++ Index: sysdeps/s390/bits/atomic.h =================================================================== --- sysdeps/s390/bits/atomic.h.orig +++ sysdeps/s390/bits/atomic.h @@ -56,7 +56,7 @@ typedef uintmax_t uatomic_max_t; __typeof (*mem) __archold = (oldval); \ __asm __volatile ("cs %0,%2,%1" \ : "+d" (__archold), "=Q" (*__archmem) \ - : "d" (newval), "m" (*__archmem) : "cc" ); \ + : "d" (newval), "m" (*__archmem) : "cc", "memory" ); \ __archold; }) #ifdef __s390x__ @@ -65,7 +65,7 @@ typedef uintmax_t uatomic_max_t; __typeof (*mem) __archold = (oldval); \ __asm __volatile ("csg %0,%2,%1" \ : "+d" (__archold), "=Q" (*__archmem) \ - : "d" ((long) (newval)), "m" (*__archmem) : "cc" ); \ + : "d" ((long) (newval)), "m" (*__archmem) : "cc", "memory" ); \ __archold; }) #else /* For 31 bit we do not really need 64-bit compare-and-exchange. We can ++++++ res_send.diff ++++++ --- resolv/res_send.c +++ resolv/res_send.c @@ -784,7 +784,7 @@ send_vc(res_state statp, #else int aligned_resplen = ((resplen + __alignof__ (HEADER) - 1) - & (__alignof__ (HEADER) - 1)); + & ~(__alignof__ (HEADER) - 1)); *anssizp2 = orig_anssizp - aligned_resplen; *ansp2 = *ansp + aligned_resplen; #endif @@ -1058,8 +1058,16 @@ send_dg(res_state statp, /* No buffer allocated for the first reply. We can try to use the rest of the user-provided buffer. */ +#ifdef _STRING_ARCH_unaligned *anssizp2 = orig_anssizp - resplen; *ansp2 = *ansp + resplen; +#else + int aligned_resplen + = ((resplen + __alignof__ (HEADER) - 1) + & ~(__alignof__ (HEADER) - 1)); + *anssizp2 = orig_anssizp - aligned_resplen; + *ansp2 = *ansp + aligned_resplen; +#endif } else { /* The first reply did not fit into the user-provided buffer. Maybe the second ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de