Updated to fedora-glibc-20041208T1024
[glibc.git] / fedora / glibc.spec.in
blob59711c00b1caf85c14f85aaefa7f97c1a3b9357f
1 %define glibcrelease 89
2 %define auxarches i586 i686 athlon sparcv9 alphaev6
3 %define prelinkarches noarch
4 %define nptlarches i386 i686 athlon x86_64 ia64 s390 s390x sparcv9 ppc ppc64
5 %define rtkaioarches noarch
6 %define withtlsarches i386 i686 athlon x86_64 ia64 s390 s390x alpha alphaev6 sparc sparcv9 ppc ppc64
7 %define debuginfocommonarches %{ix86} alpha alphaev6 sparc sparcv9
8 %define _unpackaged_files_terminate_build 0
9 Summary: The GNU libc libraries.
10 Name: glibc
11 Version: %{glibcversion}
12 Release: %{glibcrelease}
13 Copyright: LGPL
14 Group: System Environment/Libraries
15 %define glibcsrcdir %{name}-%{glibcdate}
16 Source0: %{glibcsrcdir}.tar.bz2
17 Source1: %{name}-fedora-%{glibcdate}.tar.bz2
18 Patch0: %{name}-fedora.patch
19 Patch1: %{name}-nptl-check.patch
20 Patch2: %{name}-ppc-assume.patch
21 Patch3: %{name}-ia64-lib64.patch
22 Buildroot: %{_tmppath}/glibc-%{PACKAGE_VERSION}-root
23 Obsoletes: zoneinfo, libc-static, libc-devel, libc-profile, libc-headers,
24 Obsoletes: linuxthreads, gencat, locale, ldconfig, locale-ja
25 Provides: ldconfig
26 Autoreq: false
27 Requires: glibc-common = %{version}-%{release}
28 %ifarch sparc
29 Obsoletes: libc
30 %endif
31 # Require libgcc in case some program calls pthread_cancel in its %%post
32 Prereq: basesystem, libgcc
33 # This is for building auxiliary programs like memusage, nscd
34 # For initial glibc bootstraps it can be commented out
35 BuildPreReq: gd-devel libpng-devel zlib-devel texinfo, libselinux-devel >= 1.17.10-1
36 BuildPreReq: sed >= 3.95
37 %ifarch %{prelinkarches}
38 BuildPreReq: prelink >= 0.2.0-5
39 %endif
40 # This is to ensure that __frame_state_for is exported by glibc
41 # will be compatible with egcs 1.x.y
42 BuildPreReq: gcc >= 3.2
43 Conflicts: rpm <= 4.0-0.65
44 Conflicts: glibc-devel < 2.2.3
45 Conflicts: gcc4 <= 4.0.0-0.6
46 # Earlier shadow-utils packages had too restrictive permissions on
47 # /etc/default
48 Conflicts: shadow-utils < 2:4.0.3-20
49 Conflicts: nscd < 2.3.3-52
50 %ifarch ia64 sparc64 s390x x86_64
51 Conflicts: kernel < 2.4.0
52 %define enablekernel 2.4.0
53 %else
54 %ifarch ppc64
55 Conflicts: kernel < 2.4.19
56 %define enablekernel 2.4.19
57 %else
58 %define enablekernel 2.2.5
59 %ifarch i686 athlon
60 %define enablekernelltfs 2.4.1
61 %endif
62 %endif
63 %endif
64 %ifarch %{nptlarches}
65 %define enablekernelnptl 2.4.20
66 %ifarch i386
67 %define nptl_target_cpu i486
68 %define tls_subdir tls/i486
69 %else
70 %define nptl_target_cpu %{_target_cpu}
71 %define tls_subdir tls
72 %endif
73 %endif
74 BuildRequires: binutils >= 2.13.90.0.16-5
75 BuildRequires: gcc >= 3.2.1-5
76 %if "%{_enable_debug_packages}" == "1"
77 BuildPreReq: elfutils >= 0.72
78 BuildPreReq: rpm >= 4.2-0.56
79 %endif
80 %define __find_provides %{_builddir}/%{glibcsrcdir}/find_provides.sh
81 %define _filter_GLIBC_PRIVATE 1
83 %description
84 The glibc package contains standard libraries which are used by
85 multiple programs on the system. In order to save disk space and
86 memory, as well as to make upgrading easier, common system code is
87 kept in one place and shared between programs. This particular package
88 contains the most important sets of shared libraries: the standard C
89 library and the standard math library. Without these two libraries, a
90 Linux system will not function.
92 %package devel
93 Summary: Object files for development using standard C libraries.
94 Group: Development/Libraries
95 Conflicts: texinfo < 3.11
96 Conflicts: binutils < 2.13.90.0.16-5
97 Prereq: /sbin/install-info
98 Obsoletes: libc-debug, libc-headers, libc-devel, linuxthreads-devel
99 Obsoletes: glibc-debug
100 Prereq: %{name}-headers
101 Requires: %{name}-headers = %{version}-%{release}, %{name} = %{version}
102 %ifarch %{ix86}
103 # Earlier gcc's had atexit reference in crtendS.o, which does not
104 # work with this glibc where atexit is in libc_nonshared.a
105 Conflicts: gcc < 2.96-79
106 %endif
107 Autoreq: true
109 %description devel
110 The glibc-devel package contains the object files necessary
111 for developing programs which use the standard C libraries (which are
112 used by nearly all programs). If you are developing programs which
113 will use the standard C libraries, your system needs to have these
114 standard object files available in order to create the
115 executables.
117 Install glibc-devel if you are going to develop programs which will
118 use the standard C libraries.
120 %package headers
121 Summary: Header files for development using standard C libraries.
122 Group: Development/Libraries
123 Provides: %{name}-headers(%{_target_cpu})
124 %ifarch x86_64
125 # If both -m32 and -m64 is to be supported on AMD64, x86_64 glibc-headers
126 # have to be installed, not i386 ones.
127 Obsoletes: %{name}-headers(i386)
128 %endif
129 Obsoletes: libc-debug, libc-headers, libc-devel, linuxthreads-devel
130 Prereq: kernel-headers
131 Requires: kernel-headers >= 2.2.1, %{name} = %{version}
132 Autoreq: true
134 %description headers
135 The glibc-headers package contains the header files necessary
136 for developing programs which use the standard C libraries (which are
137 used by nearly all programs). If you are developing programs which
138 will use the standard C libraries, your system needs to have these
139 standard header files available in order to create the
140 executables.
142 Install glibc-headers if you are going to develop programs which will
143 use the standard C libraries.
145 %package -n nptl-devel
146 Summary: Header files and static libraries for development using NPTL library.
147 Group: Development/Libraries
148 Requires: glibc-devel = %{version}-%{release}
149 Autoreq: true
151 %description -n nptl-devel
152 The nptl-devel package contains the header and object files necessary
153 for developing programs which use the NPTL library (and either need
154 NPTL specific header files or want to link against NPTL statically).
156 %package profile
157 Summary: The GNU libc libraries, including support for gprof profiling.
158 Group: Development/Libraries
159 Obsoletes: libc-profile
160 Autoreq: true
162 %description profile
163 The glibc-profile package includes the GNU libc libraries and support
164 for profiling using the gprof program. Profiling is analyzing a
165 program's functions to see how much CPU time they use and determining
166 which functions are calling other functions during execution. To use
167 gprof to profile a program, your program needs to use the GNU libc
168 libraries included in glibc-profile (instead of the standard GNU libc
169 libraries included in the glibc package).
171 If you are going to use the gprof program to profile a program, you'll
172 need to install the glibc-profile package.
174 %package common
175 Summary: Common binaries and locale data for glibc
176 Conflicts: %{name} < %{version}
177 Conflicts: %{name} > %{version}
178 Autoreq: false
179 Requires: tzdata >= 2003a
180 Group: System Environment/Base
182 %description common
183 The glibc-common package includes common binaries for the GNU libc
184 libraries, as well as national language (locale) support.
186 %package -n nscd
187 Summary: A Name Service Caching Daemon (nscd).
188 Group: System Environment/Daemons
189 Conflicts: kernel < 2.2.0
190 Requires: libselinux >= 1.17.10-1
191 Conflicts: selinux-policy-targeted < 1.17.30-2.2
192 Prereq: /sbin/chkconfig, /usr/sbin/useradd, /usr/sbin/userdel, sh-utils
193 Autoreq: true
195 %description -n nscd
196 Nscd caches name service lookups and can dramatically improve
197 performance with NIS+, and may help with DNS as well. Note that you
198 can't use nscd with 2.0 kernels because of bugs in the kernel-side
199 thread support. Unfortunately, nscd happens to hit these bugs
200 particularly hard.
202 %package utils
203 Summary: Development utilities from GNU C library
204 Group: Development/Tools
205 Requires: glibc = %{version}-%{release}
207 %description utils
208 The glibc-utils package contains memusage, a memory usage profiler,
209 mtrace, a memory leak tracer and xtrace, a function call tracer
210 which can be helpful during program debugging.
212 If unsure if you need this, don't install this package.
214 %if "%{_enable_debug_packages}" == "1"
215 %define debug_package %{nil}
217 %package debuginfo
218 Summary: Debug information for package %{name}
219 Group: Development/Debug
220 %ifarch %{debuginfocommonarches}
221 Requires: glibc-debuginfo-common = %{version}-%{release}
222 %endif
224 %description debuginfo
225 This package provides debug information for package %{name}.
226 Debug information is useful when developing applications that use this
227 package or when debugging this package.
229 This package also contains static standard C libraries with
230 debugging information. You need this only if you want to step into
231 C library routines during debugging programs statically linked against
232 one or more of the standard C libraries.
233 To use this debugging information, you need to link binaries
234 with -static -L%{_prefix}/lib/debug%{_prefix}/%{_lib} compiler options.
236 %ifarch %{debuginfocommonarches}
238 %package debuginfo-common
239 Summary: Debug information for package %{name}
240 Group: Development/Debug
242 %description debuginfo-common
243 This package provides debug information for package %{name}.
244 Debug information is useful when developing applications that use this
245 package or when debugging this package.
247 %endif
248 %endif
250 %prep
251 %setup -q -n %{glibcsrcdir} -a1
252 %patch0 -E -p1
253 case "`gcc --version | head -1`" in
254 gcc*\ 3.[34]*)
255 %ifarch %{nptlarches}
256 %patch1 -p1
257 %endif
259 gcc*\ 3.2.3*)
260 case "`uname -r`" in *.ent*|*.EL*)
261 %patch2 -p1
262 ;; esac ;;
263 esac
264 %ifarch ia64
265 %if "%{_lib}" == "lib64"
266 %patch3 -p1
267 %endif
268 %endif
270 # Hack till glibc-kernheaders get updated, argh
271 mkdir asm
272 cat > asm/unistd.h <<EOF
273 #ifndef _HACK_ASM_UNISTD_H
274 #include_next <asm/unistd.h>
275 %ifarch alpha
276 #ifndef __NR_stat64
277 #define __NR_stat64 425
278 #define __NR_lstat64 426
279 #define __NR_fstat64 427
280 #endif
281 #ifndef __NR_mq_open
282 #define __NR_mq_open 432
283 #define __NR_mq_unlink 433
284 #define __NR_mq_timedsend 434
285 #define __NR_mq_timedreceive 435
286 #define __NR_mq_notify 436
287 #define __NR_mq_getsetattr 437
288 #endif
289 %endif
290 %ifarch %{ix86}
291 #ifndef __NR_mq_open
292 #define __NR_mq_open 277
293 #define __NR_mq_unlink (__NR_mq_open+1)
294 #define __NR_mq_timedsend (__NR_mq_open+2)
295 #define __NR_mq_timedreceive (__NR_mq_open+3)
296 #define __NR_mq_notify (__NR_mq_open+4)
297 #define __NR_mq_getsetattr (__NR_mq_open+5)
298 #endif
299 #ifndef __NR_waitid
300 #define __NR_waitid 284
301 #endif
302 %endif
303 %ifarch ia64
304 #ifndef __NR_timer_create
305 #define __NR_timer_create 1248
306 #define __NR_timer_settime 1249
307 #define __NR_timer_gettime 1250
308 #define __NR_timer_getoverrun 1251
309 #define __NR_timer_delete 1252
310 #define __NR_clock_settime 1253
311 #define __NR_clock_gettime 1254
312 #define __NR_clock_getres 1255
313 #define __NR_clock_nanosleep 1256
314 #endif
315 #ifndef __NR_mq_open
316 #define __NR_mq_open 1262
317 #define __NR_mq_unlink 1263
318 #define __NR_mq_timedsend 1264
319 #define __NR_mq_timedreceive 1265
320 #define __NR_mq_notify 1266
321 #define __NR_mq_getsetattr 1267
322 #endif
323 %endif
324 %ifarch ppc
325 #ifndef __NR_utimes
326 #define __NR_utimes 251
327 #endif
328 #ifndef __NR_statfs64
329 #define __NR_statfs64 252
330 #define __NR_fstatfs64 253
331 #endif
332 #ifndef __NR_fadvise64_64
333 #define __NR_fadvise64_64 254
334 #endif
335 #ifndef __NR_mq_open
336 #define __NR_mq_open 262
337 #define __NR_mq_unlink 263
338 #define __NR_mq_timedsend 264
339 #define __NR_mq_timedreceive 265
340 #define __NR_mq_notify 266
341 #define __NR_mq_getsetattr 267
342 #endif
343 %endif
344 %ifarch ppc64
345 #ifndef __NR_utimes
346 #define __NR_utimes 251
347 #endif
348 #ifndef __NR_mq_open
349 #define __NR_mq_open 262
350 #define __NR_mq_unlink 263
351 #define __NR_mq_timedsend 264
352 #define __NR_mq_timedreceive 265
353 #define __NR_mq_notify 266
354 #define __NR_mq_getsetattr 267
355 #endif
356 %endif
357 %ifarch s390
358 #ifndef __NR_timer_create
359 #define __NR_timer_create 254
360 #define __NR_timer_settime (__NR_timer_create+1)
361 #define __NR_timer_gettime (__NR_timer_create+2)
362 #define __NR_timer_getoverrun (__NR_timer_create+3)
363 #define __NR_timer_delete (__NR_timer_create+4)
364 #define __NR_clock_settime (__NR_timer_create+5)
365 #define __NR_clock_gettime (__NR_timer_create+6)
366 #define __NR_clock_getres (__NR_timer_create+7)
367 #define __NR_clock_nanosleep (__NR_timer_create+8)
368 #endif
369 #ifndef __NR_fadvise64_64
370 #define __NR_fadvise64_64 264
371 #endif
372 #ifndef __NR_statfs64
373 #define __NR_statfs64 265
374 #define __NR_fstatfs64 266
375 #endif
376 #ifndef __NR_mq_open
377 #define __NR_mq_open 271
378 #define __NR_mq_unlink 272
379 #define __NR_mq_timedsend 273
380 #define __NR_mq_timedreceive 274
381 #define __NR_mq_notify 275
382 #define __NR_mq_getsetattr 276
383 #endif
384 %endif
385 %ifarch s390x
386 #ifndef __NR_timer_create
387 #define __NR_timer_create 254
388 #define __NR_timer_settime (__NR_timer_create+1)
389 #define __NR_timer_gettime (__NR_timer_create+2)
390 #define __NR_timer_getoverrun (__NR_timer_create+3)
391 #define __NR_timer_delete (__NR_timer_create+4)
392 #define __NR_clock_settime (__NR_timer_create+5)
393 #define __NR_clock_gettime (__NR_timer_create+6)
394 #define __NR_clock_getres (__NR_timer_create+7)
395 #define __NR_clock_nanosleep (__NR_timer_create+8)
396 #endif
397 #ifndef __NR_mq_open
398 #define __NR_mq_open 271
399 #define __NR_mq_unlink 272
400 #define __NR_mq_timedsend 273
401 #define __NR_mq_timedreceive 274
402 #define __NR_mq_notify 275
403 #define __NR_mq_getsetattr 276
404 #endif
405 %endif
406 %ifarch sparc sparc64
407 #ifndef __NR_mq_open
408 #define __NR_mq_open 273
409 #define __NR_mq_unlink 274
410 #define __NR_mq_timedsend 275
411 #define __NR_mq_timedreceive 276
412 #define __NR_mq_notify 277
413 #define __NR_mq_getsetattr 278
414 #endif
415 #ifndef __NR_waitid
416 #define __NR_waitid 279
417 #endif
418 %endif
419 %ifarch x86_64
420 #ifndef __NR_mq_open
421 #define __NR_mq_open 240
422 #define __NR_mq_unlink 241
423 #define __NR_mq_timedsend 242
424 #define __NR_mq_timedreceive 243
425 #define __NR_mq_notify 244
426 #define __NR_mq_getsetattr 245
427 #endif
428 #ifndef __NR_waitid
429 #define __NR_waitid 247
430 #endif
431 %endif
432 #endif
435 %ifnarch %{ix86} alpha alphaev6 sparc sparcv9
436 rm -rf glibc-compat
437 %endif
439 # A lot of programs still misuse memcpy when they have to use
440 # memmove. The memcpy implementation below is not tolerant at
441 # all.
442 rm -f sysdeps/alpha/alphaev6/memcpy.S
444 find . -type f -size 0 -o -name "*.orig" -exec rm -f {} \;
445 cat > find_provides.sh <<EOF
446 #!/bin/sh
447 /usr/lib/rpm/find-provides | grep -v GLIBC_PRIVATE
448 exit 0
450 chmod +x find_provides.sh
451 touch `find . -name configure`
453 %build
454 rm -rf build-%{_target_cpu}-linux
455 mkdir build-%{_target_cpu}-linux ; cd build-%{_target_cpu}-linux
456 GCC=gcc
457 %ifarch %{ix86}
458 BuildFlags="-march=%{_target_cpu}"
459 %endif
460 %ifarch alphaev6
461 BuildFlags="-mcpu=ev6"
462 %endif
463 %ifarch sparc
464 BuildFlags="-fcall-used-g6"
465 GCC="gcc -m32"
466 %endif
467 %ifarch sparcv9
468 BuildFlags="-mcpu=ultrasparc -fcall-used-g6"
469 GCC="gcc -m32"
470 %endif
471 %ifarch sparc64
472 BuildFlags="-mcpu=ultrasparc -mvis -fcall-used-g6"
473 GCC="gcc -m64"
474 %endif
475 %ifarch ppc64
476 BuildFlags="-mno-minimal-toc"
477 GCC="gcc -m64"
478 %endif
480 # If gcc supports __thread, test it even in --with-tls --without-__thread
481 # builds.
482 if echo '__thread int a;' | $GCC -xc - -S -o /dev/null 2>/dev/null; then
483 sed -ie 's/0 [|][|]/1 ||/' ../elf/tst-tls10.h ../linuxthreads/tst-tls1.h
486 BuildFlags="$BuildFlags -DNDEBUG=1"
487 if gcc -v 2>&1 | grep -q 'gcc version 3.[0123]'; then
488 BuildFlags="$BuildFlags -finline-limit=2000"
490 EnableKernel="--enable-kernel=%{enablekernel}"
491 echo "$BuildFlags" > ../BuildFlags
492 echo "$GCC" > ../Gcc
493 AddOns=`cd .. && echo */configure | sed -e 's!/configure!!g;s!\(linuxthreads\|nptl\|rtkaio\)\( \|$\)!!g;s! \+$!!;s! !,!g;s!^!,!;/^,\*$/d'`
494 echo "$AddOns" > ../AddOns
495 Pthreads=linuxthreads
496 %ifarch %{withtlsarches}
497 WithTls="--with-tls --without-__thread"
498 %else
499 WithTls="--without-tls --without-__thread"
500 %endif
501 CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \
502 --enable-add-ons=$Pthreads$AddOns --without-cvs $EnableKernel \
503 --with-headers=%{_prefix}/include --enable-bind-now \
504 $WithTls --build %{_target_cpu}-redhat-linux --host %{_target_cpu}-redhat-linux
505 if [ -x /usr/bin/getconf ] ; then
506 numprocs=$(/usr/bin/getconf _NPROCESSORS_ONLN)
507 if [ $numprocs -eq 0 ]; then
508 numprocs=1
510 else
511 numprocs=1
513 make -j$numprocs -r CFLAGS="$BuildFlags -g -O3" PARALLELMFLAGS=-s
514 $GCC -static -L. -Os ../fedora/glibc_post_upgrade.c -o glibc_post_upgrade \
515 %ifarch i386
516 -DARCH_386 \
517 %endif
518 %ifarch %{nptlarches}
519 '-DLIBTLS="/%{_lib}/tls/"' \
520 %endif
521 '-DGCONV_MODULES_CACHE="%{_prefix}/%{_lib}/gconv/gconv-modules.cache"' \
522 '-DLD_SO_CONF="/etc/ld.so.conf"'
523 cd ..
525 # hack
526 unset LD_ASSUME_KERNEL || :
528 %ifarch %{rtkaioarches}
529 AddOns=,rtkaio$AddOns
530 %endif
532 %ifarch i686 athlon
533 rm -rf build-%{_target_cpu}-linuxltfs
534 mkdir build-%{_target_cpu}-linuxltfs ; cd build-%{_target_cpu}-linuxltfs
535 EnableKernel="--enable-kernel=%{enablekernelltfs} --disable-profile"
536 Pthreads=linuxthreads
537 %ifarch %{withtlsarches}
538 WithTls="--with-tls --without-__thread"
539 %else
540 WithTls="--without-tls --without-__thread"
541 %endif
542 CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \
543 --enable-add-ons=$Pthreads$AddOns --without-cvs $EnableKernel \
544 --with-headers=%{_prefix}/include --enable-bind-now \
545 $WithTls --build %{_target_cpu}-redhat-linux --host %{_target_cpu}-redhat-linux
546 make -j$numprocs -r CFLAGS="$BuildFlags -g -O3" PARALLELMFLAGS=-s
548 cd ..
549 %endif
551 %ifarch %{nptlarches}
552 rm -rf build-%{nptl_target_cpu}-linuxnptl
553 mkdir build-%{nptl_target_cpu}-linuxnptl ; cd build-%{nptl_target_cpu}-linuxnptl
554 EnableKernel="--enable-kernel=%{enablekernelnptl} --disable-profile"
555 Pthreads=nptl
556 WithTls="--with-tls --with-__thread"
557 CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \
558 --enable-add-ons=$Pthreads$AddOns --without-cvs $EnableKernel \
559 --with-headers=%{_prefix}/include --enable-bind-now \
560 $WithTls --build %{nptl_target_cpu}-redhat-linux --host %{nptl_target_cpu}-redhat-linux
561 make -j$numprocs -r CFLAGS="$BuildFlags -g -O3" PARALLELMFLAGS=-s
563 cd ..
564 %endif
566 %install
567 # hack
568 unset LD_ASSUME_KERNEL || :
570 BuildFlags=`cat BuildFlags`
571 GCC=`cat Gcc`
572 AddOns=`cat AddOns`
574 %ifarch %{rtkaioarches}
575 AddOns=,rtkaio$AddOns
576 %endif
578 if [ -x /usr/bin/getconf ] ; then
579 numprocs=$(/usr/bin/getconf _NPROCESSORS_ONLN)
580 if [ $numprocs -eq 0 ]; then
581 numprocs=1
583 else
584 numprocs=1
586 rm -rf $RPM_BUILD_ROOT
587 mkdir -p $RPM_BUILD_ROOT
588 make -j1 install_root=$RPM_BUILD_ROOT install -C build-%{_target_cpu}-linux PARALLELMFLAGS=-s
589 %ifnarch %{auxarches}
590 cd build-%{_target_cpu}-linux && \
591 make -j$numprocs install_root=$RPM_BUILD_ROOT install-locales -C ../localedata objdir=`pwd` && \
592 cd ..
593 %endif
595 SubDir=
597 %ifarch i686 athlon
598 cd build-%{_target_cpu}-linuxltfs
599 Pthreads=linuxthreads
600 SubDir=i686
601 mkdir -p $RPM_BUILD_ROOT/lib/$SubDir/
602 cp -a libc.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libc-*.so`
603 ln -sf `basename $RPM_BUILD_ROOT/lib/libc-*.so` $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libc.so.*`
604 cp -a math/libm.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libm-*.so`
605 ln -sf `basename $RPM_BUILD_ROOT/lib/libm-*.so` $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libm.so.*`
606 cp -a $Pthreads/libpthread.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libpthread-*.so`
607 pushd $RPM_BUILD_ROOT/lib/$SubDir
608 ln -sf libpthread-*.so `basename $RPM_BUILD_ROOT/lib/libpthread.so.*`
609 popd
610 %ifarch %{rtkaioarches}
611 cp -a rtkaio/librtkaio.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/librt-*.so | sed s/librt-/librtkaio-/`
612 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.*`
613 %else
614 cp -a rt/librt.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/librt-*.so`
615 ln -sf `basename $RPM_BUILD_ROOT/lib/librt-*.so` $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/librt.so.*`
616 %endif
618 cd ..
619 %endif
621 %ifarch %{nptlarches}
622 cd build-%{nptl_target_cpu}-linuxnptl
623 Pthreads=nptl
624 SubDir=%{tls_subdir}
625 mkdir -p $RPM_BUILD_ROOT/%{_lib}/$SubDir/
626 cp -a libc.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libc-*.so`
627 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libc-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libc.so.*`
628 cp -a math/libm.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libm-*.so`
629 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libm-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libm.so.*`
630 cp -a $Pthreads/libpthread.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/libpthread-%{version}.so
631 pushd $RPM_BUILD_ROOT/%{_lib}/$SubDir
632 ln -sf libpthread-*.so `basename $RPM_BUILD_ROOT/%{_lib}/libpthread.so.*`
633 popd
634 %ifarch %{rtkaioarches}
635 cp -a rtkaio/librtkaio.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed s/librt-/librtkaio-/`
636 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.*`
637 %else
638 cp -a rt/librt.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so`
639 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt.so.*`
640 %endif
641 cp -a ${Pthreads}_db/libthread_db.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libthread_db-*.so`
642 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libthread_db-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libthread_db.so.*`
644 mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl
645 cp -a libc.a nptl/libpthread.a nptl/libpthread_nonshared.a rt/librt.a \
646 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/
647 sed "s| /%{_lib}/| /%{_lib}/$SubDir/|" $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libc.so \
648 > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/libc.so
649 sed "s|^GROUP (.*)|GROUP ( /%{_lib}/$SubDir/"`basename $RPM_BUILD_ROOT/%{_lib}/libpthread.so.*`' %{_prefix}/%{_lib}/nptl/libpthread_nonshared.a )|' \
650 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libc.so \
651 > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/libpthread.so
652 %ifarch %{rtkaioarches}
653 ln -sf /%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed 's/librt-/librtkaio-/'` \
654 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/librt.so
655 %else
656 ln -sf /%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so` \
657 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/librt.so
658 %endif
659 strip -g $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/*.a
660 mkdir -p $RPM_BUILD_ROOT/nptl $RPM_BUILD_ROOT%{_prefix}/include/nptl
661 make -j1 install_root=$RPM_BUILD_ROOT/nptl install-headers PARALLELMFLAGS=-s
662 pushd $RPM_BUILD_ROOT/nptl%{_prefix}/include
663 for i in `find . -type f`; do
664 if ! [ -f $RPM_BUILD_ROOT%{_prefix}/include/$i ] \
665 || ! cmp -s $i $RPM_BUILD_ROOT%{_prefix}/include/$i; then
666 mkdir -p $RPM_BUILD_ROOT%{_prefix}/include/nptl/`dirname $i`
667 cp -a $i $RPM_BUILD_ROOT%{_prefix}/include/nptl/$i
669 done
670 popd
671 rm -rf $RPM_BUILD_ROOT/nptl
673 cd ..
675 %ifarch i386
676 for i in i586 i686; do
677 mkdir $RPM_BUILD_ROOT/%{_lib}/tls/$i
678 pushd $RPM_BUILD_ROOT/%{_lib}/tls/$i
679 ln -sf ../i486/*.so .
680 cp -a ../i486/*.so.* .
681 popd
682 done
683 %endif
684 %endif
686 # compatibility hack: this locale has vanished from glibc, but some other
687 # programs are still using it. Normally we would handle it in the %pre
688 # section but with glibc that is simply not an option
689 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/locale/ru_RU/LC_MESSAGES
691 # Remove the files we don't want to distribute
692 rm -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libNoVersion*
693 %ifnarch %{ix86} alpha alphaev6 sparc sparcv9
694 rm -f $RPM_BUILD_ROOT/%{_lib}/libNoVersion*
695 %endif
697 # the man pages for the linuxthreads require special attention
698 make -C linuxthreads/man
699 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3
700 install -m 0644 linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
701 gzip -9nvf $RPM_BUILD_ROOT%{_mandir}/man3/*
703 if [ -d $RPM_BUILD_ROOT%{_prefix}/info -a "%{_infodir}" != "%{_prefix}/info" ]; then
704 mkdir -p $RPM_BUILD_ROOT%{_infodir}
705 mv -f $RPM_BUILD_ROOT%{_prefix}/info/* $RPM_BUILD_ROOT%{_infodir}
706 rm -rf $RPM_BUILD_ROOT%{_prefix}/info
709 gzip -9nvf $RPM_BUILD_ROOT%{_infodir}/libc*
711 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libbsd.a
713 install -p -m 644 fedora/nsswitch.conf $RPM_BUILD_ROOT/etc/nsswitch.conf
715 mkdir -p $RPM_BUILD_ROOT/etc/default
716 install -p -m 644 nis/nss $RPM_BUILD_ROOT/etc/default/nss
718 # Take care of setuids
719 # -- new security review sez that this shouldn't be needed anymore
720 #chmod 755 $RPM_BUILD_ROOT%{_prefix}/libexec/pt_chown
722 # This is for ncsd - in glibc 2.2
723 install -m 644 nscd/nscd.conf $RPM_BUILD_ROOT/etc
724 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
725 install -m 755 nscd/nscd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
727 # Don't include ld.so.cache
728 rm -f $RPM_BUILD_ROOT/etc/ld.so.cache
730 # Include ld.so.conf
731 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT/etc/ld.so.conf
732 touch $RPM_BUILD_ROOT/etc/ld.so.cache
733 chmod 644 $RPM_BUILD_ROOT/etc/ld.so.conf
734 mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
736 # Include %{_prefix}/%{_lib}/gconv/gconv-modules.cache
737 > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/gconv-modules.cache
738 chmod 644 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/gconv-modules.cache
740 # Install the upgrade program
741 install -m 700 build-%{_target_cpu}-linux/glibc_post_upgrade $RPM_BUILD_ROOT/usr/sbin/glibc_post_upgrade
743 strip -g $RPM_BUILD_ROOT%{_prefix}/%{_lib}/*.o
745 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}
746 cp -a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/*.a \
747 $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}/
748 rm -f $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}/*_p.a
749 # Now strip debugging info from static libraries
750 pushd $RPM_BUILD_ROOT%{_prefix}/%{_lib}/
751 for i in *.a; do
752 if [ -f $i ]; then
753 case "$i" in
754 *_p.a) ;;
755 *) strip -g -R .comment $i ;;
756 esac
758 done
759 popd
761 %ifarch %{prelinkarches}
762 %ifarch i686 athlon
763 # Prelink ld.so and libc.so
764 > prelink.conf
765 # For now disable prelinking of ld.so, as it breaks statically linked
766 # binaries built against non-NDEBUG old glibcs (assert unknown dynamic tag)
767 # /usr/sbin/prelink -c ./prelink.conf -C ./prelink.cache \
768 # --mmap-region-start=0x00101000 $RPM_BUILD_ROOT/%{_lib}/ld-*.so
769 /usr/sbin/prelink --reloc-only=0x00e80000 $RPM_BUILD_ROOT/%{_lib}/$SubDir/libc-*.so
770 %endif
771 %ifarch alpha alphaev6
772 # Prelink ld.so and libc.so
773 > prelink.conf
774 # For now disable prelinking of ld.so, as it breaks statically linked
775 # binaries built against non-NDEBUG old glibcs (assert unknown dynamic tag)
776 # /usr/sbin/prelink -c ./prelink.conf -C ./prelink.cache \
777 # --mmap-region-start=0x0000020000000000 $RPM_BUILD_ROOT/%{_lib}/ld-*.so
778 /usr/sbin/prelink --reloc-only=0x0000020010000000 $RPM_BUILD_ROOT/%{_lib}/$SubDir/libc-*.so
779 %endif
780 %endif
782 # rquota.x and rquota.h are now provided by quota
783 rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx]
785 # Hardlink identical locale files together
786 %ifnarch %{auxarches}
787 gcc -O2 -o build-%{_target_cpu}-linux/hardlink fedora/hardlink.c
788 build-%{_target_cpu}-linux/hardlink -vc $RPM_BUILD_ROOT%{_prefix}/lib/locale
789 %endif
791 %ifarch %{ix86} alpha alphaev6 sparc sparcv9
792 rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss1-*
793 rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss-*.so.1
794 %endif
796 # BUILD THE FILE LIST
797 find $RPM_BUILD_ROOT -type f -or -type l |
798 sed -e 's|.*/etc|%config &|' \
799 -e 's|.*/gconv/gconv-modules$|%verify(not md5 size mtime) %config(noreplace) &|' \
800 -e 's|.*/gconv/gconv-modules.cache|%verify(not md5 size mtime) &|' \
801 -e '/lib\/debug/d' > rpm.filelist.in
802 for n in %{_prefix}/share %{_prefix}/include %{_prefix}/lib/locale; do
803 find ${RPM_BUILD_ROOT}${n} -type d | \
804 grep -v '%{_prefix}/share$' | \
805 grep -v '\(%{_mandir}\|%{_infodir}\)' | \
806 sed "s/^/%dir /" >> rpm.filelist.in
807 done
809 # primary filelist
810 SHARE_LANG='s|.*/share/locale/\([^/_]\+\).*/LC_MESSAGES/.*\.mo|%lang(\1) &|'
811 LIB_LANG='s|.*/lib/locale/\([^/_]\+\)|%lang(\1) &|'
812 # rpm does not handle %lang() tagged files hardlinked together accross
813 # languages very well, temporarily disable
814 # LIB_LANG=''
815 sed -e "s|$RPM_BUILD_ROOT||" -e "$LIB_LANG" -e "$SHARE_LANG" < rpm.filelist.in |
816 grep -v '/etc/\(localtime\|nsswitch.conf\|ld.so.conf\|ld.so.cache\|default\)' | \
817 grep -v '/%{_lib}/lib\(pcprofile\|memusage\).so' | \
818 grep -v 'bin/\(memusage\|mtrace\|xtrace\|pcprofiledump\)' | \
819 sort > rpm.filelist
821 mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_lib}
822 mv -f $RPM_BUILD_ROOT/%{_lib}/lib{pcprofile,memusage}.so $RPM_BUILD_ROOT%{_prefix}/%{_lib}
823 for i in $RPM_BUILD_ROOT%{_prefix}/bin/{xtrace,memusage}; do
824 cp -a $i $i.tmp
825 sed -e 's~=/%{_lib}/libpcprofile.so~=%{_prefix}/%{_lib}/libpcprofile.so~' \
826 -e 's~=/%{_lib}/libmemusage.so~=%{_prefix}/%{_lib}/libmemusage.so~' \
827 $i.tmp > $i
828 chmod 755 $i; rm -f $i.tmp
829 done
831 grep '%{_prefix}/%{_lib}/lib.*_p\.a' < rpm.filelist > profile.filelist || :
832 egrep "(%{_prefix}/include)|(%{_infodir})" < rpm.filelist |
833 grep -v %{_prefix}/include/nptl |
834 grep -v %{_infodir}/dir > devel.filelist
836 mv rpm.filelist rpm.filelist.full
837 grep -v '%{_prefix}/%{_lib}/lib.*_p.a' rpm.filelist.full |
838 egrep -v "(%{_prefix}/include)|(%{_infodir})" > rpm.filelist
840 grep '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist >> devel.filelist
841 grep '%{_prefix}/%{_lib}/.*\.o' < rpm.filelist >> devel.filelist
842 grep '%{_prefix}/%{_lib}/lib.*\.so' < rpm.filelist >> devel.filelist
843 grep '%{_mandir}' < rpm.filelist >> devel.filelist
845 grep '%{_prefix}/include' < devel.filelist > headers.filelist
846 grep -v '%{_prefix}/include' < devel.filelist > devel.filelist.tmp
847 mv -f devel.filelist.tmp devel.filelist
849 mv rpm.filelist rpm.filelist.full
850 grep -v '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist.full |
851 grep -v '%{_prefix}/%{_lib}/.*\.o' |
852 grep -v '%{_prefix}/%{_lib}/lib.*\.so'|
853 grep -v '%{_prefix}/%{_lib}/nptl' |
854 grep -v '%{_mandir}' |
855 grep -v 'nscd' > rpm.filelist
857 grep '%{_prefix}/bin' < rpm.filelist >> common.filelist
858 grep '%{_prefix}/lib/locale' < rpm.filelist >> common.filelist
859 grep '%{_prefix}/libexec/pt_chown' < rpm.filelist >> common.filelist
860 grep '%{_prefix}/sbin/[^gi]' < rpm.filelist >> common.filelist
861 grep '%{_prefix}/share' < rpm.filelist \
862 | grep -v '%{_prefix}/share/zoneinfo' >> common.filelist
864 mv rpm.filelist rpm.filelist.full
865 grep -v '%{_prefix}/bin' < rpm.filelist.full |
866 grep -v '%{_prefix}/lib/locale' |
867 grep -v '%{_prefix}/libexec/pt_chown' |
868 grep -v '%{_prefix}/sbin/[^gi]' |
869 grep -v '%{_prefix}/share' > rpm.filelist
871 echo '%{_prefix}/sbin/build-locale-archive' >> common.filelist
872 echo '%{_prefix}/sbin/nscd' > nscd.filelist
874 cat > utils.filelist <<EOF
875 %{_prefix}/%{_lib}/libmemusage.so
876 %{_prefix}/%{_lib}/libpcprofile.so
877 %{_prefix}/bin/memusage
878 %{_prefix}/bin/memusagestat
879 %{_prefix}/bin/mtrace
880 %{_prefix}/bin/pcprofiledump
881 %{_prefix}/bin/xtrace
884 # /etc/localtime
885 rm -f $RPM_BUILD_ROOT/etc/localtime
886 cp -f $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime
887 #ln -sf ..%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime
889 rm -rf $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo
891 cd fedora
892 $GCC -Os -static -o build-locale-archive build-locale-archive.c \
893 ../build-%{_target_cpu}-linux/locale/locarchive.o \
894 ../build-%{_target_cpu}-linux/locale/md5.o \
895 -DDATADIR=\"%{_datadir}\" -DPREFIX=\"%{_prefix}\" \
896 -L../build-%{_target_cpu}-linux
897 install -m 700 build-locale-archive $RPM_BUILD_ROOT/usr/sbin/build-locale-archive
898 cd ..
900 # the last bit: more documentation
901 rm -rf documentation
902 mkdir documentation
903 cp linuxthreads/ChangeLog documentation/ChangeLog.threads
904 cp linuxthreads/Changes documentation/Changes.threads
905 cp linuxthreads/README documentation/README.threads
906 cp linuxthreads/FAQ.html documentation/FAQ-threads.html
907 cp -r linuxthreads/Examples documentation/examples.threads
908 cp crypt/README.ufc-crypt documentation/README.ufc-crypt
909 cp timezone/README documentation/README.timezone
910 cp ChangeLog* documentation
911 gzip -9n documentation/ChangeLog*
913 %ifarch s390x
914 # Compatibility symlink
915 mkdir -p $RPM_BUILD_ROOT/lib
916 ln -sf /%{_lib}/ld64.so.1 $RPM_BUILD_ROOT/lib/ld64.so.1
917 %endif
918 %ifarch ia64
919 %if "%{_lib}" == "lib64"
920 # Compatibility symlink
921 mkdir -p $RPM_BUILD_ROOT/lib
922 ln -sf /%{_lib}/ld-linux-ia64.so.2 $RPM_BUILD_ROOT/lib/ld-linux-ia64.so.2
923 %endif
924 %endif
926 # Increase timeouts
927 export TIMEOUTFACTOR=16
928 echo ====================TESTING=========================
929 cd build-%{_target_cpu}-linux
930 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
931 cd ..
932 %ifarch i686 athlon
933 echo ====================TESTING LINUXTHREADS FS=========
934 cd build-%{_target_cpu}-linuxltfs
935 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
936 cd ..
937 %endif
938 %ifarch %{nptlarches}
939 echo ====================TESTING NPTL====================
940 cd build-%{nptl_target_cpu}-linuxnptl
941 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
942 cd ..
943 %endif
944 echo ====================TESTING DETAILS=================
945 for i in `sed -n 's|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p' build-*-linux*/check.log`; do
946 echo =====$i=====
947 cat $i || :
948 echo ============
949 done
950 %ifarch i686 athlon
951 echo ====================TESTING LINUXTHREADS FS LD.SO===
952 cd build-%{_target_cpu}-linuxltfs
953 mv elf/ld.so elf/ld.so.orig
954 cp -a ../build-%{_target_cpu}-linux/elf/ld.so elf/ld.so
955 find . -name \*.out -exec mv -f '{}' '{}'.origldso \;
956 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check2.log || :
957 cd ..
958 %endif
959 %ifarch %{nptlarches}
960 echo ====================TESTING NPTL LD.SO==============
961 cd build-%{nptl_target_cpu}-linuxnptl
962 mv elf/ld.so elf/ld.so.orig
963 cp -a ../build-%{_target_cpu}-linux/elf/ld.so elf/ld.so
964 find . -name \*.out -exec mv -f '{}' '{}'.origldso \;
965 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check2.log || :
966 cd ..
967 %endif
968 echo ====================TESTING DETAILS=================
969 for i in `sed -n 's|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p' build-*-linux*/check2.log`; do
970 echo =====$i=====
971 cat $i || :
972 echo ============
973 done
974 echo ====================TESTING END=====================
975 PLTCMD='/^Relocation section .*\(\.rela\?\.plt\|\.rela\.IA_64\.pltoff\)/,/^$/p'
976 echo ====================PLT RELOCS LD.SO================
977 readelf -Wr $RPM_BUILD_ROOT/%{_lib}/ld-*.so | sed -n -e "$PLTCMD"
978 echo ====================PLT RELOCS LIBC.SO==============
979 readelf -Wr $RPM_BUILD_ROOT/%{_lib}/$SubDir/libc-*.so | sed -n -e "$PLTCMD"
980 echo ====================PLT RELOCS END==================
982 %if "%{_enable_debug_packages}" == "1"
984 case "$-" in *x*) save_trace=yes;; esac
985 set +x
986 echo Building debuginfo subpackage...
988 blf=debugfiles.list
989 sf=debugsources.list
990 cblf=debugcommonfiles.list
991 csf=debugcommonsources.list
993 echo -n > $sf
994 echo -n > $csf
996 strip $RPM_BUILD_ROOT/{sbin/ldconfig,usr/sbin/glibc_post_upgrade,usr/sbin/build-locale-archive}
998 # Strip ELF binaries
999 for f in `grep -v '%%\(dir\|lang\|config\|verify\)' rpm.filelist`; do
1000 bf=$RPM_BUILD_ROOT$f
1001 if [ -f $bf -a -x $bf -a ! -h $bf ]; then
1002 if `file $bf 2>/dev/null | grep 'ELF.*, not stripped' | grep -vq 'statically linked'`; then
1003 bd=`dirname $f`
1004 outd=$RPM_BUILD_ROOT/usr/lib/debug$bd
1005 mkdir -p $outd
1006 echo extracting debug info from $f
1007 /usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug -l $sf $bf
1008 bn=`basename $f`
1009 case $f in
1010 /%{_lib}/*) eu-strip -g -f $outd/$bn.debug $bf || :;;
1011 *) eu-strip -f $outd/$bn.debug $bf || :;;
1012 esac
1013 if [ -f $outd/$bn.debug ]; then echo /usr/lib/debug$bd/$bn.debug >> $blf; fi
1016 done
1018 for f in `cat common.filelist utils.filelist nscd.filelist \
1019 | grep -v '%%\(dir\|lang\|config\|verify\)'`; do
1020 bf=$RPM_BUILD_ROOT$f
1021 if [ -f $bf -a -x $bf -a ! -h $bf ]; then
1022 if `file $bf 2>/dev/null | grep 'ELF.*, not stripped' | grep -vq 'statically linked'`; then
1023 bd=`dirname $f`
1024 outd=$RPM_BUILD_ROOT/usr/lib/debug$bd
1025 mkdir -p $outd
1026 echo extracting debug info from $f
1027 /usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug -l $csf $bf
1028 bn=`basename $f`
1029 eu-strip -f $outd/$bn.debug $bf || :
1030 if [ -f $outd/$bn.debug ]; then echo /usr/lib/debug$bd/$bn.debug >> $cblf; fi
1033 done
1035 for f in `find $RPM_BUILD_ROOT/%{_lib} -type l`; do
1036 l=`ls -l $f`
1037 l=${l#* -> }
1038 t=/usr/lib/debug`dirname ${f#$RPM_BUILD_ROOT}`
1039 if grep -q "^$t/$l.debug\$" $blf; then
1040 ln -sf $l.debug $RPM_BUILD_ROOT$t/`basename $f`.debug
1041 echo $t/`basename $f`.debug >> $blf
1042 elif grep -q "^$t.debug/$l\$" $cblf; then
1043 ln -sf $l.debug $RPM_BUILD_ROOT$t/`basename $f`.debug
1044 echo $t/`basename $f`.debug >> $cblf
1046 done
1048 echo Sorting source file lists. Might take a while...
1049 xargs -0 -n 1 echo < $sf | LANG=C sort -u > $sf.sorted
1050 xargs -0 -n 1 echo < $csf | LANG=C sort -u > $csf.sorted
1051 mkdir -p $RPM_BUILD_ROOT/usr/src/debug
1052 cat $sf.sorted $csf.sorted \
1053 | (cd $RPM_BUILD_DIR; LANG=C sort -u | cpio -pdm ${RPM_BUILD_ROOT}/usr/src/debug)
1054 # stupid cpio creates new directories in mode 0700, fixup
1055 find $RPM_BUILD_ROOT/usr/src/debug -type d -print | xargs chmod a+rx
1057 %ifarch %{debuginfocommonarches}
1058 %ifarch %{auxarches}
1059 %ifarch %{ix86}
1060 %define basearch i386
1061 %endif
1062 %ifarch alpha alphaev6
1063 %define basearch alpha
1064 %endif
1065 %ifarch sparc sparcv9
1066 %define basearch sparc
1067 %endif
1068 cat $blf > debuginfo.filelist
1069 find $RPM_BUILD_ROOT/usr/src/debug/%{glibcsrcdir} -type d \
1070 | sed "s#^$RPM_BUILD_ROOT#%%dir #" >> debuginfo.filelist
1071 grep '/generic/\|/linux/\|/%{basearch}/\|/nptl\(_db\)\?/\|^%{glibcsrcdir}/build' \
1072 $sf.sorted | sed 's|^|/usr/src/debug/|' >> debuginfo.filelist
1073 touch debuginfocommon.filelist
1074 %else
1075 ( grep '^%{glibcsrcdir}/build-\|dl-osinfo\.h' $csf.sorted || : ) > $csf.sorted.build
1076 cat $blf > debuginfo.filelist
1077 cat $cblf > debuginfocommon.filelist
1078 grep '^%{glibcsrcdir}/build-\|dl-osinfo\.h' $sf.sorted \
1079 | sed 's|^|/usr/src/debug/|' >> debuginfo.filelist
1080 find $RPM_BUILD_ROOT/usr/src/debug/%{glibcsrcdir} -type d \
1081 | sed "s#^$RPM_BUILD_ROOT#%%dir #" >> debuginfocommon.filelist
1082 ( cat $csf.sorted; grep -v -f $csf.sorted.build $sf.sorted ) \
1083 | grep -v 'dl-osinfo\.h' | LC_ALL=C sort -u \
1084 | sed 's|^|/usr/src/debug/|' >> debuginfocommon.filelist
1085 %endif
1086 %else
1087 cat $blf $cblf | LC_ALL=C sort -u > debuginfo.filelist
1088 echo '/usr/src/debug/%{glibcsrcdir}' >> debuginfo.filelist
1089 %endif
1091 [ "x$save_trace" = xyes ] && set -x
1093 %endif
1095 %ifarch %{auxarches}
1096 case "$-" in *x*) save_trace=yes;; esac
1097 set +x
1098 echo Cutting down the list of unpackaged files
1099 for i in `sed '/%%dir/d;/%%config/d;/%%verify/d;s/%%lang([^)]*) //' \
1100 common.filelist devel.filelist headers.filelist profile.filelist \
1101 utils.filelist nscd.filelist`; do
1102 [ -f "$RPM_BUILD_ROOT$i" ] && rm -f "$RPM_BUILD_ROOT$i" || :
1103 done
1104 [ "x$save_trace" = xyes ] && set -x
1106 %else
1108 mkdir -p $RPM_BUILD_ROOT/var/{db,run}/nscd
1109 touch $RPM_BUILD_ROOT/var/{db,run}/nscd/{passwd,group,hosts}
1110 touch $RPM_BUILD_ROOT/var/run/nscd/{socket,nscd.pid}
1111 %endif
1113 touch $RPM_BUILD_ROOT/%{_prefix}/lib/locale/locale-archive
1115 %post -p /usr/sbin/glibc_post_upgrade
1117 %postun -p /sbin/ldconfig
1119 %post common -p /usr/sbin/build-locale-archive
1121 %post devel
1122 /sbin/install-info %{_infodir}/libc.info.gz %{_infodir}/dir
1124 %pre headers
1125 # this used to be a link and it is causing nightmares now
1126 if [ -L %{_prefix}/include/scsi ] ; then
1127 rm -f %{_prefix}/include/scsi
1130 %preun devel
1131 if [ "$1" = 0 ]; then
1132 /sbin/install-info --delete %{_infodir}/libc.info.gz %{_infodir}/dir
1135 %post utils -p /sbin/ldconfig
1137 %postun utils -p /sbin/ldconfig
1139 %pre -n nscd
1140 /usr/sbin/useradd -M -o -r -d / -s /sbin/nologin \
1141 -c "NSCD Daemon" -u 28 nscd > /dev/null 2>&1 || :
1143 %post -n nscd
1144 /sbin/chkconfig --add nscd
1146 %preun -n nscd
1147 if [ $1 = 0 ] ; then
1148 service nscd stop > /dev/null 2>&1
1149 /sbin/chkconfig --del nscd
1152 %postun -n nscd
1153 if [ $1 = 0 ] ; then
1154 /usr/sbin/userdel nscd > /dev/null 2>&1 || :
1156 if [ "$1" -ge "1" ]; then
1157 service nscd condrestart > /dev/null 2>&1 || :
1160 %clean
1161 rm -rf "$RPM_BUILD_ROOT"
1162 rm -f *.filelist*
1164 %files -f rpm.filelist
1165 %defattr(-,root,root)
1166 %ifarch %{nptlarches}
1167 %dir /%{_lib}/%{tls_subdir}
1168 %ifarch i386
1169 %dir /%{_lib}/tls/i586
1170 %dir /%{_lib}/tls/i686
1171 %endif
1172 %endif
1173 %ifarch i686 athlon
1174 %dir /lib/i686
1175 %endif
1176 %ifarch s390x
1177 %dir /lib
1178 /lib/ld64.so.1
1179 %endif
1180 %ifarch ia64
1181 %if "%{_lib}" == "lib64"
1182 %dir /lib
1183 /lib/ld-linux-ia64.so.2
1184 %endif
1185 %endif
1186 %verify(not md5 size mtime) %config(noreplace) /etc/localtime
1187 %verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf
1188 %verify(not md5 size mtime) %config(noreplace) /etc/ld.so.conf
1189 %dir /etc/ld.so.conf.d
1190 %dir %{_prefix}/libexec/getconf
1191 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
1192 %doc README NEWS INSTALL FAQ BUGS NOTES PROJECTS CONFORMANCE
1193 %doc COPYING COPYING.LIB README.libm LICENSES
1194 %doc hesiod/README.hesiod
1196 %ifnarch %{auxarches}
1197 %files -f common.filelist common
1198 %defattr(-,root,root)
1199 %attr(0644,root,root) %verify(not md5 size mtime mode) %ghost %config(missingok,noreplace) %{_prefix}/lib/locale/locale-archive
1200 %dir %attr(755,root,root) /etc/default
1201 %verify(not md5 size mtime) %config(noreplace) /etc/default/nss
1202 %doc documentation/*
1204 %files -f devel.filelist devel
1205 %defattr(-,root,root)
1207 %files -f headers.filelist headers
1208 %defattr(-,root,root)
1209 %ifarch %{nptlarches}
1210 %{_prefix}/include/nptl
1211 %endif
1213 %files -f profile.filelist profile
1214 %defattr(-,root,root)
1216 %files -f utils.filelist utils
1217 %defattr(-,root,root)
1219 %files -f nscd.filelist -n nscd
1220 %defattr(-,root,root)
1221 %config(noreplace) /etc/nscd.conf
1222 %config /etc/rc.d/init.d/nscd
1223 %dir %attr(0755,root,root) /var/run/nscd
1224 %dir %attr(0755,root,root) /var/db/nscd
1225 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/nscd.pid
1226 %attr(0666,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/socket
1227 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/passwd
1228 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/group
1229 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/hosts
1230 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/passwd
1231 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/group
1232 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/hosts
1233 %endif
1235 %ifarch %{nptlarches}
1236 %files -n nptl-devel
1237 %defattr(-,root,root)
1238 %{_prefix}/%{_lib}/nptl
1239 %endif
1241 %if "%{_enable_debug_packages}" == "1"
1242 %files debuginfo -f debuginfo.filelist
1243 %defattr(-,root,root)
1244 %ifarch %{debuginfocommonarches}
1245 %ifnarch %{auxarches}
1246 %files debuginfo-common -f debuginfocommon.filelist
1247 %defattr(-,root,root)
1248 %dir %{_prefix}/lib/debug
1249 %dir %{_prefix}/lib/debug/%{_prefix}
1250 %dir %{_prefix}/lib/debug/%{_prefix}/%{_lib}
1251 %{_prefix}/lib/debug/%{_prefix}/%{_lib}/*.a
1252 %endif
1253 %else
1254 %dir %{_prefix}/lib/debug
1255 %dir %{_prefix}/lib/debug/%{_prefix}
1256 %dir %{_prefix}/lib/debug/%{_prefix}/%{_lib}
1257 %{_prefix}/lib/debug/%{_prefix}/%{_lib}/*.a
1258 %endif
1259 %endif
1261 %changelog
1262 * Wed Dec 8 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-89
1263 - update from CVS
1264 - fix clone2 on ia64
1265 - avoid tst-timer5 failing with linuxthreads implementation
1266 - if __libc_enable_secure, disallow mode != normal
1267 - change ldd script to imply -r when -u is used, properly
1268 propagate return value and handle suid binaries
1270 * Tue Dec 7 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-88
1271 - update from CVS
1272 - disregard LD_SHOW_AUXV and LD_DYNAMIC_WEAK if __libc_enable_secure
1273 - disregard LD_DEBUG if __libc_enable_secure in normal mode
1274 if /suid-debug doesn't exist
1275 - fix fseekpos after ungetc
1276 - avoid reading bytes before start of buffers in regex's
1277 check_dst_limits_calc_pos_1 (#142060)
1278 - make getpid () working with clone/clone2 without CLONE_THREAD
1279 (so far on i386/x86_64/ia64 only)
1280 - move %{_prefix}/libexec/getconf/* to glibc from glibc-common
1281 - make %{_prefix}/libexec/getconf directory owned by glibc package
1283 * Fri Dec 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-87
1284 - update from CVS
1285 - build libpthread_nonshared.a objects with -fPIC on s390/s390x
1286 - fix mktime with < 0 or > 59 tm_sec on entry
1287 - remove nonnull attribute for realpath
1288 - add $(make-target-directory) for errlist-compat.c rule
1289 (hopefully fix #141404)
1290 - add testcase for ungetc bug
1291 - define _POSIX_{,THREAD_}CPUTIME to 0 on all Linux arches
1293 * Tue Nov 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-86
1294 - update from CVS
1295 - some posix_opt.h fixes
1296 - fix strtold use of unitialized memory (#141000)
1297 - some more bugfixes for bugs detected by valgrind
1298 - rebuilt with GCC >= 3.4.3-5 to avoid packed stack layout
1299 on s390{,x} (#139678)
1301 * Fri Nov 26 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-85
1302 - update from CVS
1303 - support -v specification in getconf
1304 - fix sysconf (_SC_LFS64_CFLAGS) etc.
1305 - avoid thread stack aliasing issues on EM64T (#140803)
1306 - move %{_prefix}/include/nptl headers from nptl-devel
1307 to glibc-headers, so that even NPTL specific programs
1308 can be built bi-arch without problems
1310 * Wed Nov 24 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-84
1311 - update from CVS
1312 - fix memory leak in getaddrinfo if using nscd (#139559)
1313 - handle large lines in /etc/hosts and /etc/networks
1314 (#140378)
1315 - add nonnull attributes to selected dirent.h and dlfcn.h
1316 functions
1318 * Sun Nov 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-83
1319 - update from CVS
1320 - add deprecated and/or nonnull attribute to some signal.h
1321 functions
1322 - speed up tzset () by only using stat instead of open/fstat
1323 when calling tzset for the second and following time if
1324 /etc/localtime has not changed
1325 - fix tgamma (BZ #552)
1327 * Sat Nov 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-82
1328 - update from CVS
1329 - some malloc () checking
1330 - libpthread.a object dependency cleanups (#115157)
1331 - <bits/socket.h> fix for -std=c89 -pedantic-errors (#140132)
1333 * Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-81
1334 - don't use chunksize in <= 2 * SIZE_SZ free () checks
1336 * Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-80
1337 - update from CVS
1338 - with -D_FORTIFY_SOURCE=2, prevent missing %N$ formats
1339 - for -D_FORTIFY_SOURCE=2 and %n in writable format string,
1340 issue special error message instead of using the buffer overflow
1341 detected one
1342 - speedup regex searching with REG_NOSUB, add RE_NO_SUB,
1343 speedup searching with nested subexps (BZ #544)
1344 - block SIGCANCEL in NPTL timer_* helper thread
1345 - further free () checking
1347 * Tue Nov 16 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-79
1348 - update from CVS
1349 - fix free () checking
1350 - move /etc/default/nss into glibc-common (hopefully fix #132392)
1352 * Mon Nov 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-78
1353 - update from CVS
1354 - fix LD_DEBUG=statistics
1355 - issue error message before aborting in __chk_fail ()
1356 - some more free () checking
1358 * Fri Nov 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-77
1359 - update from CVS
1360 - speedup regex on palindromes (BZ #429)
1361 - fix NPTL set{,e,re,res}[ug]id, so that even if making process
1362 less priviledged all threads change their credentials successfully
1364 * Wed Nov 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-76
1365 - update from CVS
1366 - fix regcomp crash (#138439)
1367 - fix ftell{,o,o64} (#137885)
1368 - robustification of nscd to cope with corrupt databases (#137140)
1369 - fix NPTL with pthread_exit immediately after pthread_create (BZ #530)
1370 - some regex optimizations
1372 * Tue Nov 2 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-75
1373 - update from CVS
1374 - mktime cleanups (BZ #487, #473)
1375 - unique comments in free(3) check error messages
1376 - adjust some x86_64 headers for -m32 (#129712)
1377 - object size checking support even with GCC-3.4.2-RH >= 3.4.2-8
1379 * Wed Oct 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-74
1380 - fix <netinet/udp.h> header
1381 - fix globfree (#137176)
1382 - fix exiting if there are dlmopened libraries in namespaces
1383 other than main one not closed yet
1384 - export again _res_opcodes and __p_{class,type}_syms from
1385 libresolv.so that were lost in -69
1387 * Thu Oct 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-73
1388 - remove setaltroot and key{_add,_request,ctl} also from Versions
1389 - back out _sys_errlist changes
1391 * Thu Oct 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-72
1392 - back out setaltroot and key{_add,_request,ctl} addition
1393 - fix severe x86-64 symbol versioning regressions that breaks
1394 e.g. java binaries
1396 * Wed Oct 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-71
1397 - update from CVS
1398 - fix minor catchsegv temp file handling vulnerability
1399 (CAN-2004-0968, #136319)
1400 - add 4 new errno codes
1401 - setaltroot, key{_add,_request,ctl} syscalls on some arches
1402 - export _dl_debug_state@GLIBC_PRIVATE from ld.so again for
1403 gdb purpose
1404 - use inet_pton to decide what is address and what is hostname
1405 in getent (#135422)
1406 - change dladdr/dladdr1, so that dli_saddr is the same kind
1407 of value as dlsym/dlvsym return (makes difference on ia64/hppa only)
1408 - fix catchsegv script so that it works with both 32-bit and 64-bit
1409 programs on multi-arch platforms
1411 * Tue Oct 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-70
1412 - update from CVS
1413 - require newer selinux-policy (#135978)
1414 - add %%dir for /var/run/nscd and /var/db/nscd and %%ghost
1415 files in it
1416 - conflict with gcc4 4.0.0-0.6 and earlier (needs __builtin_object_size)
1418 * Mon Oct 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-69
1419 - update from CVS
1420 - object size checking support (-D_FORTIFY_SOURCE={1,2})
1422 * Thu Oct 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-68
1423 - update from CVS
1424 - support for namespaces in the dynamic linker
1425 - fix dlclose (BZ #77)
1426 - libSegFault.so uses now backtrace() to work on IA-64, x86-64
1427 and s390 (#130254)
1429 * Tue Oct 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-67
1430 - update from CVS
1431 - use non-blocking sockets in resolver (#135234)
1432 - reset pd->res options on thread exit, so that threads
1433 reusing cached stacks get resolver state properly initialized
1434 (BZ #434)
1436 * Wed Oct 6 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-66
1437 - update from CVS
1438 - avoid using perl in the spec file, buildrequire sed >= 3.95
1439 (#127671)
1440 - export TIMEOUTFACTOR=16
1441 - fix _JMPBUF_CFA_UNWINDS_ADJ on s390{,x}
1443 * Tue Oct 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-65
1444 - update from CVS
1445 - define _POSIX_THREAD_PROCESS_SHARED and _POSIX_CLOCK_SELECTION
1446 to -1 in LinuxThreads
1447 - define _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME to 0
1448 on i?86/ia64 and make sure sysconf (_SC_{,THREAD_}CPUTIME)
1449 returns correct value
1450 - if _POSIX_CLOCK_SELECTION == -1 in nscd, still try
1451 sysconf (_SC_CLOCK_SELECTION) and if it returns true,
1452 dlopen libpthread.so and dlsym pthread_condattr_setclock
1453 - build nscd with -z relro and -z now
1455 * Mon Oct 4 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-64
1456 - update from CVS
1457 - stop using __builtin_expect in assert and assert_perror
1458 (#127606)
1459 - try to avoid too much VA fragmentation with malloc
1460 on flexmap layout (#118574)
1461 - nscd robustification
1462 - change valloc to use debugging hooks (#134385)
1463 - make glibc_post_upgrade more verbose on errors (Fergal Daly,
1464 #125700)
1466 * Fri Oct 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-63
1467 - update from CVS
1468 - fix __nscd_getgrouplist
1469 - fix a typo in x86_64 pthread_mutex_timedwait fix
1471 * Fri Oct 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-62
1472 - update from CVS
1473 - fix NPTL pthread_mutex_timedwait on i386/x86_64 (BZ #417)
1475 * Thu Sep 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-61
1476 - update from CVS
1477 - some nscd fixes (#134193)
1478 - cache initgroups in nscd (#132850)
1479 - reread /etc/localtime in tzset () even if just mtime changed
1480 (#133481)
1481 - fix glob (#126460)
1482 - another get_myaddress fix
1484 * Wed Sep 29 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-60
1485 - update from CVS
1486 - fix get_myaddress (#133982)
1487 - remove nonnull attribute from second utime argument (#133866)
1488 - handle SIGSETXID the same way as SIGCANCEL in
1489 sigaction/pthread_kill/sigwait/sigwaitinfo etc.
1490 - add __extension__ to long long types in NPTL <bits/pthreadtypes.h>
1492 * Mon Sep 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-59
1493 - update from CVS
1494 - fix BZ #151, #362, #381, #407
1495 - fdim fix for +inf/+inf (BZ #376)
1497 * Sun Sep 26 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-58
1498 - update from CVS
1499 - vasprintf fix (BZ #346)
1500 - gettext locking (BZ #322)
1501 - change linuxthreads useldt.h inclusion login again, the last
1502 one failed all linuxthreads FLOATING_STACKS tests
1504 * Sat Sep 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-57
1505 - update from CVS
1506 - fix setuid in LD_ASSUME_KERNEL=2.2.5 libc (#133558)
1507 - fix nis locking (#132204)
1508 - RTLD_DEEPBIND support
1509 - fix pthread_create bugs (BZ #401, #405)
1511 * Wed Sep 22 2004 Roland McGrath <roland@redhat.com> 2.3.3-56
1512 - migrated CVS to fedora-branch in sources.redhat.com glibc repository
1513 - source tarballs renamed
1514 - redhat/ moved to fedora/, some old cruft removed
1515 - update from trunk
1516 - some __nonnull annotations
1518 * Wed Sep 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-55
1519 - update from CVS
1520 - set{re,e,res}[ug]id now affect the whole process in NPTL
1521 - return EAGAIN instead of ENOMEM when not enough memory
1522 in pthread_create
1524 * Fri Sep 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-54
1525 - update from CVS
1526 - nscd getaddrinfo caching
1528 * Tue Sep 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-53
1529 - restore temporarily old definition of __P()/__PMT()
1530 for third party apps
1532 * Tue Sep 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-52
1533 - update from CVS
1534 - nscd bi-arch fix
1535 - remove all uses of __P()/__PMT() from glibc headers
1536 - update and reenable nscd SELinux patch
1537 - remove libnss1* and libnss*.so.1 compatibility NSS modules
1538 on IA-32, SPARC and Alpha
1540 * Fri Sep 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-51
1541 - update from CVS
1542 - disable one of the malloc double free checks for non-contiguous
1543 arenas where it doesn't have to be true even for non-broken
1544 apps
1546 * Thu Sep 9 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-50
1547 - update from CVS
1548 - pwd/grp/host loops with nscd speed up by sharing the
1549 nscd cache r/o with applications
1550 - inexpensive double free check in free(3)
1551 - make NPTL pthread.h initializers usable even from C++
1552 (BZ #375)
1553 - use atomic instructions even in i386 nscd on i486+ CPUs
1554 (conditionally)
1556 * Sat Sep 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-49
1557 - update from CVS
1558 - fix linuxthreads tst-cancel{[45],-static}
1560 * Fri Sep 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-48
1561 - update from CVS
1562 - fix pthread_cond_destroy (BZ #342)
1563 - fix fnmatch without FNM_NOESCAPE (BZ #361)
1564 - fix ppc32 setcontext (BZ #357)
1565 - add NPTL support for i386 glibc (only if run on i486 or higher CPU)
1566 - add __NR_waitid defines for i386, x86_64 and sparc*
1568 * Tue Aug 31 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-47
1569 - update from CVS
1570 - persistent nscd caching
1571 - ppc64 32-bit atomicity fix
1572 - fix x86-64 nptl-devel headers for -m32 compilation
1573 - %%ghost /etc/ld.so.cache (#130597)
1574 - edit /etc/ld.so.conf in glibc_post_upgrade if
1575 include ld.so.conf.d/*.conf line is missing (#120588)
1576 - ugly hacks for the IA-64 /emul braindamage (#124996, #128267)
1578 * Sat Aug 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-46
1579 - update from CVS
1581 * Thu Aug 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-45
1582 - update from CVS
1583 - fix nss_compat's initgroups handling (#130363)
1584 - fix getaddrinfo ai_canonname setting
1586 * Thu Aug 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-44
1587 - update from CVS
1588 - add ip6-dotint resolv.conf option, make
1589 no-ip6-dotint the default
1590 - BuildPrereq libselinux-devel (#129946)
1591 - on ppc64, build without dot symbols
1593 * Thu Aug 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-43
1594 - update from CVS
1595 - remove debugging printout (#129747)
1596 - make <sys/shm.h> usable in C++ (IT#45148)
1597 - update RLIMIT_* constants in <bits/resource.h>, make
1598 <sys/resource.h> POSIX compliant (#129740)
1600 * Wed Aug 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-42
1601 - fix last tzset () fixes, disable rereading of /etc/localtime
1602 every time for now
1603 - really enable SELinux support for NSCD
1605 * Wed Aug 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-41
1606 - update from CVS
1607 - fread_unlocked/fwrite_unlocked macro fixes (BZ #309, #316)
1608 - tzset () fixes (BZ #154)
1609 - speed up pthread_rwlock_unlock on arches other than i386 and
1610 x86_64 (#129455)
1611 - fix compilation with -ansi (resp. -std=c89 or -std=c99) and
1612 -D_XOPEN_SOURCE=[56]00 but no -D_POSIX_SOURCE* or -D_POSIX_C_SOURCE*
1613 (BZ #284)
1614 - add SELinux support for NSCD
1616 * Fri Aug 6 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-40
1617 - update from CVS
1618 - change res_init to force all threads to re-initialize
1619 resolver before they use it next time (#125712)
1620 - various getaddrinfo and related fixes (BZ #295, #296)
1621 - fix IBM{932,943} iconv modules (#128674)
1622 - some nscd fixes (e.g. BZ #292)
1623 - RFC 3678 support (Multicast Source Filters)
1624 - handle /lib/i686/librtkaio-* in i386 glibc_post_upgrade
1625 the same as /lib/i686/librt-*
1627 * Fri Jul 23 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-39
1628 - update from CVS
1629 - conformance related changes in headers
1630 - remove -finline-limit=2000 for GCC 3.4.x+
1632 * Thu Jul 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-38
1633 - update from CVS
1634 - fix res_init leaks
1635 - fix newlocale races
1636 - fix ppc64 setjmp
1637 - fix strtold (BZ #274)
1639 * Fri Jul 16 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-37
1640 - update from CVS
1641 - allow pthread_cancel in DSO destructors run at exit time
1642 - fix pow{f,,l} on IA-32 and powl on x86-64
1643 - allow PIEs on IA-32 to have main in a shared library they depend on
1645 * Mon Jul 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-36
1646 - s390* .plt slot reduction
1647 - fix pthread_rwlock_timedrdlock on x86_64
1649 * Wed Jun 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-35
1650 - tweak spec file for the libpthread-0.61.so -> libpthread-2.3.3.so
1651 NPTL changes
1653 * Wed Jun 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-34
1654 - update from CVS
1655 - if_nameindex using preferably netlink
1656 - printf_parsemb initialization fix
1657 - NPTL version is now the same as glibc version
1659 * Mon Jun 28 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-33
1660 - update from CVS
1661 - reread resolv.conf for nscd --invalidate=hosts
1662 - fix F_GETLK/F_SETLK/F_SETLKW constants on x86_64 for
1663 -m32 -D_FILE_OFFSET_BITS=64 compilations
1664 - avoid calling non-existing fcntl64 syscall on ppc64
1666 * Mon Jun 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-32
1667 - update from CVS
1668 - FUTEX_CMP_REQUEUE support (fix pthread_cond_* deadlocks)
1669 - fix backtrace in statically linked programs
1670 - rebuilt with GCC 3.4, adjusted ulps and i386 <bits/string.h>
1672 * Fri May 28 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-31
1673 - update from CVS
1674 - <bits/string2.h> and <bits/mathinline.h> changes for GCC 3.{2,4,5}+
1675 - make c_stubs buildable even with GCC 3.2.x (#123042)
1677 * Fri May 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-30
1678 - fix pthread_cond_wait on architectures other than IA-32 and
1679 x86_64
1681 * Thu May 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-29
1682 - use lib64 instead of lib on ia64 if %%{_lib} is defined to lib64
1684 * Wed May 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-28
1685 - update from CVS
1686 - FUTEX_REQUEUE fixes (#115349)
1687 - SPARC GCC 3.4 build fix
1688 - fix handling of undefined TLS symbols on IA32 (RELA only),
1689 SPARC and SH
1690 - regex translate fix
1691 - speed up sprintf
1692 - x86_64 makecontext alignment fix
1693 - make POSIX sigpause the default sigpause, unless BSD sigpause
1694 requested
1696 * Tue May 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-27
1697 - remove /lib64/tls/librtkaio-2.3.[23].so in glibc_post_upgrade
1698 on x86-64, s390x and ppc64 instead of /lib/tls/librtkaio-2.3.[23].so
1699 - build mq_{send,receive} with -fexceptions
1701 * Fri May 7 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-26
1702 - update from CVS
1703 - fix <tgmath.h>
1704 - fix memory leaks in nis, getifaddrs, etc. caused by incorrect
1705 use of realloc
1706 - remove /lib/{tls,i686}/librtkaio-2.3.[23].so in glibc_post_upgrade
1707 and rerun ldconfig if needed, otherwise after glibc upgrade librt.so.1
1708 might be a stale symlink
1710 * Wed May 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-25
1711 - update from CVS
1712 - disable FUTEX_REQUEUE (work around #115349)
1713 - mq for sparc/sparc64/ia64
1715 * Tue May 4 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-24
1716 - update from CVS
1717 - define S_ISSOCK in -D_XOPEN_SOURCE=600 and S_I[FS]SOCK
1718 plus F_[SG]ETOWN also in -D_XOPEN_SOURCE=500 (both
1719 included already in XNS5)
1720 - reorder dlopen checks, so that dlopening ET_REL objects
1721 complains about != ET_DYN != ET_EXEC, not about phentsize
1722 (#121606)
1723 - fix strpbrk macro for GCC 3.4+ (BZ #130)
1724 - fix <sys/sysctl.h> (BZ #140)
1725 - sched_[gs]etaffinity documentation fix (BZ #131)
1726 - fix sparc64 build (BZ #139)
1727 - change linuxthreads back to use non-cancellable writes
1728 to manager pipes etc.
1729 - fix sem_timedwait return value in linuxthreads (BZ #133)
1730 - ia64 unnecessary PLT relocs removal
1732 * Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-23
1733 - update from CVS
1734 - fix *scanf
1735 - fix shm_unlink, sem_unlink and mq_unlink errno values
1736 - avoid memory leaks in error
1737 - execstack fixes on s390
1739 * Mon Apr 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-22
1740 - update from CVS
1741 - mq and timer fixes
1742 - rebuilt with binutils >= 2.15.90.0.3-2 to fix IA-64 statically
1743 linked binaries
1744 - fix linuxthreads librt.so on s390{,x}, so it is no longer DT_TEXTREL
1746 * Sat Apr 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-21
1747 - disable rtkaio
1748 - update from CVS
1749 - POSIX message passing support
1750 - fixed SIGEV_THREAD support for POSIX timers
1751 - fix free on non-malloced memory in syslog
1752 - fix ffsl on some 64-bit arches
1753 - fix sched_setaffinity on x86-64, ia64
1754 - fix ppc64 umount
1755 - NETID_AUTHORITATIVE, SERVICES_AUTHORITATIVE support
1756 - various NIS speedups
1757 - fix fwrite with > 2GB sizes on 64-bit arches
1758 - fix pthread_getattr_np guardsize reporting in NPTL
1759 - report PLT relocations in ld.so and libc.so during the build
1761 * Fri Mar 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-20
1762 - update from CVS
1763 - change NPTL PTHREAD_MUTEX_ADAPTIVE_NP mutexes to spin on SMP
1764 - strtol speed optimization
1765 - don't try to use certainly unimplemented syscalls on ppc64
1766 - kill -debug subpackage, move the libs to glibc-debuginfo{,-common}
1767 into /usr/lib/debug/usr/%{_lib}/ directory
1768 - fix c_stubs with gcc 3.4
1769 - move all the up to 3 builds into %%build scriptlet and
1770 leave only installation in the %%install scriptlet
1772 * Mon Mar 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-19
1773 - update from CVS
1774 - affinity API changes
1776 * Thu Mar 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-18
1777 - update from CVS
1778 - fix ia64 iopl (#118591)
1779 - add support for /etc/ld.so.conf.d/*.conf
1780 - fix x86-64 LD_DEBUG=statistics
1781 - fix hwcap handling when using ld.so.cache (#118518)
1783 * Mon Mar 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-17
1784 - update from CVS
1785 - implement non-_l function on top of _l functions
1787 * Thu Mar 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-16
1788 - update from CVS
1789 - fix s390{,x} TLS handling
1791 * Wed Mar 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-15
1792 - update from CVS
1793 - special section for compatibility code
1794 - make getpid () work even in vfork () child
1795 - configure with --enable-bind-now to avoid lazy binding in ld.so
1796 and libc.so
1798 * Fri Mar 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-14
1799 - update from CVS
1800 - fix iconv -c (#117021)
1801 - fix PIEs on sparc/sparc64
1802 - fix posix_fadvise on 64-bit architectures
1803 - add locale-archive as %%ghost file (#117014)
1805 * Mon Mar 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-13
1806 - update from CVS
1808 * Fri Feb 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-12
1809 - update from CVS
1811 * Fri Feb 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-11
1812 - update from CVS
1813 - fix ld.so when vDSO is randomized
1815 * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-10
1816 - update from CVS
1818 * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-9
1819 - update from CVS
1821 * Tue Feb 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-8
1822 - update from CVS
1824 * Tue Jan 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-7
1825 - update from CVS
1826 - dl_iterate_phdr extension to signal number of added/removed
1827 libraries
1828 - fix PT_GNU_RELRO support on ppc* with prelinking
1830 * Fri Jan 23 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-6
1831 - rebuilt with fixed GCC on IA-64
1833 * Thu Jan 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-5
1834 - fix PT_GNU_RELRO support
1836 * Wed Jan 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-4
1837 - update from CVS
1838 - some further regex speedups
1839 - fix re.translate handling in regex (#112869)
1840 - change regfree to match old regex behaviour (what is freed
1841 and clearing of freed pointers)
1842 - fix accesses to unitialized memory in regex (#113507, #113425,
1843 #113421)
1844 - PT_GNU_RELRO support
1846 * Tue Dec 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-3
1847 - update from CVS
1848 - fix pmap_set fd and memory leak (#112726)
1849 - fix backreference handling in regex
1850 - rebuilt under glibc without the above bug to fix
1851 libc.so linker script (#112738)
1853 * Mon Dec 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-2
1854 - update from CVS
1855 - faster getpid () in NPTL builds
1856 - fix to make pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, )
1857 really disable cancellation (#112512)
1858 - more regex fixes and speedups
1859 - fix nextafter*/nexttoward*
1860 - handle 6th syscall(3) argument on AMD64
1861 - handle memalign/posix_memalign in mtrace
1862 - fix linuxthreads memory leak (#112208)
1863 - remove throw () from cancellation points in linuxthreads (#112602)
1864 - fix NPTL unregister_atfork
1865 - fix unwinding through alternate signal stacks
1867 * Mon Dec 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-1
1868 - update from CVS
1869 - 2.3.3 release
1870 - lots of regex fixes and speedups (#110401)
1871 - fix atan2
1872 - fix pshared condvars in NPTL
1873 - fix pthread_attr_destroy for attributes created with
1874 pthread_attr_init@GLIBC_2.0
1875 - for the time being, include both nb_NO* and no_NO* as locales
1876 so that the distribution can catch up with the no_NO->nb_NO
1877 transition
1878 - add BuildPrereq texinfo (#110252)
1880 * Tue Nov 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-102
1881 - update from CVS
1882 - fix getifaddrs (CAN-2003-0859)
1883 - fix ftw fd leak
1884 - fix linuxthreads sigaction (#108634)
1885 - fix glibc 2.0 stdio compatibility
1886 - fix uselocale (LC_GLOBAL_LOCALE)
1887 - speed up stdio locking in non-threaded programs on IA-32
1888 - try to maintain correct order of cleanups between those
1889 registered with __attribute__((cleanup))
1890 and with LinuxThreads style pthread_cleanup_push/pop (#108631)
1891 - fix segfault in regex (#109606)
1892 - fix RE_ICASE multi-byte handling in regex
1893 - fix pthread_exit in libpthread.a (#109790)
1894 - FTW_ACTIONRETVAL support
1895 - lots of regex fixes and speedups
1896 - fix ceill/floorl on AMD64
1898 * Mon Oct 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-101
1899 - update from CVS
1900 - fix ld.so --verify (and ldd)
1902 * Mon Oct 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-100
1903 - update from CVS
1904 - fix sprof (#103727)
1905 - avoid infinite loops in {,f}statvfs{,64} with hosed mounts file
1906 - prevent dlopening of executables
1907 - fix glob with GLOB_BRACE and without GLOB_NOESCAPE
1908 - fix locale printing of word values on 64-bit big-endian arches
1909 (#107846)
1910 - fix getnameinfo and getaddrinfo with reverse IPv6 lookups
1911 (#101261)
1913 * Wed Oct 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-99
1914 - update from CVS
1915 - dl_iterate_phdr in libc.a on arches other than IA-64
1916 - LD_DEBUG=statistics prints number of relative relocations
1917 - fix hwcap computation
1918 - NPTL is now part of upstream glibc CVS
1919 - include {st,xh,zu}_ZA{,.UTF-8} locales
1921 * Sat Oct 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-98
1922 - update from CVS
1923 - fix close, pause and fsync (#105348)
1924 - fix pthread_once on IA-32
1925 - implement backtrace () on IA-64, handle -fomit-frame-pointer
1926 in AMD64 backtrace () (#90402)
1928 * Tue Sep 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-97
1929 - update from CVS
1930 - fix <sys/sysmacros.h> with C++ or -ansi or -pedantic C
1931 - fix mknod/ustat return value when given bogus device number (#105768)
1933 * Fri Sep 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-96
1934 - rebuilt
1936 * Fri Sep 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-95
1937 - fix IA-64 getcontext
1939 * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-94
1940 - update from CVS
1941 - fix syslog with non-C non-en_* locales (#61296, #104979)
1942 - filter GLIBC_PRIVATE symbols from glibc provides
1943 - fix NIS+
1945 * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-93
1946 - update from CVS
1947 - assume 2.4.21 kernel features on RHEL/ppc*, so that
1948 {make,set,get,swap}context works
1949 - backout execstack support for RHEL
1950 - build rtkaio on amd64 too
1952 * Wed Sep 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-92
1953 - update from CVS
1954 - execstack/noexecstack support
1955 - build nscd as PIE
1956 - move __libc_stack_end back to @GLIBC_2.1
1957 - build against elfutils >= 0.86 to fix stripping on s390x
1959 * Mon Sep 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-91
1960 - rebuilt
1962 * Mon Sep 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-90
1963 - update from CVS
1964 - NPTL locking change (#102682)
1965 - don't jump around lock on amd64
1967 * Thu Sep 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-89
1968 - fix open_memstream/syslog (#104661)
1970 * Thu Sep 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-88
1971 - update from CVS
1972 - retrieve affinity in pthread_getattr_np
1973 - fix pthread_attr_[gs]etaffinity_np
1974 - handle hex and octal in wordexp
1976 * Wed Sep 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-87
1977 - update from CVS
1978 - truncate instead of round in utimes when utimes syscall is not available
1979 - don't align stack in every glibc function unnecessarily on IA-32
1980 - make sure threads have their stack 16 byte aligned on IA-32
1981 - move sched_[sg]etaffinity to GLIBC_2.3.3 symbol version (#103231)
1982 - fix pthread_getattr_np for the initial thread (#102683)
1983 - avoid linuxthreads signal race (#104368)
1984 - ensure all gzip invocations are done with -n option
1986 * Fri Sep 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-86
1987 - update from CVS
1988 - avoid linking in libgcc_eh.a unnecessarily
1989 - change ssize_t back to long int on s390 -m31, unless
1990 gcc 2.95.x is used
1992 * Wed Sep 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-85
1993 - update from CVS
1994 - fix IA-64 memccpy (#104114)
1996 * Tue Sep 9 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-84
1997 - update from CVS
1998 - undo broken amd64 signal context changes
2000 * Tue Sep 9 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-83
2001 - update from CVS
2002 - change *nlink_t, *ssize_t and *intptr_t types on s390 -m31 to
2003 {unsigned,} int
2004 - change *u_quad_t, *quad_t, *qaddr_t, *dev_t, *ino64_t, *loff_t,
2005 *off64_t, *rlim64_t, *blkcnt64_t, *fsblkcnt64_t, *fsfilcnt64_t
2006 on 64-bit arches from {unsigned,} long long int {,*} to
2007 {unsigned,} long int {,*} to restore binary compatibility
2008 for C++ functions using these types as arguments
2010 * Sun Sep 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-82
2011 - rebuilt
2013 * Sat Sep 6 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-81
2014 - update from CVS
2015 - fix tc[gs]etattr/cf[gs]et[io]speed on ppc (#102732)
2016 - libio fixes
2018 * Thu Sep 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-80
2019 - update from CVS
2020 - fix IA-64 cancellation when mixing __attribute__((cleanup ()))
2021 and old-style pthread_cleanup_push cleanups
2023 * Tue Sep 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-79
2024 - updated from CVS
2025 - lots of cancellation fixes
2026 - fix posix_fadvise* on ppc32
2027 - TLS layout fix
2028 - optimize stdio cleanups (#103354)
2029 - sparcv9 NPTL
2030 - include sigset, sighold, sigrelse, sigpause and sigignore prototypes
2031 in signal.h even if -D_XOPEN_SOURCE_EXTENDED (#103269)
2032 - fix svc_getreqset on 64-bit big-endian arches
2033 - return ENOSYS in linuxthreads pthread_barrierattr_setpshared for
2034 PTHREAD_PROCESS_SHARED
2035 - add pthread_cond_timedwait stubs to libc.so (#102709)
2036 - split glibc-devel into glibc-devel and glibc-headers to ensure
2037 amd64 /usr/include always wins on amd64/i386 bi-arch installs
2038 - increase PTHREAD_STACK_MIN on alpha, ia64 and sparc*
2039 - get rid of __syscall_* prototypes and stubs in sysdeps/unix/sysv/linux
2040 - run make check also with linuxthreads (on IA-32 non-FLOATING_STACKS)
2041 ld.so and NPTL (on IA-32 also FLOATING_STACKS linuxthreads) libraries
2042 and tests
2044 * Tue Aug 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-78
2045 - include dl-osinfo.h only in glibc-debuginfo-2*.rpm, not
2046 in glibc-debuginfo-common*
2048 * Mon Aug 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-77
2049 - update from CVS
2050 - fix glibc 2.0 libio compatibility (#101385)
2051 - fix ldconfig with /usr/lib/lib*.so symlinks (#102853)
2052 - fix assert.h (#102916, #103017)
2053 - make ld.so.cache identical between IA-32 and AMD64 (#102887)
2054 - fix static linking of large IA-64 binaries (#102586)
2055 - avoid using floating point regs in lazy binding code on ppc64 (#102763)
2057 * Fri Aug 22 2003 Roland McGrath <roland@redhat.com> 2.3.2-76
2058 - add td_thr_tls_get_addr changes missed in initial nptl_db rewrite
2060 * Sun Aug 17 2003 Roland McGrath <roland@redhat.com> 2.3.2-74
2061 - nptl_db rewrite not yet in CVS
2063 * Thu Aug 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-72
2064 - update from CVS
2065 - fix rtkaio aio_fsync{,64}
2066 - update rtkaio for !BROKEN_THREAD_SIGNALS
2067 - fix assert macro when used on pointers
2069 * Wed Aug 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-71
2070 - update from CVS
2072 * Tue Aug 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-70
2073 - update from CVS
2074 - disable CLONE_STOPPED for now until it is resolved
2075 - strip crt files
2076 - fix libio on arches with no < GLIBC_2.2 support (#102102, #102105)
2077 - fix glibc-debuginfo to include all nptl and nptl_db sources
2079 * Thu Aug 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-69
2080 - update from CVS
2081 - fix pthread_create@GLIBC_2.0 (#101767)
2082 - __ASSUME_CLONE_STOPPED on all arches but s390* in RHEL
2084 * Sun Aug 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-68
2085 - update from CVS
2086 - only use CLONE_STOPPED if kernel supports it, fix setting of thread
2087 explicit scheduling (#101457)
2089 * Fri Aug 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-67
2090 - update from CVS
2091 - fix utimes and futimes if kernel doesn't support utimes syscall
2092 - fix s390 ssize_t type
2093 - fix dlerror when called before any dlopen/dlsym
2094 - update IA-64 bits/sigcontext.h (#101344)
2095 - various warning fixes
2096 - fix pthread.h comment typos (#101363)
2098 * Wed Jul 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-66
2099 - update from CVS
2100 - fix dlopen of libraries using TLS IE/LE models
2102 * Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-65
2103 - update from CVS
2104 - fix timer_create
2105 - use __extension__ before long long typedefs in <bits/types.h> (#100718)
2107 * Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-64
2108 - update from CVS
2109 - fix wcpncpy (#99462)
2110 - export _res@GLIBC_2.0 even from NPTL libc.so (__res_state ()
2111 unlike __errno_location () or __h_errno_location () was introduced
2112 in glibc 2.2)
2113 - fix zic bug on 64-bit platforms
2114 - some TLS handling fixes
2115 - make ldconfig look into alternate ABI dirs by default (#99402)
2116 - move %{_datadir}/zoneinfo to tzdata package, so that it can be
2117 errataed separately from glibc
2118 - new add-on - rtkaio
2119 - prereq libgcc, as glibc now relies on libgcc_s.so.1 for pthread_cancel
2121 * Tue Jul 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-63
2122 - fix thread cancellation on ppc64
2124 * Sat Jul 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-62
2125 - update from CVS
2126 - fix thread cancellation on ppc32, s390 and s390x
2128 * Thu Jul 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-61
2129 - update from CVS
2130 - build libc_nonshared.a with -fPIC instead of -fpic
2131 - fix ppc64 PIE support
2132 - add cfi directives to NPTL sysdep-cancel.h on ppc/ppc64/s390/s390x
2134 * Tue Jul 8 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-60
2135 - update from CVS
2137 * Thu Jul 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-59
2138 - update from CVS
2139 - on IA-64 use different symbols for cancellation portion of syscall
2140 handlers to make gdb happier
2142 * Thu Jun 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-58
2143 - update from CVS
2144 - nss_compat supporting LDAP etc.
2146 * Tue Jun 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-57
2147 - update from CVS
2149 * Thu Jun 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-56
2150 - fix condvars and semaphores in ppc* NPTL
2151 - fix test-skeleton.c reporting of timed-out tests (#91269)
2152 - increase timeouts for tests during make check
2154 * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-55
2155 - make ldconfig default to both /lib+/usr/lib and /lib64+/usr/lib64
2156 on bi-ABI architectures (#97557)
2157 - disable FUTEX_REQUEUE on ppc* temporarily
2159 * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-54
2160 - update from CVS
2161 - fix glibc_post_upgrade on ppc
2163 * Tue Jun 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-53
2164 - update from CVS
2165 - fix localedef (#90659)
2166 - tweak linuxthreads for librt cancellation
2168 * Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-52
2169 - update from CVS
2171 * Thu Jun 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-51
2172 - update from CVS
2173 - fix <gnu/stubs.h> (#97169)
2175 * Wed Jun 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-50
2176 - update from CVS
2178 * Tue Jun 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-49
2179 - update from CVS
2180 - fix pthread_cond_signal on IA-32 (#92080, #92253)
2181 - fix setegid (#91567)
2182 - don't prelink -R libc.so on any architecture, it prohibits
2183 address randomization
2185 * Fri Jun 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-48
2186 - update from CVS
2187 - fix IA-64 NPTL build
2189 * Thu Jun 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-47
2190 - update from CVS
2191 - PT_GNU_STACK segment in binaries/executables and .note.GNU-stack
2192 section in *.[oa]
2194 * Sun Jun 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-46
2195 - update from CVS
2196 - enable NPTL on AMD64
2197 - avoid using trampolines in localedef
2199 * Fri May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-45
2200 - enable NPTL on IA-64
2202 * Fri May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-44
2203 - update from CVS
2204 - enable NPTL on s390 and s390x
2205 - make __init_array_start etc. symbols in elf-init.oS hidden undefined
2207 * Thu May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-43
2208 - update from CVS
2210 * Fri May 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-42
2211 - update from CVS
2213 * Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-41
2214 - update from CVS
2215 - use NPTL libs if uname -r contains nptl substring or is >= 2.5.69
2216 or set_tid_address syscall is available instead of checking
2217 AT_SYSINFO dynamic tag
2219 * Thu May 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-40
2220 - update from CVS
2222 * Wed May 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-39
2223 - update from CVS
2224 - fix for prelinking of libraries with no dependencies
2226 * Tue May 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-38
2227 - update from CVS
2228 - enable NPTL on ppc and ppc64
2230 * Tue May 6 2003 Matt Wilson <msw@redhat.com> 2.3.2-37
2231 - rebuild
2233 * Sun May 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-36
2234 - update from CVS
2236 * Sat May 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-35
2237 - update from CVS
2238 - make -jN build fixes
2240 * Fri May 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-34
2241 - update from CVS
2242 - avoid using trampolines in iconvconfig for now
2244 * Sat Apr 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-33
2245 - update from CVS
2247 * Fri Apr 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-32
2248 - update from CVS
2249 - more ppc TLS fixes
2251 * Wed Apr 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-31
2252 - update from CVS
2253 - nscd fixes
2254 - fix Bahrain spelling (#56298)
2255 - fix Ukrainian collation (#83973)
2256 - accept trailing spaces in /etc/ld.so.conf (#86032)
2257 - perror fix (#85994)
2258 - fix localedef (#88978)
2259 - fix getifaddrs (#89026)
2260 - fix strxfrm (#88409)
2261 - fix ppc TLS
2262 - fix getaddrinfo (#89448)
2263 - don't print warning about errno, h_errno or _res if
2264 LD_ASSUME_KERNEL=2.4.1 or earlier
2266 * Tue Apr 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-30
2267 - update from CVS
2268 - fix prelink on ppc32
2269 - add TLS support on ppc32 and ppc64
2270 - make sure on -m64 arches all helper binaries are built with this
2271 option
2273 * Mon Apr 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-29
2274 - update from CVS
2275 - fix strxfrm (#88409)
2276 - use -m64 -mno-minimal-toc on ppc64
2277 - conflict with kernels < 2.4.20 on ppc64 and < 2.4.0 on x86_64
2278 - link glibc_post_upgrade against newly built libc.a
2280 * Sun Apr 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-28
2281 - update from CVS
2282 - fix NPTL pthread_detach and already terminated, but not yet
2283 joined thread (#88219)
2284 - fix bug-regex4 testcase (#88118)
2285 - reenable prelink support broken in 2.3.2-13
2286 - fix register_printf_function (#88052)
2287 - fix double free with fopen using ccs= (#88056)
2288 - fix potential access below $esp in {set,swap}context (#88093)
2289 - fix buffer underrun in gencat -H (#88099)
2290 - avoid using unitialized variable in tst-tgmath (#88101)
2291 - fix gammal (#88104)
2292 - fix iconv -c
2293 - fix xdr_string (PR libc/4999)
2294 - fix /usr/lib/nptl/librt.so symlink
2295 - avoid running NPTL cleanups twice in some cases
2296 - unblock __pthread_signal_cancel in linuxthreads, so that
2297 linuxthreads threaded programs work correctly if spawned
2298 from NPTL threaded programs
2299 - fix sysconf _SC_{NPROCESSORS_{CONF,ONLN},{,AV}PHYS_PAGES}
2300 - remove /lib/i686 directory before running ldconfig in glibc post
2301 during i686 -> i386 glibc "upgrades" (#88456)
2303 * Wed Apr 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-22
2304 - update from CVS
2305 - add pthread_atfork to libpthread.a
2307 * Tue Apr 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-21
2308 - update from CVS
2309 - make sure linuxthreads pthread_mutex_lock etc. is not a cancellation
2310 point
2312 * Sat Mar 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-20
2313 - update from CVS
2314 - if kernel >= 2.4.1 doesn't support NPTL, fall back to
2315 /lib/i686 libs on i686, not stright to /lib
2317 * Fri Mar 28 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-19
2318 - update from CVS
2319 - timers fixes
2321 * Thu Mar 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-18
2322 - update from CVS
2323 - fix NPTL pthread_cond_timedwait
2324 - fix sysconf (_SC_MONOTONIC_CLOCK)
2325 - use /%%{_lib}/tls instead of /lib/tls on x86-64
2326 - add /%{_lib}/tls/librt*so* and /%{_lib}/i686/librt*so*
2327 - display content of .out files for all make check failures
2329 * Wed Mar 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-17
2330 - update from CVS
2331 - kernel POSIX timers support
2333 * Sat Mar 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-16
2334 - update from CVS
2335 - export __fork from glibc again
2336 - fix glibc-compat build in NPTL
2337 - fix c_stubs
2338 - fix some more atomic.h problems
2339 - don't check abi in glibc-compat libs
2341 * Fri Mar 21 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-15
2342 - update from CVS
2343 - build glibc-compat (for glibc 2.0 compatibility) and c_stubs add-ons
2344 - condrestart sshd in glibc_post_upgrade so that the user can
2345 log in remotely and handle the rest (#86339)
2346 - fix a typo in glibc_post_upgrade on sparc
2348 * Tue Mar 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-14
2349 - update from CVS
2350 - change i686/athlon libc.so.6 base to 0x00e80000
2352 * Mon Mar 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-13
2353 - update from CVS
2354 - hopefully last fix for condvar problems
2356 * Fri Mar 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-12
2357 - fix bits/syscall.h creation on x86-64
2359 * Thu Mar 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-11
2360 - update from CVS
2362 * Wed Mar 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-10
2363 - update from CVS
2365 * Tue Mar 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-9
2366 - update from CVS
2367 - fix glibc-debug description (#85111)
2368 - make librt.so a symlink again, not linker script
2370 * Tue Mar 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-8
2371 - update from CVS
2372 - remove the workarounds for broken software accessing GLIBC_PRIVATE
2373 symbols
2375 * Mon Mar 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-7
2376 - update from CVS
2378 * Sun Mar 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-6
2379 - fix TLS IE/LE model handling in dlopened libraries
2380 on TCB_AT_TP arches
2382 * Thu Feb 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-5
2383 - update from CVS
2385 * Tue Feb 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-4
2386 - update from CVS
2388 * Mon Feb 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-3
2389 - update from CVS
2390 - only warn about errno, h_errno or _res for binaries, never
2391 libraries
2392 - rebuilt with gcc-3.2.2-4 to use direct %gs TLS access insn sequences
2394 * Sun Feb 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-2
2395 - update from CVS
2397 * Sat Feb 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-1
2398 - update from CVS
2400 * Thu Feb 20 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-51
2401 - update from CVS
2403 * Wed Feb 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-50
2404 - update from CVS
2406 * Wed Feb 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-49
2407 - update from CVS
2408 - remove nisplus and nis from the default nsswitch.conf (#67401, #9952)
2410 * Tue Feb 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-48
2411 - update from CVS
2413 * Sat Feb 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-47
2414 - update from CVS
2416 * Fri Feb 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-46
2417 - update from CVS
2418 - pthread_cond* NPTL fixes, new NPTL testcases
2420 * Thu Feb 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-45
2421 - update from CVS
2422 - include also linuxthreads FLOATING_STACKS libs on i686 and athlon:
2423 LD_ASSUME_KERNEL=2.2.5 to LD_ASSUME_KERNEL=2.4.0 is non-FLOATING_STACKS lt,
2424 LD_ASSUME_KERNEL=2.4.1 to LD_ASSUME_KERNEL=2.4.19 is FLOATING_STACKS lt,
2425 later is NPTL
2426 - enable TLS on alpha/alphaev6
2427 - add BuildPreReq: /usr/bin/readlink
2429 * Tue Feb 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-44
2430 - update from CVS
2431 - pthread_once fix
2433 * Mon Feb 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-43
2434 - update from CVS
2435 - vfork fix on s390
2436 - rebuilt with binutils 2.13.90.0.18-5 so that accesses to errno
2437 don't bind locally (#83325)
2439 * Thu Feb 06 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-42
2440 - update from CVS
2441 - fix pthread_create after vfork+exec in linuxthreads
2443 * Wed Feb 05 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-41
2444 - update from CVS
2446 * Thu Jan 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-40
2447 - update from CVS
2449 * Wed Jan 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-39
2450 - update from CVS
2451 - enable TLS on s390{,x} and sparc{,v9}
2453 * Fri Jan 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-38
2454 - update from CVS
2455 - initialize __environ in glibc_post_upgrade to empty array,
2456 so that it is not NULL
2457 - compat symlink for s390x /lib/ld64.so.1
2458 - enable glibc-profile on x86-64
2459 - only include libNoVersion.so on IA-32, Alpha and Sparc 32-bit
2461 * Thu Jan 16 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-37
2462 - update from CVS
2463 - nscd fixes, *scanf fix
2464 - fix %%nptlarches noarch build (#81909)
2465 - IA-64 TLS fixes
2467 * Tue Jan 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-36
2468 - update from CVS
2469 - rework -debuginfo subpackage, add -debuginfo-common
2470 subpackage on IA-32, Alpha and Sparc (ie. auxiliary arches)
2471 - fix vfork in libc.a on PPC32, Alpha, Sparc
2472 - fix libio locks in linuxthreads libc.so if libpthread.so
2473 is dlopened later (#81374)
2475 * Mon Jan 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-35
2476 - update from CVS
2477 - dlclose bugfixes
2478 - fix NPTL libpthread.a
2479 - fix glibc_post_upgrade on several arches
2481 * Sat Jan 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-34
2482 - update from CVS
2483 - TLS support on IA-64
2485 * Wed Jan 8 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-33
2486 - fix vfork in linuxthreads (#81377, #81363)
2488 * Tue Jan 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-32
2489 - update from CVS
2490 - don't use TLS libs if kernel doesn't set AT_SYSINFO
2491 (#80921, #81212)
2492 - add ntp_adjtime on alpha (#79996)
2493 - fix nptl_db (#81116)
2495 * Sun Jan 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-31
2496 - update from CVS
2497 - support all architectures again
2499 * Fri Jan 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-30
2500 - fix condvar compatibility wrappers
2501 - add ugly hack to use non-TLS libs if a binary is seen
2502 to have errno, h_errno or _res symbols in .dynsym
2504 * Fri Jan 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-29
2505 - update from CVS
2506 - fixes for new condvar
2508 * Thu Jan 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-28
2509 - new NPTL condvar implementation plus related linuxthreads
2510 symbol versioning updates
2512 * Thu Jan 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-27
2513 - update from CVS
2514 - fix #include <sys/stat.h> with -D_BSD_SOURCE or without
2515 feature set macros
2516 - make *sigaction, sigwait and raise the same between
2517 -lpthread -lc and -lc -lpthread in linuxthreads builds
2519 * Tue Dec 31 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-26
2520 - fix dlclose
2522 * Sun Dec 29 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-25
2523 - enable sysenter by default for now
2524 - fix endless loop in ldconfig
2526 * Sat Dec 28 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-24
2527 - update from CVS
2529 * Fri Dec 27 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-23
2530 - update from CVS
2531 - fix ptmalloc_init after clearenv (#80370)
2533 * Sun Dec 22 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-22
2534 - update from CVS
2535 - add IA-64 back
2536 - move TLS libraries from /lib/i686 to /lib/tls
2538 * Thu Dec 19 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-21
2539 - system(3) fix for linuxthreads
2540 - don't segfault in pthread_attr_init from libc.so
2541 - add cancellation tests from nptl to linuxthreads
2543 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-20
2544 - fix up lists of exported symbols + their versions
2545 from the libraries
2547 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-19
2548 - fix --with-tls --enable-kernel=2.2.5 libc on IA-32
2550 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-18
2551 - update from CVS
2552 - fix NPTL hanging mozilla
2553 - initialize malloc in mALLOPt (fixes problems with squid, #79957)
2554 - make linuxthreads work with dl_dynamic_weak 0
2555 - clear dl_dynamic_weak everywhere
2557 * Tue Dec 17 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-17
2558 - update from CVS
2559 - NPTL socket fixes, flockfile/ftrylockfile/funlockfile fix
2560 - kill -debug sub-package, rename -debug-static to -debug
2561 - clear dl_dynamic_weak for NPTL
2563 * Mon Dec 16 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-16
2564 - fix <bits/mathinline.h> and <bits/nan.h> for C++
2565 - automatically generate NPTL libpthread wrappers
2567 * Mon Dec 16 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-15
2568 - update from CVS
2569 - all functions which need cancellation should now be cancellable
2570 both in libpthread.so and libc.so
2571 - removed @@GLIBC_2.3.2 cancellation wrappers
2573 * Fri Dec 13 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-14
2574 - update from CVS
2575 - replace __libc_lock_needed@GOTOFF(%ebx) with
2576 %gs:offsetof(tcbhead_t, multiple_threads)
2577 - start of new NPTL cancellation wrappers
2579 * Thu Dec 12 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-13
2580 - update from CVS
2581 - use inline locks in malloc
2583 * Tue Dec 10 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-12
2584 - update from CVS
2585 - support LD_ASSUME_KERNEL=2.2.5 in statically linked programs
2587 * Mon Dec 9 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-11
2588 - update from CVS
2589 - rebuilt with gcc-3.2.1-2
2591 * Fri Dec 6 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-10
2592 - update from CVS
2593 - non-nptl --with-tls --without-__thread FLOATING_STACKS libpthread
2594 should work now
2595 - faster libc locking when using nptl
2596 - add OUTPUT_FORMAT to linker scripts
2597 - fix x86_64 sendfile (#79111)
2599 * Wed Dec 4 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-9
2600 - update from CVS
2601 - RUSCII support (#78906)
2602 - for nptl builds add BuildRequires
2603 - fix byteswap.h for non-gcc (#77689)
2604 - add nptl-devel package
2606 * Tue Dec 3 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-8
2607 - update from CVS
2608 - make --enable-kernel=2.2.5 --with-tls --without-__thread
2609 ld.so load nptl and other --with-__thread libs
2610 - disable nptl by default for now
2612 * Wed Nov 27 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-7
2613 - update from CVS
2614 - restructured redhat/Makefile and spec, so that src.rpm contains
2615 glibc-<date>.tar.bz2, glibc-redhat-<date>.tar.bz2 and glibc-redhat.patch
2616 - added nptl
2618 * Fri Nov 8 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-6
2619 - update from CVS
2620 - even more regex fixes
2621 - run sed testsuite to check glibc regex
2623 * Thu Oct 24 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-5
2624 - fix LD_DEBUG=statistics and LD_TRACE_PRELINKING in programs
2625 using libpthread.so.
2627 * Thu Oct 24 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-4
2628 - update from CVS
2629 - fixed %a and %A in *printf (#75821)
2630 - fix re_comp memory leaking (#76594)
2632 * Tue Oct 22 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-3
2633 - update from CVS
2634 - some more regex fixes
2635 - fix libpthread.a (#76484)
2636 - fix locale-archive enlarging
2638 * Fri Oct 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-2
2639 - update from CVS
2640 - don't need to use 128K of stacks for DNS lookups
2641 - regex fixes
2642 - updated timezone data e.g. for this year's Brasil DST
2643 changes
2644 - expand ${LIB} in RPATH/RUNPATH/dlopen filenames
2646 * Fri Oct 11 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-1
2647 - update to 2.3.1 final
2648 - support really low thread stack sizes (#74073)
2649 - tzdata update
2651 * Wed Oct 9 2002 Jakub Jelinek <jakub@redhat.com> 2.3-2
2652 - update from CVS
2653 - handle low stack limits
2654 - move s390x into */lib64
2656 * Thu Oct 3 2002 Jakub Jelinek <jakub@redhat.com> 2.3-1
2657 - update to 2.3 final
2658 - fix freopen on libstdc++ <= 2.96 stdin/stdout/stderr (#74800)
2660 * Sun Sep 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-3
2661 - don't prelink -r libc.so on ppc/x86-64/sparc*, it doesn't
2662 speed things up, because they are neither REL arches, nor
2663 ELF_MACHINE_REL_RELATIVE
2664 - fix sparc64 build
2666 * Sun Sep 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-2
2667 - update from CVS
2669 * Sat Sep 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-1
2670 - update from CVS
2671 - prelink on ppc and x86-64 too
2672 - don't remove ppc memset
2673 - instead of listing on which arches to remove glibc-compat
2674 list where it should stay
2676 * Fri Sep 6 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-5
2677 - fix wcsmbs functions with invalid character sets (or malloc
2678 failures)
2679 - make sure __ctype_b etc. compat vars are updated even if
2680 they are copy relocs in the main program
2682 * Thu Sep 5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-4
2683 - fix /lib/libnss1_dns.so.1 (missing __set_h_errno definition
2684 leading to unresolved __set_h_errno symbol)
2686 * Wed Sep 4 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-3
2687 - security fix - increase dns-network.c MAXPACKET to at least
2688 65536 to avoid buffer overrun. Likewise glibc-compat
2689 dns-{host,network}.c.
2691 * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-2
2692 - temporarily add back __ctype_b, __ctype_tolower and __ctype_toupper to
2693 libc.a and export them as @@GLIBC_2.0 symbols, not @GLIBC_2.0
2694 from libc.so - we have still lots of .a libraries referencing
2695 __ctype_{b,tolower,toupper} out there...
2697 * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-1
2698 - update from CVS
2699 - 2.2.93 release
2700 - use double instead of single indirection in isXXX macros
2701 - per-locale wcsmbs conversion state
2703 * Sat Aug 31 2002 Jakub Jelinek <jakub@redhat.com> 2.2.92-2
2704 - update from CVS
2705 - fix newlocale/duplocale/uselocale
2706 - disable profile on x86_64 for now
2708 * Sat Aug 31 2002 Jakub Jelinek <jakub@redhat.com> 2.2.92-1
2709 - update from CVS
2710 - 2.2.92 release
2711 - fix gettext after uselocale
2712 - fix locales in statically linked threaded programs
2713 - fix NSS
2715 * Thu Aug 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.91-1
2716 - update from CVS
2717 - 2.2.91 release
2718 - fix fd leaks in locale-archive reader (#72043)
2719 - handle EROFS in build-locale-archive gracefully (#71665)
2721 * Wed Aug 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-27
2722 - update from CVS
2723 - fix re_match (#72312)
2724 - support more than 1024 threads
2726 * Fri Aug 23 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-26
2727 - update from CVS
2728 - fix i386 build
2730 * Thu Aug 22 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-25
2731 - update from CVS
2732 - fix locale-archive loading hang on some (non-primary) locales
2733 (#72122, #71878)
2734 - fix umount problems with locale-archives when /usr is a separate
2735 partition (#72043)
2736 - add LICENSES file
2738 * Fri Aug 16 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-24
2739 - update from CVS
2740 - only mmap up to 2MB of locale-archive on 32-bit machines
2741 initially
2742 - fix fseek past end + fread segfault with mmaped stdio
2743 - include <sys/debugreg.h> which is mistakenly not included
2744 in glibc-devel on IA-32
2746 * Fri Aug 16 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-23
2747 - don't return normalized locale name in setlocale when using
2748 locale-archive
2750 * Thu Aug 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-22
2751 - update from CVS
2752 - optimize for primary system locale
2753 - localedef fixes (#71552, #67705)
2755 * Wed Aug 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-21
2756 - fix path to locale-archive in libc reader
2757 - build locale archive at glibc-common %post time
2758 - export __strtold_internal and __wcstold_internal on Alpha again
2759 - workaround some localedata problems
2761 * Tue Aug 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-20
2762 - update from CVS
2763 - patch out set_thread_area for now
2765 * Fri Aug 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-19
2766 - update from CVS
2767 - GB18030 patch from Yu Shao
2768 - applied Debian patch for getaddrinfo IPv4 vs. IPv6
2769 - fix regcomp (#71039)
2771 * Sun Aug 4 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-18
2772 - update from CVS
2773 - use /usr/sbin/prelink, not prelink (#70376)
2775 * Thu Jul 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-17
2776 - update from CVS
2778 * Thu Jul 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-16
2779 - update from CVS
2780 - ungetc fix (#69586)
2781 - fseek errno fix (#69589)
2782 - change *etrlimit prototypes for C++ (#68588)
2783 - use --without-tls instead of --disable-tls
2785 * Thu Jul 11 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-15
2786 - set nscd user's shell to /sbin/nologin (#68369)
2787 - fix glibc-compat buffer overflows (security)
2788 - buildrequire prelink, don't build glibc's own copy of it (#67567)
2789 - update from CVS
2790 - regex fix (#67734)
2791 - fix unused warnings (#67706)
2792 - fix freopen with mmap stdio (#67552)
2793 - fix realloc (#68499)
2795 * Tue Jun 25 2002 Bill Nottingham <notting@redhat.com> 2.2.90-14
2796 - update from CVS
2797 - fix argp on long words
2798 - update atime in libio
2800 * Sat Jun 22 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-13
2801 - update from CVS
2802 - a thread race fix
2803 - fix readdir on invalid dirp
2805 * Wed Jun 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-12
2806 - update from CVS
2807 - don't use __thread in headers
2808 - fix system(3) in threaded apps
2809 - update prelink, so that it is possible to prelink -u libc.so.6.1
2810 on Alpha
2812 * Fri Jun 7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-11
2813 - update from CVS
2814 - fix __moddi3 (#65612, #65695)
2815 - fix ether_line (#64427)
2816 - fix setvbuf with mmap stdio (#65864)
2817 - --disable-tls for now, waiting for kernel
2818 - avoid duplication of __divtf3 etc. on IA-64
2819 - make sure get*ent_r and _IO_wfile_jumps are exported (#62278)
2821 * Tue May 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-10
2822 - update from CVS
2823 - fix Alpha pthread bug with gcc 3.1
2825 * Fri Apr 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-35
2826 - fix nice
2828 * Mon Apr 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-34
2829 - add relocation dependencies even for weak symbols (#63422)
2830 - stricter check_fds check for suid/sgid binaries
2831 - run make check at %%install time
2833 * Sat Apr 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-33
2834 - handle Dec 31 1969 in mktime for timezones west of GMT (#63369)
2835 - back out do-lookup.h change (#63261, #63305)
2836 - use "memory" clobber instead all the fancy stuff in i386/i686/bits/string.h
2837 since lots of compilers break on it
2838 - fix sparc build with gcc 3.1
2839 - fix spec file for athlon
2841 * Tue Apr 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-32
2842 - fix debugging of threaded apps (#62804)
2843 - fix DST for Estonia (#61494)
2844 - document that pthread_mutexattr_?etkind_np are deprecated
2845 and pthread_mutexattr_?ettype should be used instead in man
2846 pages (#61485)
2847 - fix libSegFault.so undefined externals
2849 * Fri Apr 5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-31
2850 - temporarily disable prelinking ld.so, as some statically linked
2851 binaries linked against debugging versions of old glibcs die on it
2852 (#62352)
2853 - fix <semaphore.h> for -std=c99 (#62516)
2854 - fix ether_ntohost segfault (#62397)
2855 - remove in glibc_post_upgrade on i386 all /lib/i686/libc-*.so,
2856 /lib/i686/libm-*.so and /lib/i686/libpthread-*.so, not just current
2857 version (#61633)
2858 - prelink -r on alpha too
2860 * Thu Mar 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-30
2861 - update GB18030 iconv module (Yu Shao)
2863 * Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-29
2864 - features.h fix
2866 * Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-28
2867 - update from CVS
2868 - fix nscd with huge groups
2869 - fix nis to not close fds it shouldn't
2870 - rebuilt against newer glibc-kernheaders to use the correct
2871 PATH_MAX
2872 - handle .athlon.rpm glibc the same way as .i686.rpm
2873 - add a couple of .ISO-8859-15 locales (#61922)
2874 - readd temporarily currencies which were superceeded by Euro
2875 into the list of accepted currencies by localedef to make
2876 standard conformance testsuites happy
2877 - temporarily moved __libc_waitpid back to make Sun JDK happy
2878 - use old malloc code
2879 - prelink i686/athlon ld.so and prelink -r i686/athlon libc.so
2881 * Thu Mar 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-27
2882 - update from CVS
2883 - fix DST handling for southern hemisphere (#60747)
2884 - fix daylight setting for tzset (#59951)
2885 - fix ftime (#60350)
2886 - fix nice return value
2887 - fix a malloc segfault
2888 - temporarily moved __libc_wait, __libc_fork and __libc_stack_end
2889 back to what they used to be exported at
2890 - censorship (#60758)
2892 * Thu Feb 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-26
2893 - update from CVS
2894 - use __attribute__((visibility(...))) if supported, use _rtld_local
2895 for ld.so only objects
2896 - provide libc's own __{,u}{div,mod}di3
2898 * Wed Feb 27 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-25
2899 - switch back to 2.2.5, mmap stdio needs work
2901 * Mon Feb 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-8
2902 - fix two other mmap stdio bugs (#60228)
2904 * Thu Feb 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-7
2905 - fix yet another mmap stdio bug (#60145)
2907 * Tue Feb 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-6
2908 - fix mmap stdio bug (seen on ld as File truncated error, #60043)
2909 - apply Andreas Schwab's fix for pthread sigwait
2910 - remove /lib/i686/ libraries in glibc_post_upgrade when
2911 performing i386 glibc install
2913 * Thu Feb 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-5
2914 - update to CVS
2915 - added glibc-utils subpackage
2916 - disable autoreq in glibc-debug
2917 - readd %%lang() to locale files
2919 * Fri Feb 7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-4
2920 - update to CVS
2921 - move glibc private symbols to GLIBC_PRIVATE symbol version
2923 * Wed Jan 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-3
2924 - fix a sqrt bug on alpha which caused SHN_UNDEF $__full_ieee754_sqrt..ng
2925 symbol in libm
2927 * Tue Jan 8 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-2
2928 - add debug-static package
2930 * Mon Dec 31 2001 Jakub Jelinek <jakub@redhat.com> 2.2.90-1
2931 - update from CVS
2932 - remove -D__USE_STRING_INLINES
2933 - add debug subpackage to trim glibc and glibc-devel size
2935 * Wed Oct 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-19
2936 - fix strsep
2938 * Fri Sep 28 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-18
2939 - fix a ld.so bug with duplicate searchlists in l_scope
2940 - fix erfcl(-inf)
2941 - turn /usr/lib/librt.so into linker script
2943 * Wed Sep 26 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-17
2944 - fix a ld.so lookup bug after lots of dlopen calls
2945 - fix CMSG_DATA for non-gcc non-ISOC99 compilers (#53984)
2946 - prelinking support for Sparc64
2948 * Fri Sep 21 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-16
2949 - update from CVS to fix DT_SYMBOLIC
2950 - prelinking support for Alpha and Sparc
2952 * Tue Sep 18 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-15
2953 - update from CVS
2954 - linuxthreads now retries if -1/EINTR is returned from
2955 reading or writing to thread manager pipe (#43742)
2956 - use DT_FILTER in librt.so (#53394)
2957 - update glibc prelink patch so that it handles filters
2958 - fix timer_* with SIGEV_NONE (#53494)
2959 - make glibc_post_upgrade work on PPC (patch from Franz Sirl)
2961 * Mon Sep 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-14
2962 - fix build on sparc32
2963 - 2.2.4-13 build for some reason missed some locales
2964 on alpha/ia64
2966 * Mon Sep 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-13
2967 - fix iconvconfig
2969 * Mon Sep 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-12
2970 - add fam to /etc/rpc (#52863)
2971 - fix <inttypes.h> for C++ (#52960)
2972 - fix perror
2974 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-11
2975 - fix strnlen(x, -1)
2977 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-10
2978 - doh, <bits/libc-lock.h> should only define __libc_rwlock_t
2979 if __USE_UNIX98.
2981 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-9
2982 - fix bits/libc-lock.h so that gcc can compile
2983 - fix s390 build
2985 * Fri Aug 24 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-8
2986 - kill stale library symlinks in ldconfig (#52350)
2987 - fix inttypes.h for G++ < 3.0
2988 - use DT_REL*COUNT
2990 * Wed Aug 22 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-7
2991 - fix strnlen on IA-64 (#50077)
2993 * Thu Aug 16 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-6
2994 - glibc 2.2.4 final
2995 - fix -lpthread -static (#51672)
2997 * Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-5
2998 - doh, include libio/tst-swscanf.c
3000 * Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-4
3001 - don't crash on catclose(-1)
3002 - fix wscanf %[] handling
3003 - fix return value from swprintf
3004 - handle year + %U/%W week + week day in strptime
3006 * Thu Aug 9 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-3
3007 - update from CVS to
3008 - fix strcoll (#50548)
3009 - fix seekdir (#51132)
3010 - fix memusage (#50606)
3011 - don't make gconv-modules.cache %%config file, just don't verify
3012 its content.
3014 * Mon Aug 6 2001 Jakub Jelinek <jakub@redhat.com>
3015 - fix strtod and *scanf (#50723, #50724)
3017 * Sat Aug 4 2001 Jakub Jelinek <jakub@redhat.com>
3018 - update from CVS
3019 - fix iconv cache handling
3020 - glibc should not own %{_infodir}, %{_mandir} nor %{_mandir}/man3 (#50673)
3021 - add gconv-modules.cache as emtpy config file (#50699)
3022 - only run iconvconfig if /usr is mounted read-write (#50667)
3024 * Wed Jul 25 2001 Jakub Jelinek <jakub@redhat.com>
3025 - move iconvconfig from glibc-common into glibc subpackage,
3026 call it from glibc_post_upgrade instead of common's post.
3028 * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
3029 - turn off debugging printouts in iconvconfig
3031 * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
3032 - update from CVS
3033 - fix IA-32 makecontext
3034 - make fflush(0) thread-safe (#46446)
3036 * Mon Jul 23 2001 Jakub Jelinek <jakub@redhat.com>
3037 - adjust prelinking DT_* and SHT_* values in elf.h
3038 - update from CVS
3039 - iconv cache
3040 - make iconv work in SUID/SGID programs (#34611)
3042 * Fri Jul 20 2001 Jakub Jelinek <jakub@redhat.com>
3043 - update from CVS
3044 - kill non-pic code in libm.so
3045 - fix getdate
3046 - fix some locales (#49402)
3047 - rebuilt with binutils-2.11.90.0.8-5 to place .interp section
3048 properly in libBrokenLocale.so, libNoVersion.so and libanl.so
3049 - add floating stacks on IA-64, Alpha, Sparc (#49308)
3051 * Mon Jul 16 2001 Jakub Jelinek <jakub@redhat.com>
3052 - make /lib/i686 directory owned by glibc*.i686.rpm
3054 * Mon Jul 9 2001 Jakub Jelinek <jakub@redhat.com>
3055 - remove rquota.[hx] headers which are now provided by quota (#47141)
3056 - add prelinking patch
3058 * Thu Jul 5 2001 Jakub Jelinek <jakub@redhat.com>
3059 - require sh-utils for nscd
3061 * Mon Jun 25 2001 Jakub Jelinek <jakub@redhat.com>
3062 - update from CVS (#43681, #43350, #44663, #45685)
3063 - fix ro_RO bug (#44644)
3065 * Wed Jun 6 2001 Jakub Jelinek <jakub@redhat.com>
3066 - fix a bunch of math bugs (#43210, #43345, #43346, #43347, #43348, #43355)
3067 - make rpc headers -ansi compilable (#42390)
3068 - remove alphaev6 optimized memcpy, since there are still far too many
3069 broken apps which call memcpy where they should call memmove
3070 - update from CVS to (among other things):
3071 - fix tanhl bug (#43352)
3073 * Tue May 22 2001 Jakub Jelinek <jakub@redhat.com>
3074 - fix #include <signal.h> with -D_XOPEN_SOURCE=500 on ia64 (#35968)
3075 - fix a dlclose reldeps handling bug
3076 - some more profiling fixes
3077 - fix tgmath.h
3079 * Thu May 17 2001 Jakub Jelinek <jakub@redhat.com>
3080 - make ldconfig more quiet
3081 - fix LD_PROFILE on i686 (#41030)
3083 * Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
3084 - fix the hardlink program, so that it really catches all files with
3085 identical content
3086 - add a s390x clone fix
3088 * Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
3089 - fix rpc for non-threaded apps using svc_fdset and similar variables (#40409)
3090 - fix nss compatibility DSO versions for alphaev6
3091 - add a hardlink program instead of the shell 3x for plus cmp -s/link
3092 which takes a lot of time during build
3093 - rework BuildPreReq and Conflicts with gcc, so that
3094 it applies only where it has to
3096 * Fri May 11 2001 Jakub Jelinek <jakub@redhat.com>
3097 - fix locale name of ja_JP in UTF-8 (#39783)
3098 - fix re_search_2 (#40244)
3099 - fix memusage script (#39138, #39823)
3100 - fix dlsym(RTLD_NEXT, ) from main program (#39803)
3101 - fix xtrace script (#39609)
3102 - make glibc conflict with glibc-devel 2.2.2 and below (to make sure
3103 libc_nonshared.a has atexit)
3104 - fix getconf LFS_CFLAGS on 64bitters
3105 - recompile with gcc-2.96-84 or above to fix binary compatibility problem
3106 with __frame_state_for function (#37933)
3108 * Fri Apr 27 2001 Jakub Jelinek <jakub@redhat.com>
3109 - glibc 2.2.3 release
3110 - fix strcoll (#36539)
3111 - add BuildPreReqs (#36378)
3113 * Wed Apr 25 2001 Jakub Jelinek <jakub@redhat.com>
3114 - update from CVS
3116 * Fri Apr 20 2001 Jakub Jelinek <jakub@redhat.com>
3117 - update from CVS
3118 - fix sparc64, ia64
3119 - fix some locale syntax errors (#35982)
3121 * Wed Apr 18 2001 Jakub Jelinek <jakub@redhat.com>
3122 - update from CVS
3124 * Wed Apr 11 2001 Jakub Jelinek <jakub@redhat.com>
3125 - update from CVS
3127 * Fri Apr 6 2001 Jakub Jelinek <jakub@redhat.com>
3128 - support even 2.4.0 kernels on ia64, sparc64 and s390x
3129 - include UTF-8 locales
3130 - make gconv-modules %%config(noreplace)
3132 * Fri Mar 23 2001 Jakub Jelinek <jakub@redhat.com>
3133 - back out sunrpc changes
3135 * Wed Mar 21 2001 Jakub Jelinek <jakub@redhat.com>
3136 - update from CVS
3137 - fix ia64 build
3138 - fix pthread_getattr_np
3140 * Fri Mar 16 2001 Jakub Jelinek <jakub@redhat.com>
3141 - update from CVS
3142 - run atexit() registered functions at dlclose time if they are in shared
3143 libraries (#28625)
3144 - add pthread_getattr_np API to make JVM folks happy
3146 * Wed Mar 14 2001 Jakub Jelinek <jakub@redhat.com>
3147 - require 2.4.1 instead of 2.4.0 on platforms where it required 2.4 kernel
3148 - fix ldd behaviour on unresolved symbols
3149 - remove nonsensical ldconfig warning, update osversion for the most
3150 recent library with the same soname in the same directory instead (#31703)
3151 - apply selected patches from CVS
3152 - s390x spec file changes from Florian La Roche
3154 * Wed Mar 7 2001 Jakub Jelinek <jakub@redhat.com>
3155 - fix gencat (#30894)
3156 - fix ldconfig changes from yesterday, fix LD_ASSUME_KERNEL handling
3158 * Tue Mar 6 2001 Jakub Jelinek <jakub@redhat.com>
3159 - update from CVS
3160 - make pthread_attr_setstacksize consistent before and after pthread manager
3161 is started (#28194)
3162 - pass back struct sigcontext from pthread signal wrapper (on ia32 only so
3163 far, #28493)
3164 - on i686 ship both --enable-kernel 2.2.5 and 2.4.0 libc/libm/libpthread,
3165 make ld.so pick the right one
3167 * Sat Feb 17 2001 Preston Brown <pbrown@redhat.com>
3168 - glib-common doesn't require glibc, until we can figure out how to get out of dependency hell.
3170 * Sat Feb 17 2001 Jakub Jelinek <jakub@redhat.com>
3171 - make glibc require particular version of glibc-common
3172 and glibc-common prerequire glibc.
3174 * Fri Feb 16 2001 Jakub Jelinek <jakub@redhat.com>
3175 - glibc 2.2.2 release
3176 - fix regex REG_ICASE bug seen in ksymoops
3178 * Sat Feb 10 2001 Jakub Jelinek <jakub@redhat.com>
3179 - fix regexec leaking memory (#26864)
3181 * Fri Feb 9 2001 Jakub Jelinek <jakub@redhat.com>
3182 - update from CVS
3183 - fix ia64 build with gnupro
3184 - make regex 64bit clean
3185 - fix tgmath make check failures on alpha
3187 * Tue Feb 6 2001 Jakub Jelinek <jakub@redhat.com>
3188 - update again for ia64 DF_1_INITFIRST
3190 * Fri Feb 2 2001 Jakub Jelinek <jakub@redhat.com>
3191 - update from CVS
3192 - fix getaddrinfo (#25437)
3193 - support DF_1_INITFIRST (#25029)
3195 * Wed Jan 24 2001 Jakub Jelinek <jakub@redhat.com>
3196 - build all auxiliary arches with --enablekernel 2.4.0, those wanting
3197 to run 2.2 kernels can downgrade to the base architecture glibc.
3199 * Sat Jan 20 2001 Jakub Jelinek <jakub@redhat.com>
3200 - remove %%lang() flags from %%{_prefix}/lib/locale files temporarily
3202 * Sun Jan 14 2001 Jakub Jelinek <jakub@redhat.com>
3203 - update to 2.2.1 final
3204 - fix a pthread_kill_other_threads_np breakage (#23966)
3205 - make static binaries using dlopen work on ia64 again
3206 - fix a typo in glibc-common group
3208 * Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
3209 - devel requires glibc = %%{version}
3210 - noreplace /etc/nscd.conf
3212 * Wed Jan 10 2001 Jakub Jelinek <jakub@redhat.com>
3213 - some more security fixes:
3214 - don't look up LD_PRELOAD libs in cache for SUID apps
3215 (because that bypasses SUID bit checking on the library)
3216 - place output files for profiling SUID apps into /var/profile,
3217 use O_NOFOLLOW for them
3218 - add checks for $MEMUSAGE_OUTPUT and $SEGFAULT_OUTPUT_NAME
3219 - hardlink identical locale files together
3220 - add %%lang() tags to locale stuff
3221 - remove ko_KR.utf8 for now, it is provided by locale-utf8 package
3223 * Mon Jan 8 2001 Jakub Jelinek <jakub@redhat.com>
3224 - add glibc-common subpackage
3225 - fix alphaev6 memcpy (#22494)
3226 - fix sys/cdefs.h (#22908)
3227 - don't define stdin/stdout/stderr as macros for -traditional (#22913)
3228 - work around a bug in IBM JDK (#22932, #23012)
3229 - fix pmap_unset when network is down (#23176)
3230 - move nscd in rc.d before netfs on shutdown
3231 - fix $RESOLV_HOST_CONF in SUID apps (#23562)
3233 * Fri Dec 15 2000 Jakub Jelinek <jakub@redhat.com>
3234 - fix ftw and nftw
3236 * Wed Dec 13 2000 Jakub Jelinek <jakub@redhat.com>
3237 - fix fcvt (#22184)
3238 - ldd /lib/ld-linux.so.2 is not crashing any longer again (#22197)
3239 - fix gencat
3241 * Mon Dec 11 2000 Jakub Jelinek <jakub@redhat.com>
3242 - fix alpha htonl and alphaev6 stpcpy
3244 * Sat Dec 9 2000 Jakub Jelinek <jakub@redhat.com>
3245 - update to CVS to:
3246 - fix getnameinfo (#21934)
3247 - don't stomp on memory in rpath handling (#21544)
3248 - fix setlocale (#21507)
3249 - fix libNoVersion.so.1 loading code (#21579)
3250 - use auxarches define in spec file for auxiliary
3251 architectures (#21219)
3252 - remove /usr/share directory from filelist (#21218)
3254 * Sun Nov 19 2000 Jakub Jelinek <jakub@redhat.com>
3255 - update to CVS to fix getaddrinfo
3257 * Fri Nov 17 2000 Jakub Jelinek <jakub@redhat.com>
3258 - update to CVS to fix freopen
3259 - remove all alpha workarounds, not needed anymore
3261 * Wed Nov 15 2000 Jakub Jelinek <jakub@redhat.com>
3262 - fix dladdr bug on alpha/sparc32/sparc64
3263 - fix Makefiles so that they run static tests properly
3265 * Tue Nov 14 2000 Jakub Jelinek <jakub@redhat.com>
3266 - update to CVS to fix ldconfig
3268 * Thu Nov 9 2000 Jakub Jelinek <jakub@redhat.com>
3269 - update to glibc 2.2 release
3271 * Mon Nov 6 2000 Jakub Jelinek <jakub@redhat.com>
3272 - update to CVS to:
3273 - export __sysconf@@GLIBC_2.2 (#20417)
3275 * Fri Nov 3 2000 Jakub Jelinek <jakub@redhat.com>
3276 - merge to 2.1.97
3278 * Mon Oct 30 2000 Jakub Jelinek <jakub@redhat.com>
3279 - update to CVS, including:
3280 - fix WORD_BIT/LONG_BIT definition in limits.h (#19088)
3281 - fix hesiod (#19375)
3282 - set LC_MESSAGES in zic/zdump for proper error message output (#19495)
3283 - fix LFS fcntl when used with non-LFS aware kernels (#19730)
3285 * Thu Oct 19 2000 Jakub Jelinek <jakub@redhat.com>
3286 - fix alpha semctl (#19199)
3287 - update to CVS, including:
3288 - fix glibc headers for Compaq non-gcc compilers
3289 - fix locale alias handling code (#18832)
3290 - fix rexec on little endian machines (#18886)
3291 - started writing changelog again
3293 * Thu Aug 10 2000 Adrian Havill <havill@redhat.com>
3294 - added ja ujis alias for backwards compatibility