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