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