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