2.3.5-5
[glibc.git] / fedora / glibc.spec.in
bloba2351e222d69fabed9986a0a6dfd32598c29e6c9
1 %define glibcrelease 5
2 %define auxarches i586 i686 athlon sparcv9 alphaev6
3 %define prelinkarches noarch
4 %define nptlarches i386 i686 athlon x86_64 ia64 s390 s390x sparcv9 sparc64 ppc ppc64
5 %define withtlsarches i386 i686 athlon x86_64 ia64 s390 s390x alpha alphaev6 sparc sparcv9 sparc64 ppc ppc64
6 %define xenarches i686 athlon
7 %ifarch %{xenarches}
8 %define buildxen 1
9 %define xenpackage 0
10 %else
11 %define buildxen 0
12 %define xenpackage 0
13 %endif
14 %define rtkaioarches noarch
15 %define debuginfocommonarches %{ix86} alpha alphaev6 sparc sparcv9
16 %define _unpackaged_files_terminate_build 0
17 Summary: The GNU libc libraries.
18 Name: glibc
19 Version: %{glibcversion}
20 Release: %{glibcrelease}
21 License: LGPL
22 Group: System Environment/Libraries
23 Source0: %{glibcsrcdir}.tar.bz2
24 %if %{glibc_release_tarballs}
25 Source1: %(echo %{glibcsrcdir} | sed s/glibc-/glibc-linuxthreads-/).tar.bz2
26 Source2: %(echo %{glibcsrcdir} | sed s/glibc-/glibc-libidn-/).tar.bz2
27 %define glibc_release_unpack -a1 -a2
28 %endif
29 Source3: %{glibcname}-fedora-%{glibcdate}.tar.bz2
30 Patch0: %{glibcname}-fedora.patch
31 Patch1: %{name}-nptl-check.patch
32 Patch2: %{name}-ppc-assume.patch
33 Patch3: %{name}-ia64-lib64.patch
34 Buildroot: %{_tmppath}/glibc-%{PACKAGE_VERSION}-root
35 Obsoletes: zoneinfo, libc-static, libc-devel, libc-profile, libc-headers,
36 Obsoletes: linuxthreads, gencat, locale, ldconfig, locale-ja
37 Provides: ldconfig
38 Autoreq: false
39 Requires: glibc-common = %{version}-%{release}
40 %ifarch sparc
41 Obsoletes: libc
42 %endif
43 # Require libgcc in case some program calls pthread_cancel in its %%post
44 Prereq: basesystem, libgcc
45 # This is for building auxiliary programs like memusage, nscd
46 # For initial glibc bootstraps it can be commented out
47 BuildPreReq: gd-devel libpng-devel zlib-devel texinfo, libselinux-devel >= 1.17.10-1
48 BuildPreReq: sed >= 3.95
49 %ifarch %{prelinkarches}
50 BuildPreReq: prelink >= 0.2.0-5
51 %endif
52 # This is to ensure that __frame_state_for is exported by glibc
53 # will be compatible with egcs 1.x.y
54 BuildPreReq: gcc >= 3.2
55 Conflicts: rpm <= 4.0-0.65
56 Conflicts: glibc-devel < 2.2.3
57 Conflicts: gcc4 <= 4.0.0-0.6
58 # Earlier shadow-utils packages had too restrictive permissions on
59 # /etc/default
60 Conflicts: shadow-utils < 2:4.0.3-20
61 Conflicts: nscd < 2.3.3-52
62 %ifarch ia64 sparc64 s390x x86_64
63 Conflicts: kernel < 2.4.0
64 %define enablekernel 2.4.0
65 %else
66 %ifarch ppc64
67 Conflicts: kernel < 2.4.19
68 %define enablekernel 2.4.19
69 %else
70 %define enablekernel 2.2.5
71 %ifarch i686 athlon
72 %define enablekernelltfs 2.4.1
73 %endif
74 %endif
75 %endif
76 %ifarch %{nptlarches}
77 %define enablekernelnptl 2.4.20
78 %ifarch i386
79 %define nptl_target_cpu i486
80 %else
81 %define nptl_target_cpu %{_target_cpu}
82 %endif
83 %endif
84 # Need AS_NEEDED directive
85 BuildRequires: binutils >= 2.15.94.0.2-1
86 BuildRequires: gcc >= 3.2.1-5
87 %if "%{_enable_debug_packages}" == "1"
88 BuildPreReq: elfutils >= 0.72
89 BuildPreReq: rpm >= 4.2-0.56
90 %endif
91 %define __find_provides %{_builddir}/%{glibcsrcdir}/find_provides.sh
92 %define _filter_GLIBC_PRIVATE 1
94 %description
95 The glibc package contains standard libraries which are used by
96 multiple programs on the system. In order to save disk space and
97 memory, as well as to make upgrading easier, common system code is
98 kept in one place and shared between programs. This particular package
99 contains the most important sets of shared libraries: the standard C
100 library and the standard math library. Without these two libraries, a
101 Linux system will not function.
103 %if %{xenpackage}
104 %package xen
105 Summary: The GNU libc libraries (optimized for running under Xen)
106 Group: System Environment/Libraries
107 Requires: glibc = %{version}-%{release}, glibc-utils = %{version}-%{release}
109 %description xen
110 The standard glibc package is optimized for native kernels and does not
111 perform as well under the Xen hypervisor. This package provides alternative
112 library binaries that will be selected instead when running under Xen.
114 Install glibc-xen if you might run your system under the Xen hypervisor.
115 %endif
117 %package devel
118 Summary: Object files for development using standard C libraries.
119 Group: Development/Libraries
120 Conflicts: texinfo < 3.11
121 # Need AS_NEEDED directive
122 Conflicts: binutils < 2.15.94.0.2-1
123 Prereq: /sbin/install-info
124 Obsoletes: libc-debug, libc-headers, libc-devel
125 Obsoletes: glibc-debug, nptl-devel
126 Prereq: %{name}-headers
127 Requires: %{name}-headers = %{version}-%{release}, %{name} = %{version}-%{release}
128 %ifarch %{ix86}
129 # Earlier gcc's had atexit reference in crtendS.o, which does not
130 # work with this glibc where atexit is in libc_nonshared.a
131 Conflicts: gcc < 2.96-79
132 %endif
133 Autoreq: true
135 %description devel
136 The glibc-devel package contains the object files necessary
137 for developing programs which use the standard C libraries (which are
138 used by nearly all programs). If you are developing programs which
139 will use the standard C libraries, your system needs to have these
140 standard object files available in order to create the
141 executables.
143 Install glibc-devel if you are going to develop programs which will
144 use the standard C libraries.
146 %package headers
147 Summary: Header files for development using standard C libraries.
148 Group: Development/Libraries
149 Provides: %{name}-headers(%{_target_cpu})
150 %ifarch x86_64
151 # If both -m32 and -m64 is to be supported on AMD64, x86_64 glibc-headers
152 # have to be installed, not i386 ones.
153 Obsoletes: %{name}-headers(i386)
154 %endif
155 Obsoletes: libc-debug, libc-headers, libc-devel
156 Prereq: kernel-headers
157 Requires: kernel-headers >= 2.2.1, %{name} = %{version}-%{release}
158 Autoreq: true
160 %description headers
161 The glibc-headers package contains the header files necessary
162 for developing programs which use the standard C libraries (which are
163 used by nearly all programs). If you are developing programs which
164 will use the standard C libraries, your system needs to have these
165 standard header files available in order to create the
166 executables.
168 Install glibc-headers if you are going to develop programs which will
169 use the standard C libraries.
171 %ifarch %{nptlarches}
172 %ifnarch %{auxarches}
173 %package -n linuxthreads-devel
174 Summary: Header files and static libraries for development using LinuxThreads library.
175 Group: Development/Libraries
176 Requires: glibc-devel = %{version}-%{release}
177 Autoreq: true
179 %description -n linuxthreads-devel
180 The linuxthreads-devel package contains the header and object files necessary
181 for developing programs which can use the LinuxThreads library (normally
182 newly linked programs will work only with NPTL). To compile and link
183 a program against LinuxThreads libraries, use
184 -I/usr/include/linuxthreads -L/usr/%{_lib}/linuxthreads \\
185 -Wl,-rpath-link,/%{_lib}/obsolete/linuxthreads
186 %endif
187 %endif
189 %package profile
190 Summary: The GNU libc libraries, including support for gprof profiling.
191 Group: Development/Libraries
192 Obsoletes: libc-profile
193 Autoreq: true
195 %description profile
196 The glibc-profile package includes the GNU libc libraries and support
197 for profiling using the gprof program. Profiling is analyzing a
198 program's functions to see how much CPU time they use and determining
199 which functions are calling other functions during execution. To use
200 gprof to profile a program, your program needs to use the GNU libc
201 libraries included in glibc-profile (instead of the standard GNU libc
202 libraries included in the glibc package).
204 If you are going to use the gprof program to profile a program, you'll
205 need to install the glibc-profile package.
207 %package common
208 Summary: Common binaries and locale data for glibc
209 Conflicts: %{name} < %{version}
210 Conflicts: %{name} > %{version}
211 Autoreq: false
212 Requires: tzdata >= 2003a
213 Group: System Environment/Base
215 %description common
216 The glibc-common package includes common binaries for the GNU libc
217 libraries, as well as national language (locale) support.
219 %package -n nscd
220 Summary: A Name Service Caching Daemon (nscd).
221 Group: System Environment/Daemons
222 Conflicts: kernel < 2.2.0
223 Requires: libselinux >= 1.17.10-1
224 Conflicts: selinux-policy-targeted < 1.17.30-2.2
225 Prereq: /sbin/chkconfig, /usr/sbin/useradd, /usr/sbin/userdel, sh-utils
226 Autoreq: true
228 %description -n nscd
229 Nscd caches name service lookups and can dramatically improve
230 performance with NIS+, and may help with DNS as well. Note that you
231 can't use nscd with 2.0 kernels because of bugs in the kernel-side
232 thread support. Unfortunately, nscd happens to hit these bugs
233 particularly hard.
235 %package utils
236 Summary: Development utilities from GNU C library
237 Group: Development/Tools
238 Requires: glibc = %{version}-%{release}
240 %description utils
241 The glibc-utils package contains memusage, a memory usage profiler,
242 mtrace, a memory leak tracer and xtrace, a function call tracer
243 which can be helpful during program debugging.
245 If unsure if you need this, don't install this package.
247 %if "%{_enable_debug_packages}" == "1"
248 %define debug_package %{nil}
250 %package debuginfo
251 Summary: Debug information for package %{name}
252 Group: Development/Debug
253 %ifarch %{debuginfocommonarches}
254 Requires: glibc-debuginfo-common = %{version}-%{release}
255 %endif
257 %description debuginfo
258 This package provides debug information for package %{name}.
259 Debug information is useful when developing applications that use this
260 package or when debugging this package.
262 This package also contains static standard C libraries with
263 debugging information. You need this only if you want to step into
264 C library routines during debugging programs statically linked against
265 one or more of the standard C libraries.
266 To use this debugging information, you need to link binaries
267 with -static -L%{_prefix}/lib/debug%{_prefix}/%{_lib} compiler options.
269 %ifarch %{debuginfocommonarches}
271 %package debuginfo-common
272 Summary: Debug information for package %{name}
273 Group: Development/Debug
275 %description debuginfo-common
276 This package provides debug information for package %{name}.
277 Debug information is useful when developing applications that use this
278 package or when debugging this package.
280 %endif
281 %endif
283 %prep
284 %setup -q -n %{glibcsrcdir} %{glibc_release_unpack} -a3
285 %patch0 -E -p1
286 case "`gcc --version | head -1`" in
287 gcc*\ 3.[34]*)
288 %ifarch %{nptlarches}
289 %patch1 -p1
290 %endif
292 gcc*\ 3.2.3*)
293 case "`uname -r`" in *.ent*|*.EL*)
294 %patch2 -p1
295 ;; esac ;;
296 esac
297 %ifarch ia64
298 %if "%{_lib}" == "lib64"
299 %patch3 -p1
300 %endif
301 %endif
303 # Hack till glibc-kernheaders get updated, argh
304 mkdir asm
305 cat > asm/unistd.h <<EOF
306 #ifndef _HACK_ASM_UNISTD_H
307 #include_next <asm/unistd.h>
308 %ifarch alpha
309 #ifndef __NR_stat64
310 #define __NR_stat64 425
311 #define __NR_lstat64 426
312 #define __NR_fstat64 427
313 #endif
314 #ifndef __NR_mq_open
315 #define __NR_mq_open 432
316 #define __NR_mq_unlink 433
317 #define __NR_mq_timedsend 434
318 #define __NR_mq_timedreceive 435
319 #define __NR_mq_notify 436
320 #define __NR_mq_getsetattr 437
321 #endif
322 #ifndef __NR_waitid
323 #define __NR_waitid 438
324 #endif
325 %endif
326 %ifarch %{ix86}
327 #ifndef __NR_mq_open
328 #define __NR_mq_open 277
329 #define __NR_mq_unlink (__NR_mq_open+1)
330 #define __NR_mq_timedsend (__NR_mq_open+2)
331 #define __NR_mq_timedreceive (__NR_mq_open+3)
332 #define __NR_mq_notify (__NR_mq_open+4)
333 #define __NR_mq_getsetattr (__NR_mq_open+5)
334 #endif
335 #ifndef __NR_waitid
336 #define __NR_waitid 284
337 #endif
338 %endif
339 %ifarch ia64
340 #ifndef __NR_timer_create
341 #define __NR_timer_create 1248
342 #define __NR_timer_settime 1249
343 #define __NR_timer_gettime 1250
344 #define __NR_timer_getoverrun 1251
345 #define __NR_timer_delete 1252
346 #define __NR_clock_settime 1253
347 #define __NR_clock_gettime 1254
348 #define __NR_clock_getres 1255
349 #define __NR_clock_nanosleep 1256
350 #endif
351 #ifndef __NR_mq_open
352 #define __NR_mq_open 1262
353 #define __NR_mq_unlink 1263
354 #define __NR_mq_timedsend 1264
355 #define __NR_mq_timedreceive 1265
356 #define __NR_mq_notify 1266
357 #define __NR_mq_getsetattr 1267
358 #endif
359 #ifndef __NR_waitid
360 #define __NR_waitid 1270
361 #endif
362 %endif
363 %ifarch ppc
364 #ifndef __NR_utimes
365 #define __NR_utimes 251
366 #endif
367 #ifndef __NR_statfs64
368 #define __NR_statfs64 252
369 #define __NR_fstatfs64 253
370 #endif
371 #ifndef __NR_fadvise64_64
372 #define __NR_fadvise64_64 254
373 #endif
374 #ifndef __NR_mq_open
375 #define __NR_mq_open 262
376 #define __NR_mq_unlink 263
377 #define __NR_mq_timedsend 264
378 #define __NR_mq_timedreceive 265
379 #define __NR_mq_notify 266
380 #define __NR_mq_getsetattr 267
381 #endif
382 %endif
383 %ifarch ppc64
384 #ifndef __NR_utimes
385 #define __NR_utimes 251
386 #endif
387 #ifndef __NR_mq_open
388 #define __NR_mq_open 262
389 #define __NR_mq_unlink 263
390 #define __NR_mq_timedsend 264
391 #define __NR_mq_timedreceive 265
392 #define __NR_mq_notify 266
393 #define __NR_mq_getsetattr 267
394 #endif
395 %endif
396 %ifarch s390
397 #ifndef __NR_timer_create
398 #define __NR_timer_create 254
399 #define __NR_timer_settime (__NR_timer_create+1)
400 #define __NR_timer_gettime (__NR_timer_create+2)
401 #define __NR_timer_getoverrun (__NR_timer_create+3)
402 #define __NR_timer_delete (__NR_timer_create+4)
403 #define __NR_clock_settime (__NR_timer_create+5)
404 #define __NR_clock_gettime (__NR_timer_create+6)
405 #define __NR_clock_getres (__NR_timer_create+7)
406 #define __NR_clock_nanosleep (__NR_timer_create+8)
407 #endif
408 #ifndef __NR_fadvise64_64
409 #define __NR_fadvise64_64 264
410 #endif
411 #ifndef __NR_statfs64
412 #define __NR_statfs64 265
413 #define __NR_fstatfs64 266
414 #endif
415 #ifndef __NR_mq_open
416 #define __NR_mq_open 271
417 #define __NR_mq_unlink 272
418 #define __NR_mq_timedsend 273
419 #define __NR_mq_timedreceive 274
420 #define __NR_mq_notify 275
421 #define __NR_mq_getsetattr 276
422 #endif
423 %endif
424 %ifarch s390x
425 #ifndef __NR_timer_create
426 #define __NR_timer_create 254
427 #define __NR_timer_settime (__NR_timer_create+1)
428 #define __NR_timer_gettime (__NR_timer_create+2)
429 #define __NR_timer_getoverrun (__NR_timer_create+3)
430 #define __NR_timer_delete (__NR_timer_create+4)
431 #define __NR_clock_settime (__NR_timer_create+5)
432 #define __NR_clock_gettime (__NR_timer_create+6)
433 #define __NR_clock_getres (__NR_timer_create+7)
434 #define __NR_clock_nanosleep (__NR_timer_create+8)
435 #endif
436 #ifndef __NR_mq_open
437 #define __NR_mq_open 271
438 #define __NR_mq_unlink 272
439 #define __NR_mq_timedsend 273
440 #define __NR_mq_timedreceive 274
441 #define __NR_mq_notify 275
442 #define __NR_mq_getsetattr 276
443 #endif
444 %endif
445 %ifarch sparc sparc64
446 #ifndef __NR_mq_open
447 #define __NR_mq_open 273
448 #define __NR_mq_unlink 274
449 #define __NR_mq_timedsend 275
450 #define __NR_mq_timedreceive 276
451 #define __NR_mq_notify 277
452 #define __NR_mq_getsetattr 278
453 #endif
454 #ifndef __NR_waitid
455 #define __NR_waitid 279
456 #endif
457 %endif
458 %ifarch x86_64
459 #ifndef __NR_mq_open
460 #define __NR_mq_open 240
461 #define __NR_mq_unlink 241
462 #define __NR_mq_timedsend 242
463 #define __NR_mq_timedreceive 243
464 #define __NR_mq_notify 244
465 #define __NR_mq_getsetattr 245
466 #endif
467 #ifndef __NR_waitid
468 #define __NR_waitid 247
469 #endif
470 %endif
471 #endif
474 %ifnarch %{ix86} alpha alphaev6 sparc sparcv9
475 rm -rf glibc-compat
476 %endif
478 # A lot of programs still misuse memcpy when they have to use
479 # memmove. The memcpy implementation below is not tolerant at
480 # all.
481 rm -f sysdeps/alpha/alphaev6/memcpy.S
483 find . -type f -size 0 -o -name "*.orig" -exec rm -f {} \;
484 cat > find_provides.sh <<EOF
485 #!/bin/sh
486 /usr/lib/rpm/find-provides | grep -v GLIBC_PRIVATE
487 exit 0
489 chmod +x find_provides.sh
490 touch `find . -name configure`
492 %build
493 rm -rf build-%{_target_cpu}-linux
494 mkdir build-%{_target_cpu}-linux ; cd build-%{_target_cpu}-linux
495 GCC=gcc
496 %ifarch %{ix86}
497 BuildFlags="-march=%{_target_cpu}"
498 %endif
499 %ifarch i686
500 BuildFlags="-march=i686 -mtune=pentium4"
501 %endif
502 %ifarch alphaev6
503 BuildFlags="-mcpu=ev6"
504 %endif
505 %ifarch sparc
506 BuildFlags="-fcall-used-g6"
507 GCC="gcc -m32"
508 %endif
509 %ifarch sparcv9
510 BuildFlags="-mcpu=ultrasparc -fcall-used-g6"
511 GCC="gcc -m32"
512 %endif
513 %ifarch sparc64
514 BuildFlags="-mcpu=ultrasparc -mvis -fcall-used-g6"
515 GCC="gcc -m64"
516 %endif
517 %ifarch ppc64
518 BuildFlags="-mno-minimal-toc"
519 GCC="gcc -m64"
520 %endif
522 # If gcc supports __thread, test it even in --with-tls --without-__thread
523 # builds.
524 if echo '__thread int a;' | $GCC -xc - -S -o /dev/null 2>/dev/null; then
525 sed -ie 's/0 [|][|]/1 ||/' ../elf/tst-tls10.h ../linuxthreads/tst-tls1.h
528 BuildFlags="$BuildFlags -DNDEBUG=1"
529 if gcc -v 2>&1 | grep -q 'gcc version 3.[0123]'; then
530 BuildFlags="$BuildFlags -finline-limit=2000"
532 EnableKernel="--enable-kernel=%{enablekernel}"
533 echo "$BuildFlags" > ../BuildFlags
534 echo "$GCC" > ../Gcc
535 AddOns=`cd .. && echo */configure | sed -e 's!/configure!!g;s!\(linuxthreads\|nptl\|rtkaio\)\( \|$\)!!g;s! \+$!!;s! !,!g;s!^!,!;/^,\*$/d'`
536 echo "$AddOns" > ../AddOns
537 Pthreads=linuxthreads
538 %ifarch %{withtlsarches}
539 WithTls="--with-tls --without-__thread"
540 %else
541 WithTls="--without-tls --without-__thread"
542 %endif
543 CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \
544 --enable-add-ons=$Pthreads$AddOns --without-cvs $EnableKernel \
545 --with-headers=%{_prefix}/include --enable-bind-now \
546 $WithTls --build %{_target_cpu}-redhat-linux --host %{_target_cpu}-redhat-linux
547 if [ -x /usr/bin/getconf ] ; then
548 numprocs=$(/usr/bin/getconf _NPROCESSORS_ONLN)
549 if [ $numprocs -eq 0 ]; then
550 numprocs=1
552 else
553 numprocs=1
555 make -j$numprocs -r CFLAGS="$BuildFlags -g -O3" PARALLELMFLAGS=-s
556 $GCC -static -L. -Os ../fedora/glibc_post_upgrade.c -o glibc_post_upgrade.%{_target_cpu} \
557 %ifarch i386
558 -DARCH_386 \
559 %endif
560 '-DLIBTLS="/%{_lib}/tls/"' \
561 '-DGCONV_MODULES_DIR="%{_prefix}/%{_lib}/gconv"' \
562 '-DLD_SO_CONF="/etc/ld.so.conf"' \
563 '-DICONVCONFIG="%{_sbindir}/iconvconfig.%{_target_cpu}"'
564 cd ..
566 # hack
567 unset LD_ASSUME_KERNEL || :
569 %ifarch %{rtkaioarches}
570 AddOns=,rtkaio$AddOns
571 %endif
573 %ifarch i686 athlon
574 rm -rf build-%{_target_cpu}-linuxltfs
575 mkdir build-%{_target_cpu}-linuxltfs ; cd build-%{_target_cpu}-linuxltfs
576 EnableKernel="--enable-kernel=%{enablekernelltfs} --disable-profile"
577 Pthreads=linuxthreads
578 %ifarch %{withtlsarches}
579 WithTls="--with-tls --without-__thread"
580 %else
581 WithTls="--without-tls --without-__thread"
582 %endif
583 CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \
584 --enable-add-ons=$Pthreads$AddOns --without-cvs $EnableKernel \
585 --with-headers=%{_prefix}/include --enable-bind-now \
586 $WithTls --build %{_target_cpu}-redhat-linux --host %{_target_cpu}-redhat-linux
587 make -j$numprocs -r CFLAGS="$BuildFlags -g -O3" PARALLELMFLAGS=-s
589 cd ..
590 %endif
592 %ifarch %{nptlarches}
593 build_nptl()
595 builddir=build-%{nptl_target_cpu}-$1
596 shift
597 rm -rf $builddir
598 mkdir $builddir ; cd $builddir
599 EnableKernel="--enable-kernel=%{enablekernelnptl} --disable-profile"
600 Pthreads=nptl
601 WithTls="--with-tls --with-__thread"
602 build_CFLAGS="$BuildFlags -g -O3 $*"
603 CC="$GCC" CFLAGS="$build_CFLAGS" ../configure --prefix=%{_prefix} \
604 --enable-add-ons=$Pthreads$AddOns --without-cvs $EnableKernel \
605 --with-headers=%{_prefix}/include --enable-bind-now \
606 $WithTls --build %{nptl_target_cpu}-redhat-linux --host %{nptl_target_cpu}-redhat-linux
607 make -j$numprocs -r CFLAGS="$build_CFLAGS" PARALLELMFLAGS=-s
609 cd ..
612 build_nptl linuxnptl
614 %if %{buildxen}
615 build_nptl linuxnptl-nosegneg -mno-tls-direct-seg-refs
616 %endif
617 %endif
619 %install
620 # hack
621 unset LD_ASSUME_KERNEL || :
623 BuildFlags=`cat BuildFlags`
624 GCC=`cat Gcc`
625 AddOns=`cat AddOns`
627 %ifarch %{rtkaioarches}
628 AddOns=,rtkaio$AddOns
629 %endif
631 if [ -x /usr/bin/getconf ] ; then
632 numprocs=$(/usr/bin/getconf _NPROCESSORS_ONLN)
633 if [ $numprocs -eq 0 ]; then
634 numprocs=1
636 else
637 numprocs=1
639 rm -rf $RPM_BUILD_ROOT
640 mkdir -p $RPM_BUILD_ROOT
641 make -j1 install_root=$RPM_BUILD_ROOT install -C build-%{_target_cpu}-linux PARALLELMFLAGS=-s
642 %ifnarch %{auxarches}
643 cd build-%{_target_cpu}-linux && \
644 make -j$numprocs install_root=$RPM_BUILD_ROOT install-locales -C ../localedata objdir=`pwd` && \
645 cd ..
646 %endif
648 SubDir=
650 %ifarch i686 athlon
651 cd build-%{_target_cpu}-linuxltfs
652 Pthreads=linuxthreads
653 %ifarch %{nptlarches}
654 SubDir=obsolete/linuxthreads/i686
655 %else
656 SubDir=i686
657 %endif
658 mkdir -p $RPM_BUILD_ROOT/lib/$SubDir/
659 cp -a libc.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libc-*.so`
660 ln -sf `basename $RPM_BUILD_ROOT/lib/libc-*.so` $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libc.so.*`
661 cp -a math/libm.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libm-*.so`
662 ln -sf `basename $RPM_BUILD_ROOT/lib/libm-*.so` $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libm.so.*`
663 cp -a $Pthreads/libpthread.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libpthread-*.so`
664 pushd $RPM_BUILD_ROOT/lib/$SubDir
665 ln -sf libpthread-*.so `basename $RPM_BUILD_ROOT/lib/libpthread.so.*`
666 popd
667 %ifarch %{rtkaioarches}
668 cp -a rtkaio/librtkaio.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/librt-*.so | sed s/librt-/librtkaio-/`
669 ln -sf `basename $RPM_BUILD_ROOT/lib/librt-*.so | sed s/librt-/librtkaio-/` $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/librt.so.*`
670 %else
671 cp -a rt/librt.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/librt-*.so`
672 ln -sf `basename $RPM_BUILD_ROOT/lib/librt-*.so` $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/librt.so.*`
673 %endif
675 cd ..
676 %endif
678 %ifarch %{nptlarches}
679 ObsDir=obsolete/linuxthreads
680 mkdir -p $RPM_BUILD_ROOT/%{_lib}/obsolete/linuxthreads
681 mv -f $RPM_BUILD_ROOT/%{_lib}/lib{c,m,pthread,rt,thread_db}[.-]*so* $RPM_BUILD_ROOT/%{_lib}/obsolete/linuxthreads/
683 install_nptl() {
684 cd build-%{nptl_target_cpu}-$1
685 Pthreads=nptl
686 SubDir=$2
687 mkdir -p $RPM_BUILD_ROOT/%{_lib}/$SubDir/
688 cp -a libc.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/libc-*.so`
689 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/libc-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/libc.so.*`
690 cp -a math/libm.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/libm-*.so`
691 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/libm-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/libm.so.*`
692 cp -a $Pthreads/libpthread.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/libpthread-%{version}.so
693 pushd $RPM_BUILD_ROOT/%{_lib}/$SubDir
694 ln -sf libpthread-*.so `basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/libpthread.so.*`
695 popd
696 %ifarch %{rtkaioarches}
697 cp -a rtkaio/librtkaio.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/librt-*.so | sed s/librt-/librtkaio-/`
698 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/librt-*.so | sed s/librt-/librtkaio-/` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/librt.so.*`
699 %else
700 cp -a rt/librt.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/librt-*.so`
701 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/librt-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/librt.so.*`
702 %endif
703 cp -a ${Pthreads}_db/libthread_db.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/libthread_db-*.so`
704 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/libthread_db-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/$ObsDir/libthread_db.so.*`
707 install_nptl linuxnptl
709 mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_lib}/linuxthreads
710 mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/{libc,libpthread,libpthread_nonshared,librt}.a \
711 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/linuxthreads/
712 cp -a libc.a nptl/libpthread.a nptl/libpthread_nonshared.a rt/librt.a \
713 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/
714 sed "s| /%{_lib}/| /%{_lib}/$ObsDir/|" $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libc.so \
715 > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/linuxthreads/libc.so
716 sed "s| /%{_lib}/| /%{_lib}/$ObsDir/|;s|/libpthread_nonshared|/linuxthreads&|" $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libpthread.so \
717 > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/linuxthreads/libpthread.so
718 %ifarch %{rtkaioarches}
719 ln -sf /%{_lib}/$ObsDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed 's/librt-/librtkaio-/'` \
720 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/linuxthreads/librt.so
721 %else
722 ln -sf /%{_lib}/$ObsDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so` \
723 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/linuxthreads/librt.so
724 %endif
725 strip -g $RPM_BUILD_ROOT%{_prefix}/%{_lib}/linuxthreads/*.a
726 mkdir -p $RPM_BUILD_ROOT/nptl $RPM_BUILD_ROOT%{_prefix}/include/linuxthreads
727 make -j1 install_root=$RPM_BUILD_ROOT/nptl install-headers PARALLELMFLAGS=-s
728 pushd $RPM_BUILD_ROOT/nptl%{_prefix}/include
729 for i in `find . -type f`; do
730 if ! [ -f $RPM_BUILD_ROOT%{_prefix}/include/$i ] \
731 || ! cmp -s $i $RPM_BUILD_ROOT%{_prefix}/include/$i; then
732 mkdir -p $RPM_BUILD_ROOT%{_prefix}/include/linuxthreads/`dirname $i`
733 if [ -f $RPM_BUILD_ROOT%{_prefix}/include/$i ]; then
734 cp -a $RPM_BUILD_ROOT%{_prefix}/include/{,linuxthreads/}$i
736 cp -a $i $RPM_BUILD_ROOT%{_prefix}/include/$i
738 done
739 popd
740 rm -rf $RPM_BUILD_ROOT/nptl
742 cd ..
744 %if %{buildxen}
745 %define nosegneg_subdir i686/nosegneg
746 install_nptl linuxnptl-nosegneg %{nosegneg_subdir}
747 cd ..
748 %endif
750 %endif
752 # compatibility hack: this locale has vanished from glibc, but some other
753 # programs are still using it. Normally we would handle it in the %pre
754 # section but with glibc that is simply not an option
755 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/locale/ru_RU/LC_MESSAGES
757 # Remove the files we don't want to distribute
758 rm -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libNoVersion*
759 %ifnarch %{ix86} alpha alphaev6 sparc sparcv9
760 rm -f $RPM_BUILD_ROOT/%{_lib}/libNoVersion*
761 %endif
763 # the man pages for the linuxthreads require special attention
764 make -C linuxthreads/man
765 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3
766 install -m 0644 linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
767 gzip -9nvf $RPM_BUILD_ROOT%{_mandir}/man3/*
769 if [ -d $RPM_BUILD_ROOT%{_prefix}/info -a "%{_infodir}" != "%{_prefix}/info" ]; then
770 mkdir -p $RPM_BUILD_ROOT%{_infodir}
771 mv -f $RPM_BUILD_ROOT%{_prefix}/info/* $RPM_BUILD_ROOT%{_infodir}
772 rm -rf $RPM_BUILD_ROOT%{_prefix}/info
775 gzip -9nvf $RPM_BUILD_ROOT%{_infodir}/libc*
777 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libbsd.a
779 install -p -m 644 fedora/nsswitch.conf $RPM_BUILD_ROOT/etc/nsswitch.conf
781 mkdir -p $RPM_BUILD_ROOT/etc/default
782 install -p -m 644 nis/nss $RPM_BUILD_ROOT/etc/default/nss
784 # Take care of setuids
785 # -- new security review sez that this shouldn't be needed anymore
786 #chmod 755 $RPM_BUILD_ROOT%{_prefix}/libexec/pt_chown
788 # This is for ncsd - in glibc 2.2
789 install -m 644 nscd/nscd.conf $RPM_BUILD_ROOT/etc
790 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
791 install -m 755 nscd/nscd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
793 # Don't include ld.so.cache
794 rm -f $RPM_BUILD_ROOT/etc/ld.so.cache
796 # Include ld.so.conf
797 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT/etc/ld.so.conf
798 touch $RPM_BUILD_ROOT/etc/ld.so.cache
799 chmod 644 $RPM_BUILD_ROOT/etc/ld.so.conf
800 mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
802 # Include %{_prefix}/%{_lib}/gconv/gconv-modules.cache
803 > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/gconv-modules.cache
804 chmod 644 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/gconv-modules.cache
806 # Install the upgrade program
807 install -m 700 build-%{_target_cpu}-linux/glibc_post_upgrade.%{_target_cpu} \
808 $RPM_BUILD_ROOT/usr/sbin/glibc_post_upgrade.%{_target_cpu}
810 strip -g $RPM_BUILD_ROOT%{_prefix}/%{_lib}/*.o
812 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}
813 cp -a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/*.a \
814 $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}/
815 rm -f $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}/*_p.a
816 # Now strip debugging info from static libraries
817 pushd $RPM_BUILD_ROOT%{_prefix}/%{_lib}/
818 for i in *.a; do
819 if [ -f $i ]; then
820 case "$i" in
821 *_p.a) ;;
822 *) strip -g -R .comment $i ;;
823 esac
825 done
826 popd
828 # rquota.x and rquota.h are now provided by quota
829 rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx]
831 # Hardlink identical locale files together
832 %ifnarch %{auxarches}
833 gcc -O2 -o build-%{_target_cpu}-linux/hardlink fedora/hardlink.c
834 build-%{_target_cpu}-linux/hardlink -vc $RPM_BUILD_ROOT%{_prefix}/lib/locale
835 %endif
837 %ifarch %{ix86} alpha alphaev6 sparc sparcv9
838 rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss1-*
839 rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss-*.so.1
840 %endif
842 # Ugly hack for buggy rpm
843 ln -f ${RPM_BUILD_ROOT}%{_sbindir}/iconvconfig{,.%{_target_cpu}}
845 # BUILD THE FILE LIST
846 find $RPM_BUILD_ROOT -type f -or -type l |
847 sed -e 's|.*/etc|%config &|' \
848 -e 's|.*/gconv/gconv-modules$|%verify(not md5 size mtime) %config(noreplace) &|' \
849 -e 's|.*/gconv/gconv-modules.cache|%verify(not md5 size mtime) &|' \
850 -e '/lib\/debug/d' > rpm.filelist.in
851 for n in %{_prefix}/share %{_prefix}/include %{_prefix}/lib/locale; do
852 find ${RPM_BUILD_ROOT}${n} -type d | \
853 grep -v '%{_prefix}/share$' | \
854 grep -v '\(%{_mandir}\|%{_infodir}\)' | \
855 sed "s/^/%dir /" >> rpm.filelist.in
856 done
858 # primary filelist
859 SHARE_LANG='s|.*/share/locale/\([^/_]\+\).*/LC_MESSAGES/.*\.mo|%lang(\1) &|'
860 LIB_LANG='s|.*/lib/locale/\([^/_]\+\)|%lang(\1) &|'
861 # rpm does not handle %lang() tagged files hardlinked together accross
862 # languages very well, temporarily disable
863 # LIB_LANG=''
864 sed -e "s|$RPM_BUILD_ROOT||" -e "$LIB_LANG" -e "$SHARE_LANG" < rpm.filelist.in |
865 grep -v '/etc/\(localtime\|nsswitch.conf\|ld.so.conf\|ld.so.cache\|default\)' | \
866 grep -v '/%{_lib}/lib\(pcprofile\|memusage\).so' | \
867 grep -v 'bin/\(memusage\|mtrace\|xtrace\|pcprofiledump\)' | \
868 sort > rpm.filelist
870 mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_lib}
871 mv -f $RPM_BUILD_ROOT/%{_lib}/lib{pcprofile,memusage}.so $RPM_BUILD_ROOT%{_prefix}/%{_lib}
872 for i in $RPM_BUILD_ROOT%{_prefix}/bin/{xtrace,memusage}; do
873 cp -a $i $i.tmp
874 sed -e 's~=/%{_lib}/libpcprofile.so~=%{_prefix}/%{_lib}/libpcprofile.so~' \
875 -e 's~=/%{_lib}/libmemusage.so~=%{_prefix}/%{_lib}/libmemusage.so~' \
876 $i.tmp > $i
877 chmod 755 $i; rm -f $i.tmp
878 done
880 grep '%{_prefix}/%{_lib}/lib.*_p\.a' < rpm.filelist > profile.filelist || :
881 grep '%{_infodir}' < rpm.filelist | grep -v '%{_infodir}/dir' > devel.filelist
882 grep '%{_prefix}/include/gnu/stubs-[32164]\+\.h' < rpm.filelist >> devel.filelist || :
884 grep '%{_prefix}/include' < rpm.filelist |
885 egrep -v '%{_prefix}/include/(linuxthreads|gnu/stubs-[32164]+\.h)' \
886 > headers.filelist
888 mv rpm.filelist rpm.filelist.full
889 grep -v '%{_prefix}/%{_lib}/lib.*_p.a' rpm.filelist.full |
890 egrep -v "(%{_prefix}/include)|(%{_infodir})" > rpm.filelist
892 grep '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist >> devel.filelist
893 grep '%{_prefix}/%{_lib}/.*\.o' < rpm.filelist >> devel.filelist
894 grep '%{_prefix}/%{_lib}/lib.*\.so' < rpm.filelist >> devel.filelist
895 grep '%{_mandir}' < rpm.filelist >> devel.filelist
897 mv rpm.filelist rpm.filelist.full
898 grep -v '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist.full |
899 grep -v '%{_prefix}/%{_lib}/.*\.o' |
900 grep -v '%{_prefix}/%{_lib}/lib.*\.so'|
901 grep -v '%{_prefix}/%{_lib}/linuxthreads' |
902 grep -v '%{_mandir}' |
903 grep -v 'nscd' > rpm.filelist
905 grep '%{_prefix}/bin' < rpm.filelist >> common.filelist
906 grep '%{_prefix}/lib/locale' < rpm.filelist >> common.filelist
907 grep '%{_prefix}/libexec/pt_chown' < rpm.filelist >> common.filelist
908 grep '%{_prefix}/sbin/[^gi]' < rpm.filelist >> common.filelist
909 grep '%{_prefix}/share' < rpm.filelist \
910 | grep -v '%{_prefix}/share/zoneinfo' >> common.filelist
912 mv rpm.filelist rpm.filelist.full
913 grep -v '%{_prefix}/bin' < rpm.filelist.full |
914 grep -v '%{_prefix}/lib/locale' |
915 grep -v '%{_prefix}/libexec/pt_chown' |
916 grep -v '%{_prefix}/sbin/[^gi]' |
917 grep -v '%{_prefix}/share' > rpm.filelist
919 > nosegneg.filelist
920 %if %{xenpackage}
921 grep '/%{_lib}/%{nosegneg_subdir}' < rpm.filelist >> nosegneg.filelist
922 mv rpm.filelist rpm.filelist.full
923 grep -v '/%{_lib}/%{nosegneg_subdir}' < rpm.filelist.full > rpm.filelist
924 %endif
926 echo '%{_prefix}/sbin/build-locale-archive' >> common.filelist
927 echo '%{_prefix}/sbin/nscd' > nscd.filelist
929 cat > utils.filelist <<EOF
930 %{_prefix}/%{_lib}/libmemusage.so
931 %{_prefix}/%{_lib}/libpcprofile.so
932 %{_prefix}/bin/memusage
933 %{_prefix}/bin/memusagestat
934 %{_prefix}/bin/mtrace
935 %{_prefix}/bin/pcprofiledump
936 %{_prefix}/bin/xtrace
939 # /etc/localtime
940 rm -f $RPM_BUILD_ROOT/etc/localtime
941 cp -f $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime
942 #ln -sf ..%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime
944 rm -rf $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo
946 cd fedora
947 $GCC -Os -static -o build-locale-archive build-locale-archive.c \
948 ../build-%{_target_cpu}-linux/locale/locarchive.o \
949 ../build-%{_target_cpu}-linux/locale/md5.o \
950 -DDATADIR=\"%{_datadir}\" -DPREFIX=\"%{_prefix}\" \
951 -L../build-%{_target_cpu}-linux
952 install -m 700 build-locale-archive $RPM_BUILD_ROOT/usr/sbin/build-locale-archive
953 cd ..
955 # the last bit: more documentation
956 rm -rf documentation
957 mkdir documentation
958 cp linuxthreads/ChangeLog documentation/ChangeLog.threads
959 cp linuxthreads/Changes documentation/Changes.threads
960 cp linuxthreads/README documentation/README.threads
961 cp linuxthreads/FAQ.html documentation/FAQ-threads.html
962 cp -r linuxthreads/Examples documentation/examples.threads
963 cp crypt/README.ufc-crypt documentation/README.ufc-crypt
964 cp timezone/README documentation/README.timezone
965 cp ChangeLog{,.14,.15} documentation
966 bzip2 -9 documentation/ChangeLog*
968 %ifarch s390x
969 # Compatibility symlink
970 mkdir -p $RPM_BUILD_ROOT/lib
971 ln -sf /%{_lib}/ld64.so.1 $RPM_BUILD_ROOT/lib/ld64.so.1
972 %endif
973 %ifarch ia64
974 %if "%{_lib}" == "lib64"
975 # Compatibility symlink
976 mkdir -p $RPM_BUILD_ROOT/lib
977 ln -sf /%{_lib}/ld-linux-ia64.so.2 $RPM_BUILD_ROOT/lib/ld-linux-ia64.so.2
978 %endif
979 %endif
981 # Increase timeouts
982 export TIMEOUTFACTOR=16
983 echo ====================TESTING=========================
984 cd build-%{_target_cpu}-linux
985 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
986 cd ..
987 %ifarch i686 athlon
988 echo ====================TESTING LINUXTHREADS FS=========
989 cd build-%{_target_cpu}-linuxltfs
990 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
991 cd ..
992 %endif
993 %ifarch %{nptlarches}
994 echo ====================TESTING NPTL====================
995 cd build-%{nptl_target_cpu}-linuxnptl
996 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
997 cd ..
998 %if %{buildxen}
999 echo ====================TESTING NPTL -mno-tls-direct-seg-refs=============
1000 cd build-%{nptl_target_cpu}-linuxnptl-nosegneg
1001 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
1002 cd ..
1003 %endif
1004 %endif
1005 echo ====================TESTING DETAILS=================
1006 for i in `sed -n 's|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p' build-*-linux*/check.log`; do
1007 echo =====$i=====
1008 cat $i || :
1009 echo ============
1010 done
1011 %ifarch i686 athlon
1012 echo ====================TESTING LINUXTHREADS FS LD.SO===
1013 cd build-%{_target_cpu}-linuxltfs
1014 mv elf/ld.so elf/ld.so.orig
1015 cp -a ../build-%{_target_cpu}-linux/elf/ld.so elf/ld.so
1016 find . -name \*.out -exec mv -f '{}' '{}'.origldso \;
1017 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check2.log || :
1018 cd ..
1019 %endif
1020 %ifarch %{nptlarches}
1021 echo ====================TESTING NPTL LD.SO==============
1022 cd build-%{nptl_target_cpu}-linuxnptl
1023 mv elf/ld.so elf/ld.so.orig
1024 cp -a ../build-%{_target_cpu}-linux/elf/ld.so elf/ld.so
1025 find . -name \*.out -exec mv -f '{}' '{}'.origldso \;
1026 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check2.log || :
1027 cd ..
1028 %endif
1029 echo ====================TESTING DETAILS=================
1030 for i in `sed -n 's|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p' build-*-linux*/check2.log`; do
1031 echo =====$i=====
1032 cat $i || :
1033 echo ============
1034 done
1035 echo ====================TESTING END=====================
1036 PLTCMD='/^Relocation section .*\(\.rela\?\.plt\|\.rela\.IA_64\.pltoff\)/,/^$/p'
1037 echo ====================PLT RELOCS LD.SO================
1038 readelf -Wr $RPM_BUILD_ROOT/%{_lib}/ld-*.so | sed -n -e "$PLTCMD"
1039 echo ====================PLT RELOCS LIBC.SO==============
1040 readelf -Wr $RPM_BUILD_ROOT/%{_lib}/$SubDir/libc-*.so | sed -n -e "$PLTCMD"
1041 echo ====================PLT RELOCS END==================
1043 %if "%{_enable_debug_packages}" == "1"
1045 case "$-" in *x*) save_trace=yes;; esac
1046 set +x
1047 echo Building debuginfo subpackage...
1049 blf=debugfiles.list
1050 sf=debugsources.list
1051 cblf=debugcommonfiles.list
1052 csf=debugcommonsources.list
1054 echo -n > $sf
1055 echo -n > $csf
1057 strip $RPM_BUILD_ROOT/{sbin/ldconfig,usr/sbin/glibc_post_upgrade.%{_target_cpu},usr/sbin/build-locale-archive}
1059 # Strip ELF binaries
1060 for f in `cat rpm.filelist nosegneg.filelist \
1061 | grep -v '%%\(dir\|lang\|config\|verify\)'`; do
1062 bf=$RPM_BUILD_ROOT$f
1063 if [ -f $bf -a -x $bf -a ! -h $bf ]; then
1064 if `file $bf 2>/dev/null | grep 'ELF.*, not stripped' | grep -vq 'statically linked'`; then
1065 bd=`dirname $f`
1066 outd=$RPM_BUILD_ROOT/usr/lib/debug$bd
1067 mkdir -p $outd
1068 echo extracting debug info from $f
1069 /usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug -l $sf $bf
1070 bn=`basename $f`
1071 case $f in
1072 /%{_lib}/*) eu-strip -g -f $outd/$bn.debug $bf || :;;
1073 *) eu-strip -f $outd/$bn.debug $bf || :;;
1074 esac
1075 if [ -f $outd/$bn.debug ]; then echo /usr/lib/debug$bd/$bn.debug >> $blf; fi
1078 done
1080 for f in `cat common.filelist utils.filelist nscd.filelist \
1081 | grep -v '%%\(dir\|lang\|config\|verify\)'`; do
1082 bf=$RPM_BUILD_ROOT$f
1083 if [ -f $bf -a -x $bf -a ! -h $bf ]; then
1084 if `file $bf 2>/dev/null | grep 'ELF.*, not stripped' | grep -vq 'statically linked'`; then
1085 bd=`dirname $f`
1086 outd=$RPM_BUILD_ROOT/usr/lib/debug$bd
1087 mkdir -p $outd
1088 echo extracting debug info from $f
1089 /usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug -l $csf $bf
1090 bn=`basename $f`
1091 eu-strip -f $outd/$bn.debug $bf || :
1092 if [ -f $outd/$bn.debug ]; then echo /usr/lib/debug$bd/$bn.debug >> $cblf; fi
1095 done
1097 for f in `find $RPM_BUILD_ROOT/%{_lib} -type l`; do
1098 l=`ls -l $f`
1099 l=${l#* -> }
1100 t=/usr/lib/debug`dirname ${f#$RPM_BUILD_ROOT}`
1101 if grep -q "^$t/$l.debug\$" $blf; then
1102 ln -sf $l.debug $RPM_BUILD_ROOT$t/`basename $f`.debug
1103 echo $t/`basename $f`.debug >> $blf
1104 elif grep -q "^$t.debug/$l\$" $cblf; then
1105 ln -sf $l.debug $RPM_BUILD_ROOT$t/`basename $f`.debug
1106 echo $t/`basename $f`.debug >> $cblf
1108 done
1110 echo Sorting source file lists. Might take a while...
1111 xargs -0 -n 1 echo < $sf | LC_ALL=C grep -v '/<internal>$' | LC_ALL=C sort -u > $sf.sorted
1112 xargs -0 -n 1 echo < $csf | LC_ALL=C grep -v '/<internal>$' | LC_ALL=C sort -u > $csf.sorted
1113 mkdir -p $RPM_BUILD_ROOT/usr/src/debug
1114 cat $sf.sorted $csf.sorted \
1115 | (cd $RPM_BUILD_DIR; LC_ALL=C sort -u | cpio -pdm ${RPM_BUILD_ROOT}/usr/src/debug)
1116 # stupid cpio creates new directories in mode 0700, fixup
1117 find $RPM_BUILD_ROOT/usr/src/debug -type d -print | xargs chmod a+rx
1119 %ifarch %{debuginfocommonarches}
1120 %ifarch %{auxarches}
1121 %ifarch %{ix86}
1122 %define basearch i386
1123 %endif
1124 %ifarch alpha alphaev6
1125 %define basearch alpha
1126 %endif
1127 %ifarch sparc sparcv9
1128 %define basearch sparc
1129 %endif
1130 cat $blf > debuginfo.filelist
1131 find $RPM_BUILD_ROOT/usr/src/debug/%{glibcsrcdir} -type d \
1132 | sed "s#^$RPM_BUILD_ROOT#%%dir #" >> debuginfo.filelist
1133 grep '/generic/\|/linux/\|/%{basearch}/\|/nptl\(_db\)\?/\|^%{glibcsrcdir}/build' \
1134 $sf.sorted | sed 's|^|/usr/src/debug/|' >> debuginfo.filelist
1135 touch debuginfocommon.filelist
1136 %else
1137 ( grep '^%{glibcsrcdir}/build-\|dl-osinfo\.h' $csf.sorted || : ) > $csf.sorted.build
1138 cat $blf > debuginfo.filelist
1139 cat $cblf > debuginfocommon.filelist
1140 grep '^%{glibcsrcdir}/build-\|dl-osinfo\.h' $sf.sorted \
1141 | sed 's|^|/usr/src/debug/|' >> debuginfo.filelist
1142 find $RPM_BUILD_ROOT/usr/src/debug/%{glibcsrcdir} -type d \
1143 | sed "s#^$RPM_BUILD_ROOT#%%dir #" >> debuginfocommon.filelist
1144 ( cat $csf.sorted; grep -v -f $csf.sorted.build $sf.sorted ) \
1145 | grep -v 'dl-osinfo\.h' | LC_ALL=C sort -u \
1146 | sed 's|^|/usr/src/debug/|' >> debuginfocommon.filelist
1147 %endif
1148 %else
1149 cat $blf $cblf | LC_ALL=C sort -u > debuginfo.filelist
1150 echo '/usr/src/debug/%{glibcsrcdir}' >> debuginfo.filelist
1151 %endif
1153 [ "x$save_trace" = xyes ] && set -x
1155 %endif
1157 %ifarch %{auxarches}
1158 case "$-" in *x*) save_trace=yes;; esac
1159 set +x
1160 echo Cutting down the list of unpackaged files
1161 for i in `sed '/%%dir/d;/%%config/d;/%%verify/d;s/%%lang([^)]*) //' \
1162 common.filelist devel.filelist headers.filelist profile.filelist \
1163 utils.filelist nscd.filelist`; do
1164 [ -f "$RPM_BUILD_ROOT$i" ] && rm -f "$RPM_BUILD_ROOT$i" || :
1165 done
1166 [ "x$save_trace" = xyes ] && set -x
1168 %else
1170 mkdir -p $RPM_BUILD_ROOT/var/{db,run}/nscd
1171 touch $RPM_BUILD_ROOT/var/{db,run}/nscd/{passwd,group,hosts}
1172 touch $RPM_BUILD_ROOT/var/run/nscd/{socket,nscd.pid}
1173 %endif
1175 touch $RPM_BUILD_ROOT/%{_prefix}/lib/locale/locale-archive
1177 %post -p /usr/sbin/glibc_post_upgrade.%{_target_cpu}
1179 %postun -p /sbin/ldconfig
1181 %post common -p /usr/sbin/build-locale-archive
1183 %post devel
1184 /sbin/install-info %{_infodir}/libc.info.gz %{_infodir}/dir
1186 %pre headers
1187 # this used to be a link and it is causing nightmares now
1188 if [ -L %{_prefix}/include/scsi ] ; then
1189 rm -f %{_prefix}/include/scsi
1192 %preun devel
1193 if [ "$1" = 0 ]; then
1194 /sbin/install-info --delete %{_infodir}/libc.info.gz %{_infodir}/dir
1197 %post utils -p /sbin/ldconfig
1199 %postun utils -p /sbin/ldconfig
1201 %pre -n nscd
1202 /usr/sbin/useradd -M -o -r -d / -s /sbin/nologin \
1203 -c "NSCD Daemon" -u 28 nscd > /dev/null 2>&1 || :
1205 %post -n nscd
1206 /sbin/chkconfig --add nscd
1208 %preun -n nscd
1209 if [ $1 = 0 ] ; then
1210 service nscd stop > /dev/null 2>&1
1211 /sbin/chkconfig --del nscd
1214 %postun -n nscd
1215 if [ $1 = 0 ] ; then
1216 /usr/sbin/userdel nscd > /dev/null 2>&1 || :
1218 if [ "$1" -ge "1" ]; then
1219 service nscd condrestart > /dev/null 2>&1 || :
1222 %if %{xenpackage}
1223 %post xen -p /sbin/ldconfig
1224 %postun xen -p /sbin/ldconfig
1225 %endif
1227 %clean
1228 rm -rf "$RPM_BUILD_ROOT"
1229 rm -f *.filelist*
1231 %files -f rpm.filelist
1232 %defattr(-,root,root)
1233 %ifarch %{nptlarches}
1234 %dir /%{_lib}/obsolete
1235 %dir /%{_lib}/obsolete/linuxthreads
1236 %ifarch i686 athlon
1237 %dir /%{_lib}/obsolete/linuxthreads/i686
1238 %endif
1239 %else
1240 %ifarch i686 athlon
1241 %dir /lib/i686
1242 %endif
1243 %endif
1244 %if %{buildxen} && !%{xenpackage}
1245 %dir /%{_lib}/%{nosegneg_subdir}
1246 %endif
1247 %ifarch s390x
1248 %dir /lib
1249 /lib/ld64.so.1
1250 %endif
1251 %ifarch ia64
1252 %if "%{_lib}" == "lib64"
1253 %dir /lib
1254 /lib/ld-linux-ia64.so.2
1255 %endif
1256 %endif
1257 %verify(not md5 size mtime) %config(noreplace) /etc/localtime
1258 %verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf
1259 %verify(not md5 size mtime) %config(noreplace) /etc/ld.so.conf
1260 %dir /etc/ld.so.conf.d
1261 %dir %{_prefix}/libexec/getconf
1262 %dir %{_prefix}/%{_lib}/gconv
1263 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
1264 %doc README NEWS INSTALL FAQ BUGS NOTES PROJECTS CONFORMANCE
1265 %doc COPYING COPYING.LIB README.libm LICENSES
1266 %doc hesiod/README.hesiod
1268 %if %{xenpackage}
1269 %files -f nosegneg.filelist xen
1270 %defattr(-,root,root)
1271 %dir /%{_lib}/%{nosegneg_subdir}
1272 %endif
1274 %ifnarch %{auxarches}
1275 %files -f common.filelist common
1276 %defattr(-,root,root)
1277 %attr(0644,root,root) %verify(not md5 size mtime mode) %ghost %config(missingok,noreplace) %{_prefix}/lib/locale/locale-archive
1278 %dir %attr(755,root,root) /etc/default
1279 %verify(not md5 size mtime) %config(noreplace) /etc/default/nss
1280 %doc documentation/*
1282 %files -f devel.filelist devel
1283 %defattr(-,root,root)
1285 %files -f headers.filelist headers
1286 %defattr(-,root,root)
1287 %ifarch %{nptlarches}
1288 %{_prefix}/include/linuxthreads
1289 %endif
1291 %files -f profile.filelist profile
1292 %defattr(-,root,root)
1294 %files -f utils.filelist utils
1295 %defattr(-,root,root)
1297 %files -f nscd.filelist -n nscd
1298 %defattr(-,root,root)
1299 %config(noreplace) /etc/nscd.conf
1300 %config /etc/rc.d/init.d/nscd
1301 %dir %attr(0755,root,root) /var/run/nscd
1302 %dir %attr(0755,root,root) /var/db/nscd
1303 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/nscd.pid
1304 %attr(0666,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/socket
1305 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/passwd
1306 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/group
1307 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/hosts
1308 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/passwd
1309 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/group
1310 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/hosts
1311 %endif
1313 %ifarch %{nptlarches}
1314 %ifnarch %{auxarches}
1315 %files -n linuxthreads-devel
1316 %defattr(-,root,root)
1317 %{_prefix}/%{_lib}/linuxthreads
1318 %endif
1319 %endif
1321 %if "%{_enable_debug_packages}" == "1"
1322 %files debuginfo -f debuginfo.filelist
1323 %defattr(-,root,root)
1324 %ifarch %{debuginfocommonarches}
1325 %ifnarch %{auxarches}
1326 %files debuginfo-common -f debuginfocommon.filelist
1327 %defattr(-,root,root)
1328 %dir %{_prefix}/lib/debug
1329 %dir %{_prefix}/lib/debug/%{_prefix}
1330 %dir %{_prefix}/lib/debug/%{_prefix}/%{_lib}
1331 %{_prefix}/lib/debug/%{_prefix}/%{_lib}/*.a
1332 %endif
1333 %else
1334 %dir %{_prefix}/lib/debug
1335 %dir %{_prefix}/lib/debug/%{_prefix}
1336 %dir %{_prefix}/lib/debug/%{_prefix}/%{_lib}
1337 %{_prefix}/lib/debug/%{_prefix}/%{_lib}/*.a
1338 %endif
1339 %endif
1341 %changelog
1342 * Tue May 3 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-5
1343 - update from CVS
1344 - add some more UTF-8 locales (#156115)
1345 - clean up /lib64/tls instead of /lib/tls on x86-64, s390x and
1346 ppc64 in glibc_post_upgrade (#156656)
1347 - fix posix_fallocate{,64} (#156289)
1349 * Thu Apr 28 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-4
1350 - update from CVS
1351 - fix nscd cache pruning (#150748)
1353 * Wed Apr 27 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-3
1354 - update from CVS
1355 - fix linuxthreads clocks
1356 - put xen libs into the glibc-2*.i686 package instead of a separate one
1357 - fix librt.so symlink in linuxthreads-devel
1358 - do not include linuxthreads-devel on %{auxarches},
1359 just on the base architectures
1361 * Wed Apr 27 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-2
1362 - update from CVS
1363 - with MALLOC_CHECK_=N N>0 (#153003)
1364 - fix recursive dlclose (#154641)
1365 - handle %z in strptime (#154804)
1366 - automatically append /%{_lib}/obsolete/linuxthreads/
1367 to standard library search path if LD_ASSUME_KERNEL=N N <= 2.4.19
1368 or for glibc 2.0 binaries (or broken ones that don't use errno/h_errno
1369 properly). Warning: all those will stop working when LinuxThreads
1370 is finally nuked, which is not very far away
1371 - remove nonnull attribute from acct prototype (BZ#877)
1372 - kernel CPU clocks support
1373 - fix *scanf in locales with multi-byte decimal point
1375 * Wed Apr 27 2005 Roland McGrath <roland@redhat.com>
1376 - glibc-xen subpackage for i686
1378 * Fri Apr 15 2005 Roland McGrath <roland@redhat.com> 2.3.5-1
1379 - update from CVS
1380 - fix execvp regression (BZ#851)
1381 - ia64 libm updates
1382 - sparc updates
1383 - fix initstate{,_r}/strfry (#154504)
1384 - grok PT_NOTE in vDSO for kernel version and extra hwcap dirs,
1385 support "hwcap" keyword in ld.so.conf files
1387 * Tue Apr 4 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-21
1388 - update from CVS
1389 - fix xdr_rmtcall_args on 64-bit arches (#151686)
1390 - fix <pthread.h> and <bits/libc-lock.h> with -std=c89 -fexceptions (#153774)
1392 * Mon Apr 4 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-20
1393 - move LinuxThreads libraries to /%{_lib}/obsolete/linuxthreads/
1394 and NPTL libraries to /%{_lib}. To run a program against LinuxThreads,
1395 LD_ASSUME_KERNEL=2.4.xx LD_LIBRARY_PATH=/%{_lib}/obsolete/linuxthreads/
1396 is now needed
1397 - bzip2 ChangeLog* files instead of gzipping them
1399 * Sat Apr 2 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-19
1400 - update from CVS
1401 - fix nextafterl and several other libm routines on ia64
1402 - fix initgroups (BZ#661)
1403 - kill nptl-devel subpackage, add linuxthreads-devel,
1404 compile and link by default against NPTL and only with
1405 -I/usr/include/linuxthreads -L/usr/%{_lib}/linuxthreads
1406 against LinuxThreads
1407 - package /usr/lib/debug/%{_lib}/tls/i{5,6}86 symlinks in
1408 i386 glibc-debuginfo
1409 - limit number of ChangeLog* files in glibc-common %%doc
1410 to last 2.5 years of changes only to save space
1412 * Fri Mar 25 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-18
1413 - fix build on 64-bit arches with new GCC
1415 * Thu Mar 24 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-17
1416 - update from CVS
1417 - fix LD_AUDIT in LinuxThreads ld.so
1418 - fix calloc with M_PERTURB
1419 - fix error handling in pthread_create with PTHREAD_EXPLICIT_SCHED
1420 on ppc*/ia64/alpha/mips (BZ#801)
1421 - fix a typo in WINDOWS-31J charmap (#151739)
1422 - fix NIS ypprot_err (#151469)
1424 * Sun Mar 20 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-16
1425 - fix pread with -D_FILE_OFFSET_BITS=64 (#151573)
1427 * Sat Mar 19 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-15
1428 - update from CVS
1429 - better fix for the dlclose bug (#145810, #150414)
1430 - fix regex crash on case insensitive search in zh_CN locale
1431 (#151215)
1432 - fix malloc_trim (BZ#779)
1433 - with -D_FORTIFY_SOURCE=*, avoid defining read and a bunch of others
1434 as function-like macros, there are too many broken programs
1435 out there
1436 - add %%dir %{_prefix}/%{_lib}/gconv to glibc's file list (#151372)
1438 * Sun Mar 6 2005 Roland McGrath <roland@redhat.com> 2.3.4-14
1439 - fix bits/socket2.h macro typos
1441 * Sat Mar 5 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-12
1442 - fix tst-chk{2,3}
1443 - fix up AS_NEEDED directive in /usr/%{_lib}/libc.so
1444 - BuildReq binutils >= 2.15.94.0.2-1 for AS_NEEDED, in
1445 glibc-devel Conflict with binutils < 2.15.94.0.2-1
1447 * Thu Mar 3 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-11
1448 - update from CVS
1449 - fix execvp (#149290)
1450 - fix dlclose (#145810)
1451 - clear padding in gconv-modules.cache (#146614, BZ#776)
1452 - rebuilt with GCC4
1453 - changed __GLIBC_MINOR__ for now back to 3
1454 - back out the newly added GLIBC_2.4 *_chk routines, instead
1455 do the checking in macros
1457 * Sat Feb 12 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-10
1458 - hopefully fix interaction with prelink (#147655)
1460 * Fri Feb 11 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-9
1461 - update from CVS
1462 - bi-arch <gnu/stubs.h> (BZ#715)
1464 * Fri Feb 11 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-8
1465 - update from CVS
1466 - bi-arch <gnu/lib-names.h> (BZ#632)
1467 - fix libdl on s390 and maybe other platforms
1468 - fix initstate{,_r} (BZ#710)
1469 - fix <gnu/stubs.h> generation (BZ#157)
1470 - define CMSPAR in bits/termios.h (#147533)
1472 * Tue Feb 8 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-7
1473 - update from CVS
1474 - fix TLS handling in linuxthreads
1476 * Tue Feb 8 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-6
1477 - update from CVS
1478 - ld.so auditing
1479 - fix segfault if chrooted app attempts to dlopen a library
1480 and no standard library directory exists at all (#147067, #144303)
1481 - fix initgroups when nscd is running, but has group caching disabled
1482 (#146588)
1483 - fix pthread_key_{create,destroy} in LinuxThreads when pthread_create
1484 has not been called yet (#146710)
1485 - fix ppc64 swapcontext and setcontext (#146736, BZ#700)
1486 - service nscd cosmetic fixes (#146776)
1487 - fix IA-32 and x86-64 stack alignment in DSO constructors (#145689)
1488 - fix zdump -v segfaults on x86-64 (#146210)
1489 - avoid calling sigaction (SIGPIPE, ...) inside syslog (#146021, IT#56686)
1490 - fix errno values for futimes (BZ#633)
1491 - unconditionally include <features.h> in malloc.h (BZ#650)
1492 - change regex \B handling to match old GNU regex as well as perl/grep's dfa
1493 (from empty string inside of word to empty string not at a word boundary,
1494 BZ#693)
1495 - slightly optimize i686 TLS accesses, use direct TLS %gs access in sem_*
1496 and allow building -mno-tls-direct-seg-refs glibc that is free of direct TLS
1497 %gs access with negative offsets
1498 - fix addseverity
1499 - fix fmemopen
1500 - fix rewinddir
1501 - increase svc{tcp,unix}_create listen backlog
1503 * Thu Jan 6 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-5
1504 - update from CVS
1505 - add some warn_unused_result marking
1506 - make ftruncate available even for just -D_POSIX_C_SOURCE=200112L
1507 (BZ#640)
1509 * Thu Jan 6 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-4
1510 - update from CVS
1511 - fix IA-32 stack alignment for LinuxThreads thread functions
1512 and functions passed to clone(2) directly
1513 - fix ecvt{,_r} on denormals (#143279)
1514 - fix __tls_get_addr typo
1515 - fix rounding in IA-64 alarm (#143710)
1516 - don't reinitialize __environ in __libc_start_main, so that
1517 effects of setenv/putenv done in DSO initializers are preserved
1518 (#144037, IT#57403)
1519 - fix fmemopen
1520 - fix vDSO l_map_end and l_text_end values
1521 - IA64 libm update (#142494)
1522 - fix ppc rint/ceil etc. (BZ#602)
1524 * Tue Dec 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.4-3
1525 - rebuilt
1527 * Mon Dec 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.4-2
1528 - work around rpm bug some more, this time by copying
1529 iconvconfig to iconvconfig.%%{_target_cpu}.
1531 * Mon Dec 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.4-1
1532 - update from CVS
1533 - glibc 2.3.4 release
1534 - add -o and --nostdlib options to iconvconfig
1535 - if /sbin/ldconfig doesn't exist when running
1536 glibc_post_upgrade.%%{_target_cpu}, just don't attempt to run it.
1537 This can happen during first install of bi-arch glibc and the
1538 other arch glibc's %post wil run /sbin/ldconfig (#143326)
1539 - use -o and --nostdlib options to create all needed
1540 gconv-modules.cache files on bi-arch setups
1542 * Sun Dec 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-99
1543 - rebuilt
1545 * Sat Dec 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-98
1546 - add .%%{_target_cpu} to glibc_post_upgrade, only run telinit u
1547 if /sbin/init is the same ELF class and machine as
1548 glibc_post_upgrade.%%{_target_cpu} and similarly with
1549 condrestarting sshd (#143046)
1551 * Fri Dec 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-97
1552 - update from CVS
1553 - fix ppc64 getcontext and swapcontext (BZ#610)
1554 - sparc/sparc64 fixes
1556 * Wed Dec 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-96
1557 - update from CVS
1558 - fix i686 __USE_STRING_INLINES strncat
1559 - make sure ppc/ppc64 maintain correct stack alignment
1560 across clone
1562 * Wed Dec 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-95
1563 - export nis_domain_of_r from libnsl.so again which was
1564 unintentionally lost
1566 * Wed Dec 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-93
1567 - update from CVS
1568 - ppc/ppc64 clone without CLONE_THREAD getpid () adjustement
1569 - fix MALLOC_CHECK_={1,2,3} for non-contiguous main arena
1570 (BZ#457)
1571 - fix sysconf (_POSIX_V6_*) for other ABI environments in
1572 bi-arch setups
1573 - s390/s390x clone without CLONE_THREAD getpid () adjustement
1575 * Tue Dec 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-92
1576 - update from CVS
1577 - fix %{_prefix}/libexec/getconf filenames generation
1579 * Tue Dec 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-91
1580 - update from CVS
1581 - double buffer size in getXXbyYY or getXXent on ERANGE
1582 instead of adding BUFLEN (#142617)
1583 - avoid busy loop in malloc if another thread is doing fork
1584 (#142214)
1585 - some more realloc corruption checks
1586 - fix getconf _POSIX_V6_WIDTH_RESTRICTED_ENVS output,
1587 tweak %{_prefix}/libexec/getconf/ filenames
1589 * Fri Dec 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-90
1590 - update from CVS
1591 - regex speedups
1592 - use | cat in ldd if running under bash3+ to allow running
1593 it on binaries that are not through SELinux allowed to access
1594 console or tty
1595 - add __NR_waitid defines for alpha and ia64
1597 * Wed Dec 8 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-89
1598 - update from CVS
1599 - fix clone2 on ia64
1600 - avoid tst-timer5 failing with linuxthreads implementation
1601 - if __libc_enable_secure, disallow mode != normal
1602 - change ldd script to imply -r when -u is used, properly
1603 propagate return value and handle suid binaries
1605 * Tue Dec 7 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-88
1606 - update from CVS
1607 - disregard LD_SHOW_AUXV and LD_DYNAMIC_WEAK if __libc_enable_secure
1608 - disregard LD_DEBUG if __libc_enable_secure in normal mode
1609 if /suid-debug doesn't exist
1610 - fix fseekpos after ungetc
1611 - avoid reading bytes before start of buffers in regex's
1612 check_dst_limits_calc_pos_1 (#142060)
1613 - make getpid () working with clone/clone2 without CLONE_THREAD
1614 (so far on i386/x86_64/ia64 only)
1615 - move %{_prefix}/libexec/getconf/* to glibc from glibc-common
1616 - make %{_prefix}/libexec/getconf directory owned by glibc package
1618 * Fri Dec 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-87
1619 - update from CVS
1620 - build libpthread_nonshared.a objects with -fPIC on s390/s390x
1621 - fix mktime with < 0 or > 59 tm_sec on entry
1622 - remove nonnull attribute for realpath
1623 - add $(make-target-directory) for errlist-compat.c rule
1624 (hopefully fix #141404)
1625 - add testcase for ungetc bug
1626 - define _POSIX_{,THREAD_}CPUTIME to 0 on all Linux arches
1628 * Tue Nov 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-86
1629 - update from CVS
1630 - some posix_opt.h fixes
1631 - fix strtold use of unitialized memory (#141000)
1632 - some more bugfixes for bugs detected by valgrind
1633 - rebuilt with GCC >= 3.4.3-5 to avoid packed stack layout
1634 on s390{,x} (#139678)
1636 * Fri Nov 26 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-85
1637 - update from CVS
1638 - support -v specification in getconf
1639 - fix sysconf (_SC_LFS64_CFLAGS) etc.
1640 - avoid thread stack aliasing issues on EM64T (#140803)
1641 - move %{_prefix}/include/nptl headers from nptl-devel
1642 to glibc-headers, so that even NPTL specific programs
1643 can be built bi-arch without problems
1645 * Wed Nov 24 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-84
1646 - update from CVS
1647 - fix memory leak in getaddrinfo if using nscd (#139559)
1648 - handle large lines in /etc/hosts and /etc/networks
1649 (#140378)
1650 - add nonnull attributes to selected dirent.h and dlfcn.h
1651 functions
1653 * Sun Nov 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-83
1654 - update from CVS
1655 - add deprecated and/or nonnull attribute to some signal.h
1656 functions
1657 - speed up tzset () by only using stat instead of open/fstat
1658 when calling tzset for the second and following time if
1659 /etc/localtime has not changed
1660 - fix tgamma (BZ #552)
1662 * Sat Nov 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-82
1663 - update from CVS
1664 - some malloc () checking
1665 - libpthread.a object dependency cleanups (#115157)
1666 - <bits/socket.h> fix for -std=c89 -pedantic-errors (#140132)
1668 * Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-81
1669 - don't use chunksize in <= 2 * SIZE_SZ free () checks
1671 * Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-80
1672 - update from CVS
1673 - with -D_FORTIFY_SOURCE=2, prevent missing %N$ formats
1674 - for -D_FORTIFY_SOURCE=2 and %n in writable format string,
1675 issue special error message instead of using the buffer overflow
1676 detected one
1677 - speedup regex searching with REG_NOSUB, add RE_NO_SUB,
1678 speedup searching with nested subexps (BZ #544)
1679 - block SIGCANCEL in NPTL timer_* helper thread
1680 - further free () checking
1682 * Tue Nov 16 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-79
1683 - update from CVS
1684 - fix free () checking
1685 - move /etc/default/nss into glibc-common (hopefully fix #132392)
1687 * Mon Nov 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-78
1688 - update from CVS
1689 - fix LD_DEBUG=statistics
1690 - issue error message before aborting in __chk_fail ()
1691 - some more free () checking
1693 * Fri Nov 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-77
1694 - update from CVS
1695 - speedup regex on palindromes (BZ #429)
1696 - fix NPTL set{,e,re,res}[ug]id, so that even if making process
1697 less priviledged all threads change their credentials successfully
1699 * Wed Nov 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-76
1700 - update from CVS
1701 - fix regcomp crash (#138439)
1702 - fix ftell{,o,o64} (#137885)
1703 - robustification of nscd to cope with corrupt databases (#137140)
1704 - fix NPTL with pthread_exit immediately after pthread_create (BZ #530)
1705 - some regex optimizations
1707 * Tue Nov 2 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-75
1708 - update from CVS
1709 - mktime cleanups (BZ #487, #473)
1710 - unique comments in free(3) check error messages
1711 - adjust some x86_64 headers for -m32 (#129712)
1712 - object size checking support even with GCC-3.4.2-RH >= 3.4.2-8
1714 * Wed Oct 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-74
1715 - fix <netinet/udp.h> header
1716 - fix globfree (#137176)
1717 - fix exiting if there are dlmopened libraries in namespaces
1718 other than main one not closed yet
1719 - export again _res_opcodes and __p_{class,type}_syms from
1720 libresolv.so that were lost in -69
1722 * Thu Oct 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-73
1723 - remove setaltroot and key{_add,_request,ctl} also from Versions
1724 - back out _sys_errlist changes
1726 * Thu Oct 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-72
1727 - back out setaltroot and key{_add,_request,ctl} addition
1728 - fix severe x86-64 symbol versioning regressions that breaks
1729 e.g. java binaries
1731 * Wed Oct 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-71
1732 - update from CVS
1733 - fix minor catchsegv temp file handling vulnerability
1734 (CAN-2004-0968, #136319)
1735 - add 4 new errno codes
1736 - setaltroot, key{_add,_request,ctl} syscalls on some arches
1737 - export _dl_debug_state@GLIBC_PRIVATE from ld.so again for
1738 gdb purpose
1739 - use inet_pton to decide what is address and what is hostname
1740 in getent (#135422)
1741 - change dladdr/dladdr1, so that dli_saddr is the same kind
1742 of value as dlsym/dlvsym return (makes difference on ia64/hppa only)
1743 - fix catchsegv script so that it works with both 32-bit and 64-bit
1744 programs on multi-arch platforms
1746 * Tue Oct 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-70
1747 - update from CVS
1748 - require newer selinux-policy (#135978)
1749 - add %%dir for /var/run/nscd and /var/db/nscd and %%ghost
1750 files in it
1751 - conflict with gcc4 4.0.0-0.6 and earlier (needs __builtin_object_size)
1753 * Mon Oct 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-69
1754 - update from CVS
1755 - object size checking support (-D_FORTIFY_SOURCE={1,2})
1757 * Thu Oct 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-68
1758 - update from CVS
1759 - support for namespaces in the dynamic linker
1760 - fix dlclose (BZ #77)
1761 - libSegFault.so uses now backtrace() to work on IA-64, x86-64
1762 and s390 (#130254)
1764 * Tue Oct 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-67
1765 - update from CVS
1766 - use non-blocking sockets in resolver (#135234)
1767 - reset pd->res options on thread exit, so that threads
1768 reusing cached stacks get resolver state properly initialized
1769 (BZ #434)
1771 * Wed Oct 6 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-66
1772 - update from CVS
1773 - avoid using perl in the spec file, buildrequire sed >= 3.95
1774 (#127671)
1775 - export TIMEOUTFACTOR=16
1776 - fix _JMPBUF_CFA_UNWINDS_ADJ on s390{,x}
1778 * Tue Oct 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-65
1779 - update from CVS
1780 - define _POSIX_THREAD_PROCESS_SHARED and _POSIX_CLOCK_SELECTION
1781 to -1 in LinuxThreads
1782 - define _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME to 0
1783 on i?86/ia64 and make sure sysconf (_SC_{,THREAD_}CPUTIME)
1784 returns correct value
1785 - if _POSIX_CLOCK_SELECTION == -1 in nscd, still try
1786 sysconf (_SC_CLOCK_SELECTION) and if it returns true,
1787 dlopen libpthread.so and dlsym pthread_condattr_setclock
1788 - build nscd with -z relro and -z now
1790 * Mon Oct 4 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-64
1791 - update from CVS
1792 - stop using __builtin_expect in assert and assert_perror
1793 (#127606)
1794 - try to avoid too much VA fragmentation with malloc
1795 on flexmap layout (#118574)
1796 - nscd robustification
1797 - change valloc to use debugging hooks (#134385)
1798 - make glibc_post_upgrade more verbose on errors (Fergal Daly,
1799 #125700)
1801 * Fri Oct 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-63
1802 - update from CVS
1803 - fix __nscd_getgrouplist
1804 - fix a typo in x86_64 pthread_mutex_timedwait fix
1806 * Fri Oct 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-62
1807 - update from CVS
1808 - fix NPTL pthread_mutex_timedwait on i386/x86_64 (BZ #417)
1810 * Thu Sep 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-61
1811 - update from CVS
1812 - some nscd fixes (#134193)
1813 - cache initgroups in nscd (#132850)
1814 - reread /etc/localtime in tzset () even if just mtime changed
1815 (#133481)
1816 - fix glob (#126460)
1817 - another get_myaddress fix
1819 * Wed Sep 29 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-60
1820 - update from CVS
1821 - fix get_myaddress (#133982)
1822 - remove nonnull attribute from second utime argument (#133866)
1823 - handle SIGSETXID the same way as SIGCANCEL in
1824 sigaction/pthread_kill/sigwait/sigwaitinfo etc.
1825 - add __extension__ to long long types in NPTL <bits/pthreadtypes.h>
1827 * Mon Sep 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-59
1828 - update from CVS
1829 - fix BZ #151, #362, #381, #407
1830 - fdim fix for +inf/+inf (BZ #376)
1832 * Sun Sep 26 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-58
1833 - update from CVS
1834 - vasprintf fix (BZ #346)
1835 - gettext locking (BZ #322)
1836 - change linuxthreads useldt.h inclusion login again, the last
1837 one failed all linuxthreads FLOATING_STACKS tests
1839 * Sat Sep 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-57
1840 - update from CVS
1841 - fix setuid in LD_ASSUME_KERNEL=2.2.5 libc (#133558)
1842 - fix nis locking (#132204)
1843 - RTLD_DEEPBIND support
1844 - fix pthread_create bugs (BZ #401, #405)
1846 * Wed Sep 22 2004 Roland McGrath <roland@redhat.com> 2.3.3-56
1847 - migrated CVS to fedora-branch in sources.redhat.com glibc repository
1848 - source tarballs renamed
1849 - redhat/ moved to fedora/, some old cruft removed
1850 - update from trunk
1851 - some __nonnull annotations
1853 * Wed Sep 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-55
1854 - update from CVS
1855 - set{re,e,res}[ug]id now affect the whole process in NPTL
1856 - return EAGAIN instead of ENOMEM when not enough memory
1857 in pthread_create
1859 * Fri Sep 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-54
1860 - update from CVS
1861 - nscd getaddrinfo caching
1863 * Tue Sep 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-53
1864 - restore temporarily old definition of __P()/__PMT()
1865 for third party apps
1867 * Tue Sep 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-52
1868 - update from CVS
1869 - nscd bi-arch fix
1870 - remove all uses of __P()/__PMT() from glibc headers
1871 - update and reenable nscd SELinux patch
1872 - remove libnss1* and libnss*.so.1 compatibility NSS modules
1873 on IA-32, SPARC and Alpha
1875 * Fri Sep 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-51
1876 - update from CVS
1877 - disable one of the malloc double free checks for non-contiguous
1878 arenas where it doesn't have to be true even for non-broken
1879 apps
1881 * Thu Sep 9 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-50
1882 - update from CVS
1883 - pwd/grp/host loops with nscd speed up by sharing the
1884 nscd cache r/o with applications
1885 - inexpensive double free check in free(3)
1886 - make NPTL pthread.h initializers usable even from C++
1887 (BZ #375)
1888 - use atomic instructions even in i386 nscd on i486+ CPUs
1889 (conditionally)
1891 * Sat Sep 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-49
1892 - update from CVS
1893 - fix linuxthreads tst-cancel{[45],-static}
1895 * Fri Sep 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-48
1896 - update from CVS
1897 - fix pthread_cond_destroy (BZ #342)
1898 - fix fnmatch without FNM_NOESCAPE (BZ #361)
1899 - fix ppc32 setcontext (BZ #357)
1900 - add NPTL support for i386 glibc (only if run on i486 or higher CPU)
1901 - add __NR_waitid defines for i386, x86_64 and sparc*
1903 * Tue Aug 31 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-47
1904 - update from CVS
1905 - persistent nscd caching
1906 - ppc64 32-bit atomicity fix
1907 - fix x86-64 nptl-devel headers for -m32 compilation
1908 - %%ghost /etc/ld.so.cache (#130597)
1909 - edit /etc/ld.so.conf in glibc_post_upgrade if
1910 include ld.so.conf.d/*.conf line is missing (#120588)
1911 - ugly hacks for the IA-64 /emul braindamage (#124996, #128267)
1913 * Sat Aug 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-46
1914 - update from CVS
1916 * Thu Aug 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-45
1917 - update from CVS
1918 - fix nss_compat's initgroups handling (#130363)
1919 - fix getaddrinfo ai_canonname setting
1921 * Thu Aug 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-44
1922 - update from CVS
1923 - add ip6-dotint resolv.conf option, make
1924 no-ip6-dotint the default
1925 - BuildPrereq libselinux-devel (#129946)
1926 - on ppc64, build without dot symbols
1928 * Thu Aug 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-43
1929 - update from CVS
1930 - remove debugging printout (#129747)
1931 - make <sys/shm.h> usable in C++ (IT#45148)
1932 - update RLIMIT_* constants in <bits/resource.h>, make
1933 <sys/resource.h> POSIX compliant (#129740)
1935 * Wed Aug 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-42
1936 - fix last tzset () fixes, disable rereading of /etc/localtime
1937 every time for now
1938 - really enable SELinux support for NSCD
1940 * Wed Aug 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-41
1941 - update from CVS
1942 - fread_unlocked/fwrite_unlocked macro fixes (BZ #309, #316)
1943 - tzset () fixes (BZ #154)
1944 - speed up pthread_rwlock_unlock on arches other than i386 and
1945 x86_64 (#129455)
1946 - fix compilation with -ansi (resp. -std=c89 or -std=c99) and
1947 -D_XOPEN_SOURCE=[56]00 but no -D_POSIX_SOURCE* or -D_POSIX_C_SOURCE*
1948 (BZ #284)
1949 - add SELinux support for NSCD
1951 * Fri Aug 6 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-40
1952 - update from CVS
1953 - change res_init to force all threads to re-initialize
1954 resolver before they use it next time (#125712)
1955 - various getaddrinfo and related fixes (BZ #295, #296)
1956 - fix IBM{932,943} iconv modules (#128674)
1957 - some nscd fixes (e.g. BZ #292)
1958 - RFC 3678 support (Multicast Source Filters)
1959 - handle /lib/i686/librtkaio-* in i386 glibc_post_upgrade
1960 the same as /lib/i686/librt-*
1962 * Fri Jul 23 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-39
1963 - update from CVS
1964 - conformance related changes in headers
1965 - remove -finline-limit=2000 for GCC 3.4.x+
1967 * Thu Jul 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-38
1968 - update from CVS
1969 - fix res_init leaks
1970 - fix newlocale races
1971 - fix ppc64 setjmp
1972 - fix strtold (BZ #274)
1974 * Fri Jul 16 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-37
1975 - update from CVS
1976 - allow pthread_cancel in DSO destructors run at exit time
1977 - fix pow{f,,l} on IA-32 and powl on x86-64
1978 - allow PIEs on IA-32 to have main in a shared library they depend on
1980 * Mon Jul 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-36
1981 - s390* .plt slot reduction
1982 - fix pthread_rwlock_timedrdlock on x86_64
1984 * Wed Jun 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-35
1985 - tweak spec file for the libpthread-0.61.so -> libpthread-2.3.3.so
1986 NPTL changes
1988 * Wed Jun 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-34
1989 - update from CVS
1990 - if_nameindex using preferably netlink
1991 - printf_parsemb initialization fix
1992 - NPTL version is now the same as glibc version
1994 * Mon Jun 28 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-33
1995 - update from CVS
1996 - reread resolv.conf for nscd --invalidate=hosts
1997 - fix F_GETLK/F_SETLK/F_SETLKW constants on x86_64 for
1998 -m32 -D_FILE_OFFSET_BITS=64 compilations
1999 - avoid calling non-existing fcntl64 syscall on ppc64
2001 * Mon Jun 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-32
2002 - update from CVS
2003 - FUTEX_CMP_REQUEUE support (fix pthread_cond_* deadlocks)
2004 - fix backtrace in statically linked programs
2005 - rebuilt with GCC 3.4, adjusted ulps and i386 <bits/string.h>
2007 * Fri May 28 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-31
2008 - update from CVS
2009 - <bits/string2.h> and <bits/mathinline.h> changes for GCC 3.{2,4,5}+
2010 - make c_stubs buildable even with GCC 3.2.x (#123042)
2012 * Fri May 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-30
2013 - fix pthread_cond_wait on architectures other than IA-32 and
2014 x86_64
2016 * Thu May 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-29
2017 - use lib64 instead of lib on ia64 if %%{_lib} is defined to lib64
2019 * Wed May 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-28
2020 - update from CVS
2021 - FUTEX_REQUEUE fixes (#115349)
2022 - SPARC GCC 3.4 build fix
2023 - fix handling of undefined TLS symbols on IA32 (RELA only),
2024 SPARC and SH
2025 - regex translate fix
2026 - speed up sprintf
2027 - x86_64 makecontext alignment fix
2028 - make POSIX sigpause the default sigpause, unless BSD sigpause
2029 requested
2031 * Tue May 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-27
2032 - remove /lib64/tls/librtkaio-2.3.[23].so in glibc_post_upgrade
2033 on x86-64, s390x and ppc64 instead of /lib/tls/librtkaio-2.3.[23].so
2034 - build mq_{send,receive} with -fexceptions
2036 * Fri May 7 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-26
2037 - update from CVS
2038 - fix <tgmath.h>
2039 - fix memory leaks in nis, getifaddrs, etc. caused by incorrect
2040 use of realloc
2041 - remove /lib/{tls,i686}/librtkaio-2.3.[23].so in glibc_post_upgrade
2042 and rerun ldconfig if needed, otherwise after glibc upgrade librt.so.1
2043 might be a stale symlink
2045 * Wed May 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-25
2046 - update from CVS
2047 - disable FUTEX_REQUEUE (work around #115349)
2048 - mq for sparc/sparc64/ia64
2050 * Tue May 4 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-24
2051 - update from CVS
2052 - define S_ISSOCK in -D_XOPEN_SOURCE=600 and S_I[FS]SOCK
2053 plus F_[SG]ETOWN also in -D_XOPEN_SOURCE=500 (both
2054 included already in XNS5)
2055 - reorder dlopen checks, so that dlopening ET_REL objects
2056 complains about != ET_DYN != ET_EXEC, not about phentsize
2057 (#121606)
2058 - fix strpbrk macro for GCC 3.4+ (BZ #130)
2059 - fix <sys/sysctl.h> (BZ #140)
2060 - sched_[gs]etaffinity documentation fix (BZ #131)
2061 - fix sparc64 build (BZ #139)
2062 - change linuxthreads back to use non-cancellable writes
2063 to manager pipes etc.
2064 - fix sem_timedwait return value in linuxthreads (BZ #133)
2065 - ia64 unnecessary PLT relocs removal
2067 * Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-23
2068 - update from CVS
2069 - fix *scanf
2070 - fix shm_unlink, sem_unlink and mq_unlink errno values
2071 - avoid memory leaks in error
2072 - execstack fixes on s390
2074 * Mon Apr 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-22
2075 - update from CVS
2076 - mq and timer fixes
2077 - rebuilt with binutils >= 2.15.90.0.3-2 to fix IA-64 statically
2078 linked binaries
2079 - fix linuxthreads librt.so on s390{,x}, so it is no longer DT_TEXTREL
2081 * Sat Apr 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-21
2082 - disable rtkaio
2083 - update from CVS
2084 - POSIX message passing support
2085 - fixed SIGEV_THREAD support for POSIX timers
2086 - fix free on non-malloced memory in syslog
2087 - fix ffsl on some 64-bit arches
2088 - fix sched_setaffinity on x86-64, ia64
2089 - fix ppc64 umount
2090 - NETID_AUTHORITATIVE, SERVICES_AUTHORITATIVE support
2091 - various NIS speedups
2092 - fix fwrite with > 2GB sizes on 64-bit arches
2093 - fix pthread_getattr_np guardsize reporting in NPTL
2094 - report PLT relocations in ld.so and libc.so during the build
2096 * Fri Mar 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-20
2097 - update from CVS
2098 - change NPTL PTHREAD_MUTEX_ADAPTIVE_NP mutexes to spin on SMP
2099 - strtol speed optimization
2100 - don't try to use certainly unimplemented syscalls on ppc64
2101 - kill -debug subpackage, move the libs to glibc-debuginfo{,-common}
2102 into /usr/lib/debug/usr/%{_lib}/ directory
2103 - fix c_stubs with gcc 3.4
2104 - move all the up to 3 builds into %%build scriptlet and
2105 leave only installation in the %%install scriptlet
2107 * Mon Mar 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-19
2108 - update from CVS
2109 - affinity API changes
2111 * Thu Mar 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-18
2112 - update from CVS
2113 - fix ia64 iopl (#118591)
2114 - add support for /etc/ld.so.conf.d/*.conf
2115 - fix x86-64 LD_DEBUG=statistics
2116 - fix hwcap handling when using ld.so.cache (#118518)
2118 * Mon Mar 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-17
2119 - update from CVS
2120 - implement non-_l function on top of _l functions
2122 * Thu Mar 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-16
2123 - update from CVS
2124 - fix s390{,x} TLS handling
2126 * Wed Mar 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-15
2127 - update from CVS
2128 - special section for compatibility code
2129 - make getpid () work even in vfork () child
2130 - configure with --enable-bind-now to avoid lazy binding in ld.so
2131 and libc.so
2133 * Fri Mar 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-14
2134 - update from CVS
2135 - fix iconv -c (#117021)
2136 - fix PIEs on sparc/sparc64
2137 - fix posix_fadvise on 64-bit architectures
2138 - add locale-archive as %%ghost file (#117014)
2140 * Mon Mar 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-13
2141 - update from CVS
2143 * Fri Feb 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-12
2144 - update from CVS
2146 * Fri Feb 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-11
2147 - update from CVS
2148 - fix ld.so when vDSO is randomized
2150 * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-10
2151 - update from CVS
2153 * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-9
2154 - update from CVS
2156 * Tue Feb 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-8
2157 - update from CVS
2159 * Tue Jan 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-7
2160 - update from CVS
2161 - dl_iterate_phdr extension to signal number of added/removed
2162 libraries
2163 - fix PT_GNU_RELRO support on ppc* with prelinking
2165 * Fri Jan 23 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-6
2166 - rebuilt with fixed GCC on IA-64
2168 * Thu Jan 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-5
2169 - fix PT_GNU_RELRO support
2171 * Wed Jan 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-4
2172 - update from CVS
2173 - some further regex speedups
2174 - fix re.translate handling in regex (#112869)
2175 - change regfree to match old regex behaviour (what is freed
2176 and clearing of freed pointers)
2177 - fix accesses to unitialized memory in regex (#113507, #113425,
2178 #113421)
2179 - PT_GNU_RELRO support
2181 * Tue Dec 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-3
2182 - update from CVS
2183 - fix pmap_set fd and memory leak (#112726)
2184 - fix backreference handling in regex
2185 - rebuilt under glibc without the above bug to fix
2186 libc.so linker script (#112738)
2188 * Mon Dec 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-2
2189 - update from CVS
2190 - faster getpid () in NPTL builds
2191 - fix to make pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, )
2192 really disable cancellation (#112512)
2193 - more regex fixes and speedups
2194 - fix nextafter*/nexttoward*
2195 - handle 6th syscall(3) argument on AMD64
2196 - handle memalign/posix_memalign in mtrace
2197 - fix linuxthreads memory leak (#112208)
2198 - remove throw () from cancellation points in linuxthreads (#112602)
2199 - fix NPTL unregister_atfork
2200 - fix unwinding through alternate signal stacks
2202 * Mon Dec 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-1
2203 - update from CVS
2204 - 2.3.3 release
2205 - lots of regex fixes and speedups (#110401)
2206 - fix atan2
2207 - fix pshared condvars in NPTL
2208 - fix pthread_attr_destroy for attributes created with
2209 pthread_attr_init@GLIBC_2.0
2210 - for the time being, include both nb_NO* and no_NO* as locales
2211 so that the distribution can catch up with the no_NO->nb_NO
2212 transition
2213 - add BuildPrereq texinfo (#110252)
2215 * Tue Nov 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-102
2216 - update from CVS
2217 - fix getifaddrs (CAN-2003-0859)
2218 - fix ftw fd leak
2219 - fix linuxthreads sigaction (#108634)
2220 - fix glibc 2.0 stdio compatibility
2221 - fix uselocale (LC_GLOBAL_LOCALE)
2222 - speed up stdio locking in non-threaded programs on IA-32
2223 - try to maintain correct order of cleanups between those
2224 registered with __attribute__((cleanup))
2225 and with LinuxThreads style pthread_cleanup_push/pop (#108631)
2226 - fix segfault in regex (#109606)
2227 - fix RE_ICASE multi-byte handling in regex
2228 - fix pthread_exit in libpthread.a (#109790)
2229 - FTW_ACTIONRETVAL support
2230 - lots of regex fixes and speedups
2231 - fix ceill/floorl on AMD64
2233 * Mon Oct 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-101
2234 - update from CVS
2235 - fix ld.so --verify (and ldd)
2237 * Mon Oct 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-100
2238 - update from CVS
2239 - fix sprof (#103727)
2240 - avoid infinite loops in {,f}statvfs{,64} with hosed mounts file
2241 - prevent dlopening of executables
2242 - fix glob with GLOB_BRACE and without GLOB_NOESCAPE
2243 - fix locale printing of word values on 64-bit big-endian arches
2244 (#107846)
2245 - fix getnameinfo and getaddrinfo with reverse IPv6 lookups
2246 (#101261)
2248 * Wed Oct 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-99
2249 - update from CVS
2250 - dl_iterate_phdr in libc.a on arches other than IA-64
2251 - LD_DEBUG=statistics prints number of relative relocations
2252 - fix hwcap computation
2253 - NPTL is now part of upstream glibc CVS
2254 - include {st,xh,zu}_ZA{,.UTF-8} locales
2256 * Sat Oct 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-98
2257 - update from CVS
2258 - fix close, pause and fsync (#105348)
2259 - fix pthread_once on IA-32
2260 - implement backtrace () on IA-64, handle -fomit-frame-pointer
2261 in AMD64 backtrace () (#90402)
2263 * Tue Sep 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-97
2264 - update from CVS
2265 - fix <sys/sysmacros.h> with C++ or -ansi or -pedantic C
2266 - fix mknod/ustat return value when given bogus device number (#105768)
2268 * Fri Sep 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-96
2269 - rebuilt
2271 * Fri Sep 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-95
2272 - fix IA-64 getcontext
2274 * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-94
2275 - update from CVS
2276 - fix syslog with non-C non-en_* locales (#61296, #104979)
2277 - filter GLIBC_PRIVATE symbols from glibc provides
2278 - fix NIS+
2280 * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-93
2281 - update from CVS
2282 - assume 2.4.21 kernel features on RHEL/ppc*, so that
2283 {make,set,get,swap}context works
2284 - backout execstack support for RHEL
2285 - build rtkaio on amd64 too
2287 * Wed Sep 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-92
2288 - update from CVS
2289 - execstack/noexecstack support
2290 - build nscd as PIE
2291 - move __libc_stack_end back to @GLIBC_2.1
2292 - build against elfutils >= 0.86 to fix stripping on s390x
2294 * Mon Sep 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-91
2295 - rebuilt
2297 * Mon Sep 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-90
2298 - update from CVS
2299 - NPTL locking change (#102682)
2300 - don't jump around lock on amd64
2302 * Thu Sep 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-89
2303 - fix open_memstream/syslog (#104661)
2305 * Thu Sep 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-88
2306 - update from CVS
2307 - retrieve affinity in pthread_getattr_np
2308 - fix pthread_attr_[gs]etaffinity_np
2309 - handle hex and octal in wordexp
2311 * Wed Sep 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-87
2312 - update from CVS
2313 - truncate instead of round in utimes when utimes syscall is not available
2314 - don't align stack in every glibc function unnecessarily on IA-32
2315 - make sure threads have their stack 16 byte aligned on IA-32
2316 - move sched_[sg]etaffinity to GLIBC_2.3.3 symbol version (#103231)
2317 - fix pthread_getattr_np for the initial thread (#102683)
2318 - avoid linuxthreads signal race (#104368)
2319 - ensure all gzip invocations are done with -n option
2321 * Fri Sep 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-86
2322 - update from CVS
2323 - avoid linking in libgcc_eh.a unnecessarily
2324 - change ssize_t back to long int on s390 -m31, unless
2325 gcc 2.95.x is used
2327 * Wed Sep 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-85
2328 - update from CVS
2329 - fix IA-64 memccpy (#104114)
2331 * Tue Sep 9 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-84
2332 - update from CVS
2333 - undo broken amd64 signal context changes
2335 * Tue Sep 9 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-83
2336 - update from CVS
2337 - change *nlink_t, *ssize_t and *intptr_t types on s390 -m31 to
2338 {unsigned,} int
2339 - change *u_quad_t, *quad_t, *qaddr_t, *dev_t, *ino64_t, *loff_t,
2340 *off64_t, *rlim64_t, *blkcnt64_t, *fsblkcnt64_t, *fsfilcnt64_t
2341 on 64-bit arches from {unsigned,} long long int {,*} to
2342 {unsigned,} long int {,*} to restore binary compatibility
2343 for C++ functions using these types as arguments
2345 * Sun Sep 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-82
2346 - rebuilt
2348 * Sat Sep 6 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-81
2349 - update from CVS
2350 - fix tc[gs]etattr/cf[gs]et[io]speed on ppc (#102732)
2351 - libio fixes
2353 * Thu Sep 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-80
2354 - update from CVS
2355 - fix IA-64 cancellation when mixing __attribute__((cleanup ()))
2356 and old-style pthread_cleanup_push cleanups
2358 * Tue Sep 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-79
2359 - updated from CVS
2360 - lots of cancellation fixes
2361 - fix posix_fadvise* on ppc32
2362 - TLS layout fix
2363 - optimize stdio cleanups (#103354)
2364 - sparcv9 NPTL
2365 - include sigset, sighold, sigrelse, sigpause and sigignore prototypes
2366 in signal.h even if -D_XOPEN_SOURCE_EXTENDED (#103269)
2367 - fix svc_getreqset on 64-bit big-endian arches
2368 - return ENOSYS in linuxthreads pthread_barrierattr_setpshared for
2369 PTHREAD_PROCESS_SHARED
2370 - add pthread_cond_timedwait stubs to libc.so (#102709)
2371 - split glibc-devel into glibc-devel and glibc-headers to ensure
2372 amd64 /usr/include always wins on amd64/i386 bi-arch installs
2373 - increase PTHREAD_STACK_MIN on alpha, ia64 and sparc*
2374 - get rid of __syscall_* prototypes and stubs in sysdeps/unix/sysv/linux
2375 - run make check also with linuxthreads (on IA-32 non-FLOATING_STACKS)
2376 ld.so and NPTL (on IA-32 also FLOATING_STACKS linuxthreads) libraries
2377 and tests
2379 * Tue Aug 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-78
2380 - include dl-osinfo.h only in glibc-debuginfo-2*.rpm, not
2381 in glibc-debuginfo-common*
2383 * Mon Aug 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-77
2384 - update from CVS
2385 - fix glibc 2.0 libio compatibility (#101385)
2386 - fix ldconfig with /usr/lib/lib*.so symlinks (#102853)
2387 - fix assert.h (#102916, #103017)
2388 - make ld.so.cache identical between IA-32 and AMD64 (#102887)
2389 - fix static linking of large IA-64 binaries (#102586)
2390 - avoid using floating point regs in lazy binding code on ppc64 (#102763)
2392 * Fri Aug 22 2003 Roland McGrath <roland@redhat.com> 2.3.2-76
2393 - add td_thr_tls_get_addr changes missed in initial nptl_db rewrite
2395 * Sun Aug 17 2003 Roland McGrath <roland@redhat.com> 2.3.2-74
2396 - nptl_db rewrite not yet in CVS
2398 * Thu Aug 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-72
2399 - update from CVS
2400 - fix rtkaio aio_fsync{,64}
2401 - update rtkaio for !BROKEN_THREAD_SIGNALS
2402 - fix assert macro when used on pointers
2404 * Wed Aug 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-71
2405 - update from CVS
2407 * Tue Aug 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-70
2408 - update from CVS
2409 - disable CLONE_STOPPED for now until it is resolved
2410 - strip crt files
2411 - fix libio on arches with no < GLIBC_2.2 support (#102102, #102105)
2412 - fix glibc-debuginfo to include all nptl and nptl_db sources
2414 * Thu Aug 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-69
2415 - update from CVS
2416 - fix pthread_create@GLIBC_2.0 (#101767)
2417 - __ASSUME_CLONE_STOPPED on all arches but s390* in RHEL
2419 * Sun Aug 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-68
2420 - update from CVS
2421 - only use CLONE_STOPPED if kernel supports it, fix setting of thread
2422 explicit scheduling (#101457)
2424 * Fri Aug 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-67
2425 - update from CVS
2426 - fix utimes and futimes if kernel doesn't support utimes syscall
2427 - fix s390 ssize_t type
2428 - fix dlerror when called before any dlopen/dlsym
2429 - update IA-64 bits/sigcontext.h (#101344)
2430 - various warning fixes
2431 - fix pthread.h comment typos (#101363)
2433 * Wed Jul 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-66
2434 - update from CVS
2435 - fix dlopen of libraries using TLS IE/LE models
2437 * Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-65
2438 - update from CVS
2439 - fix timer_create
2440 - use __extension__ before long long typedefs in <bits/types.h> (#100718)
2442 * Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-64
2443 - update from CVS
2444 - fix wcpncpy (#99462)
2445 - export _res@GLIBC_2.0 even from NPTL libc.so (__res_state ()
2446 unlike __errno_location () or __h_errno_location () was introduced
2447 in glibc 2.2)
2448 - fix zic bug on 64-bit platforms
2449 - some TLS handling fixes
2450 - make ldconfig look into alternate ABI dirs by default (#99402)
2451 - move %{_datadir}/zoneinfo to tzdata package, so that it can be
2452 errataed separately from glibc
2453 - new add-on - rtkaio
2454 - prereq libgcc, as glibc now relies on libgcc_s.so.1 for pthread_cancel
2456 * Tue Jul 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-63
2457 - fix thread cancellation on ppc64
2459 * Sat Jul 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-62
2460 - update from CVS
2461 - fix thread cancellation on ppc32, s390 and s390x
2463 * Thu Jul 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-61
2464 - update from CVS
2465 - build libc_nonshared.a with -fPIC instead of -fpic
2466 - fix ppc64 PIE support
2467 - add cfi directives to NPTL sysdep-cancel.h on ppc/ppc64/s390/s390x
2469 * Tue Jul 8 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-60
2470 - update from CVS
2472 * Thu Jul 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-59
2473 - update from CVS
2474 - on IA-64 use different symbols for cancellation portion of syscall
2475 handlers to make gdb happier
2477 * Thu Jun 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-58
2478 - update from CVS
2479 - nss_compat supporting LDAP etc.
2481 * Tue Jun 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-57
2482 - update from CVS
2484 * Thu Jun 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-56
2485 - fix condvars and semaphores in ppc* NPTL
2486 - fix test-skeleton.c reporting of timed-out tests (#91269)
2487 - increase timeouts for tests during make check
2489 * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-55
2490 - make ldconfig default to both /lib+/usr/lib and /lib64+/usr/lib64
2491 on bi-ABI architectures (#97557)
2492 - disable FUTEX_REQUEUE on ppc* temporarily
2494 * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-54
2495 - update from CVS
2496 - fix glibc_post_upgrade on ppc
2498 * Tue Jun 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-53
2499 - update from CVS
2500 - fix localedef (#90659)
2501 - tweak linuxthreads for librt cancellation
2503 * Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-52
2504 - update from CVS
2506 * Thu Jun 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-51
2507 - update from CVS
2508 - fix <gnu/stubs.h> (#97169)
2510 * Wed Jun 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-50
2511 - update from CVS
2513 * Tue Jun 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-49
2514 - update from CVS
2515 - fix pthread_cond_signal on IA-32 (#92080, #92253)
2516 - fix setegid (#91567)
2517 - don't prelink -R libc.so on any architecture, it prohibits
2518 address randomization
2520 * Fri Jun 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-48
2521 - update from CVS
2522 - fix IA-64 NPTL build
2524 * Thu Jun 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-47
2525 - update from CVS
2526 - PT_GNU_STACK segment in binaries/executables and .note.GNU-stack
2527 section in *.[oa]
2529 * Sun Jun 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-46
2530 - update from CVS
2531 - enable NPTL on AMD64
2532 - avoid using trampolines in localedef
2534 * Fri May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-45
2535 - enable NPTL on IA-64
2537 * Fri May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-44
2538 - update from CVS
2539 - enable NPTL on s390 and s390x
2540 - make __init_array_start etc. symbols in elf-init.oS hidden undefined
2542 * Thu May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-43
2543 - update from CVS
2545 * Fri May 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-42
2546 - update from CVS
2548 * Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-41
2549 - update from CVS
2550 - use NPTL libs if uname -r contains nptl substring or is >= 2.5.69
2551 or set_tid_address syscall is available instead of checking
2552 AT_SYSINFO dynamic tag
2554 * Thu May 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-40
2555 - update from CVS
2557 * Wed May 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-39
2558 - update from CVS
2559 - fix for prelinking of libraries with no dependencies
2561 * Tue May 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-38
2562 - update from CVS
2563 - enable NPTL on ppc and ppc64
2565 * Tue May 6 2003 Matt Wilson <msw@redhat.com> 2.3.2-37
2566 - rebuild
2568 * Sun May 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-36
2569 - update from CVS
2571 * Sat May 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-35
2572 - update from CVS
2573 - make -jN build fixes
2575 * Fri May 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-34
2576 - update from CVS
2577 - avoid using trampolines in iconvconfig for now
2579 * Sat Apr 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-33
2580 - update from CVS
2582 * Fri Apr 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-32
2583 - update from CVS
2584 - more ppc TLS fixes
2586 * Wed Apr 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-31
2587 - update from CVS
2588 - nscd fixes
2589 - fix Bahrain spelling (#56298)
2590 - fix Ukrainian collation (#83973)
2591 - accept trailing spaces in /etc/ld.so.conf (#86032)
2592 - perror fix (#85994)
2593 - fix localedef (#88978)
2594 - fix getifaddrs (#89026)
2595 - fix strxfrm (#88409)
2596 - fix ppc TLS
2597 - fix getaddrinfo (#89448)
2598 - don't print warning about errno, h_errno or _res if
2599 LD_ASSUME_KERNEL=2.4.1 or earlier
2601 * Tue Apr 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-30
2602 - update from CVS
2603 - fix prelink on ppc32
2604 - add TLS support on ppc32 and ppc64
2605 - make sure on -m64 arches all helper binaries are built with this
2606 option
2608 * Mon Apr 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-29
2609 - update from CVS
2610 - fix strxfrm (#88409)
2611 - use -m64 -mno-minimal-toc on ppc64
2612 - conflict with kernels < 2.4.20 on ppc64 and < 2.4.0 on x86_64
2613 - link glibc_post_upgrade against newly built libc.a
2615 * Sun Apr 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-28
2616 - update from CVS
2617 - fix NPTL pthread_detach and already terminated, but not yet
2618 joined thread (#88219)
2619 - fix bug-regex4 testcase (#88118)
2620 - reenable prelink support broken in 2.3.2-13
2621 - fix register_printf_function (#88052)
2622 - fix double free with fopen using ccs= (#88056)
2623 - fix potential access below $esp in {set,swap}context (#88093)
2624 - fix buffer underrun in gencat -H (#88099)
2625 - avoid using unitialized variable in tst-tgmath (#88101)
2626 - fix gammal (#88104)
2627 - fix iconv -c
2628 - fix xdr_string (PR libc/4999)
2629 - fix /usr/lib/nptl/librt.so symlink
2630 - avoid running NPTL cleanups twice in some cases
2631 - unblock __pthread_signal_cancel in linuxthreads, so that
2632 linuxthreads threaded programs work correctly if spawned
2633 from NPTL threaded programs
2634 - fix sysconf _SC_{NPROCESSORS_{CONF,ONLN},{,AV}PHYS_PAGES}
2635 - remove /lib/i686 directory before running ldconfig in glibc post
2636 during i686 -> i386 glibc "upgrades" (#88456)
2638 * Wed Apr 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-22
2639 - update from CVS
2640 - add pthread_atfork to libpthread.a
2642 * Tue Apr 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-21
2643 - update from CVS
2644 - make sure linuxthreads pthread_mutex_lock etc. is not a cancellation
2645 point
2647 * Sat Mar 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-20
2648 - update from CVS
2649 - if kernel >= 2.4.1 doesn't support NPTL, fall back to
2650 /lib/i686 libs on i686, not stright to /lib
2652 * Fri Mar 28 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-19
2653 - update from CVS
2654 - timers fixes
2656 * Thu Mar 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-18
2657 - update from CVS
2658 - fix NPTL pthread_cond_timedwait
2659 - fix sysconf (_SC_MONOTONIC_CLOCK)
2660 - use /%%{_lib}/tls instead of /lib/tls on x86-64
2661 - add /%{_lib}/tls/librt*so* and /%{_lib}/i686/librt*so*
2662 - display content of .out files for all make check failures
2664 * Wed Mar 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-17
2665 - update from CVS
2666 - kernel POSIX timers support
2668 * Sat Mar 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-16
2669 - update from CVS
2670 - export __fork from glibc again
2671 - fix glibc-compat build in NPTL
2672 - fix c_stubs
2673 - fix some more atomic.h problems
2674 - don't check abi in glibc-compat libs
2676 * Fri Mar 21 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-15
2677 - update from CVS
2678 - build glibc-compat (for glibc 2.0 compatibility) and c_stubs add-ons
2679 - condrestart sshd in glibc_post_upgrade so that the user can
2680 log in remotely and handle the rest (#86339)
2681 - fix a typo in glibc_post_upgrade on sparc
2683 * Tue Mar 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-14
2684 - update from CVS
2685 - change i686/athlon libc.so.6 base to 0x00e80000
2687 * Mon Mar 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-13
2688 - update from CVS
2689 - hopefully last fix for condvar problems
2691 * Fri Mar 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-12
2692 - fix bits/syscall.h creation on x86-64
2694 * Thu Mar 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-11
2695 - update from CVS
2697 * Wed Mar 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-10
2698 - update from CVS
2700 * Tue Mar 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-9
2701 - update from CVS
2702 - fix glibc-debug description (#85111)
2703 - make librt.so a symlink again, not linker script
2705 * Tue Mar 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-8
2706 - update from CVS
2707 - remove the workarounds for broken software accessing GLIBC_PRIVATE
2708 symbols
2710 * Mon Mar 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-7
2711 - update from CVS
2713 * Sun Mar 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-6
2714 - fix TLS IE/LE model handling in dlopened libraries
2715 on TCB_AT_TP arches
2717 * Thu Feb 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-5
2718 - update from CVS
2720 * Tue Feb 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-4
2721 - update from CVS
2723 * Mon Feb 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-3
2724 - update from CVS
2725 - only warn about errno, h_errno or _res for binaries, never
2726 libraries
2727 - rebuilt with gcc-3.2.2-4 to use direct %gs TLS access insn sequences
2729 * Sun Feb 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-2
2730 - update from CVS
2732 * Sat Feb 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-1
2733 - update from CVS
2735 * Thu Feb 20 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-51
2736 - update from CVS
2738 * Wed Feb 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-50
2739 - update from CVS
2741 * Wed Feb 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-49
2742 - update from CVS
2743 - remove nisplus and nis from the default nsswitch.conf (#67401, #9952)
2745 * Tue Feb 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-48
2746 - update from CVS
2748 * Sat Feb 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-47
2749 - update from CVS
2751 * Fri Feb 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-46
2752 - update from CVS
2753 - pthread_cond* NPTL fixes, new NPTL testcases
2755 * Thu Feb 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-45
2756 - update from CVS
2757 - include also linuxthreads FLOATING_STACKS libs on i686 and athlon:
2758 LD_ASSUME_KERNEL=2.2.5 to LD_ASSUME_KERNEL=2.4.0 is non-FLOATING_STACKS lt,
2759 LD_ASSUME_KERNEL=2.4.1 to LD_ASSUME_KERNEL=2.4.19 is FLOATING_STACKS lt,
2760 later is NPTL
2761 - enable TLS on alpha/alphaev6
2762 - add BuildPreReq: /usr/bin/readlink
2764 * Tue Feb 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-44
2765 - update from CVS
2766 - pthread_once fix
2768 * Mon Feb 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-43
2769 - update from CVS
2770 - vfork fix on s390
2771 - rebuilt with binutils 2.13.90.0.18-5 so that accesses to errno
2772 don't bind locally (#83325)
2774 * Thu Feb 06 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-42
2775 - update from CVS
2776 - fix pthread_create after vfork+exec in linuxthreads
2778 * Wed Feb 05 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-41
2779 - update from CVS
2781 * Thu Jan 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-40
2782 - update from CVS
2784 * Wed Jan 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-39
2785 - update from CVS
2786 - enable TLS on s390{,x} and sparc{,v9}
2788 * Fri Jan 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-38
2789 - update from CVS
2790 - initialize __environ in glibc_post_upgrade to empty array,
2791 so that it is not NULL
2792 - compat symlink for s390x /lib/ld64.so.1
2793 - enable glibc-profile on x86-64
2794 - only include libNoVersion.so on IA-32, Alpha and Sparc 32-bit
2796 * Thu Jan 16 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-37
2797 - update from CVS
2798 - nscd fixes, *scanf fix
2799 - fix %%nptlarches noarch build (#81909)
2800 - IA-64 TLS fixes
2802 * Tue Jan 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-36
2803 - update from CVS
2804 - rework -debuginfo subpackage, add -debuginfo-common
2805 subpackage on IA-32, Alpha and Sparc (ie. auxiliary arches)
2806 - fix vfork in libc.a on PPC32, Alpha, Sparc
2807 - fix libio locks in linuxthreads libc.so if libpthread.so
2808 is dlopened later (#81374)
2810 * Mon Jan 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-35
2811 - update from CVS
2812 - dlclose bugfixes
2813 - fix NPTL libpthread.a
2814 - fix glibc_post_upgrade on several arches
2816 * Sat Jan 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-34
2817 - update from CVS
2818 - TLS support on IA-64
2820 * Wed Jan 8 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-33
2821 - fix vfork in linuxthreads (#81377, #81363)
2823 * Tue Jan 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-32
2824 - update from CVS
2825 - don't use TLS libs if kernel doesn't set AT_SYSINFO
2826 (#80921, #81212)
2827 - add ntp_adjtime on alpha (#79996)
2828 - fix nptl_db (#81116)
2830 * Sun Jan 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-31
2831 - update from CVS
2832 - support all architectures again
2834 * Fri Jan 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-30
2835 - fix condvar compatibility wrappers
2836 - add ugly hack to use non-TLS libs if a binary is seen
2837 to have errno, h_errno or _res symbols in .dynsym
2839 * Fri Jan 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-29
2840 - update from CVS
2841 - fixes for new condvar
2843 * Thu Jan 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-28
2844 - new NPTL condvar implementation plus related linuxthreads
2845 symbol versioning updates
2847 * Thu Jan 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-27
2848 - update from CVS
2849 - fix #include <sys/stat.h> with -D_BSD_SOURCE or without
2850 feature set macros
2851 - make *sigaction, sigwait and raise the same between
2852 -lpthread -lc and -lc -lpthread in linuxthreads builds
2854 * Tue Dec 31 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-26
2855 - fix dlclose
2857 * Sun Dec 29 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-25
2858 - enable sysenter by default for now
2859 - fix endless loop in ldconfig
2861 * Sat Dec 28 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-24
2862 - update from CVS
2864 * Fri Dec 27 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-23
2865 - update from CVS
2866 - fix ptmalloc_init after clearenv (#80370)
2868 * Sun Dec 22 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-22
2869 - update from CVS
2870 - add IA-64 back
2871 - move TLS libraries from /lib/i686 to /lib/tls
2873 * Thu Dec 19 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-21
2874 - system(3) fix for linuxthreads
2875 - don't segfault in pthread_attr_init from libc.so
2876 - add cancellation tests from nptl to linuxthreads
2878 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-20
2879 - fix up lists of exported symbols + their versions
2880 from the libraries
2882 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-19
2883 - fix --with-tls --enable-kernel=2.2.5 libc on IA-32
2885 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-18
2886 - update from CVS
2887 - fix NPTL hanging mozilla
2888 - initialize malloc in mALLOPt (fixes problems with squid, #79957)
2889 - make linuxthreads work with dl_dynamic_weak 0
2890 - clear dl_dynamic_weak everywhere
2892 * Tue Dec 17 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-17
2893 - update from CVS
2894 - NPTL socket fixes, flockfile/ftrylockfile/funlockfile fix
2895 - kill -debug sub-package, rename -debug-static to -debug
2896 - clear dl_dynamic_weak for NPTL
2898 * Mon Dec 16 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-16
2899 - fix <bits/mathinline.h> and <bits/nan.h> for C++
2900 - automatically generate NPTL libpthread wrappers
2902 * Mon Dec 16 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-15
2903 - update from CVS
2904 - all functions which need cancellation should now be cancellable
2905 both in libpthread.so and libc.so
2906 - removed @@GLIBC_2.3.2 cancellation wrappers
2908 * Fri Dec 13 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-14
2909 - update from CVS
2910 - replace __libc_lock_needed@GOTOFF(%ebx) with
2911 %gs:offsetof(tcbhead_t, multiple_threads)
2912 - start of new NPTL cancellation wrappers
2914 * Thu Dec 12 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-13
2915 - update from CVS
2916 - use inline locks in malloc
2918 * Tue Dec 10 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-12
2919 - update from CVS
2920 - support LD_ASSUME_KERNEL=2.2.5 in statically linked programs
2922 * Mon Dec 9 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-11
2923 - update from CVS
2924 - rebuilt with gcc-3.2.1-2
2926 * Fri Dec 6 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-10
2927 - update from CVS
2928 - non-nptl --with-tls --without-__thread FLOATING_STACKS libpthread
2929 should work now
2930 - faster libc locking when using nptl
2931 - add OUTPUT_FORMAT to linker scripts
2932 - fix x86_64 sendfile (#79111)
2934 * Wed Dec 4 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-9
2935 - update from CVS
2936 - RUSCII support (#78906)
2937 - for nptl builds add BuildRequires
2938 - fix byteswap.h for non-gcc (#77689)
2939 - add nptl-devel package
2941 * Tue Dec 3 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-8
2942 - update from CVS
2943 - make --enable-kernel=2.2.5 --with-tls --without-__thread
2944 ld.so load nptl and other --with-__thread libs
2945 - disable nptl by default for now
2947 * Wed Nov 27 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-7
2948 - update from CVS
2949 - restructured redhat/Makefile and spec, so that src.rpm contains
2950 glibc-<date>.tar.bz2, glibc-redhat-<date>.tar.bz2 and glibc-redhat.patch
2951 - added nptl
2953 * Fri Nov 8 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-6
2954 - update from CVS
2955 - even more regex fixes
2956 - run sed testsuite to check glibc regex
2958 * Thu Oct 24 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-5
2959 - fix LD_DEBUG=statistics and LD_TRACE_PRELINKING in programs
2960 using libpthread.so.
2962 * Thu Oct 24 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-4
2963 - update from CVS
2964 - fixed %a and %A in *printf (#75821)
2965 - fix re_comp memory leaking (#76594)
2967 * Tue Oct 22 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-3
2968 - update from CVS
2969 - some more regex fixes
2970 - fix libpthread.a (#76484)
2971 - fix locale-archive enlarging
2973 * Fri Oct 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-2
2974 - update from CVS
2975 - don't need to use 128K of stacks for DNS lookups
2976 - regex fixes
2977 - updated timezone data e.g. for this year's Brasil DST
2978 changes
2979 - expand ${LIB} in RPATH/RUNPATH/dlopen filenames
2981 * Fri Oct 11 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-1
2982 - update to 2.3.1 final
2983 - support really low thread stack sizes (#74073)
2984 - tzdata update
2986 * Wed Oct 9 2002 Jakub Jelinek <jakub@redhat.com> 2.3-2
2987 - update from CVS
2988 - handle low stack limits
2989 - move s390x into */lib64
2991 * Thu Oct 3 2002 Jakub Jelinek <jakub@redhat.com> 2.3-1
2992 - update to 2.3 final
2993 - fix freopen on libstdc++ <= 2.96 stdin/stdout/stderr (#74800)
2995 * Sun Sep 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-3
2996 - don't prelink -r libc.so on ppc/x86-64/sparc*, it doesn't
2997 speed things up, because they are neither REL arches, nor
2998 ELF_MACHINE_REL_RELATIVE
2999 - fix sparc64 build
3001 * Sun Sep 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-2
3002 - update from CVS
3004 * Sat Sep 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-1
3005 - update from CVS
3006 - prelink on ppc and x86-64 too
3007 - don't remove ppc memset
3008 - instead of listing on which arches to remove glibc-compat
3009 list where it should stay
3011 * Fri Sep 6 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-5
3012 - fix wcsmbs functions with invalid character sets (or malloc
3013 failures)
3014 - make sure __ctype_b etc. compat vars are updated even if
3015 they are copy relocs in the main program
3017 * Thu Sep 5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-4
3018 - fix /lib/libnss1_dns.so.1 (missing __set_h_errno definition
3019 leading to unresolved __set_h_errno symbol)
3021 * Wed Sep 4 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-3
3022 - security fix - increase dns-network.c MAXPACKET to at least
3023 65536 to avoid buffer overrun. Likewise glibc-compat
3024 dns-{host,network}.c.
3026 * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-2
3027 - temporarily add back __ctype_b, __ctype_tolower and __ctype_toupper to
3028 libc.a and export them as @@GLIBC_2.0 symbols, not @GLIBC_2.0
3029 from libc.so - we have still lots of .a libraries referencing
3030 __ctype_{b,tolower,toupper} out there...
3032 * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-1
3033 - update from CVS
3034 - 2.2.93 release
3035 - use double instead of single indirection in isXXX macros
3036 - per-locale wcsmbs conversion state
3038 * Sat Aug 31 2002 Jakub Jelinek <jakub@redhat.com> 2.2.92-2
3039 - update from CVS
3040 - fix newlocale/duplocale/uselocale
3041 - disable profile on x86_64 for now
3043 * Sat Aug 31 2002 Jakub Jelinek <jakub@redhat.com> 2.2.92-1
3044 - update from CVS
3045 - 2.2.92 release
3046 - fix gettext after uselocale
3047 - fix locales in statically linked threaded programs
3048 - fix NSS
3050 * Thu Aug 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.91-1
3051 - update from CVS
3052 - 2.2.91 release
3053 - fix fd leaks in locale-archive reader (#72043)
3054 - handle EROFS in build-locale-archive gracefully (#71665)
3056 * Wed Aug 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-27
3057 - update from CVS
3058 - fix re_match (#72312)
3059 - support more than 1024 threads
3061 * Fri Aug 23 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-26
3062 - update from CVS
3063 - fix i386 build
3065 * Thu Aug 22 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-25
3066 - update from CVS
3067 - fix locale-archive loading hang on some (non-primary) locales
3068 (#72122, #71878)
3069 - fix umount problems with locale-archives when /usr is a separate
3070 partition (#72043)
3071 - add LICENSES file
3073 * Fri Aug 16 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-24
3074 - update from CVS
3075 - only mmap up to 2MB of locale-archive on 32-bit machines
3076 initially
3077 - fix fseek past end + fread segfault with mmaped stdio
3078 - include <sys/debugreg.h> which is mistakenly not included
3079 in glibc-devel on IA-32
3081 * Fri Aug 16 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-23
3082 - don't return normalized locale name in setlocale when using
3083 locale-archive
3085 * Thu Aug 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-22
3086 - update from CVS
3087 - optimize for primary system locale
3088 - localedef fixes (#71552, #67705)
3090 * Wed Aug 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-21
3091 - fix path to locale-archive in libc reader
3092 - build locale archive at glibc-common %post time
3093 - export __strtold_internal and __wcstold_internal on Alpha again
3094 - workaround some localedata problems
3096 * Tue Aug 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-20
3097 - update from CVS
3098 - patch out set_thread_area for now
3100 * Fri Aug 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-19
3101 - update from CVS
3102 - GB18030 patch from Yu Shao
3103 - applied Debian patch for getaddrinfo IPv4 vs. IPv6
3104 - fix regcomp (#71039)
3106 * Sun Aug 4 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-18
3107 - update from CVS
3108 - use /usr/sbin/prelink, not prelink (#70376)
3110 * Thu Jul 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-17
3111 - update from CVS
3113 * Thu Jul 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-16
3114 - update from CVS
3115 - ungetc fix (#69586)
3116 - fseek errno fix (#69589)
3117 - change *etrlimit prototypes for C++ (#68588)
3118 - use --without-tls instead of --disable-tls
3120 * Thu Jul 11 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-15
3121 - set nscd user's shell to /sbin/nologin (#68369)
3122 - fix glibc-compat buffer overflows (security)
3123 - buildrequire prelink, don't build glibc's own copy of it (#67567)
3124 - update from CVS
3125 - regex fix (#67734)
3126 - fix unused warnings (#67706)
3127 - fix freopen with mmap stdio (#67552)
3128 - fix realloc (#68499)
3130 * Tue Jun 25 2002 Bill Nottingham <notting@redhat.com> 2.2.90-14
3131 - update from CVS
3132 - fix argp on long words
3133 - update atime in libio
3135 * Sat Jun 22 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-13
3136 - update from CVS
3137 - a thread race fix
3138 - fix readdir on invalid dirp
3140 * Wed Jun 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-12
3141 - update from CVS
3142 - don't use __thread in headers
3143 - fix system(3) in threaded apps
3144 - update prelink, so that it is possible to prelink -u libc.so.6.1
3145 on Alpha
3147 * Fri Jun 7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-11
3148 - update from CVS
3149 - fix __moddi3 (#65612, #65695)
3150 - fix ether_line (#64427)
3151 - fix setvbuf with mmap stdio (#65864)
3152 - --disable-tls for now, waiting for kernel
3153 - avoid duplication of __divtf3 etc. on IA-64
3154 - make sure get*ent_r and _IO_wfile_jumps are exported (#62278)
3156 * Tue May 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-10
3157 - update from CVS
3158 - fix Alpha pthread bug with gcc 3.1
3160 * Fri Apr 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-35
3161 - fix nice
3163 * Mon Apr 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-34
3164 - add relocation dependencies even for weak symbols (#63422)
3165 - stricter check_fds check for suid/sgid binaries
3166 - run make check at %%install time
3168 * Sat Apr 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-33
3169 - handle Dec 31 1969 in mktime for timezones west of GMT (#63369)
3170 - back out do-lookup.h change (#63261, #63305)
3171 - use "memory" clobber instead all the fancy stuff in i386/i686/bits/string.h
3172 since lots of compilers break on it
3173 - fix sparc build with gcc 3.1
3174 - fix spec file for athlon
3176 * Tue Apr 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-32
3177 - fix debugging of threaded apps (#62804)
3178 - fix DST for Estonia (#61494)
3179 - document that pthread_mutexattr_?etkind_np are deprecated
3180 and pthread_mutexattr_?ettype should be used instead in man
3181 pages (#61485)
3182 - fix libSegFault.so undefined externals
3184 * Fri Apr 5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-31
3185 - temporarily disable prelinking ld.so, as some statically linked
3186 binaries linked against debugging versions of old glibcs die on it
3187 (#62352)
3188 - fix <semaphore.h> for -std=c99 (#62516)
3189 - fix ether_ntohost segfault (#62397)
3190 - remove in glibc_post_upgrade on i386 all /lib/i686/libc-*.so,
3191 /lib/i686/libm-*.so and /lib/i686/libpthread-*.so, not just current
3192 version (#61633)
3193 - prelink -r on alpha too
3195 * Thu Mar 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-30
3196 - update GB18030 iconv module (Yu Shao)
3198 * Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-29
3199 - features.h fix
3201 * Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-28
3202 - update from CVS
3203 - fix nscd with huge groups
3204 - fix nis to not close fds it shouldn't
3205 - rebuilt against newer glibc-kernheaders to use the correct
3206 PATH_MAX
3207 - handle .athlon.rpm glibc the same way as .i686.rpm
3208 - add a couple of .ISO-8859-15 locales (#61922)
3209 - readd temporarily currencies which were superceeded by Euro
3210 into the list of accepted currencies by localedef to make
3211 standard conformance testsuites happy
3212 - temporarily moved __libc_waitpid back to make Sun JDK happy
3213 - use old malloc code
3214 - prelink i686/athlon ld.so and prelink -r i686/athlon libc.so
3216 * Thu Mar 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-27
3217 - update from CVS
3218 - fix DST handling for southern hemisphere (#60747)
3219 - fix daylight setting for tzset (#59951)
3220 - fix ftime (#60350)
3221 - fix nice return value
3222 - fix a malloc segfault
3223 - temporarily moved __libc_wait, __libc_fork and __libc_stack_end
3224 back to what they used to be exported at
3225 - censorship (#60758)
3227 * Thu Feb 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-26
3228 - update from CVS
3229 - use __attribute__((visibility(...))) if supported, use _rtld_local
3230 for ld.so only objects
3231 - provide libc's own __{,u}{div,mod}di3
3233 * Wed Feb 27 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-25
3234 - switch back to 2.2.5, mmap stdio needs work
3236 * Mon Feb 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-8
3237 - fix two other mmap stdio bugs (#60228)
3239 * Thu Feb 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-7
3240 - fix yet another mmap stdio bug (#60145)
3242 * Tue Feb 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-6
3243 - fix mmap stdio bug (seen on ld as File truncated error, #60043)
3244 - apply Andreas Schwab's fix for pthread sigwait
3245 - remove /lib/i686/ libraries in glibc_post_upgrade when
3246 performing i386 glibc install
3248 * Thu Feb 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-5
3249 - update to CVS
3250 - added glibc-utils subpackage
3251 - disable autoreq in glibc-debug
3252 - readd %%lang() to locale files
3254 * Fri Feb 7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-4
3255 - update to CVS
3256 - move glibc private symbols to GLIBC_PRIVATE symbol version
3258 * Wed Jan 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-3
3259 - fix a sqrt bug on alpha which caused SHN_UNDEF $__full_ieee754_sqrt..ng
3260 symbol in libm
3262 * Tue Jan 8 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-2
3263 - add debug-static package
3265 * Mon Dec 31 2001 Jakub Jelinek <jakub@redhat.com> 2.2.90-1
3266 - update from CVS
3267 - remove -D__USE_STRING_INLINES
3268 - add debug subpackage to trim glibc and glibc-devel size
3270 * Wed Oct 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-19
3271 - fix strsep
3273 * Fri Sep 28 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-18
3274 - fix a ld.so bug with duplicate searchlists in l_scope
3275 - fix erfcl(-inf)
3276 - turn /usr/lib/librt.so into linker script
3278 * Wed Sep 26 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-17
3279 - fix a ld.so lookup bug after lots of dlopen calls
3280 - fix CMSG_DATA for non-gcc non-ISOC99 compilers (#53984)
3281 - prelinking support for Sparc64
3283 * Fri Sep 21 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-16
3284 - update from CVS to fix DT_SYMBOLIC
3285 - prelinking support for Alpha and Sparc
3287 * Tue Sep 18 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-15
3288 - update from CVS
3289 - linuxthreads now retries if -1/EINTR is returned from
3290 reading or writing to thread manager pipe (#43742)
3291 - use DT_FILTER in librt.so (#53394)
3292 - update glibc prelink patch so that it handles filters
3293 - fix timer_* with SIGEV_NONE (#53494)
3294 - make glibc_post_upgrade work on PPC (patch from Franz Sirl)
3296 * Mon Sep 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-14
3297 - fix build on sparc32
3298 - 2.2.4-13 build for some reason missed some locales
3299 on alpha/ia64
3301 * Mon Sep 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-13
3302 - fix iconvconfig
3304 * Mon Sep 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-12
3305 - add fam to /etc/rpc (#52863)
3306 - fix <inttypes.h> for C++ (#52960)
3307 - fix perror
3309 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-11
3310 - fix strnlen(x, -1)
3312 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-10
3313 - doh, <bits/libc-lock.h> should only define __libc_rwlock_t
3314 if __USE_UNIX98.
3316 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-9
3317 - fix bits/libc-lock.h so that gcc can compile
3318 - fix s390 build
3320 * Fri Aug 24 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-8
3321 - kill stale library symlinks in ldconfig (#52350)
3322 - fix inttypes.h for G++ < 3.0
3323 - use DT_REL*COUNT
3325 * Wed Aug 22 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-7
3326 - fix strnlen on IA-64 (#50077)
3328 * Thu Aug 16 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-6
3329 - glibc 2.2.4 final
3330 - fix -lpthread -static (#51672)
3332 * Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-5
3333 - doh, include libio/tst-swscanf.c
3335 * Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-4
3336 - don't crash on catclose(-1)
3337 - fix wscanf %[] handling
3338 - fix return value from swprintf
3339 - handle year + %U/%W week + week day in strptime
3341 * Thu Aug 9 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-3
3342 - update from CVS to
3343 - fix strcoll (#50548)
3344 - fix seekdir (#51132)
3345 - fix memusage (#50606)
3346 - don't make gconv-modules.cache %%config file, just don't verify
3347 its content.
3349 * Mon Aug 6 2001 Jakub Jelinek <jakub@redhat.com>
3350 - fix strtod and *scanf (#50723, #50724)
3352 * Sat Aug 4 2001 Jakub Jelinek <jakub@redhat.com>
3353 - update from CVS
3354 - fix iconv cache handling
3355 - glibc should not own %{_infodir}, %{_mandir} nor %{_mandir}/man3 (#50673)
3356 - add gconv-modules.cache as emtpy config file (#50699)
3357 - only run iconvconfig if /usr is mounted read-write (#50667)
3359 * Wed Jul 25 2001 Jakub Jelinek <jakub@redhat.com>
3360 - move iconvconfig from glibc-common into glibc subpackage,
3361 call it from glibc_post_upgrade instead of common's post.
3363 * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
3364 - turn off debugging printouts in iconvconfig
3366 * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
3367 - update from CVS
3368 - fix IA-32 makecontext
3369 - make fflush(0) thread-safe (#46446)
3371 * Mon Jul 23 2001 Jakub Jelinek <jakub@redhat.com>
3372 - adjust prelinking DT_* and SHT_* values in elf.h
3373 - update from CVS
3374 - iconv cache
3375 - make iconv work in SUID/SGID programs (#34611)
3377 * Fri Jul 20 2001 Jakub Jelinek <jakub@redhat.com>
3378 - update from CVS
3379 - kill non-pic code in libm.so
3380 - fix getdate
3381 - fix some locales (#49402)
3382 - rebuilt with binutils-2.11.90.0.8-5 to place .interp section
3383 properly in libBrokenLocale.so, libNoVersion.so and libanl.so
3384 - add floating stacks on IA-64, Alpha, Sparc (#49308)
3386 * Mon Jul 16 2001 Jakub Jelinek <jakub@redhat.com>
3387 - make /lib/i686 directory owned by glibc*.i686.rpm
3389 * Mon Jul 9 2001 Jakub Jelinek <jakub@redhat.com>
3390 - remove rquota.[hx] headers which are now provided by quota (#47141)
3391 - add prelinking patch
3393 * Thu Jul 5 2001 Jakub Jelinek <jakub@redhat.com>
3394 - require sh-utils for nscd
3396 * Mon Jun 25 2001 Jakub Jelinek <jakub@redhat.com>
3397 - update from CVS (#43681, #43350, #44663, #45685)
3398 - fix ro_RO bug (#44644)
3400 * Wed Jun 6 2001 Jakub Jelinek <jakub@redhat.com>
3401 - fix a bunch of math bugs (#43210, #43345, #43346, #43347, #43348, #43355)
3402 - make rpc headers -ansi compilable (#42390)
3403 - remove alphaev6 optimized memcpy, since there are still far too many
3404 broken apps which call memcpy where they should call memmove
3405 - update from CVS to (among other things):
3406 - fix tanhl bug (#43352)
3408 * Tue May 22 2001 Jakub Jelinek <jakub@redhat.com>
3409 - fix #include <signal.h> with -D_XOPEN_SOURCE=500 on ia64 (#35968)
3410 - fix a dlclose reldeps handling bug
3411 - some more profiling fixes
3412 - fix tgmath.h
3414 * Thu May 17 2001 Jakub Jelinek <jakub@redhat.com>
3415 - make ldconfig more quiet
3416 - fix LD_PROFILE on i686 (#41030)
3418 * Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
3419 - fix the hardlink program, so that it really catches all files with
3420 identical content
3421 - add a s390x clone fix
3423 * Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
3424 - fix rpc for non-threaded apps using svc_fdset and similar variables (#40409)
3425 - fix nss compatibility DSO versions for alphaev6
3426 - add a hardlink program instead of the shell 3x for plus cmp -s/link
3427 which takes a lot of time during build
3428 - rework BuildPreReq and Conflicts with gcc, so that
3429 it applies only where it has to
3431 * Fri May 11 2001 Jakub Jelinek <jakub@redhat.com>
3432 - fix locale name of ja_JP in UTF-8 (#39783)
3433 - fix re_search_2 (#40244)
3434 - fix memusage script (#39138, #39823)
3435 - fix dlsym(RTLD_NEXT, ) from main program (#39803)
3436 - fix xtrace script (#39609)
3437 - make glibc conflict with glibc-devel 2.2.2 and below (to make sure
3438 libc_nonshared.a has atexit)
3439 - fix getconf LFS_CFLAGS on 64bitters
3440 - recompile with gcc-2.96-84 or above to fix binary compatibility problem
3441 with __frame_state_for function (#37933)
3443 * Fri Apr 27 2001 Jakub Jelinek <jakub@redhat.com>
3444 - glibc 2.2.3 release
3445 - fix strcoll (#36539)
3446 - add BuildPreReqs (#36378)
3448 * Wed Apr 25 2001 Jakub Jelinek <jakub@redhat.com>
3449 - update from CVS
3451 * Fri Apr 20 2001 Jakub Jelinek <jakub@redhat.com>
3452 - update from CVS
3453 - fix sparc64, ia64
3454 - fix some locale syntax errors (#35982)
3456 * Wed Apr 18 2001 Jakub Jelinek <jakub@redhat.com>
3457 - update from CVS
3459 * Wed Apr 11 2001 Jakub Jelinek <jakub@redhat.com>
3460 - update from CVS
3462 * Fri Apr 6 2001 Jakub Jelinek <jakub@redhat.com>
3463 - support even 2.4.0 kernels on ia64, sparc64 and s390x
3464 - include UTF-8 locales
3465 - make gconv-modules %%config(noreplace)
3467 * Fri Mar 23 2001 Jakub Jelinek <jakub@redhat.com>
3468 - back out sunrpc changes
3470 * Wed Mar 21 2001 Jakub Jelinek <jakub@redhat.com>
3471 - update from CVS
3472 - fix ia64 build
3473 - fix pthread_getattr_np
3475 * Fri Mar 16 2001 Jakub Jelinek <jakub@redhat.com>
3476 - update from CVS
3477 - run atexit() registered functions at dlclose time if they are in shared
3478 libraries (#28625)
3479 - add pthread_getattr_np API to make JVM folks happy
3481 * Wed Mar 14 2001 Jakub Jelinek <jakub@redhat.com>
3482 - require 2.4.1 instead of 2.4.0 on platforms where it required 2.4 kernel
3483 - fix ldd behaviour on unresolved symbols
3484 - remove nonsensical ldconfig warning, update osversion for the most
3485 recent library with the same soname in the same directory instead (#31703)
3486 - apply selected patches from CVS
3487 - s390x spec file changes from Florian La Roche
3489 * Wed Mar 7 2001 Jakub Jelinek <jakub@redhat.com>
3490 - fix gencat (#30894)
3491 - fix ldconfig changes from yesterday, fix LD_ASSUME_KERNEL handling
3493 * Tue Mar 6 2001 Jakub Jelinek <jakub@redhat.com>
3494 - update from CVS
3495 - make pthread_attr_setstacksize consistent before and after pthread manager
3496 is started (#28194)
3497 - pass back struct sigcontext from pthread signal wrapper (on ia32 only so
3498 far, #28493)
3499 - on i686 ship both --enable-kernel 2.2.5 and 2.4.0 libc/libm/libpthread,
3500 make ld.so pick the right one
3502 * Sat Feb 17 2001 Preston Brown <pbrown@redhat.com>
3503 - glib-common doesn't require glibc, until we can figure out how to get out of dependency hell.
3505 * Sat Feb 17 2001 Jakub Jelinek <jakub@redhat.com>
3506 - make glibc require particular version of glibc-common
3507 and glibc-common prerequire glibc.
3509 * Fri Feb 16 2001 Jakub Jelinek <jakub@redhat.com>
3510 - glibc 2.2.2 release
3511 - fix regex REG_ICASE bug seen in ksymoops
3513 * Sat Feb 10 2001 Jakub Jelinek <jakub@redhat.com>
3514 - fix regexec leaking memory (#26864)
3516 * Fri Feb 9 2001 Jakub Jelinek <jakub@redhat.com>
3517 - update from CVS
3518 - fix ia64 build with gnupro
3519 - make regex 64bit clean
3520 - fix tgmath make check failures on alpha
3522 * Tue Feb 6 2001 Jakub Jelinek <jakub@redhat.com>
3523 - update again for ia64 DF_1_INITFIRST
3525 * Fri Feb 2 2001 Jakub Jelinek <jakub@redhat.com>
3526 - update from CVS
3527 - fix getaddrinfo (#25437)
3528 - support DF_1_INITFIRST (#25029)
3530 * Wed Jan 24 2001 Jakub Jelinek <jakub@redhat.com>
3531 - build all auxiliary arches with --enablekernel 2.4.0, those wanting
3532 to run 2.2 kernels can downgrade to the base architecture glibc.
3534 * Sat Jan 20 2001 Jakub Jelinek <jakub@redhat.com>
3535 - remove %%lang() flags from %%{_prefix}/lib/locale files temporarily
3537 * Sun Jan 14 2001 Jakub Jelinek <jakub@redhat.com>
3538 - update to 2.2.1 final
3539 - fix a pthread_kill_other_threads_np breakage (#23966)
3540 - make static binaries using dlopen work on ia64 again
3541 - fix a typo in glibc-common group
3543 * Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
3544 - devel requires glibc = %%{version}
3545 - noreplace /etc/nscd.conf
3547 * Wed Jan 10 2001 Jakub Jelinek <jakub@redhat.com>
3548 - some more security fixes:
3549 - don't look up LD_PRELOAD libs in cache for SUID apps
3550 (because that bypasses SUID bit checking on the library)
3551 - place output files for profiling SUID apps into /var/profile,
3552 use O_NOFOLLOW for them
3553 - add checks for $MEMUSAGE_OUTPUT and $SEGFAULT_OUTPUT_NAME
3554 - hardlink identical locale files together
3555 - add %%lang() tags to locale stuff
3556 - remove ko_KR.utf8 for now, it is provided by locale-utf8 package
3558 * Mon Jan 8 2001 Jakub Jelinek <jakub@redhat.com>
3559 - add glibc-common subpackage
3560 - fix alphaev6 memcpy (#22494)
3561 - fix sys/cdefs.h (#22908)
3562 - don't define stdin/stdout/stderr as macros for -traditional (#22913)
3563 - work around a bug in IBM JDK (#22932, #23012)
3564 - fix pmap_unset when network is down (#23176)
3565 - move nscd in rc.d before netfs on shutdown
3566 - fix $RESOLV_HOST_CONF in SUID apps (#23562)
3568 * Fri Dec 15 2000 Jakub Jelinek <jakub@redhat.com>
3569 - fix ftw and nftw
3571 * Wed Dec 13 2000 Jakub Jelinek <jakub@redhat.com>
3572 - fix fcvt (#22184)
3573 - ldd /lib/ld-linux.so.2 is not crashing any longer again (#22197)
3574 - fix gencat
3576 * Mon Dec 11 2000 Jakub Jelinek <jakub@redhat.com>
3577 - fix alpha htonl and alphaev6 stpcpy
3579 * Sat Dec 9 2000 Jakub Jelinek <jakub@redhat.com>
3580 - update to CVS to:
3581 - fix getnameinfo (#21934)
3582 - don't stomp on memory in rpath handling (#21544)
3583 - fix setlocale (#21507)
3584 - fix libNoVersion.so.1 loading code (#21579)
3585 - use auxarches define in spec file for auxiliary
3586 architectures (#21219)
3587 - remove /usr/share directory from filelist (#21218)
3589 * Sun Nov 19 2000 Jakub Jelinek <jakub@redhat.com>
3590 - update to CVS to fix getaddrinfo
3592 * Fri Nov 17 2000 Jakub Jelinek <jakub@redhat.com>
3593 - update to CVS to fix freopen
3594 - remove all alpha workarounds, not needed anymore
3596 * Wed Nov 15 2000 Jakub Jelinek <jakub@redhat.com>
3597 - fix dladdr bug on alpha/sparc32/sparc64
3598 - fix Makefiles so that they run static tests properly
3600 * Tue Nov 14 2000 Jakub Jelinek <jakub@redhat.com>
3601 - update to CVS to fix ldconfig
3603 * Thu Nov 9 2000 Jakub Jelinek <jakub@redhat.com>
3604 - update to glibc 2.2 release
3606 * Mon Nov 6 2000 Jakub Jelinek <jakub@redhat.com>
3607 - update to CVS to:
3608 - export __sysconf@@GLIBC_2.2 (#20417)
3610 * Fri Nov 3 2000 Jakub Jelinek <jakub@redhat.com>
3611 - merge to 2.1.97
3613 * Mon Oct 30 2000 Jakub Jelinek <jakub@redhat.com>
3614 - update to CVS, including:
3615 - fix WORD_BIT/LONG_BIT definition in limits.h (#19088)
3616 - fix hesiod (#19375)
3617 - set LC_MESSAGES in zic/zdump for proper error message output (#19495)
3618 - fix LFS fcntl when used with non-LFS aware kernels (#19730)
3620 * Thu Oct 19 2000 Jakub Jelinek <jakub@redhat.com>
3621 - fix alpha semctl (#19199)
3622 - update to CVS, including:
3623 - fix glibc headers for Compaq non-gcc compilers
3624 - fix locale alias handling code (#18832)
3625 - fix rexec on little endian machines (#18886)
3626 - started writing changelog again
3628 * Thu Aug 10 2000 Adrian Havill <havill@redhat.com>
3629 - added ja ujis alias for backwards compatibility