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