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