Updated to fedora-glibc-20041213T2323
[glibc.git] / fedora / glibc.spec.in
blob7ebb22e30dddeb1275f5403a1ce3df419253bf74
1 %define glibcrelease 91
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 * Tue Dec 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-91
1269 - update from CVS
1270 - double buffer size in getXXbyYY or getXXent on ERANGE
1271 instead of adding BUFLEN (#142617)
1272 - avoid busy loop in malloc if another thread is doing fork
1273 (#142214)
1274 - some more realloc corruption checks
1275 - fix getconf _POSIX_V6_WIDTH_RESTRICTED_ENVS output,
1276 tweak %{_prefix}/libexec/getconf/ filenames
1278 * Fri Dec 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-90
1279 - update from CVS
1280 - regex speedups
1281 - use | cat in ldd if running under bash3+ to allow running
1282 it on binaries that are not through SELinux allowed to access
1283 console or tty
1284 - add __NR_waitid defines for alpha and ia64
1286 * Wed Dec 8 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-89
1287 - update from CVS
1288 - fix clone2 on ia64
1289 - avoid tst-timer5 failing with linuxthreads implementation
1290 - if __libc_enable_secure, disallow mode != normal
1291 - change ldd script to imply -r when -u is used, properly
1292 propagate return value and handle suid binaries
1294 * Tue Dec 7 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-88
1295 - update from CVS
1296 - disregard LD_SHOW_AUXV and LD_DYNAMIC_WEAK if __libc_enable_secure
1297 - disregard LD_DEBUG if __libc_enable_secure in normal mode
1298 if /suid-debug doesn't exist
1299 - fix fseekpos after ungetc
1300 - avoid reading bytes before start of buffers in regex's
1301 check_dst_limits_calc_pos_1 (#142060)
1302 - make getpid () working with clone/clone2 without CLONE_THREAD
1303 (so far on i386/x86_64/ia64 only)
1304 - move %{_prefix}/libexec/getconf/* to glibc from glibc-common
1305 - make %{_prefix}/libexec/getconf directory owned by glibc package
1307 * Fri Dec 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-87
1308 - update from CVS
1309 - build libpthread_nonshared.a objects with -fPIC on s390/s390x
1310 - fix mktime with < 0 or > 59 tm_sec on entry
1311 - remove nonnull attribute for realpath
1312 - add $(make-target-directory) for errlist-compat.c rule
1313 (hopefully fix #141404)
1314 - add testcase for ungetc bug
1315 - define _POSIX_{,THREAD_}CPUTIME to 0 on all Linux arches
1317 * Tue Nov 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-86
1318 - update from CVS
1319 - some posix_opt.h fixes
1320 - fix strtold use of unitialized memory (#141000)
1321 - some more bugfixes for bugs detected by valgrind
1322 - rebuilt with GCC >= 3.4.3-5 to avoid packed stack layout
1323 on s390{,x} (#139678)
1325 * Fri Nov 26 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-85
1326 - update from CVS
1327 - support -v specification in getconf
1328 - fix sysconf (_SC_LFS64_CFLAGS) etc.
1329 - avoid thread stack aliasing issues on EM64T (#140803)
1330 - move %{_prefix}/include/nptl headers from nptl-devel
1331 to glibc-headers, so that even NPTL specific programs
1332 can be built bi-arch without problems
1334 * Wed Nov 24 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-84
1335 - update from CVS
1336 - fix memory leak in getaddrinfo if using nscd (#139559)
1337 - handle large lines in /etc/hosts and /etc/networks
1338 (#140378)
1339 - add nonnull attributes to selected dirent.h and dlfcn.h
1340 functions
1342 * Sun Nov 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-83
1343 - update from CVS
1344 - add deprecated and/or nonnull attribute to some signal.h
1345 functions
1346 - speed up tzset () by only using stat instead of open/fstat
1347 when calling tzset for the second and following time if
1348 /etc/localtime has not changed
1349 - fix tgamma (BZ #552)
1351 * Sat Nov 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-82
1352 - update from CVS
1353 - some malloc () checking
1354 - libpthread.a object dependency cleanups (#115157)
1355 - <bits/socket.h> fix for -std=c89 -pedantic-errors (#140132)
1357 * Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-81
1358 - don't use chunksize in <= 2 * SIZE_SZ free () checks
1360 * Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-80
1361 - update from CVS
1362 - with -D_FORTIFY_SOURCE=2, prevent missing %N$ formats
1363 - for -D_FORTIFY_SOURCE=2 and %n in writable format string,
1364 issue special error message instead of using the buffer overflow
1365 detected one
1366 - speedup regex searching with REG_NOSUB, add RE_NO_SUB,
1367 speedup searching with nested subexps (BZ #544)
1368 - block SIGCANCEL in NPTL timer_* helper thread
1369 - further free () checking
1371 * Tue Nov 16 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-79
1372 - update from CVS
1373 - fix free () checking
1374 - move /etc/default/nss into glibc-common (hopefully fix #132392)
1376 * Mon Nov 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-78
1377 - update from CVS
1378 - fix LD_DEBUG=statistics
1379 - issue error message before aborting in __chk_fail ()
1380 - some more free () checking
1382 * Fri Nov 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-77
1383 - update from CVS
1384 - speedup regex on palindromes (BZ #429)
1385 - fix NPTL set{,e,re,res}[ug]id, so that even if making process
1386 less priviledged all threads change their credentials successfully
1388 * Wed Nov 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-76
1389 - update from CVS
1390 - fix regcomp crash (#138439)
1391 - fix ftell{,o,o64} (#137885)
1392 - robustification of nscd to cope with corrupt databases (#137140)
1393 - fix NPTL with pthread_exit immediately after pthread_create (BZ #530)
1394 - some regex optimizations
1396 * Tue Nov 2 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-75
1397 - update from CVS
1398 - mktime cleanups (BZ #487, #473)
1399 - unique comments in free(3) check error messages
1400 - adjust some x86_64 headers for -m32 (#129712)
1401 - object size checking support even with GCC-3.4.2-RH >= 3.4.2-8
1403 * Wed Oct 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-74
1404 - fix <netinet/udp.h> header
1405 - fix globfree (#137176)
1406 - fix exiting if there are dlmopened libraries in namespaces
1407 other than main one not closed yet
1408 - export again _res_opcodes and __p_{class,type}_syms from
1409 libresolv.so that were lost in -69
1411 * Thu Oct 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-73
1412 - remove setaltroot and key{_add,_request,ctl} also from Versions
1413 - back out _sys_errlist changes
1415 * Thu Oct 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-72
1416 - back out setaltroot and key{_add,_request,ctl} addition
1417 - fix severe x86-64 symbol versioning regressions that breaks
1418 e.g. java binaries
1420 * Wed Oct 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-71
1421 - update from CVS
1422 - fix minor catchsegv temp file handling vulnerability
1423 (CAN-2004-0968, #136319)
1424 - add 4 new errno codes
1425 - setaltroot, key{_add,_request,ctl} syscalls on some arches
1426 - export _dl_debug_state@GLIBC_PRIVATE from ld.so again for
1427 gdb purpose
1428 - use inet_pton to decide what is address and what is hostname
1429 in getent (#135422)
1430 - change dladdr/dladdr1, so that dli_saddr is the same kind
1431 of value as dlsym/dlvsym return (makes difference on ia64/hppa only)
1432 - fix catchsegv script so that it works with both 32-bit and 64-bit
1433 programs on multi-arch platforms
1435 * Tue Oct 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-70
1436 - update from CVS
1437 - require newer selinux-policy (#135978)
1438 - add %%dir for /var/run/nscd and /var/db/nscd and %%ghost
1439 files in it
1440 - conflict with gcc4 4.0.0-0.6 and earlier (needs __builtin_object_size)
1442 * Mon Oct 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-69
1443 - update from CVS
1444 - object size checking support (-D_FORTIFY_SOURCE={1,2})
1446 * Thu Oct 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-68
1447 - update from CVS
1448 - support for namespaces in the dynamic linker
1449 - fix dlclose (BZ #77)
1450 - libSegFault.so uses now backtrace() to work on IA-64, x86-64
1451 and s390 (#130254)
1453 * Tue Oct 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-67
1454 - update from CVS
1455 - use non-blocking sockets in resolver (#135234)
1456 - reset pd->res options on thread exit, so that threads
1457 reusing cached stacks get resolver state properly initialized
1458 (BZ #434)
1460 * Wed Oct 6 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-66
1461 - update from CVS
1462 - avoid using perl in the spec file, buildrequire sed >= 3.95
1463 (#127671)
1464 - export TIMEOUTFACTOR=16
1465 - fix _JMPBUF_CFA_UNWINDS_ADJ on s390{,x}
1467 * Tue Oct 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-65
1468 - update from CVS
1469 - define _POSIX_THREAD_PROCESS_SHARED and _POSIX_CLOCK_SELECTION
1470 to -1 in LinuxThreads
1471 - define _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME to 0
1472 on i?86/ia64 and make sure sysconf (_SC_{,THREAD_}CPUTIME)
1473 returns correct value
1474 - if _POSIX_CLOCK_SELECTION == -1 in nscd, still try
1475 sysconf (_SC_CLOCK_SELECTION) and if it returns true,
1476 dlopen libpthread.so and dlsym pthread_condattr_setclock
1477 - build nscd with -z relro and -z now
1479 * Mon Oct 4 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-64
1480 - update from CVS
1481 - stop using __builtin_expect in assert and assert_perror
1482 (#127606)
1483 - try to avoid too much VA fragmentation with malloc
1484 on flexmap layout (#118574)
1485 - nscd robustification
1486 - change valloc to use debugging hooks (#134385)
1487 - make glibc_post_upgrade more verbose on errors (Fergal Daly,
1488 #125700)
1490 * Fri Oct 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-63
1491 - update from CVS
1492 - fix __nscd_getgrouplist
1493 - fix a typo in x86_64 pthread_mutex_timedwait fix
1495 * Fri Oct 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-62
1496 - update from CVS
1497 - fix NPTL pthread_mutex_timedwait on i386/x86_64 (BZ #417)
1499 * Thu Sep 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-61
1500 - update from CVS
1501 - some nscd fixes (#134193)
1502 - cache initgroups in nscd (#132850)
1503 - reread /etc/localtime in tzset () even if just mtime changed
1504 (#133481)
1505 - fix glob (#126460)
1506 - another get_myaddress fix
1508 * Wed Sep 29 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-60
1509 - update from CVS
1510 - fix get_myaddress (#133982)
1511 - remove nonnull attribute from second utime argument (#133866)
1512 - handle SIGSETXID the same way as SIGCANCEL in
1513 sigaction/pthread_kill/sigwait/sigwaitinfo etc.
1514 - add __extension__ to long long types in NPTL <bits/pthreadtypes.h>
1516 * Mon Sep 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-59
1517 - update from CVS
1518 - fix BZ #151, #362, #381, #407
1519 - fdim fix for +inf/+inf (BZ #376)
1521 * Sun Sep 26 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-58
1522 - update from CVS
1523 - vasprintf fix (BZ #346)
1524 - gettext locking (BZ #322)
1525 - change linuxthreads useldt.h inclusion login again, the last
1526 one failed all linuxthreads FLOATING_STACKS tests
1528 * Sat Sep 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-57
1529 - update from CVS
1530 - fix setuid in LD_ASSUME_KERNEL=2.2.5 libc (#133558)
1531 - fix nis locking (#132204)
1532 - RTLD_DEEPBIND support
1533 - fix pthread_create bugs (BZ #401, #405)
1535 * Wed Sep 22 2004 Roland McGrath <roland@redhat.com> 2.3.3-56
1536 - migrated CVS to fedora-branch in sources.redhat.com glibc repository
1537 - source tarballs renamed
1538 - redhat/ moved to fedora/, some old cruft removed
1539 - update from trunk
1540 - some __nonnull annotations
1542 * Wed Sep 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-55
1543 - update from CVS
1544 - set{re,e,res}[ug]id now affect the whole process in NPTL
1545 - return EAGAIN instead of ENOMEM when not enough memory
1546 in pthread_create
1548 * Fri Sep 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-54
1549 - update from CVS
1550 - nscd getaddrinfo caching
1552 * Tue Sep 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-53
1553 - restore temporarily old definition of __P()/__PMT()
1554 for third party apps
1556 * Tue Sep 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-52
1557 - update from CVS
1558 - nscd bi-arch fix
1559 - remove all uses of __P()/__PMT() from glibc headers
1560 - update and reenable nscd SELinux patch
1561 - remove libnss1* and libnss*.so.1 compatibility NSS modules
1562 on IA-32, SPARC and Alpha
1564 * Fri Sep 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-51
1565 - update from CVS
1566 - disable one of the malloc double free checks for non-contiguous
1567 arenas where it doesn't have to be true even for non-broken
1568 apps
1570 * Thu Sep 9 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-50
1571 - update from CVS
1572 - pwd/grp/host loops with nscd speed up by sharing the
1573 nscd cache r/o with applications
1574 - inexpensive double free check in free(3)
1575 - make NPTL pthread.h initializers usable even from C++
1576 (BZ #375)
1577 - use atomic instructions even in i386 nscd on i486+ CPUs
1578 (conditionally)
1580 * Sat Sep 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-49
1581 - update from CVS
1582 - fix linuxthreads tst-cancel{[45],-static}
1584 * Fri Sep 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-48
1585 - update from CVS
1586 - fix pthread_cond_destroy (BZ #342)
1587 - fix fnmatch without FNM_NOESCAPE (BZ #361)
1588 - fix ppc32 setcontext (BZ #357)
1589 - add NPTL support for i386 glibc (only if run on i486 or higher CPU)
1590 - add __NR_waitid defines for i386, x86_64 and sparc*
1592 * Tue Aug 31 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-47
1593 - update from CVS
1594 - persistent nscd caching
1595 - ppc64 32-bit atomicity fix
1596 - fix x86-64 nptl-devel headers for -m32 compilation
1597 - %%ghost /etc/ld.so.cache (#130597)
1598 - edit /etc/ld.so.conf in glibc_post_upgrade if
1599 include ld.so.conf.d/*.conf line is missing (#120588)
1600 - ugly hacks for the IA-64 /emul braindamage (#124996, #128267)
1602 * Sat Aug 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-46
1603 - update from CVS
1605 * Thu Aug 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-45
1606 - update from CVS
1607 - fix nss_compat's initgroups handling (#130363)
1608 - fix getaddrinfo ai_canonname setting
1610 * Thu Aug 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-44
1611 - update from CVS
1612 - add ip6-dotint resolv.conf option, make
1613 no-ip6-dotint the default
1614 - BuildPrereq libselinux-devel (#129946)
1615 - on ppc64, build without dot symbols
1617 * Thu Aug 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-43
1618 - update from CVS
1619 - remove debugging printout (#129747)
1620 - make <sys/shm.h> usable in C++ (IT#45148)
1621 - update RLIMIT_* constants in <bits/resource.h>, make
1622 <sys/resource.h> POSIX compliant (#129740)
1624 * Wed Aug 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-42
1625 - fix last tzset () fixes, disable rereading of /etc/localtime
1626 every time for now
1627 - really enable SELinux support for NSCD
1629 * Wed Aug 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-41
1630 - update from CVS
1631 - fread_unlocked/fwrite_unlocked macro fixes (BZ #309, #316)
1632 - tzset () fixes (BZ #154)
1633 - speed up pthread_rwlock_unlock on arches other than i386 and
1634 x86_64 (#129455)
1635 - fix compilation with -ansi (resp. -std=c89 or -std=c99) and
1636 -D_XOPEN_SOURCE=[56]00 but no -D_POSIX_SOURCE* or -D_POSIX_C_SOURCE*
1637 (BZ #284)
1638 - add SELinux support for NSCD
1640 * Fri Aug 6 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-40
1641 - update from CVS
1642 - change res_init to force all threads to re-initialize
1643 resolver before they use it next time (#125712)
1644 - various getaddrinfo and related fixes (BZ #295, #296)
1645 - fix IBM{932,943} iconv modules (#128674)
1646 - some nscd fixes (e.g. BZ #292)
1647 - RFC 3678 support (Multicast Source Filters)
1648 - handle /lib/i686/librtkaio-* in i386 glibc_post_upgrade
1649 the same as /lib/i686/librt-*
1651 * Fri Jul 23 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-39
1652 - update from CVS
1653 - conformance related changes in headers
1654 - remove -finline-limit=2000 for GCC 3.4.x+
1656 * Thu Jul 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-38
1657 - update from CVS
1658 - fix res_init leaks
1659 - fix newlocale races
1660 - fix ppc64 setjmp
1661 - fix strtold (BZ #274)
1663 * Fri Jul 16 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-37
1664 - update from CVS
1665 - allow pthread_cancel in DSO destructors run at exit time
1666 - fix pow{f,,l} on IA-32 and powl on x86-64
1667 - allow PIEs on IA-32 to have main in a shared library they depend on
1669 * Mon Jul 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-36
1670 - s390* .plt slot reduction
1671 - fix pthread_rwlock_timedrdlock on x86_64
1673 * Wed Jun 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-35
1674 - tweak spec file for the libpthread-0.61.so -> libpthread-2.3.3.so
1675 NPTL changes
1677 * Wed Jun 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-34
1678 - update from CVS
1679 - if_nameindex using preferably netlink
1680 - printf_parsemb initialization fix
1681 - NPTL version is now the same as glibc version
1683 * Mon Jun 28 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-33
1684 - update from CVS
1685 - reread resolv.conf for nscd --invalidate=hosts
1686 - fix F_GETLK/F_SETLK/F_SETLKW constants on x86_64 for
1687 -m32 -D_FILE_OFFSET_BITS=64 compilations
1688 - avoid calling non-existing fcntl64 syscall on ppc64
1690 * Mon Jun 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-32
1691 - update from CVS
1692 - FUTEX_CMP_REQUEUE support (fix pthread_cond_* deadlocks)
1693 - fix backtrace in statically linked programs
1694 - rebuilt with GCC 3.4, adjusted ulps and i386 <bits/string.h>
1696 * Fri May 28 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-31
1697 - update from CVS
1698 - <bits/string2.h> and <bits/mathinline.h> changes for GCC 3.{2,4,5}+
1699 - make c_stubs buildable even with GCC 3.2.x (#123042)
1701 * Fri May 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-30
1702 - fix pthread_cond_wait on architectures other than IA-32 and
1703 x86_64
1705 * Thu May 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-29
1706 - use lib64 instead of lib on ia64 if %%{_lib} is defined to lib64
1708 * Wed May 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-28
1709 - update from CVS
1710 - FUTEX_REQUEUE fixes (#115349)
1711 - SPARC GCC 3.4 build fix
1712 - fix handling of undefined TLS symbols on IA32 (RELA only),
1713 SPARC and SH
1714 - regex translate fix
1715 - speed up sprintf
1716 - x86_64 makecontext alignment fix
1717 - make POSIX sigpause the default sigpause, unless BSD sigpause
1718 requested
1720 * Tue May 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-27
1721 - remove /lib64/tls/librtkaio-2.3.[23].so in glibc_post_upgrade
1722 on x86-64, s390x and ppc64 instead of /lib/tls/librtkaio-2.3.[23].so
1723 - build mq_{send,receive} with -fexceptions
1725 * Fri May 7 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-26
1726 - update from CVS
1727 - fix <tgmath.h>
1728 - fix memory leaks in nis, getifaddrs, etc. caused by incorrect
1729 use of realloc
1730 - remove /lib/{tls,i686}/librtkaio-2.3.[23].so in glibc_post_upgrade
1731 and rerun ldconfig if needed, otherwise after glibc upgrade librt.so.1
1732 might be a stale symlink
1734 * Wed May 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-25
1735 - update from CVS
1736 - disable FUTEX_REQUEUE (work around #115349)
1737 - mq for sparc/sparc64/ia64
1739 * Tue May 4 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-24
1740 - update from CVS
1741 - define S_ISSOCK in -D_XOPEN_SOURCE=600 and S_I[FS]SOCK
1742 plus F_[SG]ETOWN also in -D_XOPEN_SOURCE=500 (both
1743 included already in XNS5)
1744 - reorder dlopen checks, so that dlopening ET_REL objects
1745 complains about != ET_DYN != ET_EXEC, not about phentsize
1746 (#121606)
1747 - fix strpbrk macro for GCC 3.4+ (BZ #130)
1748 - fix <sys/sysctl.h> (BZ #140)
1749 - sched_[gs]etaffinity documentation fix (BZ #131)
1750 - fix sparc64 build (BZ #139)
1751 - change linuxthreads back to use non-cancellable writes
1752 to manager pipes etc.
1753 - fix sem_timedwait return value in linuxthreads (BZ #133)
1754 - ia64 unnecessary PLT relocs removal
1756 * Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-23
1757 - update from CVS
1758 - fix *scanf
1759 - fix shm_unlink, sem_unlink and mq_unlink errno values
1760 - avoid memory leaks in error
1761 - execstack fixes on s390
1763 * Mon Apr 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-22
1764 - update from CVS
1765 - mq and timer fixes
1766 - rebuilt with binutils >= 2.15.90.0.3-2 to fix IA-64 statically
1767 linked binaries
1768 - fix linuxthreads librt.so on s390{,x}, so it is no longer DT_TEXTREL
1770 * Sat Apr 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-21
1771 - disable rtkaio
1772 - update from CVS
1773 - POSIX message passing support
1774 - fixed SIGEV_THREAD support for POSIX timers
1775 - fix free on non-malloced memory in syslog
1776 - fix ffsl on some 64-bit arches
1777 - fix sched_setaffinity on x86-64, ia64
1778 - fix ppc64 umount
1779 - NETID_AUTHORITATIVE, SERVICES_AUTHORITATIVE support
1780 - various NIS speedups
1781 - fix fwrite with > 2GB sizes on 64-bit arches
1782 - fix pthread_getattr_np guardsize reporting in NPTL
1783 - report PLT relocations in ld.so and libc.so during the build
1785 * Fri Mar 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-20
1786 - update from CVS
1787 - change NPTL PTHREAD_MUTEX_ADAPTIVE_NP mutexes to spin on SMP
1788 - strtol speed optimization
1789 - don't try to use certainly unimplemented syscalls on ppc64
1790 - kill -debug subpackage, move the libs to glibc-debuginfo{,-common}
1791 into /usr/lib/debug/usr/%{_lib}/ directory
1792 - fix c_stubs with gcc 3.4
1793 - move all the up to 3 builds into %%build scriptlet and
1794 leave only installation in the %%install scriptlet
1796 * Mon Mar 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-19
1797 - update from CVS
1798 - affinity API changes
1800 * Thu Mar 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-18
1801 - update from CVS
1802 - fix ia64 iopl (#118591)
1803 - add support for /etc/ld.so.conf.d/*.conf
1804 - fix x86-64 LD_DEBUG=statistics
1805 - fix hwcap handling when using ld.so.cache (#118518)
1807 * Mon Mar 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-17
1808 - update from CVS
1809 - implement non-_l function on top of _l functions
1811 * Thu Mar 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-16
1812 - update from CVS
1813 - fix s390{,x} TLS handling
1815 * Wed Mar 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-15
1816 - update from CVS
1817 - special section for compatibility code
1818 - make getpid () work even in vfork () child
1819 - configure with --enable-bind-now to avoid lazy binding in ld.so
1820 and libc.so
1822 * Fri Mar 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-14
1823 - update from CVS
1824 - fix iconv -c (#117021)
1825 - fix PIEs on sparc/sparc64
1826 - fix posix_fadvise on 64-bit architectures
1827 - add locale-archive as %%ghost file (#117014)
1829 * Mon Mar 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-13
1830 - update from CVS
1832 * Fri Feb 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-12
1833 - update from CVS
1835 * Fri Feb 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-11
1836 - update from CVS
1837 - fix ld.so when vDSO is randomized
1839 * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-10
1840 - update from CVS
1842 * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-9
1843 - update from CVS
1845 * Tue Feb 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-8
1846 - update from CVS
1848 * Tue Jan 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-7
1849 - update from CVS
1850 - dl_iterate_phdr extension to signal number of added/removed
1851 libraries
1852 - fix PT_GNU_RELRO support on ppc* with prelinking
1854 * Fri Jan 23 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-6
1855 - rebuilt with fixed GCC on IA-64
1857 * Thu Jan 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-5
1858 - fix PT_GNU_RELRO support
1860 * Wed Jan 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-4
1861 - update from CVS
1862 - some further regex speedups
1863 - fix re.translate handling in regex (#112869)
1864 - change regfree to match old regex behaviour (what is freed
1865 and clearing of freed pointers)
1866 - fix accesses to unitialized memory in regex (#113507, #113425,
1867 #113421)
1868 - PT_GNU_RELRO support
1870 * Tue Dec 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-3
1871 - update from CVS
1872 - fix pmap_set fd and memory leak (#112726)
1873 - fix backreference handling in regex
1874 - rebuilt under glibc without the above bug to fix
1875 libc.so linker script (#112738)
1877 * Mon Dec 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-2
1878 - update from CVS
1879 - faster getpid () in NPTL builds
1880 - fix to make pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, )
1881 really disable cancellation (#112512)
1882 - more regex fixes and speedups
1883 - fix nextafter*/nexttoward*
1884 - handle 6th syscall(3) argument on AMD64
1885 - handle memalign/posix_memalign in mtrace
1886 - fix linuxthreads memory leak (#112208)
1887 - remove throw () from cancellation points in linuxthreads (#112602)
1888 - fix NPTL unregister_atfork
1889 - fix unwinding through alternate signal stacks
1891 * Mon Dec 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-1
1892 - update from CVS
1893 - 2.3.3 release
1894 - lots of regex fixes and speedups (#110401)
1895 - fix atan2
1896 - fix pshared condvars in NPTL
1897 - fix pthread_attr_destroy for attributes created with
1898 pthread_attr_init@GLIBC_2.0
1899 - for the time being, include both nb_NO* and no_NO* as locales
1900 so that the distribution can catch up with the no_NO->nb_NO
1901 transition
1902 - add BuildPrereq texinfo (#110252)
1904 * Tue Nov 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-102
1905 - update from CVS
1906 - fix getifaddrs (CAN-2003-0859)
1907 - fix ftw fd leak
1908 - fix linuxthreads sigaction (#108634)
1909 - fix glibc 2.0 stdio compatibility
1910 - fix uselocale (LC_GLOBAL_LOCALE)
1911 - speed up stdio locking in non-threaded programs on IA-32
1912 - try to maintain correct order of cleanups between those
1913 registered with __attribute__((cleanup))
1914 and with LinuxThreads style pthread_cleanup_push/pop (#108631)
1915 - fix segfault in regex (#109606)
1916 - fix RE_ICASE multi-byte handling in regex
1917 - fix pthread_exit in libpthread.a (#109790)
1918 - FTW_ACTIONRETVAL support
1919 - lots of regex fixes and speedups
1920 - fix ceill/floorl on AMD64
1922 * Mon Oct 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-101
1923 - update from CVS
1924 - fix ld.so --verify (and ldd)
1926 * Mon Oct 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-100
1927 - update from CVS
1928 - fix sprof (#103727)
1929 - avoid infinite loops in {,f}statvfs{,64} with hosed mounts file
1930 - prevent dlopening of executables
1931 - fix glob with GLOB_BRACE and without GLOB_NOESCAPE
1932 - fix locale printing of word values on 64-bit big-endian arches
1933 (#107846)
1934 - fix getnameinfo and getaddrinfo with reverse IPv6 lookups
1935 (#101261)
1937 * Wed Oct 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-99
1938 - update from CVS
1939 - dl_iterate_phdr in libc.a on arches other than IA-64
1940 - LD_DEBUG=statistics prints number of relative relocations
1941 - fix hwcap computation
1942 - NPTL is now part of upstream glibc CVS
1943 - include {st,xh,zu}_ZA{,.UTF-8} locales
1945 * Sat Oct 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-98
1946 - update from CVS
1947 - fix close, pause and fsync (#105348)
1948 - fix pthread_once on IA-32
1949 - implement backtrace () on IA-64, handle -fomit-frame-pointer
1950 in AMD64 backtrace () (#90402)
1952 * Tue Sep 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-97
1953 - update from CVS
1954 - fix <sys/sysmacros.h> with C++ or -ansi or -pedantic C
1955 - fix mknod/ustat return value when given bogus device number (#105768)
1957 * Fri Sep 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-96
1958 - rebuilt
1960 * Fri Sep 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-95
1961 - fix IA-64 getcontext
1963 * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-94
1964 - update from CVS
1965 - fix syslog with non-C non-en_* locales (#61296, #104979)
1966 - filter GLIBC_PRIVATE symbols from glibc provides
1967 - fix NIS+
1969 * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-93
1970 - update from CVS
1971 - assume 2.4.21 kernel features on RHEL/ppc*, so that
1972 {make,set,get,swap}context works
1973 - backout execstack support for RHEL
1974 - build rtkaio on amd64 too
1976 * Wed Sep 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-92
1977 - update from CVS
1978 - execstack/noexecstack support
1979 - build nscd as PIE
1980 - move __libc_stack_end back to @GLIBC_2.1
1981 - build against elfutils >= 0.86 to fix stripping on s390x
1983 * Mon Sep 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-91
1984 - rebuilt
1986 * Mon Sep 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-90
1987 - update from CVS
1988 - NPTL locking change (#102682)
1989 - don't jump around lock on amd64
1991 * Thu Sep 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-89
1992 - fix open_memstream/syslog (#104661)
1994 * Thu Sep 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-88
1995 - update from CVS
1996 - retrieve affinity in pthread_getattr_np
1997 - fix pthread_attr_[gs]etaffinity_np
1998 - handle hex and octal in wordexp
2000 * Wed Sep 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-87
2001 - update from CVS
2002 - truncate instead of round in utimes when utimes syscall is not available
2003 - don't align stack in every glibc function unnecessarily on IA-32
2004 - make sure threads have their stack 16 byte aligned on IA-32
2005 - move sched_[sg]etaffinity to GLIBC_2.3.3 symbol version (#103231)
2006 - fix pthread_getattr_np for the initial thread (#102683)
2007 - avoid linuxthreads signal race (#104368)
2008 - ensure all gzip invocations are done with -n option
2010 * Fri Sep 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-86
2011 - update from CVS
2012 - avoid linking in libgcc_eh.a unnecessarily
2013 - change ssize_t back to long int on s390 -m31, unless
2014 gcc 2.95.x is used
2016 * Wed Sep 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-85
2017 - update from CVS
2018 - fix IA-64 memccpy (#104114)
2020 * Tue Sep 9 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-84
2021 - update from CVS
2022 - undo broken amd64 signal context changes
2024 * Tue Sep 9 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-83
2025 - update from CVS
2026 - change *nlink_t, *ssize_t and *intptr_t types on s390 -m31 to
2027 {unsigned,} int
2028 - change *u_quad_t, *quad_t, *qaddr_t, *dev_t, *ino64_t, *loff_t,
2029 *off64_t, *rlim64_t, *blkcnt64_t, *fsblkcnt64_t, *fsfilcnt64_t
2030 on 64-bit arches from {unsigned,} long long int {,*} to
2031 {unsigned,} long int {,*} to restore binary compatibility
2032 for C++ functions using these types as arguments
2034 * Sun Sep 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-82
2035 - rebuilt
2037 * Sat Sep 6 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-81
2038 - update from CVS
2039 - fix tc[gs]etattr/cf[gs]et[io]speed on ppc (#102732)
2040 - libio fixes
2042 * Thu Sep 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-80
2043 - update from CVS
2044 - fix IA-64 cancellation when mixing __attribute__((cleanup ()))
2045 and old-style pthread_cleanup_push cleanups
2047 * Tue Sep 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-79
2048 - updated from CVS
2049 - lots of cancellation fixes
2050 - fix posix_fadvise* on ppc32
2051 - TLS layout fix
2052 - optimize stdio cleanups (#103354)
2053 - sparcv9 NPTL
2054 - include sigset, sighold, sigrelse, sigpause and sigignore prototypes
2055 in signal.h even if -D_XOPEN_SOURCE_EXTENDED (#103269)
2056 - fix svc_getreqset on 64-bit big-endian arches
2057 - return ENOSYS in linuxthreads pthread_barrierattr_setpshared for
2058 PTHREAD_PROCESS_SHARED
2059 - add pthread_cond_timedwait stubs to libc.so (#102709)
2060 - split glibc-devel into glibc-devel and glibc-headers to ensure
2061 amd64 /usr/include always wins on amd64/i386 bi-arch installs
2062 - increase PTHREAD_STACK_MIN on alpha, ia64 and sparc*
2063 - get rid of __syscall_* prototypes and stubs in sysdeps/unix/sysv/linux
2064 - run make check also with linuxthreads (on IA-32 non-FLOATING_STACKS)
2065 ld.so and NPTL (on IA-32 also FLOATING_STACKS linuxthreads) libraries
2066 and tests
2068 * Tue Aug 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-78
2069 - include dl-osinfo.h only in glibc-debuginfo-2*.rpm, not
2070 in glibc-debuginfo-common*
2072 * Mon Aug 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-77
2073 - update from CVS
2074 - fix glibc 2.0 libio compatibility (#101385)
2075 - fix ldconfig with /usr/lib/lib*.so symlinks (#102853)
2076 - fix assert.h (#102916, #103017)
2077 - make ld.so.cache identical between IA-32 and AMD64 (#102887)
2078 - fix static linking of large IA-64 binaries (#102586)
2079 - avoid using floating point regs in lazy binding code on ppc64 (#102763)
2081 * Fri Aug 22 2003 Roland McGrath <roland@redhat.com> 2.3.2-76
2082 - add td_thr_tls_get_addr changes missed in initial nptl_db rewrite
2084 * Sun Aug 17 2003 Roland McGrath <roland@redhat.com> 2.3.2-74
2085 - nptl_db rewrite not yet in CVS
2087 * Thu Aug 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-72
2088 - update from CVS
2089 - fix rtkaio aio_fsync{,64}
2090 - update rtkaio for !BROKEN_THREAD_SIGNALS
2091 - fix assert macro when used on pointers
2093 * Wed Aug 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-71
2094 - update from CVS
2096 * Tue Aug 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-70
2097 - update from CVS
2098 - disable CLONE_STOPPED for now until it is resolved
2099 - strip crt files
2100 - fix libio on arches with no < GLIBC_2.2 support (#102102, #102105)
2101 - fix glibc-debuginfo to include all nptl and nptl_db sources
2103 * Thu Aug 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-69
2104 - update from CVS
2105 - fix pthread_create@GLIBC_2.0 (#101767)
2106 - __ASSUME_CLONE_STOPPED on all arches but s390* in RHEL
2108 * Sun Aug 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-68
2109 - update from CVS
2110 - only use CLONE_STOPPED if kernel supports it, fix setting of thread
2111 explicit scheduling (#101457)
2113 * Fri Aug 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-67
2114 - update from CVS
2115 - fix utimes and futimes if kernel doesn't support utimes syscall
2116 - fix s390 ssize_t type
2117 - fix dlerror when called before any dlopen/dlsym
2118 - update IA-64 bits/sigcontext.h (#101344)
2119 - various warning fixes
2120 - fix pthread.h comment typos (#101363)
2122 * Wed Jul 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-66
2123 - update from CVS
2124 - fix dlopen of libraries using TLS IE/LE models
2126 * Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-65
2127 - update from CVS
2128 - fix timer_create
2129 - use __extension__ before long long typedefs in <bits/types.h> (#100718)
2131 * Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-64
2132 - update from CVS
2133 - fix wcpncpy (#99462)
2134 - export _res@GLIBC_2.0 even from NPTL libc.so (__res_state ()
2135 unlike __errno_location () or __h_errno_location () was introduced
2136 in glibc 2.2)
2137 - fix zic bug on 64-bit platforms
2138 - some TLS handling fixes
2139 - make ldconfig look into alternate ABI dirs by default (#99402)
2140 - move %{_datadir}/zoneinfo to tzdata package, so that it can be
2141 errataed separately from glibc
2142 - new add-on - rtkaio
2143 - prereq libgcc, as glibc now relies on libgcc_s.so.1 for pthread_cancel
2145 * Tue Jul 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-63
2146 - fix thread cancellation on ppc64
2148 * Sat Jul 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-62
2149 - update from CVS
2150 - fix thread cancellation on ppc32, s390 and s390x
2152 * Thu Jul 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-61
2153 - update from CVS
2154 - build libc_nonshared.a with -fPIC instead of -fpic
2155 - fix ppc64 PIE support
2156 - add cfi directives to NPTL sysdep-cancel.h on ppc/ppc64/s390/s390x
2158 * Tue Jul 8 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-60
2159 - update from CVS
2161 * Thu Jul 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-59
2162 - update from CVS
2163 - on IA-64 use different symbols for cancellation portion of syscall
2164 handlers to make gdb happier
2166 * Thu Jun 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-58
2167 - update from CVS
2168 - nss_compat supporting LDAP etc.
2170 * Tue Jun 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-57
2171 - update from CVS
2173 * Thu Jun 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-56
2174 - fix condvars and semaphores in ppc* NPTL
2175 - fix test-skeleton.c reporting of timed-out tests (#91269)
2176 - increase timeouts for tests during make check
2178 * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-55
2179 - make ldconfig default to both /lib+/usr/lib and /lib64+/usr/lib64
2180 on bi-ABI architectures (#97557)
2181 - disable FUTEX_REQUEUE on ppc* temporarily
2183 * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-54
2184 - update from CVS
2185 - fix glibc_post_upgrade on ppc
2187 * Tue Jun 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-53
2188 - update from CVS
2189 - fix localedef (#90659)
2190 - tweak linuxthreads for librt cancellation
2192 * Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-52
2193 - update from CVS
2195 * Thu Jun 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-51
2196 - update from CVS
2197 - fix <gnu/stubs.h> (#97169)
2199 * Wed Jun 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-50
2200 - update from CVS
2202 * Tue Jun 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-49
2203 - update from CVS
2204 - fix pthread_cond_signal on IA-32 (#92080, #92253)
2205 - fix setegid (#91567)
2206 - don't prelink -R libc.so on any architecture, it prohibits
2207 address randomization
2209 * Fri Jun 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-48
2210 - update from CVS
2211 - fix IA-64 NPTL build
2213 * Thu Jun 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-47
2214 - update from CVS
2215 - PT_GNU_STACK segment in binaries/executables and .note.GNU-stack
2216 section in *.[oa]
2218 * Sun Jun 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-46
2219 - update from CVS
2220 - enable NPTL on AMD64
2221 - avoid using trampolines in localedef
2223 * Fri May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-45
2224 - enable NPTL on IA-64
2226 * Fri May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-44
2227 - update from CVS
2228 - enable NPTL on s390 and s390x
2229 - make __init_array_start etc. symbols in elf-init.oS hidden undefined
2231 * Thu May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-43
2232 - update from CVS
2234 * Fri May 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-42
2235 - update from CVS
2237 * Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-41
2238 - update from CVS
2239 - use NPTL libs if uname -r contains nptl substring or is >= 2.5.69
2240 or set_tid_address syscall is available instead of checking
2241 AT_SYSINFO dynamic tag
2243 * Thu May 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-40
2244 - update from CVS
2246 * Wed May 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-39
2247 - update from CVS
2248 - fix for prelinking of libraries with no dependencies
2250 * Tue May 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-38
2251 - update from CVS
2252 - enable NPTL on ppc and ppc64
2254 * Tue May 6 2003 Matt Wilson <msw@redhat.com> 2.3.2-37
2255 - rebuild
2257 * Sun May 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-36
2258 - update from CVS
2260 * Sat May 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-35
2261 - update from CVS
2262 - make -jN build fixes
2264 * Fri May 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-34
2265 - update from CVS
2266 - avoid using trampolines in iconvconfig for now
2268 * Sat Apr 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-33
2269 - update from CVS
2271 * Fri Apr 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-32
2272 - update from CVS
2273 - more ppc TLS fixes
2275 * Wed Apr 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-31
2276 - update from CVS
2277 - nscd fixes
2278 - fix Bahrain spelling (#56298)
2279 - fix Ukrainian collation (#83973)
2280 - accept trailing spaces in /etc/ld.so.conf (#86032)
2281 - perror fix (#85994)
2282 - fix localedef (#88978)
2283 - fix getifaddrs (#89026)
2284 - fix strxfrm (#88409)
2285 - fix ppc TLS
2286 - fix getaddrinfo (#89448)
2287 - don't print warning about errno, h_errno or _res if
2288 LD_ASSUME_KERNEL=2.4.1 or earlier
2290 * Tue Apr 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-30
2291 - update from CVS
2292 - fix prelink on ppc32
2293 - add TLS support on ppc32 and ppc64
2294 - make sure on -m64 arches all helper binaries are built with this
2295 option
2297 * Mon Apr 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-29
2298 - update from CVS
2299 - fix strxfrm (#88409)
2300 - use -m64 -mno-minimal-toc on ppc64
2301 - conflict with kernels < 2.4.20 on ppc64 and < 2.4.0 on x86_64
2302 - link glibc_post_upgrade against newly built libc.a
2304 * Sun Apr 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-28
2305 - update from CVS
2306 - fix NPTL pthread_detach and already terminated, but not yet
2307 joined thread (#88219)
2308 - fix bug-regex4 testcase (#88118)
2309 - reenable prelink support broken in 2.3.2-13
2310 - fix register_printf_function (#88052)
2311 - fix double free with fopen using ccs= (#88056)
2312 - fix potential access below $esp in {set,swap}context (#88093)
2313 - fix buffer underrun in gencat -H (#88099)
2314 - avoid using unitialized variable in tst-tgmath (#88101)
2315 - fix gammal (#88104)
2316 - fix iconv -c
2317 - fix xdr_string (PR libc/4999)
2318 - fix /usr/lib/nptl/librt.so symlink
2319 - avoid running NPTL cleanups twice in some cases
2320 - unblock __pthread_signal_cancel in linuxthreads, so that
2321 linuxthreads threaded programs work correctly if spawned
2322 from NPTL threaded programs
2323 - fix sysconf _SC_{NPROCESSORS_{CONF,ONLN},{,AV}PHYS_PAGES}
2324 - remove /lib/i686 directory before running ldconfig in glibc post
2325 during i686 -> i386 glibc "upgrades" (#88456)
2327 * Wed Apr 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-22
2328 - update from CVS
2329 - add pthread_atfork to libpthread.a
2331 * Tue Apr 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-21
2332 - update from CVS
2333 - make sure linuxthreads pthread_mutex_lock etc. is not a cancellation
2334 point
2336 * Sat Mar 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-20
2337 - update from CVS
2338 - if kernel >= 2.4.1 doesn't support NPTL, fall back to
2339 /lib/i686 libs on i686, not stright to /lib
2341 * Fri Mar 28 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-19
2342 - update from CVS
2343 - timers fixes
2345 * Thu Mar 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-18
2346 - update from CVS
2347 - fix NPTL pthread_cond_timedwait
2348 - fix sysconf (_SC_MONOTONIC_CLOCK)
2349 - use /%%{_lib}/tls instead of /lib/tls on x86-64
2350 - add /%{_lib}/tls/librt*so* and /%{_lib}/i686/librt*so*
2351 - display content of .out files for all make check failures
2353 * Wed Mar 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-17
2354 - update from CVS
2355 - kernel POSIX timers support
2357 * Sat Mar 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-16
2358 - update from CVS
2359 - export __fork from glibc again
2360 - fix glibc-compat build in NPTL
2361 - fix c_stubs
2362 - fix some more atomic.h problems
2363 - don't check abi in glibc-compat libs
2365 * Fri Mar 21 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-15
2366 - update from CVS
2367 - build glibc-compat (for glibc 2.0 compatibility) and c_stubs add-ons
2368 - condrestart sshd in glibc_post_upgrade so that the user can
2369 log in remotely and handle the rest (#86339)
2370 - fix a typo in glibc_post_upgrade on sparc
2372 * Tue Mar 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-14
2373 - update from CVS
2374 - change i686/athlon libc.so.6 base to 0x00e80000
2376 * Mon Mar 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-13
2377 - update from CVS
2378 - hopefully last fix for condvar problems
2380 * Fri Mar 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-12
2381 - fix bits/syscall.h creation on x86-64
2383 * Thu Mar 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-11
2384 - update from CVS
2386 * Wed Mar 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-10
2387 - update from CVS
2389 * Tue Mar 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-9
2390 - update from CVS
2391 - fix glibc-debug description (#85111)
2392 - make librt.so a symlink again, not linker script
2394 * Tue Mar 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-8
2395 - update from CVS
2396 - remove the workarounds for broken software accessing GLIBC_PRIVATE
2397 symbols
2399 * Mon Mar 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-7
2400 - update from CVS
2402 * Sun Mar 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-6
2403 - fix TLS IE/LE model handling in dlopened libraries
2404 on TCB_AT_TP arches
2406 * Thu Feb 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-5
2407 - update from CVS
2409 * Tue Feb 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-4
2410 - update from CVS
2412 * Mon Feb 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-3
2413 - update from CVS
2414 - only warn about errno, h_errno or _res for binaries, never
2415 libraries
2416 - rebuilt with gcc-3.2.2-4 to use direct %gs TLS access insn sequences
2418 * Sun Feb 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-2
2419 - update from CVS
2421 * Sat Feb 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-1
2422 - update from CVS
2424 * Thu Feb 20 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-51
2425 - update from CVS
2427 * Wed Feb 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-50
2428 - update from CVS
2430 * Wed Feb 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-49
2431 - update from CVS
2432 - remove nisplus and nis from the default nsswitch.conf (#67401, #9952)
2434 * Tue Feb 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-48
2435 - update from CVS
2437 * Sat Feb 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-47
2438 - update from CVS
2440 * Fri Feb 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-46
2441 - update from CVS
2442 - pthread_cond* NPTL fixes, new NPTL testcases
2444 * Thu Feb 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-45
2445 - update from CVS
2446 - include also linuxthreads FLOATING_STACKS libs on i686 and athlon:
2447 LD_ASSUME_KERNEL=2.2.5 to LD_ASSUME_KERNEL=2.4.0 is non-FLOATING_STACKS lt,
2448 LD_ASSUME_KERNEL=2.4.1 to LD_ASSUME_KERNEL=2.4.19 is FLOATING_STACKS lt,
2449 later is NPTL
2450 - enable TLS on alpha/alphaev6
2451 - add BuildPreReq: /usr/bin/readlink
2453 * Tue Feb 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-44
2454 - update from CVS
2455 - pthread_once fix
2457 * Mon Feb 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-43
2458 - update from CVS
2459 - vfork fix on s390
2460 - rebuilt with binutils 2.13.90.0.18-5 so that accesses to errno
2461 don't bind locally (#83325)
2463 * Thu Feb 06 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-42
2464 - update from CVS
2465 - fix pthread_create after vfork+exec in linuxthreads
2467 * Wed Feb 05 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-41
2468 - update from CVS
2470 * Thu Jan 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-40
2471 - update from CVS
2473 * Wed Jan 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-39
2474 - update from CVS
2475 - enable TLS on s390{,x} and sparc{,v9}
2477 * Fri Jan 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-38
2478 - update from CVS
2479 - initialize __environ in glibc_post_upgrade to empty array,
2480 so that it is not NULL
2481 - compat symlink for s390x /lib/ld64.so.1
2482 - enable glibc-profile on x86-64
2483 - only include libNoVersion.so on IA-32, Alpha and Sparc 32-bit
2485 * Thu Jan 16 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-37
2486 - update from CVS
2487 - nscd fixes, *scanf fix
2488 - fix %%nptlarches noarch build (#81909)
2489 - IA-64 TLS fixes
2491 * Tue Jan 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-36
2492 - update from CVS
2493 - rework -debuginfo subpackage, add -debuginfo-common
2494 subpackage on IA-32, Alpha and Sparc (ie. auxiliary arches)
2495 - fix vfork in libc.a on PPC32, Alpha, Sparc
2496 - fix libio locks in linuxthreads libc.so if libpthread.so
2497 is dlopened later (#81374)
2499 * Mon Jan 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-35
2500 - update from CVS
2501 - dlclose bugfixes
2502 - fix NPTL libpthread.a
2503 - fix glibc_post_upgrade on several arches
2505 * Sat Jan 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-34
2506 - update from CVS
2507 - TLS support on IA-64
2509 * Wed Jan 8 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-33
2510 - fix vfork in linuxthreads (#81377, #81363)
2512 * Tue Jan 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-32
2513 - update from CVS
2514 - don't use TLS libs if kernel doesn't set AT_SYSINFO
2515 (#80921, #81212)
2516 - add ntp_adjtime on alpha (#79996)
2517 - fix nptl_db (#81116)
2519 * Sun Jan 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-31
2520 - update from CVS
2521 - support all architectures again
2523 * Fri Jan 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-30
2524 - fix condvar compatibility wrappers
2525 - add ugly hack to use non-TLS libs if a binary is seen
2526 to have errno, h_errno or _res symbols in .dynsym
2528 * Fri Jan 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-29
2529 - update from CVS
2530 - fixes for new condvar
2532 * Thu Jan 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-28
2533 - new NPTL condvar implementation plus related linuxthreads
2534 symbol versioning updates
2536 * Thu Jan 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-27
2537 - update from CVS
2538 - fix #include <sys/stat.h> with -D_BSD_SOURCE or without
2539 feature set macros
2540 - make *sigaction, sigwait and raise the same between
2541 -lpthread -lc and -lc -lpthread in linuxthreads builds
2543 * Tue Dec 31 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-26
2544 - fix dlclose
2546 * Sun Dec 29 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-25
2547 - enable sysenter by default for now
2548 - fix endless loop in ldconfig
2550 * Sat Dec 28 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-24
2551 - update from CVS
2553 * Fri Dec 27 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-23
2554 - update from CVS
2555 - fix ptmalloc_init after clearenv (#80370)
2557 * Sun Dec 22 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-22
2558 - update from CVS
2559 - add IA-64 back
2560 - move TLS libraries from /lib/i686 to /lib/tls
2562 * Thu Dec 19 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-21
2563 - system(3) fix for linuxthreads
2564 - don't segfault in pthread_attr_init from libc.so
2565 - add cancellation tests from nptl to linuxthreads
2567 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-20
2568 - fix up lists of exported symbols + their versions
2569 from the libraries
2571 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-19
2572 - fix --with-tls --enable-kernel=2.2.5 libc on IA-32
2574 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-18
2575 - update from CVS
2576 - fix NPTL hanging mozilla
2577 - initialize malloc in mALLOPt (fixes problems with squid, #79957)
2578 - make linuxthreads work with dl_dynamic_weak 0
2579 - clear dl_dynamic_weak everywhere
2581 * Tue Dec 17 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-17
2582 - update from CVS
2583 - NPTL socket fixes, flockfile/ftrylockfile/funlockfile fix
2584 - kill -debug sub-package, rename -debug-static to -debug
2585 - clear dl_dynamic_weak for NPTL
2587 * Mon Dec 16 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-16
2588 - fix <bits/mathinline.h> and <bits/nan.h> for C++
2589 - automatically generate NPTL libpthread wrappers
2591 * Mon Dec 16 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-15
2592 - update from CVS
2593 - all functions which need cancellation should now be cancellable
2594 both in libpthread.so and libc.so
2595 - removed @@GLIBC_2.3.2 cancellation wrappers
2597 * Fri Dec 13 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-14
2598 - update from CVS
2599 - replace __libc_lock_needed@GOTOFF(%ebx) with
2600 %gs:offsetof(tcbhead_t, multiple_threads)
2601 - start of new NPTL cancellation wrappers
2603 * Thu Dec 12 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-13
2604 - update from CVS
2605 - use inline locks in malloc
2607 * Tue Dec 10 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-12
2608 - update from CVS
2609 - support LD_ASSUME_KERNEL=2.2.5 in statically linked programs
2611 * Mon Dec 9 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-11
2612 - update from CVS
2613 - rebuilt with gcc-3.2.1-2
2615 * Fri Dec 6 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-10
2616 - update from CVS
2617 - non-nptl --with-tls --without-__thread FLOATING_STACKS libpthread
2618 should work now
2619 - faster libc locking when using nptl
2620 - add OUTPUT_FORMAT to linker scripts
2621 - fix x86_64 sendfile (#79111)
2623 * Wed Dec 4 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-9
2624 - update from CVS
2625 - RUSCII support (#78906)
2626 - for nptl builds add BuildRequires
2627 - fix byteswap.h for non-gcc (#77689)
2628 - add nptl-devel package
2630 * Tue Dec 3 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-8
2631 - update from CVS
2632 - make --enable-kernel=2.2.5 --with-tls --without-__thread
2633 ld.so load nptl and other --with-__thread libs
2634 - disable nptl by default for now
2636 * Wed Nov 27 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-7
2637 - update from CVS
2638 - restructured redhat/Makefile and spec, so that src.rpm contains
2639 glibc-<date>.tar.bz2, glibc-redhat-<date>.tar.bz2 and glibc-redhat.patch
2640 - added nptl
2642 * Fri Nov 8 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-6
2643 - update from CVS
2644 - even more regex fixes
2645 - run sed testsuite to check glibc regex
2647 * Thu Oct 24 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-5
2648 - fix LD_DEBUG=statistics and LD_TRACE_PRELINKING in programs
2649 using libpthread.so.
2651 * Thu Oct 24 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-4
2652 - update from CVS
2653 - fixed %a and %A in *printf (#75821)
2654 - fix re_comp memory leaking (#76594)
2656 * Tue Oct 22 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-3
2657 - update from CVS
2658 - some more regex fixes
2659 - fix libpthread.a (#76484)
2660 - fix locale-archive enlarging
2662 * Fri Oct 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-2
2663 - update from CVS
2664 - don't need to use 128K of stacks for DNS lookups
2665 - regex fixes
2666 - updated timezone data e.g. for this year's Brasil DST
2667 changes
2668 - expand ${LIB} in RPATH/RUNPATH/dlopen filenames
2670 * Fri Oct 11 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-1
2671 - update to 2.3.1 final
2672 - support really low thread stack sizes (#74073)
2673 - tzdata update
2675 * Wed Oct 9 2002 Jakub Jelinek <jakub@redhat.com> 2.3-2
2676 - update from CVS
2677 - handle low stack limits
2678 - move s390x into */lib64
2680 * Thu Oct 3 2002 Jakub Jelinek <jakub@redhat.com> 2.3-1
2681 - update to 2.3 final
2682 - fix freopen on libstdc++ <= 2.96 stdin/stdout/stderr (#74800)
2684 * Sun Sep 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-3
2685 - don't prelink -r libc.so on ppc/x86-64/sparc*, it doesn't
2686 speed things up, because they are neither REL arches, nor
2687 ELF_MACHINE_REL_RELATIVE
2688 - fix sparc64 build
2690 * Sun Sep 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-2
2691 - update from CVS
2693 * Sat Sep 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-1
2694 - update from CVS
2695 - prelink on ppc and x86-64 too
2696 - don't remove ppc memset
2697 - instead of listing on which arches to remove glibc-compat
2698 list where it should stay
2700 * Fri Sep 6 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-5
2701 - fix wcsmbs functions with invalid character sets (or malloc
2702 failures)
2703 - make sure __ctype_b etc. compat vars are updated even if
2704 they are copy relocs in the main program
2706 * Thu Sep 5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-4
2707 - fix /lib/libnss1_dns.so.1 (missing __set_h_errno definition
2708 leading to unresolved __set_h_errno symbol)
2710 * Wed Sep 4 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-3
2711 - security fix - increase dns-network.c MAXPACKET to at least
2712 65536 to avoid buffer overrun. Likewise glibc-compat
2713 dns-{host,network}.c.
2715 * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-2
2716 - temporarily add back __ctype_b, __ctype_tolower and __ctype_toupper to
2717 libc.a and export them as @@GLIBC_2.0 symbols, not @GLIBC_2.0
2718 from libc.so - we have still lots of .a libraries referencing
2719 __ctype_{b,tolower,toupper} out there...
2721 * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-1
2722 - update from CVS
2723 - 2.2.93 release
2724 - use double instead of single indirection in isXXX macros
2725 - per-locale wcsmbs conversion state
2727 * Sat Aug 31 2002 Jakub Jelinek <jakub@redhat.com> 2.2.92-2
2728 - update from CVS
2729 - fix newlocale/duplocale/uselocale
2730 - disable profile on x86_64 for now
2732 * Sat Aug 31 2002 Jakub Jelinek <jakub@redhat.com> 2.2.92-1
2733 - update from CVS
2734 - 2.2.92 release
2735 - fix gettext after uselocale
2736 - fix locales in statically linked threaded programs
2737 - fix NSS
2739 * Thu Aug 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.91-1
2740 - update from CVS
2741 - 2.2.91 release
2742 - fix fd leaks in locale-archive reader (#72043)
2743 - handle EROFS in build-locale-archive gracefully (#71665)
2745 * Wed Aug 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-27
2746 - update from CVS
2747 - fix re_match (#72312)
2748 - support more than 1024 threads
2750 * Fri Aug 23 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-26
2751 - update from CVS
2752 - fix i386 build
2754 * Thu Aug 22 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-25
2755 - update from CVS
2756 - fix locale-archive loading hang on some (non-primary) locales
2757 (#72122, #71878)
2758 - fix umount problems with locale-archives when /usr is a separate
2759 partition (#72043)
2760 - add LICENSES file
2762 * Fri Aug 16 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-24
2763 - update from CVS
2764 - only mmap up to 2MB of locale-archive on 32-bit machines
2765 initially
2766 - fix fseek past end + fread segfault with mmaped stdio
2767 - include <sys/debugreg.h> which is mistakenly not included
2768 in glibc-devel on IA-32
2770 * Fri Aug 16 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-23
2771 - don't return normalized locale name in setlocale when using
2772 locale-archive
2774 * Thu Aug 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-22
2775 - update from CVS
2776 - optimize for primary system locale
2777 - localedef fixes (#71552, #67705)
2779 * Wed Aug 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-21
2780 - fix path to locale-archive in libc reader
2781 - build locale archive at glibc-common %post time
2782 - export __strtold_internal and __wcstold_internal on Alpha again
2783 - workaround some localedata problems
2785 * Tue Aug 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-20
2786 - update from CVS
2787 - patch out set_thread_area for now
2789 * Fri Aug 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-19
2790 - update from CVS
2791 - GB18030 patch from Yu Shao
2792 - applied Debian patch for getaddrinfo IPv4 vs. IPv6
2793 - fix regcomp (#71039)
2795 * Sun Aug 4 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-18
2796 - update from CVS
2797 - use /usr/sbin/prelink, not prelink (#70376)
2799 * Thu Jul 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-17
2800 - update from CVS
2802 * Thu Jul 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-16
2803 - update from CVS
2804 - ungetc fix (#69586)
2805 - fseek errno fix (#69589)
2806 - change *etrlimit prototypes for C++ (#68588)
2807 - use --without-tls instead of --disable-tls
2809 * Thu Jul 11 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-15
2810 - set nscd user's shell to /sbin/nologin (#68369)
2811 - fix glibc-compat buffer overflows (security)
2812 - buildrequire prelink, don't build glibc's own copy of it (#67567)
2813 - update from CVS
2814 - regex fix (#67734)
2815 - fix unused warnings (#67706)
2816 - fix freopen with mmap stdio (#67552)
2817 - fix realloc (#68499)
2819 * Tue Jun 25 2002 Bill Nottingham <notting@redhat.com> 2.2.90-14
2820 - update from CVS
2821 - fix argp on long words
2822 - update atime in libio
2824 * Sat Jun 22 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-13
2825 - update from CVS
2826 - a thread race fix
2827 - fix readdir on invalid dirp
2829 * Wed Jun 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-12
2830 - update from CVS
2831 - don't use __thread in headers
2832 - fix system(3) in threaded apps
2833 - update prelink, so that it is possible to prelink -u libc.so.6.1
2834 on Alpha
2836 * Fri Jun 7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-11
2837 - update from CVS
2838 - fix __moddi3 (#65612, #65695)
2839 - fix ether_line (#64427)
2840 - fix setvbuf with mmap stdio (#65864)
2841 - --disable-tls for now, waiting for kernel
2842 - avoid duplication of __divtf3 etc. on IA-64
2843 - make sure get*ent_r and _IO_wfile_jumps are exported (#62278)
2845 * Tue May 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-10
2846 - update from CVS
2847 - fix Alpha pthread bug with gcc 3.1
2849 * Fri Apr 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-35
2850 - fix nice
2852 * Mon Apr 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-34
2853 - add relocation dependencies even for weak symbols (#63422)
2854 - stricter check_fds check for suid/sgid binaries
2855 - run make check at %%install time
2857 * Sat Apr 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-33
2858 - handle Dec 31 1969 in mktime for timezones west of GMT (#63369)
2859 - back out do-lookup.h change (#63261, #63305)
2860 - use "memory" clobber instead all the fancy stuff in i386/i686/bits/string.h
2861 since lots of compilers break on it
2862 - fix sparc build with gcc 3.1
2863 - fix spec file for athlon
2865 * Tue Apr 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-32
2866 - fix debugging of threaded apps (#62804)
2867 - fix DST for Estonia (#61494)
2868 - document that pthread_mutexattr_?etkind_np are deprecated
2869 and pthread_mutexattr_?ettype should be used instead in man
2870 pages (#61485)
2871 - fix libSegFault.so undefined externals
2873 * Fri Apr 5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-31
2874 - temporarily disable prelinking ld.so, as some statically linked
2875 binaries linked against debugging versions of old glibcs die on it
2876 (#62352)
2877 - fix <semaphore.h> for -std=c99 (#62516)
2878 - fix ether_ntohost segfault (#62397)
2879 - remove in glibc_post_upgrade on i386 all /lib/i686/libc-*.so,
2880 /lib/i686/libm-*.so and /lib/i686/libpthread-*.so, not just current
2881 version (#61633)
2882 - prelink -r on alpha too
2884 * Thu Mar 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-30
2885 - update GB18030 iconv module (Yu Shao)
2887 * Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-29
2888 - features.h fix
2890 * Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-28
2891 - update from CVS
2892 - fix nscd with huge groups
2893 - fix nis to not close fds it shouldn't
2894 - rebuilt against newer glibc-kernheaders to use the correct
2895 PATH_MAX
2896 - handle .athlon.rpm glibc the same way as .i686.rpm
2897 - add a couple of .ISO-8859-15 locales (#61922)
2898 - readd temporarily currencies which were superceeded by Euro
2899 into the list of accepted currencies by localedef to make
2900 standard conformance testsuites happy
2901 - temporarily moved __libc_waitpid back to make Sun JDK happy
2902 - use old malloc code
2903 - prelink i686/athlon ld.so and prelink -r i686/athlon libc.so
2905 * Thu Mar 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-27
2906 - update from CVS
2907 - fix DST handling for southern hemisphere (#60747)
2908 - fix daylight setting for tzset (#59951)
2909 - fix ftime (#60350)
2910 - fix nice return value
2911 - fix a malloc segfault
2912 - temporarily moved __libc_wait, __libc_fork and __libc_stack_end
2913 back to what they used to be exported at
2914 - censorship (#60758)
2916 * Thu Feb 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-26
2917 - update from CVS
2918 - use __attribute__((visibility(...))) if supported, use _rtld_local
2919 for ld.so only objects
2920 - provide libc's own __{,u}{div,mod}di3
2922 * Wed Feb 27 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-25
2923 - switch back to 2.2.5, mmap stdio needs work
2925 * Mon Feb 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-8
2926 - fix two other mmap stdio bugs (#60228)
2928 * Thu Feb 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-7
2929 - fix yet another mmap stdio bug (#60145)
2931 * Tue Feb 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-6
2932 - fix mmap stdio bug (seen on ld as File truncated error, #60043)
2933 - apply Andreas Schwab's fix for pthread sigwait
2934 - remove /lib/i686/ libraries in glibc_post_upgrade when
2935 performing i386 glibc install
2937 * Thu Feb 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-5
2938 - update to CVS
2939 - added glibc-utils subpackage
2940 - disable autoreq in glibc-debug
2941 - readd %%lang() to locale files
2943 * Fri Feb 7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-4
2944 - update to CVS
2945 - move glibc private symbols to GLIBC_PRIVATE symbol version
2947 * Wed Jan 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-3
2948 - fix a sqrt bug on alpha which caused SHN_UNDEF $__full_ieee754_sqrt..ng
2949 symbol in libm
2951 * Tue Jan 8 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-2
2952 - add debug-static package
2954 * Mon Dec 31 2001 Jakub Jelinek <jakub@redhat.com> 2.2.90-1
2955 - update from CVS
2956 - remove -D__USE_STRING_INLINES
2957 - add debug subpackage to trim glibc and glibc-devel size
2959 * Wed Oct 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-19
2960 - fix strsep
2962 * Fri Sep 28 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-18
2963 - fix a ld.so bug with duplicate searchlists in l_scope
2964 - fix erfcl(-inf)
2965 - turn /usr/lib/librt.so into linker script
2967 * Wed Sep 26 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-17
2968 - fix a ld.so lookup bug after lots of dlopen calls
2969 - fix CMSG_DATA for non-gcc non-ISOC99 compilers (#53984)
2970 - prelinking support for Sparc64
2972 * Fri Sep 21 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-16
2973 - update from CVS to fix DT_SYMBOLIC
2974 - prelinking support for Alpha and Sparc
2976 * Tue Sep 18 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-15
2977 - update from CVS
2978 - linuxthreads now retries if -1/EINTR is returned from
2979 reading or writing to thread manager pipe (#43742)
2980 - use DT_FILTER in librt.so (#53394)
2981 - update glibc prelink patch so that it handles filters
2982 - fix timer_* with SIGEV_NONE (#53494)
2983 - make glibc_post_upgrade work on PPC (patch from Franz Sirl)
2985 * Mon Sep 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-14
2986 - fix build on sparc32
2987 - 2.2.4-13 build for some reason missed some locales
2988 on alpha/ia64
2990 * Mon Sep 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-13
2991 - fix iconvconfig
2993 * Mon Sep 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-12
2994 - add fam to /etc/rpc (#52863)
2995 - fix <inttypes.h> for C++ (#52960)
2996 - fix perror
2998 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-11
2999 - fix strnlen(x, -1)
3001 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-10
3002 - doh, <bits/libc-lock.h> should only define __libc_rwlock_t
3003 if __USE_UNIX98.
3005 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-9
3006 - fix bits/libc-lock.h so that gcc can compile
3007 - fix s390 build
3009 * Fri Aug 24 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-8
3010 - kill stale library symlinks in ldconfig (#52350)
3011 - fix inttypes.h for G++ < 3.0
3012 - use DT_REL*COUNT
3014 * Wed Aug 22 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-7
3015 - fix strnlen on IA-64 (#50077)
3017 * Thu Aug 16 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-6
3018 - glibc 2.2.4 final
3019 - fix -lpthread -static (#51672)
3021 * Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-5
3022 - doh, include libio/tst-swscanf.c
3024 * Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-4
3025 - don't crash on catclose(-1)
3026 - fix wscanf %[] handling
3027 - fix return value from swprintf
3028 - handle year + %U/%W week + week day in strptime
3030 * Thu Aug 9 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-3
3031 - update from CVS to
3032 - fix strcoll (#50548)
3033 - fix seekdir (#51132)
3034 - fix memusage (#50606)
3035 - don't make gconv-modules.cache %%config file, just don't verify
3036 its content.
3038 * Mon Aug 6 2001 Jakub Jelinek <jakub@redhat.com>
3039 - fix strtod and *scanf (#50723, #50724)
3041 * Sat Aug 4 2001 Jakub Jelinek <jakub@redhat.com>
3042 - update from CVS
3043 - fix iconv cache handling
3044 - glibc should not own %{_infodir}, %{_mandir} nor %{_mandir}/man3 (#50673)
3045 - add gconv-modules.cache as emtpy config file (#50699)
3046 - only run iconvconfig if /usr is mounted read-write (#50667)
3048 * Wed Jul 25 2001 Jakub Jelinek <jakub@redhat.com>
3049 - move iconvconfig from glibc-common into glibc subpackage,
3050 call it from glibc_post_upgrade instead of common's post.
3052 * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
3053 - turn off debugging printouts in iconvconfig
3055 * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
3056 - update from CVS
3057 - fix IA-32 makecontext
3058 - make fflush(0) thread-safe (#46446)
3060 * Mon Jul 23 2001 Jakub Jelinek <jakub@redhat.com>
3061 - adjust prelinking DT_* and SHT_* values in elf.h
3062 - update from CVS
3063 - iconv cache
3064 - make iconv work in SUID/SGID programs (#34611)
3066 * Fri Jul 20 2001 Jakub Jelinek <jakub@redhat.com>
3067 - update from CVS
3068 - kill non-pic code in libm.so
3069 - fix getdate
3070 - fix some locales (#49402)
3071 - rebuilt with binutils-2.11.90.0.8-5 to place .interp section
3072 properly in libBrokenLocale.so, libNoVersion.so and libanl.so
3073 - add floating stacks on IA-64, Alpha, Sparc (#49308)
3075 * Mon Jul 16 2001 Jakub Jelinek <jakub@redhat.com>
3076 - make /lib/i686 directory owned by glibc*.i686.rpm
3078 * Mon Jul 9 2001 Jakub Jelinek <jakub@redhat.com>
3079 - remove rquota.[hx] headers which are now provided by quota (#47141)
3080 - add prelinking patch
3082 * Thu Jul 5 2001 Jakub Jelinek <jakub@redhat.com>
3083 - require sh-utils for nscd
3085 * Mon Jun 25 2001 Jakub Jelinek <jakub@redhat.com>
3086 - update from CVS (#43681, #43350, #44663, #45685)
3087 - fix ro_RO bug (#44644)
3089 * Wed Jun 6 2001 Jakub Jelinek <jakub@redhat.com>
3090 - fix a bunch of math bugs (#43210, #43345, #43346, #43347, #43348, #43355)
3091 - make rpc headers -ansi compilable (#42390)
3092 - remove alphaev6 optimized memcpy, since there are still far too many
3093 broken apps which call memcpy where they should call memmove
3094 - update from CVS to (among other things):
3095 - fix tanhl bug (#43352)
3097 * Tue May 22 2001 Jakub Jelinek <jakub@redhat.com>
3098 - fix #include <signal.h> with -D_XOPEN_SOURCE=500 on ia64 (#35968)
3099 - fix a dlclose reldeps handling bug
3100 - some more profiling fixes
3101 - fix tgmath.h
3103 * Thu May 17 2001 Jakub Jelinek <jakub@redhat.com>
3104 - make ldconfig more quiet
3105 - fix LD_PROFILE on i686 (#41030)
3107 * Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
3108 - fix the hardlink program, so that it really catches all files with
3109 identical content
3110 - add a s390x clone fix
3112 * Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
3113 - fix rpc for non-threaded apps using svc_fdset and similar variables (#40409)
3114 - fix nss compatibility DSO versions for alphaev6
3115 - add a hardlink program instead of the shell 3x for plus cmp -s/link
3116 which takes a lot of time during build
3117 - rework BuildPreReq and Conflicts with gcc, so that
3118 it applies only where it has to
3120 * Fri May 11 2001 Jakub Jelinek <jakub@redhat.com>
3121 - fix locale name of ja_JP in UTF-8 (#39783)
3122 - fix re_search_2 (#40244)
3123 - fix memusage script (#39138, #39823)
3124 - fix dlsym(RTLD_NEXT, ) from main program (#39803)
3125 - fix xtrace script (#39609)
3126 - make glibc conflict with glibc-devel 2.2.2 and below (to make sure
3127 libc_nonshared.a has atexit)
3128 - fix getconf LFS_CFLAGS on 64bitters
3129 - recompile with gcc-2.96-84 or above to fix binary compatibility problem
3130 with __frame_state_for function (#37933)
3132 * Fri Apr 27 2001 Jakub Jelinek <jakub@redhat.com>
3133 - glibc 2.2.3 release
3134 - fix strcoll (#36539)
3135 - add BuildPreReqs (#36378)
3137 * Wed Apr 25 2001 Jakub Jelinek <jakub@redhat.com>
3138 - update from CVS
3140 * Fri Apr 20 2001 Jakub Jelinek <jakub@redhat.com>
3141 - update from CVS
3142 - fix sparc64, ia64
3143 - fix some locale syntax errors (#35982)
3145 * Wed Apr 18 2001 Jakub Jelinek <jakub@redhat.com>
3146 - update from CVS
3148 * Wed Apr 11 2001 Jakub Jelinek <jakub@redhat.com>
3149 - update from CVS
3151 * Fri Apr 6 2001 Jakub Jelinek <jakub@redhat.com>
3152 - support even 2.4.0 kernels on ia64, sparc64 and s390x
3153 - include UTF-8 locales
3154 - make gconv-modules %%config(noreplace)
3156 * Fri Mar 23 2001 Jakub Jelinek <jakub@redhat.com>
3157 - back out sunrpc changes
3159 * Wed Mar 21 2001 Jakub Jelinek <jakub@redhat.com>
3160 - update from CVS
3161 - fix ia64 build
3162 - fix pthread_getattr_np
3164 * Fri Mar 16 2001 Jakub Jelinek <jakub@redhat.com>
3165 - update from CVS
3166 - run atexit() registered functions at dlclose time if they are in shared
3167 libraries (#28625)
3168 - add pthread_getattr_np API to make JVM folks happy
3170 * Wed Mar 14 2001 Jakub Jelinek <jakub@redhat.com>
3171 - require 2.4.1 instead of 2.4.0 on platforms where it required 2.4 kernel
3172 - fix ldd behaviour on unresolved symbols
3173 - remove nonsensical ldconfig warning, update osversion for the most
3174 recent library with the same soname in the same directory instead (#31703)
3175 - apply selected patches from CVS
3176 - s390x spec file changes from Florian La Roche
3178 * Wed Mar 7 2001 Jakub Jelinek <jakub@redhat.com>
3179 - fix gencat (#30894)
3180 - fix ldconfig changes from yesterday, fix LD_ASSUME_KERNEL handling
3182 * Tue Mar 6 2001 Jakub Jelinek <jakub@redhat.com>
3183 - update from CVS
3184 - make pthread_attr_setstacksize consistent before and after pthread manager
3185 is started (#28194)
3186 - pass back struct sigcontext from pthread signal wrapper (on ia32 only so
3187 far, #28493)
3188 - on i686 ship both --enable-kernel 2.2.5 and 2.4.0 libc/libm/libpthread,
3189 make ld.so pick the right one
3191 * Sat Feb 17 2001 Preston Brown <pbrown@redhat.com>
3192 - glib-common doesn't require glibc, until we can figure out how to get out of dependency hell.
3194 * Sat Feb 17 2001 Jakub Jelinek <jakub@redhat.com>
3195 - make glibc require particular version of glibc-common
3196 and glibc-common prerequire glibc.
3198 * Fri Feb 16 2001 Jakub Jelinek <jakub@redhat.com>
3199 - glibc 2.2.2 release
3200 - fix regex REG_ICASE bug seen in ksymoops
3202 * Sat Feb 10 2001 Jakub Jelinek <jakub@redhat.com>
3203 - fix regexec leaking memory (#26864)
3205 * Fri Feb 9 2001 Jakub Jelinek <jakub@redhat.com>
3206 - update from CVS
3207 - fix ia64 build with gnupro
3208 - make regex 64bit clean
3209 - fix tgmath make check failures on alpha
3211 * Tue Feb 6 2001 Jakub Jelinek <jakub@redhat.com>
3212 - update again for ia64 DF_1_INITFIRST
3214 * Fri Feb 2 2001 Jakub Jelinek <jakub@redhat.com>
3215 - update from CVS
3216 - fix getaddrinfo (#25437)
3217 - support DF_1_INITFIRST (#25029)
3219 * Wed Jan 24 2001 Jakub Jelinek <jakub@redhat.com>
3220 - build all auxiliary arches with --enablekernel 2.4.0, those wanting
3221 to run 2.2 kernels can downgrade to the base architecture glibc.
3223 * Sat Jan 20 2001 Jakub Jelinek <jakub@redhat.com>
3224 - remove %%lang() flags from %%{_prefix}/lib/locale files temporarily
3226 * Sun Jan 14 2001 Jakub Jelinek <jakub@redhat.com>
3227 - update to 2.2.1 final
3228 - fix a pthread_kill_other_threads_np breakage (#23966)
3229 - make static binaries using dlopen work on ia64 again
3230 - fix a typo in glibc-common group
3232 * Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
3233 - devel requires glibc = %%{version}
3234 - noreplace /etc/nscd.conf
3236 * Wed Jan 10 2001 Jakub Jelinek <jakub@redhat.com>
3237 - some more security fixes:
3238 - don't look up LD_PRELOAD libs in cache for SUID apps
3239 (because that bypasses SUID bit checking on the library)
3240 - place output files for profiling SUID apps into /var/profile,
3241 use O_NOFOLLOW for them
3242 - add checks for $MEMUSAGE_OUTPUT and $SEGFAULT_OUTPUT_NAME
3243 - hardlink identical locale files together
3244 - add %%lang() tags to locale stuff
3245 - remove ko_KR.utf8 for now, it is provided by locale-utf8 package
3247 * Mon Jan 8 2001 Jakub Jelinek <jakub@redhat.com>
3248 - add glibc-common subpackage
3249 - fix alphaev6 memcpy (#22494)
3250 - fix sys/cdefs.h (#22908)
3251 - don't define stdin/stdout/stderr as macros for -traditional (#22913)
3252 - work around a bug in IBM JDK (#22932, #23012)
3253 - fix pmap_unset when network is down (#23176)
3254 - move nscd in rc.d before netfs on shutdown
3255 - fix $RESOLV_HOST_CONF in SUID apps (#23562)
3257 * Fri Dec 15 2000 Jakub Jelinek <jakub@redhat.com>
3258 - fix ftw and nftw
3260 * Wed Dec 13 2000 Jakub Jelinek <jakub@redhat.com>
3261 - fix fcvt (#22184)
3262 - ldd /lib/ld-linux.so.2 is not crashing any longer again (#22197)
3263 - fix gencat
3265 * Mon Dec 11 2000 Jakub Jelinek <jakub@redhat.com>
3266 - fix alpha htonl and alphaev6 stpcpy
3268 * Sat Dec 9 2000 Jakub Jelinek <jakub@redhat.com>
3269 - update to CVS to:
3270 - fix getnameinfo (#21934)
3271 - don't stomp on memory in rpath handling (#21544)
3272 - fix setlocale (#21507)
3273 - fix libNoVersion.so.1 loading code (#21579)
3274 - use auxarches define in spec file for auxiliary
3275 architectures (#21219)
3276 - remove /usr/share directory from filelist (#21218)
3278 * Sun Nov 19 2000 Jakub Jelinek <jakub@redhat.com>
3279 - update to CVS to fix getaddrinfo
3281 * Fri Nov 17 2000 Jakub Jelinek <jakub@redhat.com>
3282 - update to CVS to fix freopen
3283 - remove all alpha workarounds, not needed anymore
3285 * Wed Nov 15 2000 Jakub Jelinek <jakub@redhat.com>
3286 - fix dladdr bug on alpha/sparc32/sparc64
3287 - fix Makefiles so that they run static tests properly
3289 * Tue Nov 14 2000 Jakub Jelinek <jakub@redhat.com>
3290 - update to CVS to fix ldconfig
3292 * Thu Nov 9 2000 Jakub Jelinek <jakub@redhat.com>
3293 - update to glibc 2.2 release
3295 * Mon Nov 6 2000 Jakub Jelinek <jakub@redhat.com>
3296 - update to CVS to:
3297 - export __sysconf@@GLIBC_2.2 (#20417)
3299 * Fri Nov 3 2000 Jakub Jelinek <jakub@redhat.com>
3300 - merge to 2.1.97
3302 * Mon Oct 30 2000 Jakub Jelinek <jakub@redhat.com>
3303 - update to CVS, including:
3304 - fix WORD_BIT/LONG_BIT definition in limits.h (#19088)
3305 - fix hesiod (#19375)
3306 - set LC_MESSAGES in zic/zdump for proper error message output (#19495)
3307 - fix LFS fcntl when used with non-LFS aware kernels (#19730)
3309 * Thu Oct 19 2000 Jakub Jelinek <jakub@redhat.com>
3310 - fix alpha semctl (#19199)
3311 - update to CVS, including:
3312 - fix glibc headers for Compaq non-gcc compilers
3313 - fix locale alias handling code (#18832)
3314 - fix rexec on little endian machines (#18886)
3315 - started writing changelog again
3317 * Thu Aug 10 2000 Adrian Havill <havill@redhat.com>
3318 - added ja ujis alias for backwards compatibility