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