Migrate spec file and files it needs from old internal repository's redhat/ subdir...
[glibc.git] / fedora / glibc.spec.in
bloba5f568b280f83662b23bc039c2f27f4627763342
1 %define glibcrelease 55
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 Source0: %{name}-%{version}-%{glibcdate}.tar.bz2
16 Source1: %{name}-fedora-%{glibcdate}.tar.bz2
17 Patch0: %{name}-fedora.patch
18 Patch1: %{name}-nptl-check.patch
19 Patch2: %{name}-ppc-assume.patch
20 Patch3: %{name}-execstack-disable.patch
21 Patch4: %{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 %ifarch %{prelinkarches}
37 BuildPreReq: prelink >= 0.2.0-5
38 %endif
39 # This is to ensure that __frame_state_for is exported by glibc
40 # will be compatible with egcs 1.x.y
41 BuildPreReq: gcc >= 3.2
42 Conflicts: rpm <= 4.0-0.65
43 Conflicts: glibc-devel < 2.2.3
44 # Earlier shadow-utils packages had too restrictive permissions on
45 # /etc/default
46 Conflicts: shadow-utils < 2:4.0.3-20
47 Conflicts: nscd < 2.3.3-52
48 %ifarch ia64 sparc64 s390x x86_64
49 Conflicts: kernel < 2.4.0
50 %define enablekernel 2.4.0
51 %else
52 %ifarch ppc64
53 Conflicts: kernel < 2.4.19
54 %define enablekernel 2.4.19
55 %else
56 %define enablekernel 2.2.5
57 %ifarch i686 athlon
58 %define enablekernelltfs 2.4.1
59 %endif
60 %endif
61 %endif
62 %ifarch %{nptlarches}
63 %define enablekernelnptl 2.4.20
64 %ifarch i386
65 %define nptl_target_cpu i486
66 %define tls_subdir tls/i486
67 %else
68 %define nptl_target_cpu %{_target_cpu}
69 %define tls_subdir tls
70 %endif
71 %endif
72 BuildRequires: binutils >= 2.13.90.0.16-5
73 BuildRequires: gcc >= 3.2.1-5
74 %if "%{_enable_debug_packages}" == "1"
75 BuildPreReq: elfutils >= 0.72
76 BuildPreReq: rpm >= 4.2-0.56
77 %endif
78 %define __find_provides %{_builddir}/%{name}-%{version}-%{glibcdate}/find_provides.sh
79 %define _filter_GLIBC_PRIVATE 1
81 %description
82 The glibc package contains standard libraries which are used by
83 multiple programs on the system. In order to save disk space and
84 memory, as well as to make upgrading easier, common system code is
85 kept in one place and shared between programs. This particular package
86 contains the most important sets of shared libraries: the standard C
87 library and the standard math library. Without these two libraries, a
88 Linux system will not function.
90 %package devel
91 Summary: Object files for development using standard C libraries.
92 Group: Development/Libraries
93 Conflicts: texinfo < 3.11
94 Conflicts: binutils < 2.13.90.0.16-5
95 Prereq: /sbin/install-info
96 Obsoletes: libc-debug, libc-headers, libc-devel, linuxthreads-devel
97 Obsoletes: glibc-debug
98 Prereq: %{name}-headers
99 Requires: %{name}-headers = %{version}, %{name} = %{version}
100 %ifarch %{ix86}
101 # Earlier gcc's had atexit reference in crtendS.o, which does not
102 # work with this glibc where atexit is in libc_nonshared.a
103 Conflicts: gcc < 2.96-79
104 %endif
105 Autoreq: true
107 %description devel
108 The glibc-devel package contains the object files necessary
109 for developing programs which use the standard C libraries (which are
110 used by nearly all programs). If you are developing programs which
111 will use the standard C libraries, your system needs to have these
112 standard object files available in order to create the
113 executables.
115 Install glibc-devel if you are going to develop programs which will
116 use the standard C libraries.
118 %package headers
119 Summary: Header files for development using standard C libraries.
120 Group: Development/Libraries
121 Provides: %{name}-headers(%{_target_cpu})
122 %ifarch x86_64
123 # If both -m32 and -m64 is to be supported on AMD64, x86_64 glibc-headers
124 # have to be installed, not i386 ones.
125 Obsoletes: %{name}-headers(i386)
126 %endif
127 Obsoletes: libc-debug, libc-headers, libc-devel, linuxthreads-devel
128 Prereq: kernel-headers
129 Requires: kernel-headers >= 2.2.1, %{name} = %{version}
130 Autoreq: true
132 %description headers
133 The glibc-headers package contains the header files necessary
134 for developing programs which use the standard C libraries (which are
135 used by nearly all programs). If you are developing programs which
136 will use the standard C libraries, your system needs to have these
137 standard header files available in order to create the
138 executables.
140 Install glibc-headers if you are going to develop programs which will
141 use the standard C libraries.
143 %package -n nptl-devel
144 Summary: Header files and static libraries for development using NPTL library.
145 Group: Development/Libraries
146 Requires: glibc-devel = %{version}-%{release}
147 Autoreq: true
149 %description -n nptl-devel
150 The nptl-devel package contains the header and object files necessary
151 for developing programs which use the NPTL library (and either need
152 NPTL specific header files or want to link against NPTL statically).
154 %package profile
155 Summary: The GNU libc libraries, including support for gprof profiling.
156 Group: Development/Libraries
157 Obsoletes: libc-profile
158 Autoreq: true
160 %description profile
161 The glibc-profile package includes the GNU libc libraries and support
162 for profiling using the gprof program. Profiling is analyzing a
163 program's functions to see how much CPU time they use and determining
164 which functions are calling other functions during execution. To use
165 gprof to profile a program, your program needs to use the GNU libc
166 libraries included in glibc-profile (instead of the standard GNU libc
167 libraries included in the glibc package).
169 If you are going to use the gprof program to profile a program, you'll
170 need to install the glibc-profile package.
172 %package common
173 Summary: Common binaries and locale data for glibc
174 Conflicts: %{name} < %{version}
175 Conflicts: %{name} > %{version}
176 Autoreq: false
177 Requires: tzdata >= 2003a
178 Group: System Environment/Base
180 %description common
181 The glibc-common package includes common binaries for the GNU libc
182 libraries, as well as national language (locale) support.
184 %package -n nscd
185 Summary: A Name Service Caching Daemon (nscd).
186 Group: System Environment/Daemons
187 Conflicts: kernel < 2.2.0
188 Requires: libselinux >= 1.17.10-1
189 Prereq: /sbin/chkconfig, /usr/sbin/useradd, /usr/sbin/userdel, sh-utils
190 Autoreq: true
192 %description -n nscd
193 Nscd caches name service lookups and can dramatically improve
194 performance with NIS+, and may help with DNS as well. Note that you
195 can't use nscd with 2.0 kernels because of bugs in the kernel-side
196 thread support. Unfortunately, nscd happens to hit these bugs
197 particularly hard.
199 %package utils
200 Summary: Development utilities from GNU C library
201 Group: Development/Tools
202 Requires: glibc = %{version}-%{release}
204 %description utils
205 The glibc-utils package contains memusage, a memory usage profiler,
206 mtrace, a memory leak tracer and xtrace, a function call tracer
207 which can be helpful during program debugging.
209 If unsure if you need this, don't install this package.
211 %if "%{_enable_debug_packages}" == "1"
212 %define debug_package %{nil}
214 %package debuginfo
215 Summary: Debug information for package %{name}
216 Group: Development/Debug
217 %ifarch %{debuginfocommonarches}
218 Requires: glibc-debuginfo-common = %{version}-%{release}
219 %endif
221 %description debuginfo
222 This package provides debug information for package %{name}.
223 Debug information is useful when developing applications that use this
224 package or when debugging this package.
226 This package also contains static standard C libraries with
227 debugging information. You need this only if you want to step into
228 C library routines during debugging programs statically linked against
229 one or more of the standard C libraries.
230 To use this debugging information, you need to link binaries
231 with -static -L%{_prefix}/lib/debug%{_prefix}/%{_lib} compiler options.
233 %ifarch %{debuginfocommonarches}
235 %package debuginfo-common
236 Summary: Debug information for package %{name}
237 Group: Development/Debug
239 %description debuginfo-common
240 This package provides debug information for package %{name}.
241 Debug information is useful when developing applications that use this
242 package or when debugging this package.
244 %endif
245 %endif
247 %prep
248 %setup -q -n %{name}-%{version}-%{glibcdate} -a1
249 %patch0 -p1
250 case "`gcc --version | head -1`" in
251 gcc*\ 3.3*)
252 %ifarch %{nptlarches}
253 %patch1 -p1
254 %endif
256 gcc*\ 3.2.3*)
257 case "`uname -r`" in *.ent*|*.EL*)
258 %patch2 -p1
259 %patch3 -p1
260 ;; esac ;;
261 esac
262 %ifarch ia64
263 %if "%{_lib}" == "lib64"
264 %patch4 -p1
265 %endif
266 %endif
268 # Hack till glibc-kernheaders get updated, argh
269 mkdir asm
270 cat > asm/unistd.h <<EOF
271 #ifndef _HACK_ASM_UNISTD_H
272 #include_next <asm/unistd.h>
273 %ifarch alpha
274 #ifndef __NR_stat64
275 #define __NR_stat64 425
276 #define __NR_lstat64 426
277 #define __NR_fstat64 427
278 #endif
279 #ifndef __NR_mq_open
280 #define __NR_mq_open 432
281 #define __NR_mq_unlink 433
282 #define __NR_mq_timedsend 434
283 #define __NR_mq_timedreceive 435
284 #define __NR_mq_notify 436
285 #define __NR_mq_getsetattr 437
286 #endif
287 %endif
288 %ifarch %{ix86}
289 #ifndef __NR_mq_open
290 #define __NR_mq_open 277
291 #define __NR_mq_unlink (__NR_mq_open+1)
292 #define __NR_mq_timedsend (__NR_mq_open+2)
293 #define __NR_mq_timedreceive (__NR_mq_open+3)
294 #define __NR_mq_notify (__NR_mq_open+4)
295 #define __NR_mq_getsetattr (__NR_mq_open+5)
296 #endif
297 #ifndef __NR_waitid
298 #define __NR_waitid 284
299 #endif
300 %endif
301 %ifarch ia64
302 #ifndef __NR_timer_create
303 #define __NR_timer_create 1248
304 #define __NR_timer_settime 1249
305 #define __NR_timer_gettime 1250
306 #define __NR_timer_getoverrun 1251
307 #define __NR_timer_delete 1252
308 #define __NR_clock_settime 1253
309 #define __NR_clock_gettime 1254
310 #define __NR_clock_getres 1255
311 #define __NR_clock_nanosleep 1256
312 #endif
313 #ifndef __NR_mq_open
314 #define __NR_mq_open 1262
315 #define __NR_mq_unlink 1263
316 #define __NR_mq_timedsend 1264
317 #define __NR_mq_timedreceive 1265
318 #define __NR_mq_notify 1266
319 #define __NR_mq_getsetattr 1267
320 #endif
321 %endif
322 %ifarch ppc
323 #ifndef __NR_utimes
324 #define __NR_utimes 251
325 #endif
326 #ifndef __NR_statfs64
327 #define __NR_statfs64 252
328 #define __NR_fstatfs64 253
329 #endif
330 #ifndef __NR_fadvise64_64
331 #define __NR_fadvise64_64 254
332 #endif
333 #ifndef __NR_mq_open
334 #define __NR_mq_open 262
335 #define __NR_mq_unlink 263
336 #define __NR_mq_timedsend 264
337 #define __NR_mq_timedreceive 265
338 #define __NR_mq_notify 266
339 #define __NR_mq_getsetattr 267
340 #endif
341 %endif
342 %ifarch ppc64
343 #ifndef __NR_utimes
344 #define __NR_utimes 251
345 #endif
346 #ifndef __NR_mq_open
347 #define __NR_mq_open 262
348 #define __NR_mq_unlink 263
349 #define __NR_mq_timedsend 264
350 #define __NR_mq_timedreceive 265
351 #define __NR_mq_notify 266
352 #define __NR_mq_getsetattr 267
353 #endif
354 %endif
355 %ifarch s390
356 #ifndef __NR_timer_create
357 #define __NR_timer_create 254
358 #define __NR_timer_settime (__NR_timer_create+1)
359 #define __NR_timer_gettime (__NR_timer_create+2)
360 #define __NR_timer_getoverrun (__NR_timer_create+3)
361 #define __NR_timer_delete (__NR_timer_create+4)
362 #define __NR_clock_settime (__NR_timer_create+5)
363 #define __NR_clock_gettime (__NR_timer_create+6)
364 #define __NR_clock_getres (__NR_timer_create+7)
365 #define __NR_clock_nanosleep (__NR_timer_create+8)
366 #endif
367 #ifndef __NR_fadvise64_64
368 #define __NR_fadvise64_64 264
369 #endif
370 #ifndef __NR_statfs64
371 #define __NR_statfs64 265
372 #define __NR_fstatfs64 266
373 #endif
374 #ifndef __NR_mq_open
375 #define __NR_mq_open 271
376 #define __NR_mq_unlink 272
377 #define __NR_mq_timedsend 273
378 #define __NR_mq_timedreceive 274
379 #define __NR_mq_notify 275
380 #define __NR_mq_getsetattr 276
381 #endif
382 %endif
383 %ifarch s390x
384 #ifndef __NR_timer_create
385 #define __NR_timer_create 254
386 #define __NR_timer_settime (__NR_timer_create+1)
387 #define __NR_timer_gettime (__NR_timer_create+2)
388 #define __NR_timer_getoverrun (__NR_timer_create+3)
389 #define __NR_timer_delete (__NR_timer_create+4)
390 #define __NR_clock_settime (__NR_timer_create+5)
391 #define __NR_clock_gettime (__NR_timer_create+6)
392 #define __NR_clock_getres (__NR_timer_create+7)
393 #define __NR_clock_nanosleep (__NR_timer_create+8)
394 #endif
395 #ifndef __NR_mq_open
396 #define __NR_mq_open 271
397 #define __NR_mq_unlink 272
398 #define __NR_mq_timedsend 273
399 #define __NR_mq_timedreceive 274
400 #define __NR_mq_notify 275
401 #define __NR_mq_getsetattr 276
402 #endif
403 %endif
404 %ifarch sparc sparc64
405 #ifndef __NR_mq_open
406 #define __NR_mq_open 273
407 #define __NR_mq_unlink 274
408 #define __NR_mq_timedsend 275
409 #define __NR_mq_timedreceive 276
410 #define __NR_mq_notify 277
411 #define __NR_mq_getsetattr 278
412 #endif
413 #ifndef __NR_waitid
414 #define __NR_waitid 279
415 #endif
416 %endif
417 %ifarch x86_64
418 #ifndef __NR_mq_open
419 #define __NR_mq_open 240
420 #define __NR_mq_unlink 241
421 #define __NR_mq_timedsend 242
422 #define __NR_mq_timedreceive 243
423 #define __NR_mq_notify 244
424 #define __NR_mq_getsetattr 245
425 #endif
426 #ifndef __NR_waitid
427 #define __NR_waitid 247
428 #endif
429 %endif
430 #endif
433 %ifnarch %{ix86} alpha alphaev6 sparc sparcv9
434 rm -rf glibc-compat
435 %endif
437 # A lot of programs still misuse memcpy when they have to use
438 # memmove. The memcpy implementation below is not tolerant at
439 # all.
440 rm -f sysdeps/alpha/alphaev6/memcpy.S
442 find . -type f -size 0 -o -name "*.orig" -exec rm -f {} \;
443 cat > find_provides.sh <<EOF
444 #!/bin/sh
445 /usr/lib/rpm/find-provides | grep -v GLIBC_PRIVATE
446 exit 0
448 chmod +x find_provides.sh
449 touch `find . -name configure`
451 %build
452 rm -rf build-%{_target_cpu}-linux
453 mkdir build-%{_target_cpu}-linux ; cd build-%{_target_cpu}-linux
454 GCC=gcc
455 %ifarch %{ix86}
456 BuildFlags="-march=%{_target_cpu}"
457 %endif
458 %ifarch alphaev6
459 BuildFlags="-mcpu=ev6"
460 %endif
461 %ifarch sparc
462 BuildFlags="-fcall-used-g6"
463 GCC="gcc -m32"
464 %endif
465 %ifarch sparcv9
466 BuildFlags="-mcpu=ultrasparc -fcall-used-g6"
467 GCC="gcc -m32"
468 %endif
469 %ifarch sparc64
470 BuildFlags="-mcpu=ultrasparc -mvis -fcall-used-g6"
471 GCC="gcc -m64"
472 %endif
473 %ifarch ppc64
474 BuildFlags="-mno-minimal-toc"
475 GCC="gcc -m64"
476 %endif
478 # If gcc supports __thread, test it even in --with-tls --without-__thread
479 # builds.
480 if echo '__thread int a;' | $GCC -xc - -S -o /dev/null 2>/dev/null; then
481 perl -pi -e 's/0 \|\|/1 ||/' ../elf/tst-tls10.h ../linuxthreads/tst-tls1.h
484 BuildFlags="$BuildFlags -DNDEBUG=1"
485 if gcc -v 2>&1 | grep -q 'gcc version 3.[0123]'; then
486 BuildFlags="$BuildFlags -finline-limit=2000"
488 EnableKernel="--enable-kernel=%{enablekernel}"
489 echo "$BuildFlags" > ../BuildFlags
490 echo "$GCC" > ../Gcc
491 AddOns=`cd .. && echo */configure | sed -e 's!/configure!!g;s!\(linuxthreads\|nptl\|rtkaio\)\( \|$\)!!g;s! \+$!!;s! !,!g;s!^!,!;/^,\*$/d'`
492 echo "$AddOns" > ../AddOns
493 Pthreads=linuxthreads
494 %ifarch %{withtlsarches}
495 WithTls="--with-tls --without-__thread"
496 %else
497 WithTls="--without-tls --without-__thread"
498 %endif
499 CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \
500 --enable-add-ons=$Pthreads$AddOns --without-cvs $EnableKernel \
501 --with-headers=%{_prefix}/include --enable-bind-now \
502 $WithTls --build %{_target_cpu}-redhat-linux --host %{_target_cpu}-redhat-linux
503 if [ -x /usr/bin/getconf ] ; then
504 numprocs=$(/usr/bin/getconf _NPROCESSORS_ONLN)
505 if [ $numprocs -eq 0 ]; then
506 numprocs=1
508 else
509 numprocs=1
511 make -j$numprocs -r CFLAGS="$BuildFlags -g -O3" PARALLELMFLAGS=-s
512 $GCC -static -L. -Os ../fedora/glibc_post_upgrade.c -o glibc_post_upgrade \
513 %ifarch i386
514 -DARCH_386 \
515 %endif
516 %ifarch %{nptlarches}
517 '-DLIBTLS="/%{_lib}/tls/"' \
518 %endif
519 '-DGCONV_MODULES_CACHE="%{_prefix}/%{_lib}/gconv/gconv-modules.cache"' \
520 '-DLD_SO_CONF="/etc/ld.so.conf"'
521 cd ..
523 # hack
524 unset LD_ASSUME_KERNEL || :
526 %ifarch %{rtkaioarches}
527 AddOns=,rtkaio$AddOns
528 %endif
530 %ifarch i686 athlon
531 rm -rf build-%{_target_cpu}-linuxltfs
532 mkdir build-%{_target_cpu}-linuxltfs ; cd build-%{_target_cpu}-linuxltfs
533 EnableKernel="--enable-kernel=%{enablekernelltfs} --disable-profile"
534 Pthreads=linuxthreads
535 %ifarch %{withtlsarches}
536 WithTls="--with-tls --without-__thread"
537 %else
538 WithTls="--without-tls --without-__thread"
539 %endif
540 CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \
541 --enable-add-ons=$Pthreads$AddOns --without-cvs $EnableKernel \
542 --with-headers=%{_prefix}/include --enable-bind-now \
543 $WithTls --build %{_target_cpu}-redhat-linux --host %{_target_cpu}-redhat-linux
544 make -j$numprocs -r CFLAGS="$BuildFlags -g -O3" PARALLELMFLAGS=-s
546 cd ..
547 %endif
549 %ifarch %{nptlarches}
550 rm -rf build-%{nptl_target_cpu}-linuxnptl
551 mkdir build-%{nptl_target_cpu}-linuxnptl ; cd build-%{nptl_target_cpu}-linuxnptl
552 EnableKernel="--enable-kernel=%{enablekernelnptl} --disable-profile"
553 Pthreads=nptl
554 WithTls="--with-tls --with-__thread"
555 CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \
556 --enable-add-ons=$Pthreads$AddOns --without-cvs $EnableKernel \
557 --with-headers=%{_prefix}/include --enable-bind-now \
558 $WithTls --build %{nptl_target_cpu}-redhat-linux --host %{nptl_target_cpu}-redhat-linux
559 make -j$numprocs -r CFLAGS="$BuildFlags -g -O3" PARALLELMFLAGS=-s
561 cd ..
562 %endif
564 %install
565 # hack
566 unset LD_ASSUME_KERNEL || :
568 BuildFlags=`cat BuildFlags`
569 GCC=`cat Gcc`
570 AddOns=`cat AddOns`
572 %ifarch %{rtkaioarches}
573 AddOns=,rtkaio$AddOns
574 %endif
576 if [ -x /usr/bin/getconf ] ; then
577 numprocs=$(/usr/bin/getconf _NPROCESSORS_ONLN)
578 if [ $numprocs -eq 0 ]; then
579 numprocs=1
581 else
582 numprocs=1
584 rm -rf $RPM_BUILD_ROOT
585 mkdir -p $RPM_BUILD_ROOT
586 make -j1 install_root=$RPM_BUILD_ROOT install -C build-%{_target_cpu}-linux PARALLELMFLAGS=-s
587 %ifnarch %{auxarches}
588 cd build-%{_target_cpu}-linux && \
589 make -j$numprocs install_root=$RPM_BUILD_ROOT install-locales -C ../localedata objdir=`pwd` && \
590 cd ..
591 %endif
593 SubDir=
595 %ifarch i686 athlon
596 cd build-%{_target_cpu}-linuxltfs
597 Pthreads=linuxthreads
598 SubDir=i686
599 mkdir -p $RPM_BUILD_ROOT/lib/$SubDir/
600 cp -a libc.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libc-*.so`
601 ln -sf `basename $RPM_BUILD_ROOT/lib/libc-*.so` $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libc.so.*`
602 cp -a math/libm.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libm-*.so`
603 ln -sf `basename $RPM_BUILD_ROOT/lib/libm-*.so` $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libm.so.*`
604 cp -a $Pthreads/libpthread.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libpthread-*.so`
605 pushd $RPM_BUILD_ROOT/lib/$SubDir
606 ln -sf libpthread-*.so `basename $RPM_BUILD_ROOT/lib/libpthread.so.*`
607 popd
608 %ifarch %{rtkaioarches}
609 cp -a rtkaio/librtkaio.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/librt-*.so | sed s/librt-/librtkaio-/`
610 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.*`
611 %else
612 cp -a rt/librt.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/librt-*.so`
613 ln -sf `basename $RPM_BUILD_ROOT/lib/librt-*.so` $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/librt.so.*`
614 %endif
616 cd ..
617 %endif
619 %ifarch %{nptlarches}
620 cd build-%{nptl_target_cpu}-linuxnptl
621 Pthreads=nptl
622 SubDir=%{tls_subdir}
623 mkdir -p $RPM_BUILD_ROOT/%{_lib}/$SubDir/
624 cp -a libc.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libc-*.so`
625 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libc-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libc.so.*`
626 cp -a math/libm.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libm-*.so`
627 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libm-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libm.so.*`
628 cp -a $Pthreads/libpthread.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/libpthread-%{version}.so
629 pushd $RPM_BUILD_ROOT/%{_lib}/$SubDir
630 ln -sf libpthread-*.so `basename $RPM_BUILD_ROOT/%{_lib}/libpthread.so.*`
631 popd
632 %ifarch %{rtkaioarches}
633 cp -a rtkaio/librtkaio.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed s/librt-/librtkaio-/`
634 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.*`
635 %else
636 cp -a rt/librt.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so`
637 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt.so.*`
638 %endif
639 cp -a ${Pthreads}_db/libthread_db.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libthread_db-*.so`
640 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libthread_db-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libthread_db.so.*`
642 mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl
643 cp -a libc.a nptl/libpthread.a nptl/libpthread_nonshared.a rt/librt.a \
644 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/
645 sed "s| /%{_lib}/| /%{_lib}/$SubDir/|" $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libc.so \
646 > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/libc.so
647 sed "s|^GROUP (.*)|GROUP ( /%{_lib}/$SubDir/"`basename $RPM_BUILD_ROOT/%{_lib}/libpthread.so.*`' %{_prefix}/%{_lib}/nptl/libpthread_nonshared.a )|' \
648 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libc.so \
649 > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/libpthread.so
650 %ifarch %{rtkaioarches}
651 ln -sf /%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed 's/librt-/librtkaio-/'` \
652 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/librt.so
653 %else
654 ln -sf /%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so` \
655 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/librt.so
656 %endif
657 strip -g $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/*.a
658 mkdir -p $RPM_BUILD_ROOT/nptl $RPM_BUILD_ROOT%{_prefix}/include/nptl
659 make -j1 install_root=$RPM_BUILD_ROOT/nptl install-headers PARALLELMFLAGS=-s
660 pushd $RPM_BUILD_ROOT/nptl%{_prefix}/include
661 for i in `find . -type f`; do
662 if ! [ -f $RPM_BUILD_ROOT%{_prefix}/include/$i ] \
663 || ! cmp -s $i $RPM_BUILD_ROOT%{_prefix}/include/$i; then
664 mkdir -p $RPM_BUILD_ROOT%{_prefix}/include/nptl/`dirname $i`
665 cp -a $i $RPM_BUILD_ROOT%{_prefix}/include/nptl/$i
667 done
668 popd
669 rm -rf $RPM_BUILD_ROOT/nptl
671 cd ..
673 %ifarch i386
674 for i in i586 i686; do
675 mkdir $RPM_BUILD_ROOT/%{_lib}/tls/$i
676 pushd $RPM_BUILD_ROOT/%{_lib}/tls/$i
677 ln -sf ../i486/*.so .
678 cp -a ../i486/*.so.* .
679 popd
680 done
681 %endif
682 %endif
684 # compatibility hack: this locale has vanished from glibc, but some other
685 # programs are still using it. Normally we would handle it in the %pre
686 # section but with glibc that is simply not an option
687 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/locale/ru_RU/LC_MESSAGES
689 # Remove the files we don't want to distribute
690 rm -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libNoVersion*
691 %ifnarch %{ix86} alpha alphaev6 sparc sparcv9
692 rm -f $RPM_BUILD_ROOT/%{_lib}/libNoVersion*
693 %endif
695 # the man pages for the linuxthreads require special attention
696 make -C linuxthreads/man
697 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3
698 install -m 0644 linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
699 gzip -9nvf $RPM_BUILD_ROOT%{_mandir}/man3/*
701 if [ -d $RPM_BUILD_ROOT%{_prefix}/info -a "%{_infodir}" != "%{_prefix}/info" ]; then
702 mkdir -p $RPM_BUILD_ROOT%{_infodir}
703 mv -f $RPM_BUILD_ROOT%{_prefix}/info/* $RPM_BUILD_ROOT%{_infodir}
704 rm -rf $RPM_BUILD_ROOT%{_prefix}/info
707 gzip -9nvf $RPM_BUILD_ROOT%{_infodir}/libc*
709 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libbsd.a
711 install -m 644 fedora/nsswitch.conf $RPM_BUILD_ROOT/etc/nsswitch.conf
713 mkdir -p $RPM_BUILD_ROOT/etc/default
714 install -m 644 nis/nss $RPM_BUILD_ROOT/etc/default/nss
716 # Take care of setuids
717 # -- new security review sez that this shouldn't be needed anymore
718 #chmod 755 $RPM_BUILD_ROOT%{_prefix}/libexec/pt_chown
720 # This is for ncsd - in glibc 2.2
721 install -m 644 nscd/nscd.conf $RPM_BUILD_ROOT/etc
722 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
723 install -m 755 nscd/nscd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
725 # Don't include ld.so.cache
726 rm -f $RPM_BUILD_ROOT/etc/ld.so.cache
728 # Include ld.so.conf
729 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT/etc/ld.so.conf
730 touch $RPM_BUILD_ROOT/etc/ld.so.cache
731 chmod 644 $RPM_BUILD_ROOT/etc/ld.so.conf
732 mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
734 # Include %{_prefix}/%{_lib}/gconv/gconv-modules.cache
735 > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/gconv-modules.cache
736 chmod 644 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/gconv-modules.cache
738 # Install the upgrade program
739 install -m 700 build-%{_target_cpu}-linux/glibc_post_upgrade $RPM_BUILD_ROOT/usr/sbin/glibc_post_upgrade
741 strip -g $RPM_BUILD_ROOT%{_prefix}/%{_lib}/*.o
743 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}
744 cp -a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/*.a \
745 $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}/
746 rm -f $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}/*_p.a
747 # Now strip debugging info from static libraries
748 pushd $RPM_BUILD_ROOT%{_prefix}/%{_lib}/
749 for i in *.a; do
750 if [ -f $i ]; then
751 case "$i" in
752 *_p.a) ;;
753 *) strip -g -R .comment $i ;;
754 esac
756 done
757 popd
759 %ifarch %{prelinkarches}
760 %ifarch i686 athlon
761 # Prelink ld.so and libc.so
762 > prelink.conf
763 # For now disable prelinking of ld.so, as it breaks statically linked
764 # binaries built against non-NDEBUG old glibcs (assert unknown dynamic tag)
765 # /usr/sbin/prelink -c ./prelink.conf -C ./prelink.cache \
766 # --mmap-region-start=0x00101000 $RPM_BUILD_ROOT/%{_lib}/ld-*.so
767 /usr/sbin/prelink --reloc-only=0x00e80000 $RPM_BUILD_ROOT/%{_lib}/$SubDir/libc-*.so
768 %endif
769 %ifarch alpha alphaev6
770 # Prelink ld.so and libc.so
771 > prelink.conf
772 # For now disable prelinking of ld.so, as it breaks statically linked
773 # binaries built against non-NDEBUG old glibcs (assert unknown dynamic tag)
774 # /usr/sbin/prelink -c ./prelink.conf -C ./prelink.cache \
775 # --mmap-region-start=0x0000020000000000 $RPM_BUILD_ROOT/%{_lib}/ld-*.so
776 /usr/sbin/prelink --reloc-only=0x0000020010000000 $RPM_BUILD_ROOT/%{_lib}/$SubDir/libc-*.so
777 %endif
778 %endif
780 # rquota.x and rquota.h are now provided by quota
781 rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx]
783 # Hardlink identical locale files together
784 %ifnarch %{auxarches}
785 gcc -O2 -o build-%{_target_cpu}-linux/hardlink fedora/hardlink.c
786 build-%{_target_cpu}-linux/hardlink -vc $RPM_BUILD_ROOT%{_prefix}/lib/locale
787 %endif
789 %ifarch %{ix86} alpha alphaev6 sparc sparcv9
790 rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss1-*
791 rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss-*.so.1
792 %endif
794 # BUILD THE FILE LIST
795 find $RPM_BUILD_ROOT -type f -or -type l |
796 sed -e 's|.*/etc|%config &|' \
797 -e 's|.*/gconv/gconv-modules$|%verify(not md5 size mtime) %config(noreplace) &|' \
798 -e 's|.*/gconv/gconv-modules.cache|%verify(not md5 size mtime) &|' \
799 -e '/lib\/debug/d' > rpm.filelist.in
800 for n in %{_prefix}/share %{_prefix}/include %{_prefix}/lib/locale; do
801 find ${RPM_BUILD_ROOT}${n} -type d | \
802 grep -v '%{_prefix}/share$' | \
803 grep -v '\(%{_mandir}\|%{_infodir}\)' | \
804 sed "s/^/%dir /" >> rpm.filelist.in
805 done
807 # primary filelist
808 SHARE_LANG='s|.*/share/locale/\([^/_]\+\).*/LC_MESSAGES/.*\.mo|%lang(\1) &|'
809 LIB_LANG='s|.*/lib/locale/\([^/_]\+\)|%lang(\1) &|'
810 # rpm does not handle %lang() tagged files hardlinked together accross
811 # languages very well, temporarily disable
812 # LIB_LANG=''
813 sed -e "s|$RPM_BUILD_ROOT||" -e "$LIB_LANG" -e "$SHARE_LANG" < rpm.filelist.in |
814 grep -v '/etc/\(localtime\|nsswitch.conf\|ld.so.conf\|ld.so.cache\|default\)' | \
815 grep -v '/%{_lib}/lib\(pcprofile\|memusage\).so' | \
816 grep -v 'bin/\(memusage\|mtrace\|xtrace\|pcprofiledump\)' | \
817 sort > rpm.filelist
819 mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_lib}
820 mv -f $RPM_BUILD_ROOT/%{_lib}/lib{pcprofile,memusage}.so $RPM_BUILD_ROOT%{_prefix}/%{_lib}
821 for i in $RPM_BUILD_ROOT%{_prefix}/bin/{xtrace,memusage}; do
822 cp -a $i $i.tmp
823 sed -e 's~=/%{_lib}/libpcprofile.so~=%{_prefix}/%{_lib}/libpcprofile.so~' \
824 -e 's~=/%{_lib}/libmemusage.so~=%{_prefix}/%{_lib}/libmemusage.so~' \
825 $i.tmp > $i
826 chmod 755 $i; rm -f $i.tmp
827 done
829 grep '%{_prefix}/%{_lib}/lib.*_p\.a' < rpm.filelist > profile.filelist || :
830 egrep "(%{_prefix}/include)|(%{_infodir})" < rpm.filelist |
831 grep -v %{_prefix}/include/nptl |
832 grep -v %{_infodir}/dir > devel.filelist
834 mv rpm.filelist rpm.filelist.full
835 grep -v '%{_prefix}/%{_lib}/lib.*_p.a' rpm.filelist.full |
836 egrep -v "(%{_prefix}/include)|(%{_infodir})" > rpm.filelist
838 grep '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist >> devel.filelist
839 grep '%{_prefix}/%{_lib}/.*\.o' < rpm.filelist >> devel.filelist
840 grep '%{_prefix}/%{_lib}/lib.*\.so' < rpm.filelist >> devel.filelist
841 grep '%{_mandir}' < rpm.filelist >> devel.filelist
843 grep '%{_prefix}/include' < devel.filelist > headers.filelist
844 grep -v '%{_prefix}/include' < devel.filelist > devel.filelist.tmp
845 mv -f devel.filelist.tmp devel.filelist
847 mv rpm.filelist rpm.filelist.full
848 grep -v '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist.full |
849 grep -v '%{_prefix}/%{_lib}/.*\.o' |
850 grep -v '%{_prefix}/%{_lib}/lib.*\.so'|
851 grep -v '%{_prefix}/%{_lib}/nptl' |
852 grep -v '%{_mandir}' |
853 grep -v 'nscd' > rpm.filelist
855 grep '%{_prefix}/bin' < rpm.filelist >> common.filelist
856 grep '%{_prefix}/lib/locale' < rpm.filelist >> common.filelist
857 grep '%{_prefix}/libexec' < rpm.filelist >> common.filelist
858 grep '%{_prefix}/sbin/[^gi]' < rpm.filelist >> common.filelist
859 grep '%{_prefix}/share' < rpm.filelist \
860 | grep -v '%{_prefix}/share/zoneinfo' >> common.filelist
862 mv rpm.filelist rpm.filelist.full
863 grep -v '%{_prefix}/bin' < rpm.filelist.full |
864 grep -v '%{_prefix}/lib/locale' |
865 grep -v '%{_prefix}/libexec' |
866 grep -v '%{_prefix}/sbin/[^gi]' |
867 grep -v '%{_prefix}/share' > rpm.filelist
869 echo '%{_prefix}/sbin/build-locale-archive' >> common.filelist
870 echo '%{_prefix}/sbin/nscd' > nscd.filelist
872 cat > utils.filelist <<EOF
873 %{_prefix}/%{_lib}/libmemusage.so
874 %{_prefix}/%{_lib}/libpcprofile.so
875 %{_prefix}/bin/memusage
876 %{_prefix}/bin/memusagestat
877 %{_prefix}/bin/mtrace
878 %{_prefix}/bin/pcprofiledump
879 %{_prefix}/bin/xtrace
882 # /etc/localtime
883 rm -f $RPM_BUILD_ROOT/etc/localtime
884 cp -f $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime
885 #ln -sf ..%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime
887 rm -rf $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo
889 cd fedora
890 $GCC -Os -static -o build-locale-archive build-locale-archive.c \
891 ../build-%{_target_cpu}-linux/locale/locarchive.o \
892 ../build-%{_target_cpu}-linux/locale/md5.o \
893 -DDATADIR=\"%{_datadir}\" -DPREFIX=\"%{_prefix}\" \
894 -L../build-%{_target_cpu}-linux
895 install -m 700 build-locale-archive $RPM_BUILD_ROOT/usr/sbin/build-locale-archive
896 cd ..
898 # the last bit: more documentation
899 rm -rf documentation
900 mkdir documentation
901 cp linuxthreads/ChangeLog documentation/ChangeLog.threads
902 cp linuxthreads/Changes documentation/Changes.threads
903 cp linuxthreads/README documentation/README.threads
904 cp linuxthreads/FAQ.html documentation/FAQ-threads.html
905 cp -r linuxthreads/Examples documentation/examples.threads
906 cp crypt/README.ufc-crypt documentation/README.ufc-crypt
907 cp timezone/README documentation/README.timezone
908 cp ChangeLog* documentation
909 gzip -9n documentation/ChangeLog*
911 %ifarch s390x
912 # Compatibility symlink
913 mkdir -p $RPM_BUILD_ROOT/lib
914 ln -sf /%{_lib}/ld64.so.1 $RPM_BUILD_ROOT/lib/ld64.so.1
915 %endif
916 %ifarch ia64
917 %if "%{_lib}" == "lib64"
918 # Compatibility symlink
919 mkdir -p $RPM_BUILD_ROOT/lib
920 ln -sf /%{_lib}/ld-linux-ia64.so.2 $RPM_BUILD_ROOT/lib/ld-linux-ia64.so.2
921 %endif
922 %endif
924 # Increase timeouts
925 perl -pi -e 's/alarm \(TIMEOUT\)/alarm (TIMEOUT * 15 * '$numprocs' < 600 ? TIMEOUT * 15 * '$numprocs' : 600)/' \
926 test-skeleton.c
927 echo ====================TESTING=========================
928 cd build-%{_target_cpu}-linux
929 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
930 make -j$numprocs -C sed check || :
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 make -j$numprocs -C sed check || :
937 cd ..
938 %endif
939 %ifarch %{nptlarches}
940 echo ====================TESTING NPTL====================
941 cd build-%{nptl_target_cpu}-linuxnptl
942 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
943 make -j$numprocs -C sed check || :
944 cd ..
945 %endif
946 echo ====================TESTING DETAILS=================
947 for i in `sed -n 's|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p' build-*-linux*/check.log`; do
948 echo =====$i=====
949 cat $i || :
950 echo ============
951 done
952 %ifarch i686 athlon
953 echo ====================TESTING LINUXTHREADS FS LD.SO===
954 cd build-%{_target_cpu}-linuxltfs
955 mv elf/ld.so elf/ld.so.orig
956 cp -a ../build-%{_target_cpu}-linux/elf/ld.so elf/ld.so
957 find . -name \*.out -exec mv -f '{}' '{}'.origldso \;
958 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check2.log || :
959 cd ..
960 %endif
961 %ifarch %{nptlarches}
962 echo ====================TESTING NPTL LD.SO==============
963 cd build-%{nptl_target_cpu}-linuxnptl
964 mv elf/ld.so elf/ld.so.orig
965 cp -a ../build-%{_target_cpu}-linux/elf/ld.so elf/ld.so
966 find . -name \*.out -exec mv -f '{}' '{}'.origldso \;
967 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check2.log || :
968 cd ..
969 %endif
970 echo ====================TESTING DETAILS=================
971 for i in `sed -n 's|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p' build-*-linux*/check2.log`; do
972 echo =====$i=====
973 cat $i || :
974 echo ============
975 done
976 echo ====================TESTING END=====================
977 PLTCMD='/^Relocation section .*\(\.rela\?\.plt\|\.rela\.IA_64\.pltoff\)/,/^$/p'
978 echo ====================PLT RELOCS LD.SO================
979 readelf -Wr $RPM_BUILD_ROOT/%{_lib}/ld-*.so | sed -n -e "$PLTCMD"
980 echo ====================PLT RELOCS LIBC.SO==============
981 readelf -Wr $RPM_BUILD_ROOT/%{_lib}/$SubDir/libc-*.so | sed -n -e "$PLTCMD"
982 echo ====================PLT RELOCS END==================
984 %if "%{_enable_debug_packages}" == "1"
986 case "$-" in *x*) save_trace=yes;; esac
987 set +x
988 echo Building debuginfo subpackage...
990 blf=debugfiles.list
991 sf=debugsources.list
992 cblf=debugcommonfiles.list
993 csf=debugcommonsources.list
995 echo -n > $sf
996 echo -n > $csf
998 strip $RPM_BUILD_ROOT/{sbin/ldconfig,usr/sbin/glibc_post_upgrade,usr/sbin/build-locale-archive}
1000 # Strip ELF binaries
1001 for f in `grep -v '%%\(dir\|lang\|config\|verify\)' rpm.filelist`; do
1002 bf=$RPM_BUILD_ROOT$f
1003 if [ -f $bf -a -x $bf -a ! -h $bf ]; then
1004 if `file $bf 2>/dev/null | grep 'ELF.*, not stripped' | grep -vq 'statically linked'`; then
1005 bd=`dirname $f`
1006 outd=$RPM_BUILD_ROOT/usr/lib/debug$bd
1007 mkdir -p $outd
1008 echo extracting debug info from $f
1009 /usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug -l $sf $bf
1010 bn=`basename $f`
1011 case $f in
1012 /%{_lib}/*) eu-strip -g -f $outd/$bn.debug $bf || :;;
1013 *) eu-strip -f $outd/$bn.debug $bf || :;;
1014 esac
1015 if [ -f $outd/$bn.debug ]; then echo /usr/lib/debug$bd/$bn.debug >> $blf; fi
1018 done
1020 for f in `cat common.filelist utils.filelist nscd.filelist \
1021 | grep -v '%%\(dir\|lang\|config\|verify\)'`; do
1022 bf=$RPM_BUILD_ROOT$f
1023 if [ -f $bf -a -x $bf -a ! -h $bf ]; then
1024 if `file $bf 2>/dev/null | grep 'ELF.*, not stripped' | grep -vq 'statically linked'`; then
1025 bd=`dirname $f`
1026 outd=$RPM_BUILD_ROOT/usr/lib/debug$bd
1027 mkdir -p $outd
1028 echo extracting debug info from $f
1029 /usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug -l $csf $bf
1030 bn=`basename $f`
1031 eu-strip -f $outd/$bn.debug $bf || :
1032 if [ -f $outd/$bn.debug ]; then echo /usr/lib/debug$bd/$bn.debug >> $cblf; fi
1035 done
1037 for f in `find $RPM_BUILD_ROOT/%{_lib} -type l`; do
1038 l=`ls -l $f`
1039 l=${l#* -> }
1040 t=/usr/lib/debug`dirname ${f#$RPM_BUILD_ROOT}`
1041 if grep -q "^$t/$l.debug\$" $blf; then
1042 ln -sf $l.debug $RPM_BUILD_ROOT$t/`basename $f`.debug
1043 echo $t/`basename $f`.debug >> $blf
1044 elif grep -q "^$t.debug/$l\$" $cblf; then
1045 ln -sf $l.debug $RPM_BUILD_ROOT$t/`basename $f`.debug
1046 echo $t/`basename $f`.debug >> $cblf
1048 done
1050 echo Sorting source file lists. Might take a while...
1051 xargs -0 -n 1 echo < $sf | LANG=C sort -u > $sf.sorted
1052 xargs -0 -n 1 echo < $csf | LANG=C sort -u > $csf.sorted
1053 mkdir -p $RPM_BUILD_ROOT/usr/src/debug
1054 cat $sf.sorted $csf.sorted \
1055 | (cd $RPM_BUILD_DIR; LANG=C sort -u | cpio -pdm ${RPM_BUILD_ROOT}/usr/src/debug)
1056 # stupid cpio creates new directories in mode 0700, fixup
1057 find $RPM_BUILD_ROOT/usr/src/debug -type d -print | xargs chmod a+rx
1059 %ifarch %{debuginfocommonarches}
1060 %ifarch %{auxarches}
1061 %ifarch %{ix86}
1062 %define basearch i386
1063 %endif
1064 %ifarch alpha alphaev6
1065 %define basearch alpha
1066 %endif
1067 %ifarch sparc sparcv9
1068 %define basearch sparc
1069 %endif
1070 cat $blf > debuginfo.filelist
1071 find $RPM_BUILD_ROOT/usr/src/debug/%{name}-%{version}-%{glibcdate} -type d \
1072 | sed "s#^$RPM_BUILD_ROOT#%%dir #" >> debuginfo.filelist
1073 grep '/generic/\|/linux/\|/%{basearch}/\|/nptl\(_db\)\?/\|^%{name}-%{version}-%{glibcdate}/build' \
1074 $sf.sorted | sed 's|^|/usr/src/debug/|' >> debuginfo.filelist
1075 touch debuginfocommon.filelist
1076 %else
1077 ( grep '^%{name}-%{version}-%{glibcdate}/build-\|dl-osinfo\.h' $csf.sorted || : ) > $csf.sorted.build
1078 cat $blf > debuginfo.filelist
1079 cat $cblf > debuginfocommon.filelist
1080 grep '^%{name}-%{version}-%{glibcdate}/build-\|dl-osinfo\.h' $sf.sorted \
1081 | sed 's|^|/usr/src/debug/|' >> debuginfo.filelist
1082 find $RPM_BUILD_ROOT/usr/src/debug/%{name}-%{version}-%{glibcdate} -type d \
1083 | sed "s#^$RPM_BUILD_ROOT#%%dir #" >> debuginfocommon.filelist
1084 ( cat $csf.sorted; grep -v -f $csf.sorted.build $sf.sorted ) \
1085 | grep -v 'dl-osinfo\.h' | LC_ALL=C sort -u \
1086 | sed 's|^|/usr/src/debug/|' >> debuginfocommon.filelist
1087 %endif
1088 %else
1089 cat $blf $cblf | LC_ALL=C sort -u > debuginfo.filelist
1090 echo '/usr/src/debug/%{name}-%{version}-%{glibcdate}' >> debuginfo.filelist
1091 %endif
1093 [ "x$save_trace" = xyes ] && set -x
1095 %endif
1097 %ifarch %{auxarches}
1098 case "$-" in *x*) save_trace=yes;; esac
1099 set +x
1100 echo Cutting down the list of unpackaged files
1101 for i in `sed '/%%dir/d;/%%config/d;/%%verify/d;s/%%lang([^)]*) //' \
1102 common.filelist devel.filelist headers.filelist profile.filelist \
1103 utils.filelist nscd.filelist`; do
1104 [ -f "$RPM_BUILD_ROOT$i" ] && rm -f "$RPM_BUILD_ROOT$i" || :
1105 done
1106 [ "x$save_trace" = xyes ] && set -x
1107 %endif
1109 touch $RPM_BUILD_ROOT/%{_prefix}/lib/locale/locale-archive
1111 %post -p /usr/sbin/glibc_post_upgrade
1113 %postun -p /sbin/ldconfig
1115 %post common -p /usr/sbin/build-locale-archive
1117 %post devel
1118 /sbin/install-info %{_infodir}/libc.info.gz %{_infodir}/dir
1120 %pre headers
1121 # this used to be a link and it is causing nightmares now
1122 if [ -L %{_prefix}/include/scsi ] ; then
1123 rm -f %{_prefix}/include/scsi
1126 %preun devel
1127 if [ "$1" = 0 ]; then
1128 /sbin/install-info --delete %{_infodir}/libc.info.gz %{_infodir}/dir
1131 %post utils -p /sbin/ldconfig
1133 %postun utils -p /sbin/ldconfig
1135 %pre -n nscd
1136 /usr/sbin/useradd -M -o -r -d / -s /sbin/nologin \
1137 -c "NSCD Daemon" -u 28 nscd > /dev/null 2>&1 || :
1139 %post -n nscd
1140 /sbin/chkconfig --add nscd
1142 %preun -n nscd
1143 if [ $1 = 0 ] ; then
1144 service nscd stop > /dev/null 2>&1
1145 /sbin/chkconfig --del nscd
1148 %postun -n nscd
1149 if [ $1 = 0 ] ; then
1150 /usr/sbin/userdel nscd > /dev/null 2>&1 || :
1152 if [ "$1" -ge "1" ]; then
1153 service nscd condrestart > /dev/null 2>&1 || :
1156 %clean
1157 rm -rf "$RPM_BUILD_ROOT"
1158 rm -f *.filelist*
1160 %files -f rpm.filelist
1161 %defattr(-,root,root)
1162 %ifarch %{nptlarches}
1163 %dir /%{_lib}/%{tls_subdir}
1164 %ifarch i386
1165 %dir /%{_lib}/tls/i586
1166 %dir /%{_lib}/tls/i686
1167 %endif
1168 %endif
1169 %ifarch i686 athlon
1170 %dir /lib/i686
1171 %endif
1172 %ifarch s390x
1173 %dir /lib
1174 /lib/ld64.so.1
1175 %endif
1176 %ifarch ia64
1177 %if "%{_lib}" == "lib64"
1178 %dir /lib
1179 /lib/ld-linux-ia64.so.2
1180 %endif
1181 %endif
1182 %verify(not md5 size mtime) %config(noreplace) /etc/localtime
1183 %verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf
1184 %verify(not md5 size mtime) %config(noreplace) /etc/ld.so.conf
1185 %dir /etc/ld.so.conf.d
1186 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
1187 %dir %attr(755,root,root) /etc/default
1188 %verify(not md5 size mtime) %config(noreplace) /etc/default/nss
1189 %doc README NEWS INSTALL FAQ BUGS NOTES PROJECTS CONFORMANCE
1190 %doc COPYING COPYING.LIB README.libm LICENSES
1191 %doc hesiod/README.hesiod
1193 %ifnarch %{auxarches}
1194 %files -f common.filelist common
1195 %defattr(-,root,root)
1196 %attr(0644,root,root) %verify(not md5 size mtime mode) %ghost %config(missingok,noreplace) %{_prefix}/lib/locale/locale-archive
1197 %doc documentation/*
1199 %files -f devel.filelist devel
1200 %defattr(-,root,root)
1202 %files -f headers.filelist headers
1203 %defattr(-,root,root)
1205 %files -f profile.filelist profile
1206 %defattr(-,root,root)
1208 %files -f utils.filelist utils
1209 %defattr(-,root,root)
1211 %files -f nscd.filelist -n nscd
1212 %defattr(-,root,root)
1213 %config(noreplace) /etc/nscd.conf
1214 %config /etc/rc.d/init.d/nscd
1215 %endif
1217 %ifarch %{nptlarches}
1218 %files -n nptl-devel
1219 %defattr(-,root,root)
1220 %{_prefix}/include/nptl
1221 %{_prefix}/%{_lib}/nptl
1222 %endif
1224 %if "%{_enable_debug_packages}" == "1"
1225 %files debuginfo -f debuginfo.filelist
1226 %defattr(-,root,root)
1227 %ifarch %{debuginfocommonarches}
1228 %ifnarch %{auxarches}
1229 %files debuginfo-common -f debuginfocommon.filelist
1230 %defattr(-,root,root)
1231 %dir %{_prefix}/lib/debug
1232 %dir %{_prefix}/lib/debug/%{_prefix}
1233 %dir %{_prefix}/lib/debug/%{_prefix}/%{_lib}
1234 %{_prefix}/lib/debug/%{_prefix}/%{_lib}/*.a
1235 %endif
1236 %else
1237 %dir %{_prefix}/lib/debug
1238 %dir %{_prefix}/lib/debug/%{_prefix}
1239 %dir %{_prefix}/lib/debug/%{_prefix}/%{_lib}
1240 %{_prefix}/lib/debug/%{_prefix}/%{_lib}/*.a
1241 %endif
1242 %endif
1244 %changelog
1245 * Wed Sep 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-55
1246 - update from CVS
1247 - set{re,e,res}[ug]id now affect the whole process in NPTL
1248 - return EAGAIN instead of ENOMEM when not enough memory
1249 in pthread_create
1251 * Fri Sep 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-54
1252 - update from CVS
1253 - nscd getaddrinfo caching
1255 * Tue Sep 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-53
1256 - restore temporarily old definition of __P()/__PMT()
1257 for third party apps
1259 * Tue Sep 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-52
1260 - update from CVS
1261 - nscd bi-arch fix
1262 - remove all uses of __P()/__PMT() from glibc headers
1263 - update and reenable nscd SELinux patch
1264 - remove libnss1* and libnss*.so.1 compatibility NSS modules
1265 on IA-32, SPARC and Alpha
1267 * Fri Sep 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-51
1268 - update from CVS
1269 - disable one of the malloc double free checks for non-contiguous
1270 arenas where it doesn't have to be true even for non-broken
1271 apps
1273 * Thu Sep 9 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-50
1274 - update from CVS
1275 - pwd/grp/host loops with nscd speed up by sharing the
1276 nscd cache r/o with applications
1277 - inexpensive double free check in free(3)
1278 - make NPTL pthread.h initializers usable even from C++
1279 (BZ #375)
1280 - use atomic instructions even in i386 nscd on i486+ CPUs
1281 (conditionally)
1283 * Sat Sep 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-49
1284 - update from CVS
1285 - fix linuxthreads tst-cancel{[45],-static}
1287 * Fri Sep 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-48
1288 - update from CVS
1289 - fix pthread_cond_destroy (BZ #342)
1290 - fix fnmatch without FNM_NOESCAPE (BZ #361)
1291 - fix ppc32 setcontext (BZ #357)
1292 - add NPTL support for i386 glibc (only if run on i486 or higher CPU)
1293 - add __NR_waitid defines for i386, x86_64 and sparc*
1295 * Tue Aug 31 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-47
1296 - update from CVS
1297 - persistent nscd caching
1298 - ppc64 32-bit atomicity fix
1299 - fix x86-64 nptl-devel headers for -m32 compilation
1300 - %%ghost /etc/ld.so.cache (#130597)
1301 - edit /etc/ld.so.conf in glibc_post_upgrade if
1302 include ld.so.conf.d/*.conf line is missing (#120588)
1303 - ugly hacks for the IA-64 /emul braindamage (#124996, #128267)
1305 * Sat Aug 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-46
1306 - update from CVS
1308 * Thu Aug 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-45
1309 - update from CVS
1310 - fix nss_compat's initgroups handling (#130363)
1311 - fix getaddrinfo ai_canonname setting
1313 * Thu Aug 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-44
1314 - update from CVS
1315 - add ip6-dotint resolv.conf option, make
1316 no-ip6-dotint the default
1317 - BuildPrereq libselinux-devel (#129946)
1318 - on ppc64, build without dot symbols
1320 * Thu Aug 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-43
1321 - update from CVS
1322 - remove debugging printout (#129747)
1323 - make <sys/shm.h> usable in C++ (IT#45148)
1324 - update RLIMIT_* constants in <bits/resource.h>, make
1325 <sys/resource.h> POSIX compliant (#129740)
1327 * Wed Aug 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-42
1328 - fix last tzset () fixes, disable rereading of /etc/localtime
1329 every time for now
1330 - really enable SELinux support for NSCD
1332 * Wed Aug 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-41
1333 - update from CVS
1334 - fread_unlocked/fwrite_unlocked macro fixes (BZ #309, #316)
1335 - tzset () fixes (BZ #154)
1336 - speed up pthread_rwlock_unlock on arches other than i386 and
1337 x86_64 (#129455)
1338 - fix compilation with -ansi (resp. -std=c89 or -std=c99) and
1339 -D_XOPEN_SOURCE=[56]00 but no -D_POSIX_SOURCE* or -D_POSIX_C_SOURCE*
1340 (BZ #284)
1341 - add SELinux support for NSCD
1343 * Fri Aug 6 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-40
1344 - update from CVS
1345 - change res_init to force all threads to re-initialize
1346 resolver before they use it next time (#125712)
1347 - various getaddrinfo and related fixes (BZ #295, #296)
1348 - fix IBM{932,943} iconv modules (#128674)
1349 - some nscd fixes (e.g. BZ #292)
1350 - RFC 3678 support (Multicast Source Filters)
1351 - handle /lib/i686/librtkaio-* in i386 glibc_post_upgrade
1352 the same as /lib/i686/librt-*
1354 * Fri Jul 23 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-39
1355 - update from CVS
1356 - conformance related changes in headers
1357 - remove -finline-limit=2000 for GCC 3.4.x+
1359 * Thu Jul 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-38
1360 - update from CVS
1361 - fix res_init leaks
1362 - fix newlocale races
1363 - fix ppc64 setjmp
1364 - fix strtold (BZ #274)
1366 * Fri Jul 16 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-37
1367 - update from CVS
1368 - allow pthread_cancel in DSO destructors run at exit time
1369 - fix pow{f,,l} on IA-32 and powl on x86-64
1370 - allow PIEs on IA-32 to have main in a shared library they depend on
1372 * Mon Jul 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-36
1373 - s390* .plt slot reduction
1374 - fix pthread_rwlock_timedrdlock on x86_64
1376 * Wed Jun 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-35
1377 - tweak spec file for the libpthread-0.61.so -> libpthread-2.3.3.so
1378 NPTL changes
1380 * Wed Jun 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-34
1381 - update from CVS
1382 - if_nameindex using preferably netlink
1383 - printf_parsemb initialization fix
1384 - NPTL version is now the same as glibc version
1386 * Mon Jun 28 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-33
1387 - update from CVS
1388 - reread resolv.conf for nscd --invalidate=hosts
1389 - fix F_GETLK/F_SETLK/F_SETLKW constants on x86_64 for
1390 -m32 -D_FILE_OFFSET_BITS=64 compilations
1391 - avoid calling non-existing fcntl64 syscall on ppc64
1393 * Mon Jun 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-32
1394 - update from CVS
1395 - FUTEX_CMP_REQUEUE support (fix pthread_cond_* deadlocks)
1396 - fix backtrace in statically linked programs
1397 - rebuilt with GCC 3.4, adjusted ulps and i386 <bits/string.h>
1399 * Fri May 28 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-31
1400 - update from CVS
1401 - <bits/string2.h> and <bits/mathinline.h> changes for GCC 3.{2,4,5}+
1402 - make c_stubs buildable even with GCC 3.2.x (#123042)
1404 * Fri May 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-30
1405 - fix pthread_cond_wait on architectures other than IA-32 and
1406 x86_64
1408 * Thu May 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-29
1409 - use lib64 instead of lib on ia64 if %%{_lib} is defined to lib64
1411 * Wed May 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-28
1412 - update from CVS
1413 - FUTEX_REQUEUE fixes (#115349)
1414 - SPARC GCC 3.4 build fix
1415 - fix handling of undefined TLS symbols on IA32 (RELA only),
1416 SPARC and SH
1417 - regex translate fix
1418 - speed up sprintf
1419 - x86_64 makecontext alignment fix
1420 - make POSIX sigpause the default sigpause, unless BSD sigpause
1421 requested
1423 * Tue May 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-27
1424 - remove /lib64/tls/librtkaio-2.3.[23].so in glibc_post_upgrade
1425 on x86-64, s390x and ppc64 instead of /lib/tls/librtkaio-2.3.[23].so
1426 - build mq_{send,receive} with -fexceptions
1428 * Fri May 7 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-26
1429 - update from CVS
1430 - fix <tgmath.h>
1431 - fix memory leaks in nis, getifaddrs, etc. caused by incorrect
1432 use of realloc
1433 - remove /lib/{tls,i686}/librtkaio-2.3.[23].so in glibc_post_upgrade
1434 and rerun ldconfig if needed, otherwise after glibc upgrade librt.so.1
1435 might be a stale symlink
1437 * Wed May 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-25
1438 - update from CVS
1439 - disable FUTEX_REQUEUE (work around #115349)
1440 - mq for sparc/sparc64/ia64
1442 * Tue May 4 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-24
1443 - update from CVS
1444 - define S_ISSOCK in -D_XOPEN_SOURCE=600 and S_I[FS]SOCK
1445 plus F_[SG]ETOWN also in -D_XOPEN_SOURCE=500 (both
1446 included already in XNS5)
1447 - reorder dlopen checks, so that dlopening ET_REL objects
1448 complains about != ET_DYN != ET_EXEC, not about phentsize
1449 (#121606)
1450 - fix strpbrk macro for GCC 3.4+ (BZ #130)
1451 - fix <sys/sysctl.h> (BZ #140)
1452 - sched_[gs]etaffinity documentation fix (BZ #131)
1453 - fix sparc64 build (BZ #139)
1454 - change linuxthreads back to use non-cancellable writes
1455 to manager pipes etc.
1456 - fix sem_timedwait return value in linuxthreads (BZ #133)
1457 - ia64 unnecessary PLT relocs removal
1459 * Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-23
1460 - update from CVS
1461 - fix *scanf
1462 - fix shm_unlink, sem_unlink and mq_unlink errno values
1463 - avoid memory leaks in error
1464 - execstack fixes on s390
1466 * Mon Apr 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-22
1467 - update from CVS
1468 - mq and timer fixes
1469 - rebuilt with binutils >= 2.15.90.0.3-2 to fix IA-64 statically
1470 linked binaries
1471 - fix linuxthreads librt.so on s390{,x}, so it is no longer DT_TEXTREL
1473 * Sat Apr 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-21
1474 - disable rtkaio
1475 - update from CVS
1476 - POSIX message passing support
1477 - fixed SIGEV_THREAD support for POSIX timers
1478 - fix free on non-malloced memory in syslog
1479 - fix ffsl on some 64-bit arches
1480 - fix sched_setaffinity on x86-64, ia64
1481 - fix ppc64 umount
1482 - NETID_AUTHORITATIVE, SERVICES_AUTHORITATIVE support
1483 - various NIS speedups
1484 - fix fwrite with > 2GB sizes on 64-bit arches
1485 - fix pthread_getattr_np guardsize reporting in NPTL
1486 - report PLT relocations in ld.so and libc.so during the build
1488 * Fri Mar 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-20
1489 - update from CVS
1490 - change NPTL PTHREAD_MUTEX_ADAPTIVE_NP mutexes to spin on SMP
1491 - strtol speed optimization
1492 - don't try to use certainly unimplemented syscalls on ppc64
1493 - kill -debug subpackage, move the libs to glibc-debuginfo{,-common}
1494 into /usr/lib/debug/usr/%{_lib}/ directory
1495 - fix c_stubs with gcc 3.4
1496 - move all the up to 3 builds into %%build scriptlet and
1497 leave only installation in the %%install scriptlet
1499 * Mon Mar 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-19
1500 - update from CVS
1501 - affinity API changes
1503 * Thu Mar 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-18
1504 - update from CVS
1505 - fix ia64 iopl (#118591)
1506 - add support for /etc/ld.so.conf.d/*.conf
1507 - fix x86-64 LD_DEBUG=statistics
1508 - fix hwcap handling when using ld.so.cache (#118518)
1510 * Mon Mar 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-17
1511 - update from CVS
1512 - implement non-_l function on top of _l functions
1514 * Thu Mar 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-16
1515 - update from CVS
1516 - fix s390{,x} TLS handling
1518 * Wed Mar 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-15
1519 - update from CVS
1520 - special section for compatibility code
1521 - make getpid () work even in vfork () child
1522 - configure with --enable-bind-now to avoid lazy binding in ld.so
1523 and libc.so
1525 * Fri Mar 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-14
1526 - update from CVS
1527 - fix iconv -c (#117021)
1528 - fix PIEs on sparc/sparc64
1529 - fix posix_fadvise on 64-bit architectures
1530 - add locale-archive as %%ghost file (#117014)
1532 * Mon Mar 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-13
1533 - update from CVS
1535 * Fri Feb 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-12
1536 - update from CVS
1538 * Fri Feb 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-11
1539 - update from CVS
1540 - fix ld.so when vDSO is randomized
1542 * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-10
1543 - update from CVS
1545 * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-9
1546 - update from CVS
1548 * Tue Feb 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-8
1549 - update from CVS
1551 * Tue Jan 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-7
1552 - update from CVS
1553 - dl_iterate_phdr extension to signal number of added/removed
1554 libraries
1555 - fix PT_GNU_RELRO support on ppc* with prelinking
1557 * Fri Jan 23 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-6
1558 - rebuilt with fixed GCC on IA-64
1560 * Thu Jan 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-5
1561 - fix PT_GNU_RELRO support
1563 * Wed Jan 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-4
1564 - update from CVS
1565 - some further regex speedups
1566 - fix re.translate handling in regex (#112869)
1567 - change regfree to match old regex behaviour (what is freed
1568 and clearing of freed pointers)
1569 - fix accesses to unitialized memory in regex (#113507, #113425,
1570 #113421)
1571 - PT_GNU_RELRO support
1573 * Tue Dec 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-3
1574 - update from CVS
1575 - fix pmap_set fd and memory leak (#112726)
1576 - fix backreference handling in regex
1577 - rebuilt under glibc without the above bug to fix
1578 libc.so linker script (#112738)
1580 * Mon Dec 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-2
1581 - update from CVS
1582 - faster getpid () in NPTL builds
1583 - fix to make pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, )
1584 really disable cancellation (#112512)
1585 - more regex fixes and speedups
1586 - fix nextafter*/nexttoward*
1587 - handle 6th syscall(3) argument on AMD64
1588 - handle memalign/posix_memalign in mtrace
1589 - fix linuxthreads memory leak (#112208)
1590 - remove throw () from cancellation points in linuxthreads (#112602)
1591 - fix NPTL unregister_atfork
1592 - fix unwinding through alternate signal stacks
1594 * Mon Dec 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-1
1595 - update from CVS
1596 - 2.3.3 release
1597 - lots of regex fixes and speedups (#110401)
1598 - fix atan2
1599 - fix pshared condvars in NPTL
1600 - fix pthread_attr_destroy for attributes created with
1601 pthread_attr_init@GLIBC_2.0
1602 - for the time being, include both nb_NO* and no_NO* as locales
1603 so that the distribution can catch up with the no_NO->nb_NO
1604 transition
1605 - add BuildPrereq texinfo (#110252)
1607 * Tue Nov 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-102
1608 - update from CVS
1609 - fix getifaddrs (CAN-2003-0859)
1610 - fix ftw fd leak
1611 - fix linuxthreads sigaction (#108634)
1612 - fix glibc 2.0 stdio compatibility
1613 - fix uselocale (LC_GLOBAL_LOCALE)
1614 - speed up stdio locking in non-threaded programs on IA-32
1615 - try to maintain correct order of cleanups between those
1616 registered with __attribute__((cleanup))
1617 and with LinuxThreads style pthread_cleanup_push/pop (#108631)
1618 - fix segfault in regex (#109606)
1619 - fix RE_ICASE multi-byte handling in regex
1620 - fix pthread_exit in libpthread.a (#109790)
1621 - FTW_ACTIONRETVAL support
1622 - lots of regex fixes and speedups
1623 - fix ceill/floorl on AMD64
1625 * Mon Oct 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-101
1626 - update from CVS
1627 - fix ld.so --verify (and ldd)
1629 * Mon Oct 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-100
1630 - update from CVS
1631 - fix sprof (#103727)
1632 - avoid infinite loops in {,f}statvfs{,64} with hosed mounts file
1633 - prevent dlopening of executables
1634 - fix glob with GLOB_BRACE and without GLOB_NOESCAPE
1635 - fix locale printing of word values on 64-bit big-endian arches
1636 (#107846)
1637 - fix getnameinfo and getaddrinfo with reverse IPv6 lookups
1638 (#101261)
1640 * Wed Oct 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-99
1641 - update from CVS
1642 - dl_iterate_phdr in libc.a on arches other than IA-64
1643 - LD_DEBUG=statistics prints number of relative relocations
1644 - fix hwcap computation
1645 - NPTL is now part of upstream glibc CVS
1646 - include {st,xh,zu}_ZA{,.UTF-8} locales
1648 * Sat Oct 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-98
1649 - update from CVS
1650 - fix close, pause and fsync (#105348)
1651 - fix pthread_once on IA-32
1652 - implement backtrace () on IA-64, handle -fomit-frame-pointer
1653 in AMD64 backtrace () (#90402)
1655 * Tue Sep 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-97
1656 - update from CVS
1657 - fix <sys/sysmacros.h> with C++ or -ansi or -pedantic C
1658 - fix mknod/ustat return value when given bogus device number (#105768)
1660 * Fri Sep 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-96
1661 - rebuilt
1663 * Fri Sep 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-95
1664 - fix IA-64 getcontext
1666 * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-94
1667 - update from CVS
1668 - fix syslog with non-C non-en_* locales (#61296, #104979)
1669 - filter GLIBC_PRIVATE symbols from glibc provides
1670 - fix NIS+
1672 * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-93
1673 - update from CVS
1674 - assume 2.4.21 kernel features on RHEL/ppc*, so that
1675 {make,set,get,swap}context works
1676 - backout execstack support for RHEL
1677 - build rtkaio on amd64 too
1679 * Wed Sep 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-92
1680 - update from CVS
1681 - execstack/noexecstack support
1682 - build nscd as PIE
1683 - move __libc_stack_end back to @GLIBC_2.1
1684 - build against elfutils >= 0.86 to fix stripping on s390x
1686 * Mon Sep 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-91
1687 - rebuilt
1689 * Mon Sep 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-90
1690 - update from CVS
1691 - NPTL locking change (#102682)
1692 - don't jump around lock on amd64
1694 * Thu Sep 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-89
1695 - fix open_memstream/syslog (#104661)
1697 * Thu Sep 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-88
1698 - update from CVS
1699 - retrieve affinity in pthread_getattr_np
1700 - fix pthread_attr_[gs]etaffinity_np
1701 - handle hex and octal in wordexp
1703 * Wed Sep 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-87
1704 - update from CVS
1705 - truncate instead of round in utimes when utimes syscall is not available
1706 - don't align stack in every glibc function unnecessarily on IA-32
1707 - make sure threads have their stack 16 byte aligned on IA-32
1708 - move sched_[sg]etaffinity to GLIBC_2.3.3 symbol version (#103231)
1709 - fix pthread_getattr_np for the initial thread (#102683)
1710 - avoid linuxthreads signal race (#104368)
1711 - ensure all gzip invocations are done with -n option
1713 * Fri Sep 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-86
1714 - update from CVS
1715 - avoid linking in libgcc_eh.a unnecessarily
1716 - change ssize_t back to long int on s390 -m31, unless
1717 gcc 2.95.x is used
1719 * Wed Sep 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-85
1720 - update from CVS
1721 - fix IA-64 memccpy (#104114)
1723 * Tue Sep 9 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-84
1724 - update from CVS
1725 - undo broken amd64 signal context changes
1727 * Tue Sep 9 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-83
1728 - update from CVS
1729 - change *nlink_t, *ssize_t and *intptr_t types on s390 -m31 to
1730 {unsigned,} int
1731 - change *u_quad_t, *quad_t, *qaddr_t, *dev_t, *ino64_t, *loff_t,
1732 *off64_t, *rlim64_t, *blkcnt64_t, *fsblkcnt64_t, *fsfilcnt64_t
1733 on 64-bit arches from {unsigned,} long long int {,*} to
1734 {unsigned,} long int {,*} to restore binary compatibility
1735 for C++ functions using these types as arguments
1737 * Sun Sep 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-82
1738 - rebuilt
1740 * Sat Sep 6 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-81
1741 - update from CVS
1742 - fix tc[gs]etattr/cf[gs]et[io]speed on ppc (#102732)
1743 - libio fixes
1745 * Thu Sep 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-80
1746 - update from CVS
1747 - fix IA-64 cancellation when mixing __attribute__((cleanup ()))
1748 and old-style pthread_cleanup_push cleanups
1750 * Tue Sep 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-79
1751 - updated from CVS
1752 - lots of cancellation fixes
1753 - fix posix_fadvise* on ppc32
1754 - TLS layout fix
1755 - optimize stdio cleanups (#103354)
1756 - sparcv9 NPTL
1757 - include sigset, sighold, sigrelse, sigpause and sigignore prototypes
1758 in signal.h even if -D_XOPEN_SOURCE_EXTENDED (#103269)
1759 - fix svc_getreqset on 64-bit big-endian arches
1760 - return ENOSYS in linuxthreads pthread_barrierattr_setpshared for
1761 PTHREAD_PROCESS_SHARED
1762 - add pthread_cond_timedwait stubs to libc.so (#102709)
1763 - split glibc-devel into glibc-devel and glibc-headers to ensure
1764 amd64 /usr/include always wins on amd64/i386 bi-arch installs
1765 - increase PTHREAD_STACK_MIN on alpha, ia64 and sparc*
1766 - get rid of __syscall_* prototypes and stubs in sysdeps/unix/sysv/linux
1767 - run make check also with linuxthreads (on IA-32 non-FLOATING_STACKS)
1768 ld.so and NPTL (on IA-32 also FLOATING_STACKS linuxthreads) libraries
1769 and tests
1771 * Tue Aug 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-78
1772 - include dl-osinfo.h only in glibc-debuginfo-2*.rpm, not
1773 in glibc-debuginfo-common*
1775 * Mon Aug 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-77
1776 - update from CVS
1777 - fix glibc 2.0 libio compatibility (#101385)
1778 - fix ldconfig with /usr/lib/lib*.so symlinks (#102853)
1779 - fix assert.h (#102916, #103017)
1780 - make ld.so.cache identical between IA-32 and AMD64 (#102887)
1781 - fix static linking of large IA-64 binaries (#102586)
1782 - avoid using floating point regs in lazy binding code on ppc64 (#102763)
1784 * Fri Aug 22 2003 Roland McGrath <roland@redhat.com> 2.3.2-76
1785 - add td_thr_tls_get_addr changes missed in initial nptl_db rewrite
1787 * Sun Aug 17 2003 Roland McGrath <roland@redhat.com> 2.3.2-74
1788 - nptl_db rewrite not yet in CVS
1790 * Thu Aug 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-72
1791 - update from CVS
1792 - fix rtkaio aio_fsync{,64}
1793 - update rtkaio for !BROKEN_THREAD_SIGNALS
1794 - fix assert macro when used on pointers
1796 * Wed Aug 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-71
1797 - update from CVS
1799 * Tue Aug 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-70
1800 - update from CVS
1801 - disable CLONE_STOPPED for now until it is resolved
1802 - strip crt files
1803 - fix libio on arches with no < GLIBC_2.2 support (#102102, #102105)
1804 - fix glibc-debuginfo to include all nptl and nptl_db sources
1806 * Thu Aug 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-69
1807 - update from CVS
1808 - fix pthread_create@GLIBC_2.0 (#101767)
1809 - __ASSUME_CLONE_STOPPED on all arches but s390* in RHEL
1811 * Sun Aug 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-68
1812 - update from CVS
1813 - only use CLONE_STOPPED if kernel supports it, fix setting of thread
1814 explicit scheduling (#101457)
1816 * Fri Aug 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-67
1817 - update from CVS
1818 - fix utimes and futimes if kernel doesn't support utimes syscall
1819 - fix s390 ssize_t type
1820 - fix dlerror when called before any dlopen/dlsym
1821 - update IA-64 bits/sigcontext.h (#101344)
1822 - various warning fixes
1823 - fix pthread.h comment typos (#101363)
1825 * Wed Jul 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-66
1826 - update from CVS
1827 - fix dlopen of libraries using TLS IE/LE models
1829 * Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-65
1830 - update from CVS
1831 - fix timer_create
1832 - use __extension__ before long long typedefs in <bits/types.h> (#100718)
1834 * Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-64
1835 - update from CVS
1836 - fix wcpncpy (#99462)
1837 - export _res@GLIBC_2.0 even from NPTL libc.so (__res_state ()
1838 unlike __errno_location () or __h_errno_location () was introduced
1839 in glibc 2.2)
1840 - fix zic bug on 64-bit platforms
1841 - some TLS handling fixes
1842 - make ldconfig look into alternate ABI dirs by default (#99402)
1843 - move %{_datadir}/zoneinfo to tzdata package, so that it can be
1844 errataed separately from glibc
1845 - new add-on - rtkaio
1846 - prereq libgcc, as glibc now relies on libgcc_s.so.1 for pthread_cancel
1848 * Tue Jul 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-63
1849 - fix thread cancellation on ppc64
1851 * Sat Jul 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-62
1852 - update from CVS
1853 - fix thread cancellation on ppc32, s390 and s390x
1855 * Thu Jul 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-61
1856 - update from CVS
1857 - build libc_nonshared.a with -fPIC instead of -fpic
1858 - fix ppc64 PIE support
1859 - add cfi directives to NPTL sysdep-cancel.h on ppc/ppc64/s390/s390x
1861 * Tue Jul 8 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-60
1862 - update from CVS
1864 * Thu Jul 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-59
1865 - update from CVS
1866 - on IA-64 use different symbols for cancellation portion of syscall
1867 handlers to make gdb happier
1869 * Thu Jun 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-58
1870 - update from CVS
1871 - nss_compat supporting LDAP etc.
1873 * Tue Jun 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-57
1874 - update from CVS
1876 * Thu Jun 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-56
1877 - fix condvars and semaphores in ppc* NPTL
1878 - fix test-skeleton.c reporting of timed-out tests (#91269)
1879 - increase timeouts for tests during make check
1881 * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-55
1882 - make ldconfig default to both /lib+/usr/lib and /lib64+/usr/lib64
1883 on bi-ABI architectures (#97557)
1884 - disable FUTEX_REQUEUE on ppc* temporarily
1886 * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-54
1887 - update from CVS
1888 - fix glibc_post_upgrade on ppc
1890 * Tue Jun 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-53
1891 - update from CVS
1892 - fix localedef (#90659)
1893 - tweak linuxthreads for librt cancellation
1895 * Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-52
1896 - update from CVS
1898 * Thu Jun 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-51
1899 - update from CVS
1900 - fix <gnu/stubs.h> (#97169)
1902 * Wed Jun 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-50
1903 - update from CVS
1905 * Tue Jun 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-49
1906 - update from CVS
1907 - fix pthread_cond_signal on IA-32 (#92080, #92253)
1908 - fix setegid (#91567)
1909 - don't prelink -R libc.so on any architecture, it prohibits
1910 address randomization
1912 * Fri Jun 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-48
1913 - update from CVS
1914 - fix IA-64 NPTL build
1916 * Thu Jun 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-47
1917 - update from CVS
1918 - PT_GNU_STACK segment in binaries/executables and .note.GNU-stack
1919 section in *.[oa]
1921 * Sun Jun 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-46
1922 - update from CVS
1923 - enable NPTL on AMD64
1924 - avoid using trampolines in localedef
1926 * Fri May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-45
1927 - enable NPTL on IA-64
1929 * Fri May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-44
1930 - update from CVS
1931 - enable NPTL on s390 and s390x
1932 - make __init_array_start etc. symbols in elf-init.oS hidden undefined
1934 * Thu May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-43
1935 - update from CVS
1937 * Fri May 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-42
1938 - update from CVS
1940 * Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-41
1941 - update from CVS
1942 - use NPTL libs if uname -r contains nptl substring or is >= 2.5.69
1943 or set_tid_address syscall is available instead of checking
1944 AT_SYSINFO dynamic tag
1946 * Thu May 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-40
1947 - update from CVS
1949 * Wed May 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-39
1950 - update from CVS
1951 - fix for prelinking of libraries with no dependencies
1953 * Tue May 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-38
1954 - update from CVS
1955 - enable NPTL on ppc and ppc64
1957 * Tue May 6 2003 Matt Wilson <msw@redhat.com> 2.3.2-37
1958 - rebuild
1960 * Sun May 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-36
1961 - update from CVS
1963 * Sat May 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-35
1964 - update from CVS
1965 - make -jN build fixes
1967 * Fri May 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-34
1968 - update from CVS
1969 - avoid using trampolines in iconvconfig for now
1971 * Sat Apr 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-33
1972 - update from CVS
1974 * Fri Apr 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-32
1975 - update from CVS
1976 - more ppc TLS fixes
1978 * Wed Apr 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-31
1979 - update from CVS
1980 - nscd fixes
1981 - fix Bahrain spelling (#56298)
1982 - fix Ukrainian collation (#83973)
1983 - accept trailing spaces in /etc/ld.so.conf (#86032)
1984 - perror fix (#85994)
1985 - fix localedef (#88978)
1986 - fix getifaddrs (#89026)
1987 - fix strxfrm (#88409)
1988 - fix ppc TLS
1989 - fix getaddrinfo (#89448)
1990 - don't print warning about errno, h_errno or _res if
1991 LD_ASSUME_KERNEL=2.4.1 or earlier
1993 * Tue Apr 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-30
1994 - update from CVS
1995 - fix prelink on ppc32
1996 - add TLS support on ppc32 and ppc64
1997 - make sure on -m64 arches all helper binaries are built with this
1998 option
2000 * Mon Apr 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-29
2001 - update from CVS
2002 - fix strxfrm (#88409)
2003 - use -m64 -mno-minimal-toc on ppc64
2004 - conflict with kernels < 2.4.20 on ppc64 and < 2.4.0 on x86_64
2005 - link glibc_post_upgrade against newly built libc.a
2007 * Sun Apr 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-28
2008 - update from CVS
2009 - fix NPTL pthread_detach and already terminated, but not yet
2010 joined thread (#88219)
2011 - fix bug-regex4 testcase (#88118)
2012 - reenable prelink support broken in 2.3.2-13
2013 - fix register_printf_function (#88052)
2014 - fix double free with fopen using ccs= (#88056)
2015 - fix potential access below $esp in {set,swap}context (#88093)
2016 - fix buffer underrun in gencat -H (#88099)
2017 - avoid using unitialized variable in tst-tgmath (#88101)
2018 - fix gammal (#88104)
2019 - fix iconv -c
2020 - fix xdr_string (PR libc/4999)
2021 - fix /usr/lib/nptl/librt.so symlink
2022 - avoid running NPTL cleanups twice in some cases
2023 - unblock __pthread_signal_cancel in linuxthreads, so that
2024 linuxthreads threaded programs work correctly if spawned
2025 from NPTL threaded programs
2026 - fix sysconf _SC_{NPROCESSORS_{CONF,ONLN},{,AV}PHYS_PAGES}
2027 - remove /lib/i686 directory before running ldconfig in glibc post
2028 during i686 -> i386 glibc "upgrades" (#88456)
2030 * Wed Apr 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-22
2031 - update from CVS
2032 - add pthread_atfork to libpthread.a
2034 * Tue Apr 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-21
2035 - update from CVS
2036 - make sure linuxthreads pthread_mutex_lock etc. is not a cancellation
2037 point
2039 * Sat Mar 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-20
2040 - update from CVS
2041 - if kernel >= 2.4.1 doesn't support NPTL, fall back to
2042 /lib/i686 libs on i686, not stright to /lib
2044 * Fri Mar 28 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-19
2045 - update from CVS
2046 - timers fixes
2048 * Thu Mar 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-18
2049 - update from CVS
2050 - fix NPTL pthread_cond_timedwait
2051 - fix sysconf (_SC_MONOTONIC_CLOCK)
2052 - use /%%{_lib}/tls instead of /lib/tls on x86-64
2053 - add /%{_lib}/tls/librt*so* and /%{_lib}/i686/librt*so*
2054 - display content of .out files for all make check failures
2056 * Wed Mar 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-17
2057 - update from CVS
2058 - kernel POSIX timers support
2060 * Sat Mar 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-16
2061 - update from CVS
2062 - export __fork from glibc again
2063 - fix glibc-compat build in NPTL
2064 - fix c_stubs
2065 - fix some more atomic.h problems
2066 - don't check abi in glibc-compat libs
2068 * Fri Mar 21 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-15
2069 - update from CVS
2070 - build glibc-compat (for glibc 2.0 compatibility) and c_stubs add-ons
2071 - condrestart sshd in glibc_post_upgrade so that the user can
2072 log in remotely and handle the rest (#86339)
2073 - fix a typo in glibc_post_upgrade on sparc
2075 * Tue Mar 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-14
2076 - update from CVS
2077 - change i686/athlon libc.so.6 base to 0x00e80000
2079 * Mon Mar 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-13
2080 - update from CVS
2081 - hopefully last fix for condvar problems
2083 * Fri Mar 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-12
2084 - fix bits/syscall.h creation on x86-64
2086 * Thu Mar 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-11
2087 - update from CVS
2089 * Wed Mar 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-10
2090 - update from CVS
2092 * Tue Mar 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-9
2093 - update from CVS
2094 - fix glibc-debug description (#85111)
2095 - make librt.so a symlink again, not linker script
2097 * Tue Mar 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-8
2098 - update from CVS
2099 - remove the workarounds for broken software accessing GLIBC_PRIVATE
2100 symbols
2102 * Mon Mar 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-7
2103 - update from CVS
2105 * Sun Mar 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-6
2106 - fix TLS IE/LE model handling in dlopened libraries
2107 on TCB_AT_TP arches
2109 * Thu Feb 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-5
2110 - update from CVS
2112 * Tue Feb 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-4
2113 - update from CVS
2115 * Mon Feb 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-3
2116 - update from CVS
2117 - only warn about errno, h_errno or _res for binaries, never
2118 libraries
2119 - rebuilt with gcc-3.2.2-4 to use direct %gs TLS access insn sequences
2121 * Sun Feb 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-2
2122 - update from CVS
2124 * Sat Feb 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-1
2125 - update from CVS
2127 * Thu Feb 20 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-51
2128 - update from CVS
2130 * Wed Feb 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-50
2131 - update from CVS
2133 * Wed Feb 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-49
2134 - update from CVS
2135 - remove nisplus and nis from the default nsswitch.conf (#67401, #9952)
2137 * Tue Feb 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-48
2138 - update from CVS
2140 * Sat Feb 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-47
2141 - update from CVS
2143 * Fri Feb 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-46
2144 - update from CVS
2145 - pthread_cond* NPTL fixes, new NPTL testcases
2147 * Thu Feb 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-45
2148 - update from CVS
2149 - include also linuxthreads FLOATING_STACKS libs on i686 and athlon:
2150 LD_ASSUME_KERNEL=2.2.5 to LD_ASSUME_KERNEL=2.4.0 is non-FLOATING_STACKS lt,
2151 LD_ASSUME_KERNEL=2.4.1 to LD_ASSUME_KERNEL=2.4.19 is FLOATING_STACKS lt,
2152 later is NPTL
2153 - enable TLS on alpha/alphaev6
2154 - add BuildPreReq: /usr/bin/readlink
2156 * Tue Feb 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-44
2157 - update from CVS
2158 - pthread_once fix
2160 * Mon Feb 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-43
2161 - update from CVS
2162 - vfork fix on s390
2163 - rebuilt with binutils 2.13.90.0.18-5 so that accesses to errno
2164 don't bind locally (#83325)
2166 * Thu Feb 06 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-42
2167 - update from CVS
2168 - fix pthread_create after vfork+exec in linuxthreads
2170 * Wed Feb 05 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-41
2171 - update from CVS
2173 * Thu Jan 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-40
2174 - update from CVS
2176 * Wed Jan 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-39
2177 - update from CVS
2178 - enable TLS on s390{,x} and sparc{,v9}
2180 * Fri Jan 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-38
2181 - update from CVS
2182 - initialize __environ in glibc_post_upgrade to empty array,
2183 so that it is not NULL
2184 - compat symlink for s390x /lib/ld64.so.1
2185 - enable glibc-profile on x86-64
2186 - only include libNoVersion.so on IA-32, Alpha and Sparc 32-bit
2188 * Thu Jan 16 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-37
2189 - update from CVS
2190 - nscd fixes, *scanf fix
2191 - fix %%nptlarches noarch build (#81909)
2192 - IA-64 TLS fixes
2194 * Tue Jan 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-36
2195 - update from CVS
2196 - rework -debuginfo subpackage, add -debuginfo-common
2197 subpackage on IA-32, Alpha and Sparc (ie. auxiliary arches)
2198 - fix vfork in libc.a on PPC32, Alpha, Sparc
2199 - fix libio locks in linuxthreads libc.so if libpthread.so
2200 is dlopened later (#81374)
2202 * Mon Jan 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-35
2203 - update from CVS
2204 - dlclose bugfixes
2205 - fix NPTL libpthread.a
2206 - fix glibc_post_upgrade on several arches
2208 * Sat Jan 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-34
2209 - update from CVS
2210 - TLS support on IA-64
2212 * Wed Jan 8 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-33
2213 - fix vfork in linuxthreads (#81377, #81363)
2215 * Tue Jan 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-32
2216 - update from CVS
2217 - don't use TLS libs if kernel doesn't set AT_SYSINFO
2218 (#80921, #81212)
2219 - add ntp_adjtime on alpha (#79996)
2220 - fix nptl_db (#81116)
2222 * Sun Jan 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-31
2223 - update from CVS
2224 - support all architectures again
2226 * Fri Jan 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-30
2227 - fix condvar compatibility wrappers
2228 - add ugly hack to use non-TLS libs if a binary is seen
2229 to have errno, h_errno or _res symbols in .dynsym
2231 * Fri Jan 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-29
2232 - update from CVS
2233 - fixes for new condvar
2235 * Thu Jan 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-28
2236 - new NPTL condvar implementation plus related linuxthreads
2237 symbol versioning updates
2239 * Thu Jan 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-27
2240 - update from CVS
2241 - fix #include <sys/stat.h> with -D_BSD_SOURCE or without
2242 feature set macros
2243 - make *sigaction, sigwait and raise the same between
2244 -lpthread -lc and -lc -lpthread in linuxthreads builds
2246 * Tue Dec 31 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-26
2247 - fix dlclose
2249 * Sun Dec 29 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-25
2250 - enable sysenter by default for now
2251 - fix endless loop in ldconfig
2253 * Sat Dec 28 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-24
2254 - update from CVS
2256 * Fri Dec 27 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-23
2257 - update from CVS
2258 - fix ptmalloc_init after clearenv (#80370)
2260 * Sun Dec 22 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-22
2261 - update from CVS
2262 - add IA-64 back
2263 - move TLS libraries from /lib/i686 to /lib/tls
2265 * Thu Dec 19 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-21
2266 - system(3) fix for linuxthreads
2267 - don't segfault in pthread_attr_init from libc.so
2268 - add cancellation tests from nptl to linuxthreads
2270 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-20
2271 - fix up lists of exported symbols + their versions
2272 from the libraries
2274 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-19
2275 - fix --with-tls --enable-kernel=2.2.5 libc on IA-32
2277 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-18
2278 - update from CVS
2279 - fix NPTL hanging mozilla
2280 - initialize malloc in mALLOPt (fixes problems with squid, #79957)
2281 - make linuxthreads work with dl_dynamic_weak 0
2282 - clear dl_dynamic_weak everywhere
2284 * Tue Dec 17 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-17
2285 - update from CVS
2286 - NPTL socket fixes, flockfile/ftrylockfile/funlockfile fix
2287 - kill -debug sub-package, rename -debug-static to -debug
2288 - clear dl_dynamic_weak for NPTL
2290 * Mon Dec 16 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-16
2291 - fix <bits/mathinline.h> and <bits/nan.h> for C++
2292 - automatically generate NPTL libpthread wrappers
2294 * Mon Dec 16 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-15
2295 - update from CVS
2296 - all functions which need cancellation should now be cancellable
2297 both in libpthread.so and libc.so
2298 - removed @@GLIBC_2.3.2 cancellation wrappers
2300 * Fri Dec 13 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-14
2301 - update from CVS
2302 - replace __libc_lock_needed@GOTOFF(%ebx) with
2303 %gs:offsetof(tcbhead_t, multiple_threads)
2304 - start of new NPTL cancellation wrappers
2306 * Thu Dec 12 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-13
2307 - update from CVS
2308 - use inline locks in malloc
2310 * Tue Dec 10 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-12
2311 - update from CVS
2312 - support LD_ASSUME_KERNEL=2.2.5 in statically linked programs
2314 * Mon Dec 9 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-11
2315 - update from CVS
2316 - rebuilt with gcc-3.2.1-2
2318 * Fri Dec 6 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-10
2319 - update from CVS
2320 - non-nptl --with-tls --without-__thread FLOATING_STACKS libpthread
2321 should work now
2322 - faster libc locking when using nptl
2323 - add OUTPUT_FORMAT to linker scripts
2324 - fix x86_64 sendfile (#79111)
2326 * Wed Dec 4 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-9
2327 - update from CVS
2328 - RUSCII support (#78906)
2329 - for nptl builds add BuildRequires
2330 - fix byteswap.h for non-gcc (#77689)
2331 - add nptl-devel package
2333 * Tue Dec 3 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-8
2334 - update from CVS
2335 - make --enable-kernel=2.2.5 --with-tls --without-__thread
2336 ld.so load nptl and other --with-__thread libs
2337 - disable nptl by default for now
2339 * Wed Nov 27 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-7
2340 - update from CVS
2341 - restructured redhat/Makefile and spec, so that src.rpm contains
2342 glibc-<date>.tar.bz2, glibc-redhat-<date>.tar.bz2 and glibc-redhat.patch
2343 - added nptl
2345 * Fri Nov 8 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-6
2346 - update from CVS
2347 - even more regex fixes
2348 - run sed testsuite to check glibc regex
2350 * Thu Oct 24 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-5
2351 - fix LD_DEBUG=statistics and LD_TRACE_PRELINKING in programs
2352 using libpthread.so.
2354 * Thu Oct 24 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-4
2355 - update from CVS
2356 - fixed %a and %A in *printf (#75821)
2357 - fix re_comp memory leaking (#76594)
2359 * Tue Oct 22 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-3
2360 - update from CVS
2361 - some more regex fixes
2362 - fix libpthread.a (#76484)
2363 - fix locale-archive enlarging
2365 * Fri Oct 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-2
2366 - update from CVS
2367 - don't need to use 128K of stacks for DNS lookups
2368 - regex fixes
2369 - updated timezone data e.g. for this year's Brasil DST
2370 changes
2371 - expand ${LIB} in RPATH/RUNPATH/dlopen filenames
2373 * Fri Oct 11 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-1
2374 - update to 2.3.1 final
2375 - support really low thread stack sizes (#74073)
2376 - tzdata update
2378 * Wed Oct 9 2002 Jakub Jelinek <jakub@redhat.com> 2.3-2
2379 - update from CVS
2380 - handle low stack limits
2381 - move s390x into */lib64
2383 * Thu Oct 3 2002 Jakub Jelinek <jakub@redhat.com> 2.3-1
2384 - update to 2.3 final
2385 - fix freopen on libstdc++ <= 2.96 stdin/stdout/stderr (#74800)
2387 * Sun Sep 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-3
2388 - don't prelink -r libc.so on ppc/x86-64/sparc*, it doesn't
2389 speed things up, because they are neither REL arches, nor
2390 ELF_MACHINE_REL_RELATIVE
2391 - fix sparc64 build
2393 * Sun Sep 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-2
2394 - update from CVS
2396 * Sat Sep 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-1
2397 - update from CVS
2398 - prelink on ppc and x86-64 too
2399 - don't remove ppc memset
2400 - instead of listing on which arches to remove glibc-compat
2401 list where it should stay
2403 * Fri Sep 6 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-5
2404 - fix wcsmbs functions with invalid character sets (or malloc
2405 failures)
2406 - make sure __ctype_b etc. compat vars are updated even if
2407 they are copy relocs in the main program
2409 * Thu Sep 5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-4
2410 - fix /lib/libnss1_dns.so.1 (missing __set_h_errno definition
2411 leading to unresolved __set_h_errno symbol)
2413 * Wed Sep 4 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-3
2414 - security fix - increase dns-network.c MAXPACKET to at least
2415 65536 to avoid buffer overrun. Likewise glibc-compat
2416 dns-{host,network}.c.
2418 * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-2
2419 - temporarily add back __ctype_b, __ctype_tolower and __ctype_toupper to
2420 libc.a and export them as @@GLIBC_2.0 symbols, not @GLIBC_2.0
2421 from libc.so - we have still lots of .a libraries referencing
2422 __ctype_{b,tolower,toupper} out there...
2424 * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-1
2425 - update from CVS
2426 - 2.2.93 release
2427 - use double instead of single indirection in isXXX macros
2428 - per-locale wcsmbs conversion state
2430 * Sat Aug 31 2002 Jakub Jelinek <jakub@redhat.com> 2.2.92-2
2431 - update from CVS
2432 - fix newlocale/duplocale/uselocale
2433 - disable profile on x86_64 for now
2435 * Sat Aug 31 2002 Jakub Jelinek <jakub@redhat.com> 2.2.92-1
2436 - update from CVS
2437 - 2.2.92 release
2438 - fix gettext after uselocale
2439 - fix locales in statically linked threaded programs
2440 - fix NSS
2442 * Thu Aug 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.91-1
2443 - update from CVS
2444 - 2.2.91 release
2445 - fix fd leaks in locale-archive reader (#72043)
2446 - handle EROFS in build-locale-archive gracefully (#71665)
2448 * Wed Aug 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-27
2449 - update from CVS
2450 - fix re_match (#72312)
2451 - support more than 1024 threads
2453 * Fri Aug 23 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-26
2454 - update from CVS
2455 - fix i386 build
2457 * Thu Aug 22 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-25
2458 - update from CVS
2459 - fix locale-archive loading hang on some (non-primary) locales
2460 (#72122, #71878)
2461 - fix umount problems with locale-archives when /usr is a separate
2462 partition (#72043)
2463 - add LICENSES file
2465 * Fri Aug 16 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-24
2466 - update from CVS
2467 - only mmap up to 2MB of locale-archive on 32-bit machines
2468 initially
2469 - fix fseek past end + fread segfault with mmaped stdio
2470 - include <sys/debugreg.h> which is mistakenly not included
2471 in glibc-devel on IA-32
2473 * Fri Aug 16 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-23
2474 - don't return normalized locale name in setlocale when using
2475 locale-archive
2477 * Thu Aug 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-22
2478 - update from CVS
2479 - optimize for primary system locale
2480 - localedef fixes (#71552, #67705)
2482 * Wed Aug 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-21
2483 - fix path to locale-archive in libc reader
2484 - build locale archive at glibc-common %post time
2485 - export __strtold_internal and __wcstold_internal on Alpha again
2486 - workaround some localedata problems
2488 * Tue Aug 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-20
2489 - update from CVS
2490 - patch out set_thread_area for now
2492 * Fri Aug 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-19
2493 - update from CVS
2494 - GB18030 patch from Yu Shao
2495 - applied Debian patch for getaddrinfo IPv4 vs. IPv6
2496 - fix regcomp (#71039)
2498 * Sun Aug 4 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-18
2499 - update from CVS
2500 - use /usr/sbin/prelink, not prelink (#70376)
2502 * Thu Jul 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-17
2503 - update from CVS
2505 * Thu Jul 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-16
2506 - update from CVS
2507 - ungetc fix (#69586)
2508 - fseek errno fix (#69589)
2509 - change *etrlimit prototypes for C++ (#68588)
2510 - use --without-tls instead of --disable-tls
2512 * Thu Jul 11 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-15
2513 - set nscd user's shell to /sbin/nologin (#68369)
2514 - fix glibc-compat buffer overflows (security)
2515 - buildrequire prelink, don't build glibc's own copy of it (#67567)
2516 - update from CVS
2517 - regex fix (#67734)
2518 - fix unused warnings (#67706)
2519 - fix freopen with mmap stdio (#67552)
2520 - fix realloc (#68499)
2522 * Tue Jun 25 2002 Bill Nottingham <notting@redhat.com> 2.2.90-14
2523 - update from CVS
2524 - fix argp on long words
2525 - update atime in libio
2527 * Sat Jun 22 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-13
2528 - update from CVS
2529 - a thread race fix
2530 - fix readdir on invalid dirp
2532 * Wed Jun 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-12
2533 - update from CVS
2534 - don't use __thread in headers
2535 - fix system(3) in threaded apps
2536 - update prelink, so that it is possible to prelink -u libc.so.6.1
2537 on Alpha
2539 * Fri Jun 7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-11
2540 - update from CVS
2541 - fix __moddi3 (#65612, #65695)
2542 - fix ether_line (#64427)
2543 - fix setvbuf with mmap stdio (#65864)
2544 - --disable-tls for now, waiting for kernel
2545 - avoid duplication of __divtf3 etc. on IA-64
2546 - make sure get*ent_r and _IO_wfile_jumps are exported (#62278)
2548 * Tue May 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-10
2549 - update from CVS
2550 - fix Alpha pthread bug with gcc 3.1
2552 * Fri Apr 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-35
2553 - fix nice
2555 * Mon Apr 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-34
2556 - add relocation dependencies even for weak symbols (#63422)
2557 - stricter check_fds check for suid/sgid binaries
2558 - run make check at %%install time
2560 * Sat Apr 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-33
2561 - handle Dec 31 1969 in mktime for timezones west of GMT (#63369)
2562 - back out do-lookup.h change (#63261, #63305)
2563 - use "memory" clobber instead all the fancy stuff in i386/i686/bits/string.h
2564 since lots of compilers break on it
2565 - fix sparc build with gcc 3.1
2566 - fix spec file for athlon
2568 * Tue Apr 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-32
2569 - fix debugging of threaded apps (#62804)
2570 - fix DST for Estonia (#61494)
2571 - document that pthread_mutexattr_?etkind_np are deprecated
2572 and pthread_mutexattr_?ettype should be used instead in man
2573 pages (#61485)
2574 - fix libSegFault.so undefined externals
2576 * Fri Apr 5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-31
2577 - temporarily disable prelinking ld.so, as some statically linked
2578 binaries linked against debugging versions of old glibcs die on it
2579 (#62352)
2580 - fix <semaphore.h> for -std=c99 (#62516)
2581 - fix ether_ntohost segfault (#62397)
2582 - remove in glibc_post_upgrade on i386 all /lib/i686/libc-*.so,
2583 /lib/i686/libm-*.so and /lib/i686/libpthread-*.so, not just current
2584 version (#61633)
2585 - prelink -r on alpha too
2587 * Thu Mar 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-30
2588 - update GB18030 iconv module (Yu Shao)
2590 * Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-29
2591 - features.h fix
2593 * Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-28
2594 - update from CVS
2595 - fix nscd with huge groups
2596 - fix nis to not close fds it shouldn't
2597 - rebuilt against newer glibc-kernheaders to use the correct
2598 PATH_MAX
2599 - handle .athlon.rpm glibc the same way as .i686.rpm
2600 - add a couple of .ISO-8859-15 locales (#61922)
2601 - readd temporarily currencies which were superceeded by Euro
2602 into the list of accepted currencies by localedef to make
2603 standard conformance testsuites happy
2604 - temporarily moved __libc_waitpid back to make Sun JDK happy
2605 - use old malloc code
2606 - prelink i686/athlon ld.so and prelink -r i686/athlon libc.so
2608 * Thu Mar 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-27
2609 - update from CVS
2610 - fix DST handling for southern hemisphere (#60747)
2611 - fix daylight setting for tzset (#59951)
2612 - fix ftime (#60350)
2613 - fix nice return value
2614 - fix a malloc segfault
2615 - temporarily moved __libc_wait, __libc_fork and __libc_stack_end
2616 back to what they used to be exported at
2617 - censorship (#60758)
2619 * Thu Feb 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-26
2620 - update from CVS
2621 - use __attribute__((visibility(...))) if supported, use _rtld_local
2622 for ld.so only objects
2623 - provide libc's own __{,u}{div,mod}di3
2625 * Wed Feb 27 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-25
2626 - switch back to 2.2.5, mmap stdio needs work
2628 * Mon Feb 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-8
2629 - fix two other mmap stdio bugs (#60228)
2631 * Thu Feb 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-7
2632 - fix yet another mmap stdio bug (#60145)
2634 * Tue Feb 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-6
2635 - fix mmap stdio bug (seen on ld as File truncated error, #60043)
2636 - apply Andreas Schwab's fix for pthread sigwait
2637 - remove /lib/i686/ libraries in glibc_post_upgrade when
2638 performing i386 glibc install
2640 * Thu Feb 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-5
2641 - update to CVS
2642 - added glibc-utils subpackage
2643 - disable autoreq in glibc-debug
2644 - readd %%lang() to locale files
2646 * Fri Feb 7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-4
2647 - update to CVS
2648 - move glibc private symbols to GLIBC_PRIVATE symbol version
2650 * Wed Jan 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-3
2651 - fix a sqrt bug on alpha which caused SHN_UNDEF $__full_ieee754_sqrt..ng
2652 symbol in libm
2654 * Tue Jan 8 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-2
2655 - add debug-static package
2657 * Mon Dec 31 2001 Jakub Jelinek <jakub@redhat.com> 2.2.90-1
2658 - update from CVS
2659 - remove -D__USE_STRING_INLINES
2660 - add debug subpackage to trim glibc and glibc-devel size
2662 * Wed Oct 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-19
2663 - fix strsep
2665 * Fri Sep 28 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-18
2666 - fix a ld.so bug with duplicate searchlists in l_scope
2667 - fix erfcl(-inf)
2668 - turn /usr/lib/librt.so into linker script
2670 * Wed Sep 26 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-17
2671 - fix a ld.so lookup bug after lots of dlopen calls
2672 - fix CMSG_DATA for non-gcc non-ISOC99 compilers (#53984)
2673 - prelinking support for Sparc64
2675 * Fri Sep 21 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-16
2676 - update from CVS to fix DT_SYMBOLIC
2677 - prelinking support for Alpha and Sparc
2679 * Tue Sep 18 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-15
2680 - update from CVS
2681 - linuxthreads now retries if -1/EINTR is returned from
2682 reading or writing to thread manager pipe (#43742)
2683 - use DT_FILTER in librt.so (#53394)
2684 - update glibc prelink patch so that it handles filters
2685 - fix timer_* with SIGEV_NONE (#53494)
2686 - make glibc_post_upgrade work on PPC (patch from Franz Sirl)
2688 * Mon Sep 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-14
2689 - fix build on sparc32
2690 - 2.2.4-13 build for some reason missed some locales
2691 on alpha/ia64
2693 * Mon Sep 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-13
2694 - fix iconvconfig
2696 * Mon Sep 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-12
2697 - add fam to /etc/rpc (#52863)
2698 - fix <inttypes.h> for C++ (#52960)
2699 - fix perror
2701 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-11
2702 - fix strnlen(x, -1)
2704 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-10
2705 - doh, <bits/libc-lock.h> should only define __libc_rwlock_t
2706 if __USE_UNIX98.
2708 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-9
2709 - fix bits/libc-lock.h so that gcc can compile
2710 - fix s390 build
2712 * Fri Aug 24 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-8
2713 - kill stale library symlinks in ldconfig (#52350)
2714 - fix inttypes.h for G++ < 3.0
2715 - use DT_REL*COUNT
2717 * Wed Aug 22 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-7
2718 - fix strnlen on IA-64 (#50077)
2720 * Thu Aug 16 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-6
2721 - glibc 2.2.4 final
2722 - fix -lpthread -static (#51672)
2724 * Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-5
2725 - doh, include libio/tst-swscanf.c
2727 * Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-4
2728 - don't crash on catclose(-1)
2729 - fix wscanf %[] handling
2730 - fix return value from swprintf
2731 - handle year + %U/%W week + week day in strptime
2733 * Thu Aug 9 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-3
2734 - update from CVS to
2735 - fix strcoll (#50548)
2736 - fix seekdir (#51132)
2737 - fix memusage (#50606)
2738 - don't make gconv-modules.cache %%config file, just don't verify
2739 its content.
2741 * Mon Aug 6 2001 Jakub Jelinek <jakub@redhat.com>
2742 - fix strtod and *scanf (#50723, #50724)
2744 * Sat Aug 4 2001 Jakub Jelinek <jakub@redhat.com>
2745 - update from CVS
2746 - fix iconv cache handling
2747 - glibc should not own %{_infodir}, %{_mandir} nor %{_mandir}/man3 (#50673)
2748 - add gconv-modules.cache as emtpy config file (#50699)
2749 - only run iconvconfig if /usr is mounted read-write (#50667)
2751 * Wed Jul 25 2001 Jakub Jelinek <jakub@redhat.com>
2752 - move iconvconfig from glibc-common into glibc subpackage,
2753 call it from glibc_post_upgrade instead of common's post.
2755 * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
2756 - turn off debugging printouts in iconvconfig
2758 * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
2759 - update from CVS
2760 - fix IA-32 makecontext
2761 - make fflush(0) thread-safe (#46446)
2763 * Mon Jul 23 2001 Jakub Jelinek <jakub@redhat.com>
2764 - adjust prelinking DT_* and SHT_* values in elf.h
2765 - update from CVS
2766 - iconv cache
2767 - make iconv work in SUID/SGID programs (#34611)
2769 * Fri Jul 20 2001 Jakub Jelinek <jakub@redhat.com>
2770 - update from CVS
2771 - kill non-pic code in libm.so
2772 - fix getdate
2773 - fix some locales (#49402)
2774 - rebuilt with binutils-2.11.90.0.8-5 to place .interp section
2775 properly in libBrokenLocale.so, libNoVersion.so and libanl.so
2776 - add floating stacks on IA-64, Alpha, Sparc (#49308)
2778 * Mon Jul 16 2001 Jakub Jelinek <jakub@redhat.com>
2779 - make /lib/i686 directory owned by glibc*.i686.rpm
2781 * Mon Jul 9 2001 Jakub Jelinek <jakub@redhat.com>
2782 - remove rquota.[hx] headers which are now provided by quota (#47141)
2783 - add prelinking patch
2785 * Thu Jul 5 2001 Jakub Jelinek <jakub@redhat.com>
2786 - require sh-utils for nscd
2788 * Mon Jun 25 2001 Jakub Jelinek <jakub@redhat.com>
2789 - update from CVS (#43681, #43350, #44663, #45685)
2790 - fix ro_RO bug (#44644)
2792 * Wed Jun 6 2001 Jakub Jelinek <jakub@redhat.com>
2793 - fix a bunch of math bugs (#43210, #43345, #43346, #43347, #43348, #43355)
2794 - make rpc headers -ansi compilable (#42390)
2795 - remove alphaev6 optimized memcpy, since there are still far too many
2796 broken apps which call memcpy where they should call memmove
2797 - update from CVS to (among other things):
2798 - fix tanhl bug (#43352)
2800 * Tue May 22 2001 Jakub Jelinek <jakub@redhat.com>
2801 - fix #include <signal.h> with -D_XOPEN_SOURCE=500 on ia64 (#35968)
2802 - fix a dlclose reldeps handling bug
2803 - some more profiling fixes
2804 - fix tgmath.h
2806 * Thu May 17 2001 Jakub Jelinek <jakub@redhat.com>
2807 - make ldconfig more quiet
2808 - fix LD_PROFILE on i686 (#41030)
2810 * Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
2811 - fix the hardlink program, so that it really catches all files with
2812 identical content
2813 - add a s390x clone fix
2815 * Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
2816 - fix rpc for non-threaded apps using svc_fdset and similar variables (#40409)
2817 - fix nss compatibility DSO versions for alphaev6
2818 - add a hardlink program instead of the shell 3x for plus cmp -s/link
2819 which takes a lot of time during build
2820 - rework BuildPreReq and Conflicts with gcc, so that
2821 it applies only where it has to
2823 * Fri May 11 2001 Jakub Jelinek <jakub@redhat.com>
2824 - fix locale name of ja_JP in UTF-8 (#39783)
2825 - fix re_search_2 (#40244)
2826 - fix memusage script (#39138, #39823)
2827 - fix dlsym(RTLD_NEXT, ) from main program (#39803)
2828 - fix xtrace script (#39609)
2829 - make glibc conflict with glibc-devel 2.2.2 and below (to make sure
2830 libc_nonshared.a has atexit)
2831 - fix getconf LFS_CFLAGS on 64bitters
2832 - recompile with gcc-2.96-84 or above to fix binary compatibility problem
2833 with __frame_state_for function (#37933)
2835 * Fri Apr 27 2001 Jakub Jelinek <jakub@redhat.com>
2836 - glibc 2.2.3 release
2837 - fix strcoll (#36539)
2838 - add BuildPreReqs (#36378)
2840 * Wed Apr 25 2001 Jakub Jelinek <jakub@redhat.com>
2841 - update from CVS
2843 * Fri Apr 20 2001 Jakub Jelinek <jakub@redhat.com>
2844 - update from CVS
2845 - fix sparc64, ia64
2846 - fix some locale syntax errors (#35982)
2848 * Wed Apr 18 2001 Jakub Jelinek <jakub@redhat.com>
2849 - update from CVS
2851 * Wed Apr 11 2001 Jakub Jelinek <jakub@redhat.com>
2852 - update from CVS
2854 * Fri Apr 6 2001 Jakub Jelinek <jakub@redhat.com>
2855 - support even 2.4.0 kernels on ia64, sparc64 and s390x
2856 - include UTF-8 locales
2857 - make gconv-modules %%config(noreplace)
2859 * Fri Mar 23 2001 Jakub Jelinek <jakub@redhat.com>
2860 - back out sunrpc changes
2862 * Wed Mar 21 2001 Jakub Jelinek <jakub@redhat.com>
2863 - update from CVS
2864 - fix ia64 build
2865 - fix pthread_getattr_np
2867 * Fri Mar 16 2001 Jakub Jelinek <jakub@redhat.com>
2868 - update from CVS
2869 - run atexit() registered functions at dlclose time if they are in shared
2870 libraries (#28625)
2871 - add pthread_getattr_np API to make JVM folks happy
2873 * Wed Mar 14 2001 Jakub Jelinek <jakub@redhat.com>
2874 - require 2.4.1 instead of 2.4.0 on platforms where it required 2.4 kernel
2875 - fix ldd behaviour on unresolved symbols
2876 - remove nonsensical ldconfig warning, update osversion for the most
2877 recent library with the same soname in the same directory instead (#31703)
2878 - apply selected patches from CVS
2879 - s390x spec file changes from Florian La Roche
2881 * Wed Mar 7 2001 Jakub Jelinek <jakub@redhat.com>
2882 - fix gencat (#30894)
2883 - fix ldconfig changes from yesterday, fix LD_ASSUME_KERNEL handling
2885 * Tue Mar 6 2001 Jakub Jelinek <jakub@redhat.com>
2886 - update from CVS
2887 - make pthread_attr_setstacksize consistent before and after pthread manager
2888 is started (#28194)
2889 - pass back struct sigcontext from pthread signal wrapper (on ia32 only so
2890 far, #28493)
2891 - on i686 ship both --enable-kernel 2.2.5 and 2.4.0 libc/libm/libpthread,
2892 make ld.so pick the right one
2894 * Sat Feb 17 2001 Preston Brown <pbrown@redhat.com>
2895 - glib-common doesn't require glibc, until we can figure out how to get out of dependency hell.
2897 * Sat Feb 17 2001 Jakub Jelinek <jakub@redhat.com>
2898 - make glibc require particular version of glibc-common
2899 and glibc-common prerequire glibc.
2901 * Fri Feb 16 2001 Jakub Jelinek <jakub@redhat.com>
2902 - glibc 2.2.2 release
2903 - fix regex REG_ICASE bug seen in ksymoops
2905 * Sat Feb 10 2001 Jakub Jelinek <jakub@redhat.com>
2906 - fix regexec leaking memory (#26864)
2908 * Fri Feb 9 2001 Jakub Jelinek <jakub@redhat.com>
2909 - update from CVS
2910 - fix ia64 build with gnupro
2911 - make regex 64bit clean
2912 - fix tgmath make check failures on alpha
2914 * Tue Feb 6 2001 Jakub Jelinek <jakub@redhat.com>
2915 - update again for ia64 DF_1_INITFIRST
2917 * Fri Feb 2 2001 Jakub Jelinek <jakub@redhat.com>
2918 - update from CVS
2919 - fix getaddrinfo (#25437)
2920 - support DF_1_INITFIRST (#25029)
2922 * Wed Jan 24 2001 Jakub Jelinek <jakub@redhat.com>
2923 - build all auxiliary arches with --enablekernel 2.4.0, those wanting
2924 to run 2.2 kernels can downgrade to the base architecture glibc.
2926 * Sat Jan 20 2001 Jakub Jelinek <jakub@redhat.com>
2927 - remove %%lang() flags from %%{_prefix}/lib/locale files temporarily
2929 * Sun Jan 14 2001 Jakub Jelinek <jakub@redhat.com>
2930 - update to 2.2.1 final
2931 - fix a pthread_kill_other_threads_np breakage (#23966)
2932 - make static binaries using dlopen work on ia64 again
2933 - fix a typo in glibc-common group
2935 * Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
2936 - devel requires glibc = %%{version}
2937 - noreplace /etc/nscd.conf
2939 * Wed Jan 10 2001 Jakub Jelinek <jakub@redhat.com>
2940 - some more security fixes:
2941 - don't look up LD_PRELOAD libs in cache for SUID apps
2942 (because that bypasses SUID bit checking on the library)
2943 - place output files for profiling SUID apps into /var/profile,
2944 use O_NOFOLLOW for them
2945 - add checks for $MEMUSAGE_OUTPUT and $SEGFAULT_OUTPUT_NAME
2946 - hardlink identical locale files together
2947 - add %%lang() tags to locale stuff
2948 - remove ko_KR.utf8 for now, it is provided by locale-utf8 package
2950 * Mon Jan 8 2001 Jakub Jelinek <jakub@redhat.com>
2951 - add glibc-common subpackage
2952 - fix alphaev6 memcpy (#22494)
2953 - fix sys/cdefs.h (#22908)
2954 - don't define stdin/stdout/stderr as macros for -traditional (#22913)
2955 - work around a bug in IBM JDK (#22932, #23012)
2956 - fix pmap_unset when network is down (#23176)
2957 - move nscd in rc.d before netfs on shutdown
2958 - fix $RESOLV_HOST_CONF in SUID apps (#23562)
2960 * Fri Dec 15 2000 Jakub Jelinek <jakub@redhat.com>
2961 - fix ftw and nftw
2963 * Wed Dec 13 2000 Jakub Jelinek <jakub@redhat.com>
2964 - fix fcvt (#22184)
2965 - ldd /lib/ld-linux.so.2 is not crashing any longer again (#22197)
2966 - fix gencat
2968 * Mon Dec 11 2000 Jakub Jelinek <jakub@redhat.com>
2969 - fix alpha htonl and alphaev6 stpcpy
2971 * Sat Dec 9 2000 Jakub Jelinek <jakub@redhat.com>
2972 - update to CVS to:
2973 - fix getnameinfo (#21934)
2974 - don't stomp on memory in rpath handling (#21544)
2975 - fix setlocale (#21507)
2976 - fix libNoVersion.so.1 loading code (#21579)
2977 - use auxarches define in spec file for auxiliary
2978 architectures (#21219)
2979 - remove /usr/share directory from filelist (#21218)
2981 * Sun Nov 19 2000 Jakub Jelinek <jakub@redhat.com>
2982 - update to CVS to fix getaddrinfo
2984 * Fri Nov 17 2000 Jakub Jelinek <jakub@redhat.com>
2985 - update to CVS to fix freopen
2986 - remove all alpha workarounds, not needed anymore
2988 * Wed Nov 15 2000 Jakub Jelinek <jakub@redhat.com>
2989 - fix dladdr bug on alpha/sparc32/sparc64
2990 - fix Makefiles so that they run static tests properly
2992 * Tue Nov 14 2000 Jakub Jelinek <jakub@redhat.com>
2993 - update to CVS to fix ldconfig
2995 * Thu Nov 9 2000 Jakub Jelinek <jakub@redhat.com>
2996 - update to glibc 2.2 release
2998 * Mon Nov 6 2000 Jakub Jelinek <jakub@redhat.com>
2999 - update to CVS to:
3000 - export __sysconf@@GLIBC_2.2 (#20417)
3002 * Fri Nov 3 2000 Jakub Jelinek <jakub@redhat.com>
3003 - merge to 2.1.97
3005 * Mon Oct 30 2000 Jakub Jelinek <jakub@redhat.com>
3006 - update to CVS, including:
3007 - fix WORD_BIT/LONG_BIT definition in limits.h (#19088)
3008 - fix hesiod (#19375)
3009 - set LC_MESSAGES in zic/zdump for proper error message output (#19495)
3010 - fix LFS fcntl when used with non-LFS aware kernels (#19730)
3012 * Thu Oct 19 2000 Jakub Jelinek <jakub@redhat.com>
3013 - fix alpha semctl (#19199)
3014 - update to CVS, including:
3015 - fix glibc headers for Compaq non-gcc compilers
3016 - fix locale alias handling code (#18832)
3017 - fix rexec on little endian machines (#18886)
3018 - started writing changelog again
3020 * Thu Aug 10 2000 Adrian Havill <havill@redhat.com>
3021 - added ja ujis alias for backwards compatibility