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