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