Updated to fedora-glibc-20041214T1058
[glibc/history.git] / fedora / glibc.spec.in
blob860822601fc71fed754b2ac1afe26e60cb1f8c8e
1 %define glibcrelease 92
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 \
521 %ifarch i386
522 -DARCH_386 \
523 %endif
524 %ifarch %{nptlarches}
525 '-DLIBTLS="/%{_lib}/tls/"' \
526 %endif
527 '-DGCONV_MODULES_CACHE="%{_prefix}/%{_lib}/gconv/gconv-modules.cache"' \
528 '-DLD_SO_CONF="/etc/ld.so.conf"'
529 cd ..
531 # hack
532 unset LD_ASSUME_KERNEL || :
534 %ifarch %{rtkaioarches}
535 AddOns=,rtkaio$AddOns
536 %endif
538 %ifarch i686 athlon
539 rm -rf build-%{_target_cpu}-linuxltfs
540 mkdir build-%{_target_cpu}-linuxltfs ; cd build-%{_target_cpu}-linuxltfs
541 EnableKernel="--enable-kernel=%{enablekernelltfs} --disable-profile"
542 Pthreads=linuxthreads
543 %ifarch %{withtlsarches}
544 WithTls="--with-tls --without-__thread"
545 %else
546 WithTls="--without-tls --without-__thread"
547 %endif
548 CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \
549 --enable-add-ons=$Pthreads$AddOns --without-cvs $EnableKernel \
550 --with-headers=%{_prefix}/include --enable-bind-now \
551 $WithTls --build %{_target_cpu}-redhat-linux --host %{_target_cpu}-redhat-linux
552 make -j$numprocs -r CFLAGS="$BuildFlags -g -O3" PARALLELMFLAGS=-s
554 cd ..
555 %endif
557 %ifarch %{nptlarches}
558 rm -rf build-%{nptl_target_cpu}-linuxnptl
559 mkdir build-%{nptl_target_cpu}-linuxnptl ; cd build-%{nptl_target_cpu}-linuxnptl
560 EnableKernel="--enable-kernel=%{enablekernelnptl} --disable-profile"
561 Pthreads=nptl
562 WithTls="--with-tls --with-__thread"
563 CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \
564 --enable-add-ons=$Pthreads$AddOns --without-cvs $EnableKernel \
565 --with-headers=%{_prefix}/include --enable-bind-now \
566 $WithTls --build %{nptl_target_cpu}-redhat-linux --host %{nptl_target_cpu}-redhat-linux
567 make -j$numprocs -r CFLAGS="$BuildFlags -g -O3" PARALLELMFLAGS=-s
569 cd ..
570 %endif
572 %install
573 # hack
574 unset LD_ASSUME_KERNEL || :
576 BuildFlags=`cat BuildFlags`
577 GCC=`cat Gcc`
578 AddOns=`cat AddOns`
580 %ifarch %{rtkaioarches}
581 AddOns=,rtkaio$AddOns
582 %endif
584 if [ -x /usr/bin/getconf ] ; then
585 numprocs=$(/usr/bin/getconf _NPROCESSORS_ONLN)
586 if [ $numprocs -eq 0 ]; then
587 numprocs=1
589 else
590 numprocs=1
592 rm -rf $RPM_BUILD_ROOT
593 mkdir -p $RPM_BUILD_ROOT
594 make -j1 install_root=$RPM_BUILD_ROOT install -C build-%{_target_cpu}-linux PARALLELMFLAGS=-s
595 %ifnarch %{auxarches}
596 cd build-%{_target_cpu}-linux && \
597 make -j$numprocs install_root=$RPM_BUILD_ROOT install-locales -C ../localedata objdir=`pwd` && \
598 cd ..
599 %endif
601 SubDir=
603 %ifarch i686 athlon
604 cd build-%{_target_cpu}-linuxltfs
605 Pthreads=linuxthreads
606 SubDir=i686
607 mkdir -p $RPM_BUILD_ROOT/lib/$SubDir/
608 cp -a libc.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libc-*.so`
609 ln -sf `basename $RPM_BUILD_ROOT/lib/libc-*.so` $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libc.so.*`
610 cp -a math/libm.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libm-*.so`
611 ln -sf `basename $RPM_BUILD_ROOT/lib/libm-*.so` $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libm.so.*`
612 cp -a $Pthreads/libpthread.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/libpthread-*.so`
613 pushd $RPM_BUILD_ROOT/lib/$SubDir
614 ln -sf libpthread-*.so `basename $RPM_BUILD_ROOT/lib/libpthread.so.*`
615 popd
616 %ifarch %{rtkaioarches}
617 cp -a rtkaio/librtkaio.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/librt-*.so | sed s/librt-/librtkaio-/`
618 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.*`
619 %else
620 cp -a rt/librt.so $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/librt-*.so`
621 ln -sf `basename $RPM_BUILD_ROOT/lib/librt-*.so` $RPM_BUILD_ROOT/lib/$SubDir/`basename $RPM_BUILD_ROOT/lib/librt.so.*`
622 %endif
624 cd ..
625 %endif
627 %ifarch %{nptlarches}
628 cd build-%{nptl_target_cpu}-linuxnptl
629 Pthreads=nptl
630 SubDir=%{tls_subdir}
631 mkdir -p $RPM_BUILD_ROOT/%{_lib}/$SubDir/
632 cp -a libc.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libc-*.so`
633 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libc-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libc.so.*`
634 cp -a math/libm.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libm-*.so`
635 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libm-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libm.so.*`
636 cp -a $Pthreads/libpthread.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/libpthread-%{version}.so
637 pushd $RPM_BUILD_ROOT/%{_lib}/$SubDir
638 ln -sf libpthread-*.so `basename $RPM_BUILD_ROOT/%{_lib}/libpthread.so.*`
639 popd
640 %ifarch %{rtkaioarches}
641 cp -a rtkaio/librtkaio.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed s/librt-/librtkaio-/`
642 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.*`
643 %else
644 cp -a rt/librt.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so`
645 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt.so.*`
646 %endif
647 cp -a ${Pthreads}_db/libthread_db.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libthread_db-*.so`
648 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libthread_db-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libthread_db.so.*`
650 mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl
651 cp -a libc.a nptl/libpthread.a nptl/libpthread_nonshared.a rt/librt.a \
652 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/
653 sed "s| /%{_lib}/| /%{_lib}/$SubDir/|" $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libc.so \
654 > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/libc.so
655 sed "s|^GROUP (.*)|GROUP ( /%{_lib}/$SubDir/"`basename $RPM_BUILD_ROOT/%{_lib}/libpthread.so.*`' %{_prefix}/%{_lib}/nptl/libpthread_nonshared.a )|' \
656 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libc.so \
657 > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/libpthread.so
658 %ifarch %{rtkaioarches}
659 ln -sf /%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed 's/librt-/librtkaio-/'` \
660 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/librt.so
661 %else
662 ln -sf /%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so` \
663 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/librt.so
664 %endif
665 strip -g $RPM_BUILD_ROOT%{_prefix}/%{_lib}/nptl/*.a
666 mkdir -p $RPM_BUILD_ROOT/nptl $RPM_BUILD_ROOT%{_prefix}/include/nptl
667 make -j1 install_root=$RPM_BUILD_ROOT/nptl install-headers PARALLELMFLAGS=-s
668 pushd $RPM_BUILD_ROOT/nptl%{_prefix}/include
669 for i in `find . -type f`; do
670 if ! [ -f $RPM_BUILD_ROOT%{_prefix}/include/$i ] \
671 || ! cmp -s $i $RPM_BUILD_ROOT%{_prefix}/include/$i; then
672 mkdir -p $RPM_BUILD_ROOT%{_prefix}/include/nptl/`dirname $i`
673 cp -a $i $RPM_BUILD_ROOT%{_prefix}/include/nptl/$i
675 done
676 popd
677 rm -rf $RPM_BUILD_ROOT/nptl
679 cd ..
681 %ifarch i386
682 for i in i586 i686; do
683 mkdir $RPM_BUILD_ROOT/%{_lib}/tls/$i
684 pushd $RPM_BUILD_ROOT/%{_lib}/tls/$i
685 ln -sf ../i486/*.so .
686 cp -a ../i486/*.so.* .
687 popd
688 done
689 %endif
690 %endif
692 # compatibility hack: this locale has vanished from glibc, but some other
693 # programs are still using it. Normally we would handle it in the %pre
694 # section but with glibc that is simply not an option
695 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/locale/ru_RU/LC_MESSAGES
697 # Remove the files we don't want to distribute
698 rm -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libNoVersion*
699 %ifnarch %{ix86} alpha alphaev6 sparc sparcv9
700 rm -f $RPM_BUILD_ROOT/%{_lib}/libNoVersion*
701 %endif
703 # the man pages for the linuxthreads require special attention
704 make -C linuxthreads/man
705 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3
706 install -m 0644 linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
707 gzip -9nvf $RPM_BUILD_ROOT%{_mandir}/man3/*
709 if [ -d $RPM_BUILD_ROOT%{_prefix}/info -a "%{_infodir}" != "%{_prefix}/info" ]; then
710 mkdir -p $RPM_BUILD_ROOT%{_infodir}
711 mv -f $RPM_BUILD_ROOT%{_prefix}/info/* $RPM_BUILD_ROOT%{_infodir}
712 rm -rf $RPM_BUILD_ROOT%{_prefix}/info
715 gzip -9nvf $RPM_BUILD_ROOT%{_infodir}/libc*
717 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libbsd.a
719 install -p -m 644 fedora/nsswitch.conf $RPM_BUILD_ROOT/etc/nsswitch.conf
721 mkdir -p $RPM_BUILD_ROOT/etc/default
722 install -p -m 644 nis/nss $RPM_BUILD_ROOT/etc/default/nss
724 # Take care of setuids
725 # -- new security review sez that this shouldn't be needed anymore
726 #chmod 755 $RPM_BUILD_ROOT%{_prefix}/libexec/pt_chown
728 # This is for ncsd - in glibc 2.2
729 install -m 644 nscd/nscd.conf $RPM_BUILD_ROOT/etc
730 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
731 install -m 755 nscd/nscd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
733 # Don't include ld.so.cache
734 rm -f $RPM_BUILD_ROOT/etc/ld.so.cache
736 # Include ld.so.conf
737 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT/etc/ld.so.conf
738 touch $RPM_BUILD_ROOT/etc/ld.so.cache
739 chmod 644 $RPM_BUILD_ROOT/etc/ld.so.conf
740 mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
742 # Include %{_prefix}/%{_lib}/gconv/gconv-modules.cache
743 > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/gconv-modules.cache
744 chmod 644 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/gconv-modules.cache
746 # Install the upgrade program
747 install -m 700 build-%{_target_cpu}-linux/glibc_post_upgrade $RPM_BUILD_ROOT/usr/sbin/glibc_post_upgrade
749 strip -g $RPM_BUILD_ROOT%{_prefix}/%{_lib}/*.o
751 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}
752 cp -a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/*.a \
753 $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}/
754 rm -f $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}/*_p.a
755 # Now strip debugging info from static libraries
756 pushd $RPM_BUILD_ROOT%{_prefix}/%{_lib}/
757 for i in *.a; do
758 if [ -f $i ]; then
759 case "$i" in
760 *_p.a) ;;
761 *) strip -g -R .comment $i ;;
762 esac
764 done
765 popd
767 %ifarch %{prelinkarches}
768 %ifarch i686 athlon
769 # Prelink ld.so and libc.so
770 > prelink.conf
771 # For now disable prelinking of ld.so, as it breaks statically linked
772 # binaries built against non-NDEBUG old glibcs (assert unknown dynamic tag)
773 # /usr/sbin/prelink -c ./prelink.conf -C ./prelink.cache \
774 # --mmap-region-start=0x00101000 $RPM_BUILD_ROOT/%{_lib}/ld-*.so
775 /usr/sbin/prelink --reloc-only=0x00e80000 $RPM_BUILD_ROOT/%{_lib}/$SubDir/libc-*.so
776 %endif
777 %ifarch alpha alphaev6
778 # Prelink ld.so and libc.so
779 > prelink.conf
780 # For now disable prelinking of ld.so, as it breaks statically linked
781 # binaries built against non-NDEBUG old glibcs (assert unknown dynamic tag)
782 # /usr/sbin/prelink -c ./prelink.conf -C ./prelink.cache \
783 # --mmap-region-start=0x0000020000000000 $RPM_BUILD_ROOT/%{_lib}/ld-*.so
784 /usr/sbin/prelink --reloc-only=0x0000020010000000 $RPM_BUILD_ROOT/%{_lib}/$SubDir/libc-*.so
785 %endif
786 %endif
788 # rquota.x and rquota.h are now provided by quota
789 rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx]
791 # Hardlink identical locale files together
792 %ifnarch %{auxarches}
793 gcc -O2 -o build-%{_target_cpu}-linux/hardlink fedora/hardlink.c
794 build-%{_target_cpu}-linux/hardlink -vc $RPM_BUILD_ROOT%{_prefix}/lib/locale
795 %endif
797 %ifarch %{ix86} alpha alphaev6 sparc sparcv9
798 rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss1-*
799 rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss-*.so.1
800 %endif
802 # BUILD THE FILE LIST
803 find $RPM_BUILD_ROOT -type f -or -type l |
804 sed -e 's|.*/etc|%config &|' \
805 -e 's|.*/gconv/gconv-modules$|%verify(not md5 size mtime) %config(noreplace) &|' \
806 -e 's|.*/gconv/gconv-modules.cache|%verify(not md5 size mtime) &|' \
807 -e '/lib\/debug/d' > rpm.filelist.in
808 for n in %{_prefix}/share %{_prefix}/include %{_prefix}/lib/locale; do
809 find ${RPM_BUILD_ROOT}${n} -type d | \
810 grep -v '%{_prefix}/share$' | \
811 grep -v '\(%{_mandir}\|%{_infodir}\)' | \
812 sed "s/^/%dir /" >> rpm.filelist.in
813 done
815 # primary filelist
816 SHARE_LANG='s|.*/share/locale/\([^/_]\+\).*/LC_MESSAGES/.*\.mo|%lang(\1) &|'
817 LIB_LANG='s|.*/lib/locale/\([^/_]\+\)|%lang(\1) &|'
818 # rpm does not handle %lang() tagged files hardlinked together accross
819 # languages very well, temporarily disable
820 # LIB_LANG=''
821 sed -e "s|$RPM_BUILD_ROOT||" -e "$LIB_LANG" -e "$SHARE_LANG" < rpm.filelist.in |
822 grep -v '/etc/\(localtime\|nsswitch.conf\|ld.so.conf\|ld.so.cache\|default\)' | \
823 grep -v '/%{_lib}/lib\(pcprofile\|memusage\).so' | \
824 grep -v 'bin/\(memusage\|mtrace\|xtrace\|pcprofiledump\)' | \
825 sort > rpm.filelist
827 mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_lib}
828 mv -f $RPM_BUILD_ROOT/%{_lib}/lib{pcprofile,memusage}.so $RPM_BUILD_ROOT%{_prefix}/%{_lib}
829 for i in $RPM_BUILD_ROOT%{_prefix}/bin/{xtrace,memusage}; do
830 cp -a $i $i.tmp
831 sed -e 's~=/%{_lib}/libpcprofile.so~=%{_prefix}/%{_lib}/libpcprofile.so~' \
832 -e 's~=/%{_lib}/libmemusage.so~=%{_prefix}/%{_lib}/libmemusage.so~' \
833 $i.tmp > $i
834 chmod 755 $i; rm -f $i.tmp
835 done
837 grep '%{_prefix}/%{_lib}/lib.*_p\.a' < rpm.filelist > profile.filelist || :
838 egrep "(%{_prefix}/include)|(%{_infodir})" < rpm.filelist |
839 grep -v %{_prefix}/include/nptl |
840 grep -v %{_infodir}/dir > devel.filelist
842 mv rpm.filelist rpm.filelist.full
843 grep -v '%{_prefix}/%{_lib}/lib.*_p.a' rpm.filelist.full |
844 egrep -v "(%{_prefix}/include)|(%{_infodir})" > rpm.filelist
846 grep '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist >> devel.filelist
847 grep '%{_prefix}/%{_lib}/.*\.o' < rpm.filelist >> devel.filelist
848 grep '%{_prefix}/%{_lib}/lib.*\.so' < rpm.filelist >> devel.filelist
849 grep '%{_mandir}' < rpm.filelist >> devel.filelist
851 grep '%{_prefix}/include' < devel.filelist > headers.filelist
852 grep -v '%{_prefix}/include' < devel.filelist > devel.filelist.tmp
853 mv -f devel.filelist.tmp devel.filelist
855 mv rpm.filelist rpm.filelist.full
856 grep -v '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist.full |
857 grep -v '%{_prefix}/%{_lib}/.*\.o' |
858 grep -v '%{_prefix}/%{_lib}/lib.*\.so'|
859 grep -v '%{_prefix}/%{_lib}/nptl' |
860 grep -v '%{_mandir}' |
861 grep -v 'nscd' > rpm.filelist
863 grep '%{_prefix}/bin' < rpm.filelist >> common.filelist
864 grep '%{_prefix}/lib/locale' < rpm.filelist >> common.filelist
865 grep '%{_prefix}/libexec/pt_chown' < rpm.filelist >> common.filelist
866 grep '%{_prefix}/sbin/[^gi]' < rpm.filelist >> common.filelist
867 grep '%{_prefix}/share' < rpm.filelist \
868 | grep -v '%{_prefix}/share/zoneinfo' >> common.filelist
870 mv rpm.filelist rpm.filelist.full
871 grep -v '%{_prefix}/bin' < rpm.filelist.full |
872 grep -v '%{_prefix}/lib/locale' |
873 grep -v '%{_prefix}/libexec/pt_chown' |
874 grep -v '%{_prefix}/sbin/[^gi]' |
875 grep -v '%{_prefix}/share' > rpm.filelist
877 echo '%{_prefix}/sbin/build-locale-archive' >> common.filelist
878 echo '%{_prefix}/sbin/nscd' > nscd.filelist
880 cat > utils.filelist <<EOF
881 %{_prefix}/%{_lib}/libmemusage.so
882 %{_prefix}/%{_lib}/libpcprofile.so
883 %{_prefix}/bin/memusage
884 %{_prefix}/bin/memusagestat
885 %{_prefix}/bin/mtrace
886 %{_prefix}/bin/pcprofiledump
887 %{_prefix}/bin/xtrace
890 # /etc/localtime
891 rm -f $RPM_BUILD_ROOT/etc/localtime
892 cp -f $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime
893 #ln -sf ..%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime
895 rm -rf $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo
897 cd fedora
898 $GCC -Os -static -o build-locale-archive build-locale-archive.c \
899 ../build-%{_target_cpu}-linux/locale/locarchive.o \
900 ../build-%{_target_cpu}-linux/locale/md5.o \
901 -DDATADIR=\"%{_datadir}\" -DPREFIX=\"%{_prefix}\" \
902 -L../build-%{_target_cpu}-linux
903 install -m 700 build-locale-archive $RPM_BUILD_ROOT/usr/sbin/build-locale-archive
904 cd ..
906 # the last bit: more documentation
907 rm -rf documentation
908 mkdir documentation
909 cp linuxthreads/ChangeLog documentation/ChangeLog.threads
910 cp linuxthreads/Changes documentation/Changes.threads
911 cp linuxthreads/README documentation/README.threads
912 cp linuxthreads/FAQ.html documentation/FAQ-threads.html
913 cp -r linuxthreads/Examples documentation/examples.threads
914 cp crypt/README.ufc-crypt documentation/README.ufc-crypt
915 cp timezone/README documentation/README.timezone
916 cp ChangeLog* documentation
917 gzip -9n documentation/ChangeLog*
919 %ifarch s390x
920 # Compatibility symlink
921 mkdir -p $RPM_BUILD_ROOT/lib
922 ln -sf /%{_lib}/ld64.so.1 $RPM_BUILD_ROOT/lib/ld64.so.1
923 %endif
924 %ifarch ia64
925 %if "%{_lib}" == "lib64"
926 # Compatibility symlink
927 mkdir -p $RPM_BUILD_ROOT/lib
928 ln -sf /%{_lib}/ld-linux-ia64.so.2 $RPM_BUILD_ROOT/lib/ld-linux-ia64.so.2
929 %endif
930 %endif
932 # Increase timeouts
933 export TIMEOUTFACTOR=16
934 echo ====================TESTING=========================
935 cd build-%{_target_cpu}-linux
936 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
937 cd ..
938 %ifarch i686 athlon
939 echo ====================TESTING LINUXTHREADS FS=========
940 cd build-%{_target_cpu}-linuxltfs
941 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
942 cd ..
943 %endif
944 %ifarch %{nptlarches}
945 echo ====================TESTING NPTL====================
946 cd build-%{nptl_target_cpu}-linuxnptl
947 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
948 cd ..
949 %endif
950 echo ====================TESTING DETAILS=================
951 for i in `sed -n 's|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p' build-*-linux*/check.log`; do
952 echo =====$i=====
953 cat $i || :
954 echo ============
955 done
956 %ifarch i686 athlon
957 echo ====================TESTING LINUXTHREADS FS LD.SO===
958 cd build-%{_target_cpu}-linuxltfs
959 mv elf/ld.so elf/ld.so.orig
960 cp -a ../build-%{_target_cpu}-linux/elf/ld.so elf/ld.so
961 find . -name \*.out -exec mv -f '{}' '{}'.origldso \;
962 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check2.log || :
963 cd ..
964 %endif
965 %ifarch %{nptlarches}
966 echo ====================TESTING NPTL LD.SO==============
967 cd build-%{nptl_target_cpu}-linuxnptl
968 mv elf/ld.so elf/ld.so.orig
969 cp -a ../build-%{_target_cpu}-linux/elf/ld.so elf/ld.so
970 find . -name \*.out -exec mv -f '{}' '{}'.origldso \;
971 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check2.log || :
972 cd ..
973 %endif
974 echo ====================TESTING DETAILS=================
975 for i in `sed -n 's|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p' build-*-linux*/check2.log`; do
976 echo =====$i=====
977 cat $i || :
978 echo ============
979 done
980 echo ====================TESTING END=====================
981 PLTCMD='/^Relocation section .*\(\.rela\?\.plt\|\.rela\.IA_64\.pltoff\)/,/^$/p'
982 echo ====================PLT RELOCS LD.SO================
983 readelf -Wr $RPM_BUILD_ROOT/%{_lib}/ld-*.so | sed -n -e "$PLTCMD"
984 echo ====================PLT RELOCS LIBC.SO==============
985 readelf -Wr $RPM_BUILD_ROOT/%{_lib}/$SubDir/libc-*.so | sed -n -e "$PLTCMD"
986 echo ====================PLT RELOCS END==================
988 %if "%{_enable_debug_packages}" == "1"
990 case "$-" in *x*) save_trace=yes;; esac
991 set +x
992 echo Building debuginfo subpackage...
994 blf=debugfiles.list
995 sf=debugsources.list
996 cblf=debugcommonfiles.list
997 csf=debugcommonsources.list
999 echo -n > $sf
1000 echo -n > $csf
1002 strip $RPM_BUILD_ROOT/{sbin/ldconfig,usr/sbin/glibc_post_upgrade,usr/sbin/build-locale-archive}
1004 # Strip ELF binaries
1005 for f in `grep -v '%%\(dir\|lang\|config\|verify\)' rpm.filelist`; do
1006 bf=$RPM_BUILD_ROOT$f
1007 if [ -f $bf -a -x $bf -a ! -h $bf ]; then
1008 if `file $bf 2>/dev/null | grep 'ELF.*, not stripped' | grep -vq 'statically linked'`; then
1009 bd=`dirname $f`
1010 outd=$RPM_BUILD_ROOT/usr/lib/debug$bd
1011 mkdir -p $outd
1012 echo extracting debug info from $f
1013 /usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug -l $sf $bf
1014 bn=`basename $f`
1015 case $f in
1016 /%{_lib}/*) eu-strip -g -f $outd/$bn.debug $bf || :;;
1017 *) eu-strip -f $outd/$bn.debug $bf || :;;
1018 esac
1019 if [ -f $outd/$bn.debug ]; then echo /usr/lib/debug$bd/$bn.debug >> $blf; fi
1022 done
1024 for f in `cat common.filelist utils.filelist nscd.filelist \
1025 | grep -v '%%\(dir\|lang\|config\|verify\)'`; do
1026 bf=$RPM_BUILD_ROOT$f
1027 if [ -f $bf -a -x $bf -a ! -h $bf ]; then
1028 if `file $bf 2>/dev/null | grep 'ELF.*, not stripped' | grep -vq 'statically linked'`; then
1029 bd=`dirname $f`
1030 outd=$RPM_BUILD_ROOT/usr/lib/debug$bd
1031 mkdir -p $outd
1032 echo extracting debug info from $f
1033 /usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug -l $csf $bf
1034 bn=`basename $f`
1035 eu-strip -f $outd/$bn.debug $bf || :
1036 if [ -f $outd/$bn.debug ]; then echo /usr/lib/debug$bd/$bn.debug >> $cblf; fi
1039 done
1041 for f in `find $RPM_BUILD_ROOT/%{_lib} -type l`; do
1042 l=`ls -l $f`
1043 l=${l#* -> }
1044 t=/usr/lib/debug`dirname ${f#$RPM_BUILD_ROOT}`
1045 if grep -q "^$t/$l.debug\$" $blf; then
1046 ln -sf $l.debug $RPM_BUILD_ROOT$t/`basename $f`.debug
1047 echo $t/`basename $f`.debug >> $blf
1048 elif grep -q "^$t.debug/$l\$" $cblf; then
1049 ln -sf $l.debug $RPM_BUILD_ROOT$t/`basename $f`.debug
1050 echo $t/`basename $f`.debug >> $cblf
1052 done
1054 echo Sorting source file lists. Might take a while...
1055 xargs -0 -n 1 echo < $sf | LANG=C sort -u > $sf.sorted
1056 xargs -0 -n 1 echo < $csf | LANG=C sort -u > $csf.sorted
1057 mkdir -p $RPM_BUILD_ROOT/usr/src/debug
1058 cat $sf.sorted $csf.sorted \
1059 | (cd $RPM_BUILD_DIR; LANG=C sort -u | cpio -pdm ${RPM_BUILD_ROOT}/usr/src/debug)
1060 # stupid cpio creates new directories in mode 0700, fixup
1061 find $RPM_BUILD_ROOT/usr/src/debug -type d -print | xargs chmod a+rx
1063 %ifarch %{debuginfocommonarches}
1064 %ifarch %{auxarches}
1065 %ifarch %{ix86}
1066 %define basearch i386
1067 %endif
1068 %ifarch alpha alphaev6
1069 %define basearch alpha
1070 %endif
1071 %ifarch sparc sparcv9
1072 %define basearch sparc
1073 %endif
1074 cat $blf > debuginfo.filelist
1075 find $RPM_BUILD_ROOT/usr/src/debug/%{glibcsrcdir} -type d \
1076 | sed "s#^$RPM_BUILD_ROOT#%%dir #" >> debuginfo.filelist
1077 grep '/generic/\|/linux/\|/%{basearch}/\|/nptl\(_db\)\?/\|^%{glibcsrcdir}/build' \
1078 $sf.sorted | sed 's|^|/usr/src/debug/|' >> debuginfo.filelist
1079 touch debuginfocommon.filelist
1080 %else
1081 ( grep '^%{glibcsrcdir}/build-\|dl-osinfo\.h' $csf.sorted || : ) > $csf.sorted.build
1082 cat $blf > debuginfo.filelist
1083 cat $cblf > debuginfocommon.filelist
1084 grep '^%{glibcsrcdir}/build-\|dl-osinfo\.h' $sf.sorted \
1085 | sed 's|^|/usr/src/debug/|' >> debuginfo.filelist
1086 find $RPM_BUILD_ROOT/usr/src/debug/%{glibcsrcdir} -type d \
1087 | sed "s#^$RPM_BUILD_ROOT#%%dir #" >> debuginfocommon.filelist
1088 ( cat $csf.sorted; grep -v -f $csf.sorted.build $sf.sorted ) \
1089 | grep -v 'dl-osinfo\.h' | LC_ALL=C sort -u \
1090 | sed 's|^|/usr/src/debug/|' >> debuginfocommon.filelist
1091 %endif
1092 %else
1093 cat $blf $cblf | LC_ALL=C sort -u > debuginfo.filelist
1094 echo '/usr/src/debug/%{glibcsrcdir}' >> debuginfo.filelist
1095 %endif
1097 [ "x$save_trace" = xyes ] && set -x
1099 %endif
1101 %ifarch %{auxarches}
1102 case "$-" in *x*) save_trace=yes;; esac
1103 set +x
1104 echo Cutting down the list of unpackaged files
1105 for i in `sed '/%%dir/d;/%%config/d;/%%verify/d;s/%%lang([^)]*) //' \
1106 common.filelist devel.filelist headers.filelist profile.filelist \
1107 utils.filelist nscd.filelist`; do
1108 [ -f "$RPM_BUILD_ROOT$i" ] && rm -f "$RPM_BUILD_ROOT$i" || :
1109 done
1110 [ "x$save_trace" = xyes ] && set -x
1112 %else
1114 mkdir -p $RPM_BUILD_ROOT/var/{db,run}/nscd
1115 touch $RPM_BUILD_ROOT/var/{db,run}/nscd/{passwd,group,hosts}
1116 touch $RPM_BUILD_ROOT/var/run/nscd/{socket,nscd.pid}
1117 %endif
1119 touch $RPM_BUILD_ROOT/%{_prefix}/lib/locale/locale-archive
1121 %post -p /usr/sbin/glibc_post_upgrade
1123 %postun -p /sbin/ldconfig
1125 %post common -p /usr/sbin/build-locale-archive
1127 %post devel
1128 /sbin/install-info %{_infodir}/libc.info.gz %{_infodir}/dir
1130 %pre headers
1131 # this used to be a link and it is causing nightmares now
1132 if [ -L %{_prefix}/include/scsi ] ; then
1133 rm -f %{_prefix}/include/scsi
1136 %preun devel
1137 if [ "$1" = 0 ]; then
1138 /sbin/install-info --delete %{_infodir}/libc.info.gz %{_infodir}/dir
1141 %post utils -p /sbin/ldconfig
1143 %postun utils -p /sbin/ldconfig
1145 %pre -n nscd
1146 /usr/sbin/useradd -M -o -r -d / -s /sbin/nologin \
1147 -c "NSCD Daemon" -u 28 nscd > /dev/null 2>&1 || :
1149 %post -n nscd
1150 /sbin/chkconfig --add nscd
1152 %preun -n nscd
1153 if [ $1 = 0 ] ; then
1154 service nscd stop > /dev/null 2>&1
1155 /sbin/chkconfig --del nscd
1158 %postun -n nscd
1159 if [ $1 = 0 ] ; then
1160 /usr/sbin/userdel nscd > /dev/null 2>&1 || :
1162 if [ "$1" -ge "1" ]; then
1163 service nscd condrestart > /dev/null 2>&1 || :
1166 %clean
1167 rm -rf "$RPM_BUILD_ROOT"
1168 rm -f *.filelist*
1170 %files -f rpm.filelist
1171 %defattr(-,root,root)
1172 %ifarch %{nptlarches}
1173 %dir /%{_lib}/%{tls_subdir}
1174 %ifarch i386
1175 %dir /%{_lib}/tls/i586
1176 %dir /%{_lib}/tls/i686
1177 %endif
1178 %endif
1179 %ifarch i686 athlon
1180 %dir /lib/i686
1181 %endif
1182 %ifarch s390x
1183 %dir /lib
1184 /lib/ld64.so.1
1185 %endif
1186 %ifarch ia64
1187 %if "%{_lib}" == "lib64"
1188 %dir /lib
1189 /lib/ld-linux-ia64.so.2
1190 %endif
1191 %endif
1192 %verify(not md5 size mtime) %config(noreplace) /etc/localtime
1193 %verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf
1194 %verify(not md5 size mtime) %config(noreplace) /etc/ld.so.conf
1195 %dir /etc/ld.so.conf.d
1196 %dir %{_prefix}/libexec/getconf
1197 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
1198 %doc README NEWS INSTALL FAQ BUGS NOTES PROJECTS CONFORMANCE
1199 %doc COPYING COPYING.LIB README.libm LICENSES
1200 %doc hesiod/README.hesiod
1202 %ifnarch %{auxarches}
1203 %files -f common.filelist common
1204 %defattr(-,root,root)
1205 %attr(0644,root,root) %verify(not md5 size mtime mode) %ghost %config(missingok,noreplace) %{_prefix}/lib/locale/locale-archive
1206 %dir %attr(755,root,root) /etc/default
1207 %verify(not md5 size mtime) %config(noreplace) /etc/default/nss
1208 %doc documentation/*
1210 %files -f devel.filelist devel
1211 %defattr(-,root,root)
1213 %files -f headers.filelist headers
1214 %defattr(-,root,root)
1215 %ifarch %{nptlarches}
1216 %{_prefix}/include/nptl
1217 %endif
1219 %files -f profile.filelist profile
1220 %defattr(-,root,root)
1222 %files -f utils.filelist utils
1223 %defattr(-,root,root)
1225 %files -f nscd.filelist -n nscd
1226 %defattr(-,root,root)
1227 %config(noreplace) /etc/nscd.conf
1228 %config /etc/rc.d/init.d/nscd
1229 %dir %attr(0755,root,root) /var/run/nscd
1230 %dir %attr(0755,root,root) /var/db/nscd
1231 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/nscd.pid
1232 %attr(0666,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/socket
1233 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/passwd
1234 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/group
1235 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/hosts
1236 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/passwd
1237 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/group
1238 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/hosts
1239 %endif
1241 %ifarch %{nptlarches}
1242 %files -n nptl-devel
1243 %defattr(-,root,root)
1244 %{_prefix}/%{_lib}/nptl
1245 %endif
1247 %if "%{_enable_debug_packages}" == "1"
1248 %files debuginfo -f debuginfo.filelist
1249 %defattr(-,root,root)
1250 %ifarch %{debuginfocommonarches}
1251 %ifnarch %{auxarches}
1252 %files debuginfo-common -f debuginfocommon.filelist
1253 %defattr(-,root,root)
1254 %dir %{_prefix}/lib/debug
1255 %dir %{_prefix}/lib/debug/%{_prefix}
1256 %dir %{_prefix}/lib/debug/%{_prefix}/%{_lib}
1257 %{_prefix}/lib/debug/%{_prefix}/%{_lib}/*.a
1258 %endif
1259 %else
1260 %dir %{_prefix}/lib/debug
1261 %dir %{_prefix}/lib/debug/%{_prefix}
1262 %dir %{_prefix}/lib/debug/%{_prefix}/%{_lib}
1263 %{_prefix}/lib/debug/%{_prefix}/%{_lib}/*.a
1264 %endif
1265 %endif
1267 %changelog
1268 * Tue Dec 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-92
1269 - update from CVS
1270 - fix %{_prefix}/libexec/getconf filenames generation
1272 * Tue Dec 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-91
1273 - update from CVS
1274 - double buffer size in getXXbyYY or getXXent on ERANGE
1275 instead of adding BUFLEN (#142617)
1276 - avoid busy loop in malloc if another thread is doing fork
1277 (#142214)
1278 - some more realloc corruption checks
1279 - fix getconf _POSIX_V6_WIDTH_RESTRICTED_ENVS output,
1280 tweak %{_prefix}/libexec/getconf/ filenames
1282 * Fri Dec 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-90
1283 - update from CVS
1284 - regex speedups
1285 - use | cat in ldd if running under bash3+ to allow running
1286 it on binaries that are not through SELinux allowed to access
1287 console or tty
1288 - add __NR_waitid defines for alpha and ia64
1290 * Wed Dec 8 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-89
1291 - update from CVS
1292 - fix clone2 on ia64
1293 - avoid tst-timer5 failing with linuxthreads implementation
1294 - if __libc_enable_secure, disallow mode != normal
1295 - change ldd script to imply -r when -u is used, properly
1296 propagate return value and handle suid binaries
1298 * Tue Dec 7 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-88
1299 - update from CVS
1300 - disregard LD_SHOW_AUXV and LD_DYNAMIC_WEAK if __libc_enable_secure
1301 - disregard LD_DEBUG if __libc_enable_secure in normal mode
1302 if /suid-debug doesn't exist
1303 - fix fseekpos after ungetc
1304 - avoid reading bytes before start of buffers in regex's
1305 check_dst_limits_calc_pos_1 (#142060)
1306 - make getpid () working with clone/clone2 without CLONE_THREAD
1307 (so far on i386/x86_64/ia64 only)
1308 - move %{_prefix}/libexec/getconf/* to glibc from glibc-common
1309 - make %{_prefix}/libexec/getconf directory owned by glibc package
1311 * Fri Dec 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-87
1312 - update from CVS
1313 - build libpthread_nonshared.a objects with -fPIC on s390/s390x
1314 - fix mktime with < 0 or > 59 tm_sec on entry
1315 - remove nonnull attribute for realpath
1316 - add $(make-target-directory) for errlist-compat.c rule
1317 (hopefully fix #141404)
1318 - add testcase for ungetc bug
1319 - define _POSIX_{,THREAD_}CPUTIME to 0 on all Linux arches
1321 * Tue Nov 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-86
1322 - update from CVS
1323 - some posix_opt.h fixes
1324 - fix strtold use of unitialized memory (#141000)
1325 - some more bugfixes for bugs detected by valgrind
1326 - rebuilt with GCC >= 3.4.3-5 to avoid packed stack layout
1327 on s390{,x} (#139678)
1329 * Fri Nov 26 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-85
1330 - update from CVS
1331 - support -v specification in getconf
1332 - fix sysconf (_SC_LFS64_CFLAGS) etc.
1333 - avoid thread stack aliasing issues on EM64T (#140803)
1334 - move %{_prefix}/include/nptl headers from nptl-devel
1335 to glibc-headers, so that even NPTL specific programs
1336 can be built bi-arch without problems
1338 * Wed Nov 24 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-84
1339 - update from CVS
1340 - fix memory leak in getaddrinfo if using nscd (#139559)
1341 - handle large lines in /etc/hosts and /etc/networks
1342 (#140378)
1343 - add nonnull attributes to selected dirent.h and dlfcn.h
1344 functions
1346 * Sun Nov 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-83
1347 - update from CVS
1348 - add deprecated and/or nonnull attribute to some signal.h
1349 functions
1350 - speed up tzset () by only using stat instead of open/fstat
1351 when calling tzset for the second and following time if
1352 /etc/localtime has not changed
1353 - fix tgamma (BZ #552)
1355 * Sat Nov 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-82
1356 - update from CVS
1357 - some malloc () checking
1358 - libpthread.a object dependency cleanups (#115157)
1359 - <bits/socket.h> fix for -std=c89 -pedantic-errors (#140132)
1361 * Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-81
1362 - don't use chunksize in <= 2 * SIZE_SZ free () checks
1364 * Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-80
1365 - update from CVS
1366 - with -D_FORTIFY_SOURCE=2, prevent missing %N$ formats
1367 - for -D_FORTIFY_SOURCE=2 and %n in writable format string,
1368 issue special error message instead of using the buffer overflow
1369 detected one
1370 - speedup regex searching with REG_NOSUB, add RE_NO_SUB,
1371 speedup searching with nested subexps (BZ #544)
1372 - block SIGCANCEL in NPTL timer_* helper thread
1373 - further free () checking
1375 * Tue Nov 16 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-79
1376 - update from CVS
1377 - fix free () checking
1378 - move /etc/default/nss into glibc-common (hopefully fix #132392)
1380 * Mon Nov 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-78
1381 - update from CVS
1382 - fix LD_DEBUG=statistics
1383 - issue error message before aborting in __chk_fail ()
1384 - some more free () checking
1386 * Fri Nov 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-77
1387 - update from CVS
1388 - speedup regex on palindromes (BZ #429)
1389 - fix NPTL set{,e,re,res}[ug]id, so that even if making process
1390 less priviledged all threads change their credentials successfully
1392 * Wed Nov 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-76
1393 - update from CVS
1394 - fix regcomp crash (#138439)
1395 - fix ftell{,o,o64} (#137885)
1396 - robustification of nscd to cope with corrupt databases (#137140)
1397 - fix NPTL with pthread_exit immediately after pthread_create (BZ #530)
1398 - some regex optimizations
1400 * Tue Nov 2 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-75
1401 - update from CVS
1402 - mktime cleanups (BZ #487, #473)
1403 - unique comments in free(3) check error messages
1404 - adjust some x86_64 headers for -m32 (#129712)
1405 - object size checking support even with GCC-3.4.2-RH >= 3.4.2-8
1407 * Wed Oct 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-74
1408 - fix <netinet/udp.h> header
1409 - fix globfree (#137176)
1410 - fix exiting if there are dlmopened libraries in namespaces
1411 other than main one not closed yet
1412 - export again _res_opcodes and __p_{class,type}_syms from
1413 libresolv.so that were lost in -69
1415 * Thu Oct 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-73
1416 - remove setaltroot and key{_add,_request,ctl} also from Versions
1417 - back out _sys_errlist changes
1419 * Thu Oct 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-72
1420 - back out setaltroot and key{_add,_request,ctl} addition
1421 - fix severe x86-64 symbol versioning regressions that breaks
1422 e.g. java binaries
1424 * Wed Oct 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-71
1425 - update from CVS
1426 - fix minor catchsegv temp file handling vulnerability
1427 (CAN-2004-0968, #136319)
1428 - add 4 new errno codes
1429 - setaltroot, key{_add,_request,ctl} syscalls on some arches
1430 - export _dl_debug_state@GLIBC_PRIVATE from ld.so again for
1431 gdb purpose
1432 - use inet_pton to decide what is address and what is hostname
1433 in getent (#135422)
1434 - change dladdr/dladdr1, so that dli_saddr is the same kind
1435 of value as dlsym/dlvsym return (makes difference on ia64/hppa only)
1436 - fix catchsegv script so that it works with both 32-bit and 64-bit
1437 programs on multi-arch platforms
1439 * Tue Oct 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-70
1440 - update from CVS
1441 - require newer selinux-policy (#135978)
1442 - add %%dir for /var/run/nscd and /var/db/nscd and %%ghost
1443 files in it
1444 - conflict with gcc4 4.0.0-0.6 and earlier (needs __builtin_object_size)
1446 * Mon Oct 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-69
1447 - update from CVS
1448 - object size checking support (-D_FORTIFY_SOURCE={1,2})
1450 * Thu Oct 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-68
1451 - update from CVS
1452 - support for namespaces in the dynamic linker
1453 - fix dlclose (BZ #77)
1454 - libSegFault.so uses now backtrace() to work on IA-64, x86-64
1455 and s390 (#130254)
1457 * Tue Oct 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-67
1458 - update from CVS
1459 - use non-blocking sockets in resolver (#135234)
1460 - reset pd->res options on thread exit, so that threads
1461 reusing cached stacks get resolver state properly initialized
1462 (BZ #434)
1464 * Wed Oct 6 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-66
1465 - update from CVS
1466 - avoid using perl in the spec file, buildrequire sed >= 3.95
1467 (#127671)
1468 - export TIMEOUTFACTOR=16
1469 - fix _JMPBUF_CFA_UNWINDS_ADJ on s390{,x}
1471 * Tue Oct 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-65
1472 - update from CVS
1473 - define _POSIX_THREAD_PROCESS_SHARED and _POSIX_CLOCK_SELECTION
1474 to -1 in LinuxThreads
1475 - define _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME to 0
1476 on i?86/ia64 and make sure sysconf (_SC_{,THREAD_}CPUTIME)
1477 returns correct value
1478 - if _POSIX_CLOCK_SELECTION == -1 in nscd, still try
1479 sysconf (_SC_CLOCK_SELECTION) and if it returns true,
1480 dlopen libpthread.so and dlsym pthread_condattr_setclock
1481 - build nscd with -z relro and -z now
1483 * Mon Oct 4 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-64
1484 - update from CVS
1485 - stop using __builtin_expect in assert and assert_perror
1486 (#127606)
1487 - try to avoid too much VA fragmentation with malloc
1488 on flexmap layout (#118574)
1489 - nscd robustification
1490 - change valloc to use debugging hooks (#134385)
1491 - make glibc_post_upgrade more verbose on errors (Fergal Daly,
1492 #125700)
1494 * Fri Oct 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-63
1495 - update from CVS
1496 - fix __nscd_getgrouplist
1497 - fix a typo in x86_64 pthread_mutex_timedwait fix
1499 * Fri Oct 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-62
1500 - update from CVS
1501 - fix NPTL pthread_mutex_timedwait on i386/x86_64 (BZ #417)
1503 * Thu Sep 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-61
1504 - update from CVS
1505 - some nscd fixes (#134193)
1506 - cache initgroups in nscd (#132850)
1507 - reread /etc/localtime in tzset () even if just mtime changed
1508 (#133481)
1509 - fix glob (#126460)
1510 - another get_myaddress fix
1512 * Wed Sep 29 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-60
1513 - update from CVS
1514 - fix get_myaddress (#133982)
1515 - remove nonnull attribute from second utime argument (#133866)
1516 - handle SIGSETXID the same way as SIGCANCEL in
1517 sigaction/pthread_kill/sigwait/sigwaitinfo etc.
1518 - add __extension__ to long long types in NPTL <bits/pthreadtypes.h>
1520 * Mon Sep 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-59
1521 - update from CVS
1522 - fix BZ #151, #362, #381, #407
1523 - fdim fix for +inf/+inf (BZ #376)
1525 * Sun Sep 26 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-58
1526 - update from CVS
1527 - vasprintf fix (BZ #346)
1528 - gettext locking (BZ #322)
1529 - change linuxthreads useldt.h inclusion login again, the last
1530 one failed all linuxthreads FLOATING_STACKS tests
1532 * Sat Sep 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-57
1533 - update from CVS
1534 - fix setuid in LD_ASSUME_KERNEL=2.2.5 libc (#133558)
1535 - fix nis locking (#132204)
1536 - RTLD_DEEPBIND support
1537 - fix pthread_create bugs (BZ #401, #405)
1539 * Wed Sep 22 2004 Roland McGrath <roland@redhat.com> 2.3.3-56
1540 - migrated CVS to fedora-branch in sources.redhat.com glibc repository
1541 - source tarballs renamed
1542 - redhat/ moved to fedora/, some old cruft removed
1543 - update from trunk
1544 - some __nonnull annotations
1546 * Wed Sep 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-55
1547 - update from CVS
1548 - set{re,e,res}[ug]id now affect the whole process in NPTL
1549 - return EAGAIN instead of ENOMEM when not enough memory
1550 in pthread_create
1552 * Fri Sep 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-54
1553 - update from CVS
1554 - nscd getaddrinfo caching
1556 * Tue Sep 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-53
1557 - restore temporarily old definition of __P()/__PMT()
1558 for third party apps
1560 * Tue Sep 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-52
1561 - update from CVS
1562 - nscd bi-arch fix
1563 - remove all uses of __P()/__PMT() from glibc headers
1564 - update and reenable nscd SELinux patch
1565 - remove libnss1* and libnss*.so.1 compatibility NSS modules
1566 on IA-32, SPARC and Alpha
1568 * Fri Sep 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-51
1569 - update from CVS
1570 - disable one of the malloc double free checks for non-contiguous
1571 arenas where it doesn't have to be true even for non-broken
1572 apps
1574 * Thu Sep 9 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-50
1575 - update from CVS
1576 - pwd/grp/host loops with nscd speed up by sharing the
1577 nscd cache r/o with applications
1578 - inexpensive double free check in free(3)
1579 - make NPTL pthread.h initializers usable even from C++
1580 (BZ #375)
1581 - use atomic instructions even in i386 nscd on i486+ CPUs
1582 (conditionally)
1584 * Sat Sep 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-49
1585 - update from CVS
1586 - fix linuxthreads tst-cancel{[45],-static}
1588 * Fri Sep 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-48
1589 - update from CVS
1590 - fix pthread_cond_destroy (BZ #342)
1591 - fix fnmatch without FNM_NOESCAPE (BZ #361)
1592 - fix ppc32 setcontext (BZ #357)
1593 - add NPTL support for i386 glibc (only if run on i486 or higher CPU)
1594 - add __NR_waitid defines for i386, x86_64 and sparc*
1596 * Tue Aug 31 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-47
1597 - update from CVS
1598 - persistent nscd caching
1599 - ppc64 32-bit atomicity fix
1600 - fix x86-64 nptl-devel headers for -m32 compilation
1601 - %%ghost /etc/ld.so.cache (#130597)
1602 - edit /etc/ld.so.conf in glibc_post_upgrade if
1603 include ld.so.conf.d/*.conf line is missing (#120588)
1604 - ugly hacks for the IA-64 /emul braindamage (#124996, #128267)
1606 * Sat Aug 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-46
1607 - update from CVS
1609 * Thu Aug 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-45
1610 - update from CVS
1611 - fix nss_compat's initgroups handling (#130363)
1612 - fix getaddrinfo ai_canonname setting
1614 * Thu Aug 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-44
1615 - update from CVS
1616 - add ip6-dotint resolv.conf option, make
1617 no-ip6-dotint the default
1618 - BuildPrereq libselinux-devel (#129946)
1619 - on ppc64, build without dot symbols
1621 * Thu Aug 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-43
1622 - update from CVS
1623 - remove debugging printout (#129747)
1624 - make <sys/shm.h> usable in C++ (IT#45148)
1625 - update RLIMIT_* constants in <bits/resource.h>, make
1626 <sys/resource.h> POSIX compliant (#129740)
1628 * Wed Aug 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-42
1629 - fix last tzset () fixes, disable rereading of /etc/localtime
1630 every time for now
1631 - really enable SELinux support for NSCD
1633 * Wed Aug 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-41
1634 - update from CVS
1635 - fread_unlocked/fwrite_unlocked macro fixes (BZ #309, #316)
1636 - tzset () fixes (BZ #154)
1637 - speed up pthread_rwlock_unlock on arches other than i386 and
1638 x86_64 (#129455)
1639 - fix compilation with -ansi (resp. -std=c89 or -std=c99) and
1640 -D_XOPEN_SOURCE=[56]00 but no -D_POSIX_SOURCE* or -D_POSIX_C_SOURCE*
1641 (BZ #284)
1642 - add SELinux support for NSCD
1644 * Fri Aug 6 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-40
1645 - update from CVS
1646 - change res_init to force all threads to re-initialize
1647 resolver before they use it next time (#125712)
1648 - various getaddrinfo and related fixes (BZ #295, #296)
1649 - fix IBM{932,943} iconv modules (#128674)
1650 - some nscd fixes (e.g. BZ #292)
1651 - RFC 3678 support (Multicast Source Filters)
1652 - handle /lib/i686/librtkaio-* in i386 glibc_post_upgrade
1653 the same as /lib/i686/librt-*
1655 * Fri Jul 23 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-39
1656 - update from CVS
1657 - conformance related changes in headers
1658 - remove -finline-limit=2000 for GCC 3.4.x+
1660 * Thu Jul 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-38
1661 - update from CVS
1662 - fix res_init leaks
1663 - fix newlocale races
1664 - fix ppc64 setjmp
1665 - fix strtold (BZ #274)
1667 * Fri Jul 16 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-37
1668 - update from CVS
1669 - allow pthread_cancel in DSO destructors run at exit time
1670 - fix pow{f,,l} on IA-32 and powl on x86-64
1671 - allow PIEs on IA-32 to have main in a shared library they depend on
1673 * Mon Jul 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-36
1674 - s390* .plt slot reduction
1675 - fix pthread_rwlock_timedrdlock on x86_64
1677 * Wed Jun 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-35
1678 - tweak spec file for the libpthread-0.61.so -> libpthread-2.3.3.so
1679 NPTL changes
1681 * Wed Jun 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-34
1682 - update from CVS
1683 - if_nameindex using preferably netlink
1684 - printf_parsemb initialization fix
1685 - NPTL version is now the same as glibc version
1687 * Mon Jun 28 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-33
1688 - update from CVS
1689 - reread resolv.conf for nscd --invalidate=hosts
1690 - fix F_GETLK/F_SETLK/F_SETLKW constants on x86_64 for
1691 -m32 -D_FILE_OFFSET_BITS=64 compilations
1692 - avoid calling non-existing fcntl64 syscall on ppc64
1694 * Mon Jun 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-32
1695 - update from CVS
1696 - FUTEX_CMP_REQUEUE support (fix pthread_cond_* deadlocks)
1697 - fix backtrace in statically linked programs
1698 - rebuilt with GCC 3.4, adjusted ulps and i386 <bits/string.h>
1700 * Fri May 28 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-31
1701 - update from CVS
1702 - <bits/string2.h> and <bits/mathinline.h> changes for GCC 3.{2,4,5}+
1703 - make c_stubs buildable even with GCC 3.2.x (#123042)
1705 * Fri May 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-30
1706 - fix pthread_cond_wait on architectures other than IA-32 and
1707 x86_64
1709 * Thu May 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-29
1710 - use lib64 instead of lib on ia64 if %%{_lib} is defined to lib64
1712 * Wed May 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-28
1713 - update from CVS
1714 - FUTEX_REQUEUE fixes (#115349)
1715 - SPARC GCC 3.4 build fix
1716 - fix handling of undefined TLS symbols on IA32 (RELA only),
1717 SPARC and SH
1718 - regex translate fix
1719 - speed up sprintf
1720 - x86_64 makecontext alignment fix
1721 - make POSIX sigpause the default sigpause, unless BSD sigpause
1722 requested
1724 * Tue May 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-27
1725 - remove /lib64/tls/librtkaio-2.3.[23].so in glibc_post_upgrade
1726 on x86-64, s390x and ppc64 instead of /lib/tls/librtkaio-2.3.[23].so
1727 - build mq_{send,receive} with -fexceptions
1729 * Fri May 7 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-26
1730 - update from CVS
1731 - fix <tgmath.h>
1732 - fix memory leaks in nis, getifaddrs, etc. caused by incorrect
1733 use of realloc
1734 - remove /lib/{tls,i686}/librtkaio-2.3.[23].so in glibc_post_upgrade
1735 and rerun ldconfig if needed, otherwise after glibc upgrade librt.so.1
1736 might be a stale symlink
1738 * Wed May 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-25
1739 - update from CVS
1740 - disable FUTEX_REQUEUE (work around #115349)
1741 - mq for sparc/sparc64/ia64
1743 * Tue May 4 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-24
1744 - update from CVS
1745 - define S_ISSOCK in -D_XOPEN_SOURCE=600 and S_I[FS]SOCK
1746 plus F_[SG]ETOWN also in -D_XOPEN_SOURCE=500 (both
1747 included already in XNS5)
1748 - reorder dlopen checks, so that dlopening ET_REL objects
1749 complains about != ET_DYN != ET_EXEC, not about phentsize
1750 (#121606)
1751 - fix strpbrk macro for GCC 3.4+ (BZ #130)
1752 - fix <sys/sysctl.h> (BZ #140)
1753 - sched_[gs]etaffinity documentation fix (BZ #131)
1754 - fix sparc64 build (BZ #139)
1755 - change linuxthreads back to use non-cancellable writes
1756 to manager pipes etc.
1757 - fix sem_timedwait return value in linuxthreads (BZ #133)
1758 - ia64 unnecessary PLT relocs removal
1760 * Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-23
1761 - update from CVS
1762 - fix *scanf
1763 - fix shm_unlink, sem_unlink and mq_unlink errno values
1764 - avoid memory leaks in error
1765 - execstack fixes on s390
1767 * Mon Apr 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-22
1768 - update from CVS
1769 - mq and timer fixes
1770 - rebuilt with binutils >= 2.15.90.0.3-2 to fix IA-64 statically
1771 linked binaries
1772 - fix linuxthreads librt.so on s390{,x}, so it is no longer DT_TEXTREL
1774 * Sat Apr 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-21
1775 - disable rtkaio
1776 - update from CVS
1777 - POSIX message passing support
1778 - fixed SIGEV_THREAD support for POSIX timers
1779 - fix free on non-malloced memory in syslog
1780 - fix ffsl on some 64-bit arches
1781 - fix sched_setaffinity on x86-64, ia64
1782 - fix ppc64 umount
1783 - NETID_AUTHORITATIVE, SERVICES_AUTHORITATIVE support
1784 - various NIS speedups
1785 - fix fwrite with > 2GB sizes on 64-bit arches
1786 - fix pthread_getattr_np guardsize reporting in NPTL
1787 - report PLT relocations in ld.so and libc.so during the build
1789 * Fri Mar 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-20
1790 - update from CVS
1791 - change NPTL PTHREAD_MUTEX_ADAPTIVE_NP mutexes to spin on SMP
1792 - strtol speed optimization
1793 - don't try to use certainly unimplemented syscalls on ppc64
1794 - kill -debug subpackage, move the libs to glibc-debuginfo{,-common}
1795 into /usr/lib/debug/usr/%{_lib}/ directory
1796 - fix c_stubs with gcc 3.4
1797 - move all the up to 3 builds into %%build scriptlet and
1798 leave only installation in the %%install scriptlet
1800 * Mon Mar 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-19
1801 - update from CVS
1802 - affinity API changes
1804 * Thu Mar 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-18
1805 - update from CVS
1806 - fix ia64 iopl (#118591)
1807 - add support for /etc/ld.so.conf.d/*.conf
1808 - fix x86-64 LD_DEBUG=statistics
1809 - fix hwcap handling when using ld.so.cache (#118518)
1811 * Mon Mar 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-17
1812 - update from CVS
1813 - implement non-_l function on top of _l functions
1815 * Thu Mar 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-16
1816 - update from CVS
1817 - fix s390{,x} TLS handling
1819 * Wed Mar 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-15
1820 - update from CVS
1821 - special section for compatibility code
1822 - make getpid () work even in vfork () child
1823 - configure with --enable-bind-now to avoid lazy binding in ld.so
1824 and libc.so
1826 * Fri Mar 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-14
1827 - update from CVS
1828 - fix iconv -c (#117021)
1829 - fix PIEs on sparc/sparc64
1830 - fix posix_fadvise on 64-bit architectures
1831 - add locale-archive as %%ghost file (#117014)
1833 * Mon Mar 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-13
1834 - update from CVS
1836 * Fri Feb 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-12
1837 - update from CVS
1839 * Fri Feb 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-11
1840 - update from CVS
1841 - fix ld.so when vDSO is randomized
1843 * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-10
1844 - update from CVS
1846 * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-9
1847 - update from CVS
1849 * Tue Feb 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-8
1850 - update from CVS
1852 * Tue Jan 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-7
1853 - update from CVS
1854 - dl_iterate_phdr extension to signal number of added/removed
1855 libraries
1856 - fix PT_GNU_RELRO support on ppc* with prelinking
1858 * Fri Jan 23 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-6
1859 - rebuilt with fixed GCC on IA-64
1861 * Thu Jan 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-5
1862 - fix PT_GNU_RELRO support
1864 * Wed Jan 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-4
1865 - update from CVS
1866 - some further regex speedups
1867 - fix re.translate handling in regex (#112869)
1868 - change regfree to match old regex behaviour (what is freed
1869 and clearing of freed pointers)
1870 - fix accesses to unitialized memory in regex (#113507, #113425,
1871 #113421)
1872 - PT_GNU_RELRO support
1874 * Tue Dec 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-3
1875 - update from CVS
1876 - fix pmap_set fd and memory leak (#112726)
1877 - fix backreference handling in regex
1878 - rebuilt under glibc without the above bug to fix
1879 libc.so linker script (#112738)
1881 * Mon Dec 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-2
1882 - update from CVS
1883 - faster getpid () in NPTL builds
1884 - fix to make pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, )
1885 really disable cancellation (#112512)
1886 - more regex fixes and speedups
1887 - fix nextafter*/nexttoward*
1888 - handle 6th syscall(3) argument on AMD64
1889 - handle memalign/posix_memalign in mtrace
1890 - fix linuxthreads memory leak (#112208)
1891 - remove throw () from cancellation points in linuxthreads (#112602)
1892 - fix NPTL unregister_atfork
1893 - fix unwinding through alternate signal stacks
1895 * Mon Dec 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-1
1896 - update from CVS
1897 - 2.3.3 release
1898 - lots of regex fixes and speedups (#110401)
1899 - fix atan2
1900 - fix pshared condvars in NPTL
1901 - fix pthread_attr_destroy for attributes created with
1902 pthread_attr_init@GLIBC_2.0
1903 - for the time being, include both nb_NO* and no_NO* as locales
1904 so that the distribution can catch up with the no_NO->nb_NO
1905 transition
1906 - add BuildPrereq texinfo (#110252)
1908 * Tue Nov 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-102
1909 - update from CVS
1910 - fix getifaddrs (CAN-2003-0859)
1911 - fix ftw fd leak
1912 - fix linuxthreads sigaction (#108634)
1913 - fix glibc 2.0 stdio compatibility
1914 - fix uselocale (LC_GLOBAL_LOCALE)
1915 - speed up stdio locking in non-threaded programs on IA-32
1916 - try to maintain correct order of cleanups between those
1917 registered with __attribute__((cleanup))
1918 and with LinuxThreads style pthread_cleanup_push/pop (#108631)
1919 - fix segfault in regex (#109606)
1920 - fix RE_ICASE multi-byte handling in regex
1921 - fix pthread_exit in libpthread.a (#109790)
1922 - FTW_ACTIONRETVAL support
1923 - lots of regex fixes and speedups
1924 - fix ceill/floorl on AMD64
1926 * Mon Oct 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-101
1927 - update from CVS
1928 - fix ld.so --verify (and ldd)
1930 * Mon Oct 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-100
1931 - update from CVS
1932 - fix sprof (#103727)
1933 - avoid infinite loops in {,f}statvfs{,64} with hosed mounts file
1934 - prevent dlopening of executables
1935 - fix glob with GLOB_BRACE and without GLOB_NOESCAPE
1936 - fix locale printing of word values on 64-bit big-endian arches
1937 (#107846)
1938 - fix getnameinfo and getaddrinfo with reverse IPv6 lookups
1939 (#101261)
1941 * Wed Oct 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-99
1942 - update from CVS
1943 - dl_iterate_phdr in libc.a on arches other than IA-64
1944 - LD_DEBUG=statistics prints number of relative relocations
1945 - fix hwcap computation
1946 - NPTL is now part of upstream glibc CVS
1947 - include {st,xh,zu}_ZA{,.UTF-8} locales
1949 * Sat Oct 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-98
1950 - update from CVS
1951 - fix close, pause and fsync (#105348)
1952 - fix pthread_once on IA-32
1953 - implement backtrace () on IA-64, handle -fomit-frame-pointer
1954 in AMD64 backtrace () (#90402)
1956 * Tue Sep 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-97
1957 - update from CVS
1958 - fix <sys/sysmacros.h> with C++ or -ansi or -pedantic C
1959 - fix mknod/ustat return value when given bogus device number (#105768)
1961 * Fri Sep 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-96
1962 - rebuilt
1964 * Fri Sep 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-95
1965 - fix IA-64 getcontext
1967 * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-94
1968 - update from CVS
1969 - fix syslog with non-C non-en_* locales (#61296, #104979)
1970 - filter GLIBC_PRIVATE symbols from glibc provides
1971 - fix NIS+
1973 * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-93
1974 - update from CVS
1975 - assume 2.4.21 kernel features on RHEL/ppc*, so that
1976 {make,set,get,swap}context works
1977 - backout execstack support for RHEL
1978 - build rtkaio on amd64 too
1980 * Wed Sep 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-92
1981 - update from CVS
1982 - execstack/noexecstack support
1983 - build nscd as PIE
1984 - move __libc_stack_end back to @GLIBC_2.1
1985 - build against elfutils >= 0.86 to fix stripping on s390x
1987 * Mon Sep 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-91
1988 - rebuilt
1990 * Mon Sep 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-90
1991 - update from CVS
1992 - NPTL locking change (#102682)
1993 - don't jump around lock on amd64
1995 * Thu Sep 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-89
1996 - fix open_memstream/syslog (#104661)
1998 * Thu Sep 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-88
1999 - update from CVS
2000 - retrieve affinity in pthread_getattr_np
2001 - fix pthread_attr_[gs]etaffinity_np
2002 - handle hex and octal in wordexp
2004 * Wed Sep 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-87
2005 - update from CVS
2006 - truncate instead of round in utimes when utimes syscall is not available
2007 - don't align stack in every glibc function unnecessarily on IA-32
2008 - make sure threads have their stack 16 byte aligned on IA-32
2009 - move sched_[sg]etaffinity to GLIBC_2.3.3 symbol version (#103231)
2010 - fix pthread_getattr_np for the initial thread (#102683)
2011 - avoid linuxthreads signal race (#104368)
2012 - ensure all gzip invocations are done with -n option
2014 * Fri Sep 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-86
2015 - update from CVS
2016 - avoid linking in libgcc_eh.a unnecessarily
2017 - change ssize_t back to long int on s390 -m31, unless
2018 gcc 2.95.x is used
2020 * Wed Sep 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-85
2021 - update from CVS
2022 - fix IA-64 memccpy (#104114)
2024 * Tue Sep 9 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-84
2025 - update from CVS
2026 - undo broken amd64 signal context changes
2028 * Tue Sep 9 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-83
2029 - update from CVS
2030 - change *nlink_t, *ssize_t and *intptr_t types on s390 -m31 to
2031 {unsigned,} int
2032 - change *u_quad_t, *quad_t, *qaddr_t, *dev_t, *ino64_t, *loff_t,
2033 *off64_t, *rlim64_t, *blkcnt64_t, *fsblkcnt64_t, *fsfilcnt64_t
2034 on 64-bit arches from {unsigned,} long long int {,*} to
2035 {unsigned,} long int {,*} to restore binary compatibility
2036 for C++ functions using these types as arguments
2038 * Sun Sep 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-82
2039 - rebuilt
2041 * Sat Sep 6 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-81
2042 - update from CVS
2043 - fix tc[gs]etattr/cf[gs]et[io]speed on ppc (#102732)
2044 - libio fixes
2046 * Thu Sep 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-80
2047 - update from CVS
2048 - fix IA-64 cancellation when mixing __attribute__((cleanup ()))
2049 and old-style pthread_cleanup_push cleanups
2051 * Tue Sep 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-79
2052 - updated from CVS
2053 - lots of cancellation fixes
2054 - fix posix_fadvise* on ppc32
2055 - TLS layout fix
2056 - optimize stdio cleanups (#103354)
2057 - sparcv9 NPTL
2058 - include sigset, sighold, sigrelse, sigpause and sigignore prototypes
2059 in signal.h even if -D_XOPEN_SOURCE_EXTENDED (#103269)
2060 - fix svc_getreqset on 64-bit big-endian arches
2061 - return ENOSYS in linuxthreads pthread_barrierattr_setpshared for
2062 PTHREAD_PROCESS_SHARED
2063 - add pthread_cond_timedwait stubs to libc.so (#102709)
2064 - split glibc-devel into glibc-devel and glibc-headers to ensure
2065 amd64 /usr/include always wins on amd64/i386 bi-arch installs
2066 - increase PTHREAD_STACK_MIN on alpha, ia64 and sparc*
2067 - get rid of __syscall_* prototypes and stubs in sysdeps/unix/sysv/linux
2068 - run make check also with linuxthreads (on IA-32 non-FLOATING_STACKS)
2069 ld.so and NPTL (on IA-32 also FLOATING_STACKS linuxthreads) libraries
2070 and tests
2072 * Tue Aug 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-78
2073 - include dl-osinfo.h only in glibc-debuginfo-2*.rpm, not
2074 in glibc-debuginfo-common*
2076 * Mon Aug 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-77
2077 - update from CVS
2078 - fix glibc 2.0 libio compatibility (#101385)
2079 - fix ldconfig with /usr/lib/lib*.so symlinks (#102853)
2080 - fix assert.h (#102916, #103017)
2081 - make ld.so.cache identical between IA-32 and AMD64 (#102887)
2082 - fix static linking of large IA-64 binaries (#102586)
2083 - avoid using floating point regs in lazy binding code on ppc64 (#102763)
2085 * Fri Aug 22 2003 Roland McGrath <roland@redhat.com> 2.3.2-76
2086 - add td_thr_tls_get_addr changes missed in initial nptl_db rewrite
2088 * Sun Aug 17 2003 Roland McGrath <roland@redhat.com> 2.3.2-74
2089 - nptl_db rewrite not yet in CVS
2091 * Thu Aug 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-72
2092 - update from CVS
2093 - fix rtkaio aio_fsync{,64}
2094 - update rtkaio for !BROKEN_THREAD_SIGNALS
2095 - fix assert macro when used on pointers
2097 * Wed Aug 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-71
2098 - update from CVS
2100 * Tue Aug 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-70
2101 - update from CVS
2102 - disable CLONE_STOPPED for now until it is resolved
2103 - strip crt files
2104 - fix libio on arches with no < GLIBC_2.2 support (#102102, #102105)
2105 - fix glibc-debuginfo to include all nptl and nptl_db sources
2107 * Thu Aug 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-69
2108 - update from CVS
2109 - fix pthread_create@GLIBC_2.0 (#101767)
2110 - __ASSUME_CLONE_STOPPED on all arches but s390* in RHEL
2112 * Sun Aug 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-68
2113 - update from CVS
2114 - only use CLONE_STOPPED if kernel supports it, fix setting of thread
2115 explicit scheduling (#101457)
2117 * Fri Aug 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-67
2118 - update from CVS
2119 - fix utimes and futimes if kernel doesn't support utimes syscall
2120 - fix s390 ssize_t type
2121 - fix dlerror when called before any dlopen/dlsym
2122 - update IA-64 bits/sigcontext.h (#101344)
2123 - various warning fixes
2124 - fix pthread.h comment typos (#101363)
2126 * Wed Jul 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-66
2127 - update from CVS
2128 - fix dlopen of libraries using TLS IE/LE models
2130 * Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-65
2131 - update from CVS
2132 - fix timer_create
2133 - use __extension__ before long long typedefs in <bits/types.h> (#100718)
2135 * Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-64
2136 - update from CVS
2137 - fix wcpncpy (#99462)
2138 - export _res@GLIBC_2.0 even from NPTL libc.so (__res_state ()
2139 unlike __errno_location () or __h_errno_location () was introduced
2140 in glibc 2.2)
2141 - fix zic bug on 64-bit platforms
2142 - some TLS handling fixes
2143 - make ldconfig look into alternate ABI dirs by default (#99402)
2144 - move %{_datadir}/zoneinfo to tzdata package, so that it can be
2145 errataed separately from glibc
2146 - new add-on - rtkaio
2147 - prereq libgcc, as glibc now relies on libgcc_s.so.1 for pthread_cancel
2149 * Tue Jul 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-63
2150 - fix thread cancellation on ppc64
2152 * Sat Jul 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-62
2153 - update from CVS
2154 - fix thread cancellation on ppc32, s390 and s390x
2156 * Thu Jul 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-61
2157 - update from CVS
2158 - build libc_nonshared.a with -fPIC instead of -fpic
2159 - fix ppc64 PIE support
2160 - add cfi directives to NPTL sysdep-cancel.h on ppc/ppc64/s390/s390x
2162 * Tue Jul 8 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-60
2163 - update from CVS
2165 * Thu Jul 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-59
2166 - update from CVS
2167 - on IA-64 use different symbols for cancellation portion of syscall
2168 handlers to make gdb happier
2170 * Thu Jun 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-58
2171 - update from CVS
2172 - nss_compat supporting LDAP etc.
2174 * Tue Jun 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-57
2175 - update from CVS
2177 * Thu Jun 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-56
2178 - fix condvars and semaphores in ppc* NPTL
2179 - fix test-skeleton.c reporting of timed-out tests (#91269)
2180 - increase timeouts for tests during make check
2182 * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-55
2183 - make ldconfig default to both /lib+/usr/lib and /lib64+/usr/lib64
2184 on bi-ABI architectures (#97557)
2185 - disable FUTEX_REQUEUE on ppc* temporarily
2187 * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-54
2188 - update from CVS
2189 - fix glibc_post_upgrade on ppc
2191 * Tue Jun 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-53
2192 - update from CVS
2193 - fix localedef (#90659)
2194 - tweak linuxthreads for librt cancellation
2196 * Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-52
2197 - update from CVS
2199 * Thu Jun 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-51
2200 - update from CVS
2201 - fix <gnu/stubs.h> (#97169)
2203 * Wed Jun 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-50
2204 - update from CVS
2206 * Tue Jun 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-49
2207 - update from CVS
2208 - fix pthread_cond_signal on IA-32 (#92080, #92253)
2209 - fix setegid (#91567)
2210 - don't prelink -R libc.so on any architecture, it prohibits
2211 address randomization
2213 * Fri Jun 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-48
2214 - update from CVS
2215 - fix IA-64 NPTL build
2217 * Thu Jun 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-47
2218 - update from CVS
2219 - PT_GNU_STACK segment in binaries/executables and .note.GNU-stack
2220 section in *.[oa]
2222 * Sun Jun 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-46
2223 - update from CVS
2224 - enable NPTL on AMD64
2225 - avoid using trampolines in localedef
2227 * Fri May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-45
2228 - enable NPTL on IA-64
2230 * Fri May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-44
2231 - update from CVS
2232 - enable NPTL on s390 and s390x
2233 - make __init_array_start etc. symbols in elf-init.oS hidden undefined
2235 * Thu May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-43
2236 - update from CVS
2238 * Fri May 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-42
2239 - update from CVS
2241 * Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-41
2242 - update from CVS
2243 - use NPTL libs if uname -r contains nptl substring or is >= 2.5.69
2244 or set_tid_address syscall is available instead of checking
2245 AT_SYSINFO dynamic tag
2247 * Thu May 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-40
2248 - update from CVS
2250 * Wed May 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-39
2251 - update from CVS
2252 - fix for prelinking of libraries with no dependencies
2254 * Tue May 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-38
2255 - update from CVS
2256 - enable NPTL on ppc and ppc64
2258 * Tue May 6 2003 Matt Wilson <msw@redhat.com> 2.3.2-37
2259 - rebuild
2261 * Sun May 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-36
2262 - update from CVS
2264 * Sat May 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-35
2265 - update from CVS
2266 - make -jN build fixes
2268 * Fri May 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-34
2269 - update from CVS
2270 - avoid using trampolines in iconvconfig for now
2272 * Sat Apr 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-33
2273 - update from CVS
2275 * Fri Apr 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-32
2276 - update from CVS
2277 - more ppc TLS fixes
2279 * Wed Apr 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-31
2280 - update from CVS
2281 - nscd fixes
2282 - fix Bahrain spelling (#56298)
2283 - fix Ukrainian collation (#83973)
2284 - accept trailing spaces in /etc/ld.so.conf (#86032)
2285 - perror fix (#85994)
2286 - fix localedef (#88978)
2287 - fix getifaddrs (#89026)
2288 - fix strxfrm (#88409)
2289 - fix ppc TLS
2290 - fix getaddrinfo (#89448)
2291 - don't print warning about errno, h_errno or _res if
2292 LD_ASSUME_KERNEL=2.4.1 or earlier
2294 * Tue Apr 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-30
2295 - update from CVS
2296 - fix prelink on ppc32
2297 - add TLS support on ppc32 and ppc64
2298 - make sure on -m64 arches all helper binaries are built with this
2299 option
2301 * Mon Apr 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-29
2302 - update from CVS
2303 - fix strxfrm (#88409)
2304 - use -m64 -mno-minimal-toc on ppc64
2305 - conflict with kernels < 2.4.20 on ppc64 and < 2.4.0 on x86_64
2306 - link glibc_post_upgrade against newly built libc.a
2308 * Sun Apr 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-28
2309 - update from CVS
2310 - fix NPTL pthread_detach and already terminated, but not yet
2311 joined thread (#88219)
2312 - fix bug-regex4 testcase (#88118)
2313 - reenable prelink support broken in 2.3.2-13
2314 - fix register_printf_function (#88052)
2315 - fix double free with fopen using ccs= (#88056)
2316 - fix potential access below $esp in {set,swap}context (#88093)
2317 - fix buffer underrun in gencat -H (#88099)
2318 - avoid using unitialized variable in tst-tgmath (#88101)
2319 - fix gammal (#88104)
2320 - fix iconv -c
2321 - fix xdr_string (PR libc/4999)
2322 - fix /usr/lib/nptl/librt.so symlink
2323 - avoid running NPTL cleanups twice in some cases
2324 - unblock __pthread_signal_cancel in linuxthreads, so that
2325 linuxthreads threaded programs work correctly if spawned
2326 from NPTL threaded programs
2327 - fix sysconf _SC_{NPROCESSORS_{CONF,ONLN},{,AV}PHYS_PAGES}
2328 - remove /lib/i686 directory before running ldconfig in glibc post
2329 during i686 -> i386 glibc "upgrades" (#88456)
2331 * Wed Apr 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-22
2332 - update from CVS
2333 - add pthread_atfork to libpthread.a
2335 * Tue Apr 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-21
2336 - update from CVS
2337 - make sure linuxthreads pthread_mutex_lock etc. is not a cancellation
2338 point
2340 * Sat Mar 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-20
2341 - update from CVS
2342 - if kernel >= 2.4.1 doesn't support NPTL, fall back to
2343 /lib/i686 libs on i686, not stright to /lib
2345 * Fri Mar 28 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-19
2346 - update from CVS
2347 - timers fixes
2349 * Thu Mar 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-18
2350 - update from CVS
2351 - fix NPTL pthread_cond_timedwait
2352 - fix sysconf (_SC_MONOTONIC_CLOCK)
2353 - use /%%{_lib}/tls instead of /lib/tls on x86-64
2354 - add /%{_lib}/tls/librt*so* and /%{_lib}/i686/librt*so*
2355 - display content of .out files for all make check failures
2357 * Wed Mar 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-17
2358 - update from CVS
2359 - kernel POSIX timers support
2361 * Sat Mar 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-16
2362 - update from CVS
2363 - export __fork from glibc again
2364 - fix glibc-compat build in NPTL
2365 - fix c_stubs
2366 - fix some more atomic.h problems
2367 - don't check abi in glibc-compat libs
2369 * Fri Mar 21 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-15
2370 - update from CVS
2371 - build glibc-compat (for glibc 2.0 compatibility) and c_stubs add-ons
2372 - condrestart sshd in glibc_post_upgrade so that the user can
2373 log in remotely and handle the rest (#86339)
2374 - fix a typo in glibc_post_upgrade on sparc
2376 * Tue Mar 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-14
2377 - update from CVS
2378 - change i686/athlon libc.so.6 base to 0x00e80000
2380 * Mon Mar 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-13
2381 - update from CVS
2382 - hopefully last fix for condvar problems
2384 * Fri Mar 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-12
2385 - fix bits/syscall.h creation on x86-64
2387 * Thu Mar 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-11
2388 - update from CVS
2390 * Wed Mar 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-10
2391 - update from CVS
2393 * Tue Mar 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-9
2394 - update from CVS
2395 - fix glibc-debug description (#85111)
2396 - make librt.so a symlink again, not linker script
2398 * Tue Mar 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-8
2399 - update from CVS
2400 - remove the workarounds for broken software accessing GLIBC_PRIVATE
2401 symbols
2403 * Mon Mar 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-7
2404 - update from CVS
2406 * Sun Mar 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-6
2407 - fix TLS IE/LE model handling in dlopened libraries
2408 on TCB_AT_TP arches
2410 * Thu Feb 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-5
2411 - update from CVS
2413 * Tue Feb 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-4
2414 - update from CVS
2416 * Mon Feb 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-3
2417 - update from CVS
2418 - only warn about errno, h_errno or _res for binaries, never
2419 libraries
2420 - rebuilt with gcc-3.2.2-4 to use direct %gs TLS access insn sequences
2422 * Sun Feb 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-2
2423 - update from CVS
2425 * Sat Feb 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-1
2426 - update from CVS
2428 * Thu Feb 20 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-51
2429 - update from CVS
2431 * Wed Feb 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-50
2432 - update from CVS
2434 * Wed Feb 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-49
2435 - update from CVS
2436 - remove nisplus and nis from the default nsswitch.conf (#67401, #9952)
2438 * Tue Feb 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-48
2439 - update from CVS
2441 * Sat Feb 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-47
2442 - update from CVS
2444 * Fri Feb 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-46
2445 - update from CVS
2446 - pthread_cond* NPTL fixes, new NPTL testcases
2448 * Thu Feb 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-45
2449 - update from CVS
2450 - include also linuxthreads FLOATING_STACKS libs on i686 and athlon:
2451 LD_ASSUME_KERNEL=2.2.5 to LD_ASSUME_KERNEL=2.4.0 is non-FLOATING_STACKS lt,
2452 LD_ASSUME_KERNEL=2.4.1 to LD_ASSUME_KERNEL=2.4.19 is FLOATING_STACKS lt,
2453 later is NPTL
2454 - enable TLS on alpha/alphaev6
2455 - add BuildPreReq: /usr/bin/readlink
2457 * Tue Feb 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-44
2458 - update from CVS
2459 - pthread_once fix
2461 * Mon Feb 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-43
2462 - update from CVS
2463 - vfork fix on s390
2464 - rebuilt with binutils 2.13.90.0.18-5 so that accesses to errno
2465 don't bind locally (#83325)
2467 * Thu Feb 06 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-42
2468 - update from CVS
2469 - fix pthread_create after vfork+exec in linuxthreads
2471 * Wed Feb 05 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-41
2472 - update from CVS
2474 * Thu Jan 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-40
2475 - update from CVS
2477 * Wed Jan 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-39
2478 - update from CVS
2479 - enable TLS on s390{,x} and sparc{,v9}
2481 * Fri Jan 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-38
2482 - update from CVS
2483 - initialize __environ in glibc_post_upgrade to empty array,
2484 so that it is not NULL
2485 - compat symlink for s390x /lib/ld64.so.1
2486 - enable glibc-profile on x86-64
2487 - only include libNoVersion.so on IA-32, Alpha and Sparc 32-bit
2489 * Thu Jan 16 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-37
2490 - update from CVS
2491 - nscd fixes, *scanf fix
2492 - fix %%nptlarches noarch build (#81909)
2493 - IA-64 TLS fixes
2495 * Tue Jan 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-36
2496 - update from CVS
2497 - rework -debuginfo subpackage, add -debuginfo-common
2498 subpackage on IA-32, Alpha and Sparc (ie. auxiliary arches)
2499 - fix vfork in libc.a on PPC32, Alpha, Sparc
2500 - fix libio locks in linuxthreads libc.so if libpthread.so
2501 is dlopened later (#81374)
2503 * Mon Jan 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-35
2504 - update from CVS
2505 - dlclose bugfixes
2506 - fix NPTL libpthread.a
2507 - fix glibc_post_upgrade on several arches
2509 * Sat Jan 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-34
2510 - update from CVS
2511 - TLS support on IA-64
2513 * Wed Jan 8 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-33
2514 - fix vfork in linuxthreads (#81377, #81363)
2516 * Tue Jan 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-32
2517 - update from CVS
2518 - don't use TLS libs if kernel doesn't set AT_SYSINFO
2519 (#80921, #81212)
2520 - add ntp_adjtime on alpha (#79996)
2521 - fix nptl_db (#81116)
2523 * Sun Jan 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-31
2524 - update from CVS
2525 - support all architectures again
2527 * Fri Jan 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-30
2528 - fix condvar compatibility wrappers
2529 - add ugly hack to use non-TLS libs if a binary is seen
2530 to have errno, h_errno or _res symbols in .dynsym
2532 * Fri Jan 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-29
2533 - update from CVS
2534 - fixes for new condvar
2536 * Thu Jan 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-28
2537 - new NPTL condvar implementation plus related linuxthreads
2538 symbol versioning updates
2540 * Thu Jan 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-27
2541 - update from CVS
2542 - fix #include <sys/stat.h> with -D_BSD_SOURCE or without
2543 feature set macros
2544 - make *sigaction, sigwait and raise the same between
2545 -lpthread -lc and -lc -lpthread in linuxthreads builds
2547 * Tue Dec 31 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-26
2548 - fix dlclose
2550 * Sun Dec 29 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-25
2551 - enable sysenter by default for now
2552 - fix endless loop in ldconfig
2554 * Sat Dec 28 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-24
2555 - update from CVS
2557 * Fri Dec 27 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-23
2558 - update from CVS
2559 - fix ptmalloc_init after clearenv (#80370)
2561 * Sun Dec 22 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-22
2562 - update from CVS
2563 - add IA-64 back
2564 - move TLS libraries from /lib/i686 to /lib/tls
2566 * Thu Dec 19 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-21
2567 - system(3) fix for linuxthreads
2568 - don't segfault in pthread_attr_init from libc.so
2569 - add cancellation tests from nptl to linuxthreads
2571 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-20
2572 - fix up lists of exported symbols + their versions
2573 from the libraries
2575 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-19
2576 - fix --with-tls --enable-kernel=2.2.5 libc on IA-32
2578 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-18
2579 - update from CVS
2580 - fix NPTL hanging mozilla
2581 - initialize malloc in mALLOPt (fixes problems with squid, #79957)
2582 - make linuxthreads work with dl_dynamic_weak 0
2583 - clear dl_dynamic_weak everywhere
2585 * Tue Dec 17 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-17
2586 - update from CVS
2587 - NPTL socket fixes, flockfile/ftrylockfile/funlockfile fix
2588 - kill -debug sub-package, rename -debug-static to -debug
2589 - clear dl_dynamic_weak for NPTL
2591 * Mon Dec 16 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-16
2592 - fix <bits/mathinline.h> and <bits/nan.h> for C++
2593 - automatically generate NPTL libpthread wrappers
2595 * Mon Dec 16 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-15
2596 - update from CVS
2597 - all functions which need cancellation should now be cancellable
2598 both in libpthread.so and libc.so
2599 - removed @@GLIBC_2.3.2 cancellation wrappers
2601 * Fri Dec 13 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-14
2602 - update from CVS
2603 - replace __libc_lock_needed@GOTOFF(%ebx) with
2604 %gs:offsetof(tcbhead_t, multiple_threads)
2605 - start of new NPTL cancellation wrappers
2607 * Thu Dec 12 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-13
2608 - update from CVS
2609 - use inline locks in malloc
2611 * Tue Dec 10 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-12
2612 - update from CVS
2613 - support LD_ASSUME_KERNEL=2.2.5 in statically linked programs
2615 * Mon Dec 9 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-11
2616 - update from CVS
2617 - rebuilt with gcc-3.2.1-2
2619 * Fri Dec 6 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-10
2620 - update from CVS
2621 - non-nptl --with-tls --without-__thread FLOATING_STACKS libpthread
2622 should work now
2623 - faster libc locking when using nptl
2624 - add OUTPUT_FORMAT to linker scripts
2625 - fix x86_64 sendfile (#79111)
2627 * Wed Dec 4 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-9
2628 - update from CVS
2629 - RUSCII support (#78906)
2630 - for nptl builds add BuildRequires
2631 - fix byteswap.h for non-gcc (#77689)
2632 - add nptl-devel package
2634 * Tue Dec 3 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-8
2635 - update from CVS
2636 - make --enable-kernel=2.2.5 --with-tls --without-__thread
2637 ld.so load nptl and other --with-__thread libs
2638 - disable nptl by default for now
2640 * Wed Nov 27 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-7
2641 - update from CVS
2642 - restructured redhat/Makefile and spec, so that src.rpm contains
2643 glibc-<date>.tar.bz2, glibc-redhat-<date>.tar.bz2 and glibc-redhat.patch
2644 - added nptl
2646 * Fri Nov 8 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-6
2647 - update from CVS
2648 - even more regex fixes
2649 - run sed testsuite to check glibc regex
2651 * Thu Oct 24 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-5
2652 - fix LD_DEBUG=statistics and LD_TRACE_PRELINKING in programs
2653 using libpthread.so.
2655 * Thu Oct 24 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-4
2656 - update from CVS
2657 - fixed %a and %A in *printf (#75821)
2658 - fix re_comp memory leaking (#76594)
2660 * Tue Oct 22 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-3
2661 - update from CVS
2662 - some more regex fixes
2663 - fix libpthread.a (#76484)
2664 - fix locale-archive enlarging
2666 * Fri Oct 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-2
2667 - update from CVS
2668 - don't need to use 128K of stacks for DNS lookups
2669 - regex fixes
2670 - updated timezone data e.g. for this year's Brasil DST
2671 changes
2672 - expand ${LIB} in RPATH/RUNPATH/dlopen filenames
2674 * Fri Oct 11 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-1
2675 - update to 2.3.1 final
2676 - support really low thread stack sizes (#74073)
2677 - tzdata update
2679 * Wed Oct 9 2002 Jakub Jelinek <jakub@redhat.com> 2.3-2
2680 - update from CVS
2681 - handle low stack limits
2682 - move s390x into */lib64
2684 * Thu Oct 3 2002 Jakub Jelinek <jakub@redhat.com> 2.3-1
2685 - update to 2.3 final
2686 - fix freopen on libstdc++ <= 2.96 stdin/stdout/stderr (#74800)
2688 * Sun Sep 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-3
2689 - don't prelink -r libc.so on ppc/x86-64/sparc*, it doesn't
2690 speed things up, because they are neither REL arches, nor
2691 ELF_MACHINE_REL_RELATIVE
2692 - fix sparc64 build
2694 * Sun Sep 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-2
2695 - update from CVS
2697 * Sat Sep 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-1
2698 - update from CVS
2699 - prelink on ppc and x86-64 too
2700 - don't remove ppc memset
2701 - instead of listing on which arches to remove glibc-compat
2702 list where it should stay
2704 * Fri Sep 6 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-5
2705 - fix wcsmbs functions with invalid character sets (or malloc
2706 failures)
2707 - make sure __ctype_b etc. compat vars are updated even if
2708 they are copy relocs in the main program
2710 * Thu Sep 5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-4
2711 - fix /lib/libnss1_dns.so.1 (missing __set_h_errno definition
2712 leading to unresolved __set_h_errno symbol)
2714 * Wed Sep 4 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-3
2715 - security fix - increase dns-network.c MAXPACKET to at least
2716 65536 to avoid buffer overrun. Likewise glibc-compat
2717 dns-{host,network}.c.
2719 * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-2
2720 - temporarily add back __ctype_b, __ctype_tolower and __ctype_toupper to
2721 libc.a and export them as @@GLIBC_2.0 symbols, not @GLIBC_2.0
2722 from libc.so - we have still lots of .a libraries referencing
2723 __ctype_{b,tolower,toupper} out there...
2725 * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-1
2726 - update from CVS
2727 - 2.2.93 release
2728 - use double instead of single indirection in isXXX macros
2729 - per-locale wcsmbs conversion state
2731 * Sat Aug 31 2002 Jakub Jelinek <jakub@redhat.com> 2.2.92-2
2732 - update from CVS
2733 - fix newlocale/duplocale/uselocale
2734 - disable profile on x86_64 for now
2736 * Sat Aug 31 2002 Jakub Jelinek <jakub@redhat.com> 2.2.92-1
2737 - update from CVS
2738 - 2.2.92 release
2739 - fix gettext after uselocale
2740 - fix locales in statically linked threaded programs
2741 - fix NSS
2743 * Thu Aug 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.91-1
2744 - update from CVS
2745 - 2.2.91 release
2746 - fix fd leaks in locale-archive reader (#72043)
2747 - handle EROFS in build-locale-archive gracefully (#71665)
2749 * Wed Aug 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-27
2750 - update from CVS
2751 - fix re_match (#72312)
2752 - support more than 1024 threads
2754 * Fri Aug 23 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-26
2755 - update from CVS
2756 - fix i386 build
2758 * Thu Aug 22 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-25
2759 - update from CVS
2760 - fix locale-archive loading hang on some (non-primary) locales
2761 (#72122, #71878)
2762 - fix umount problems with locale-archives when /usr is a separate
2763 partition (#72043)
2764 - add LICENSES file
2766 * Fri Aug 16 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-24
2767 - update from CVS
2768 - only mmap up to 2MB of locale-archive on 32-bit machines
2769 initially
2770 - fix fseek past end + fread segfault with mmaped stdio
2771 - include <sys/debugreg.h> which is mistakenly not included
2772 in glibc-devel on IA-32
2774 * Fri Aug 16 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-23
2775 - don't return normalized locale name in setlocale when using
2776 locale-archive
2778 * Thu Aug 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-22
2779 - update from CVS
2780 - optimize for primary system locale
2781 - localedef fixes (#71552, #67705)
2783 * Wed Aug 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-21
2784 - fix path to locale-archive in libc reader
2785 - build locale archive at glibc-common %post time
2786 - export __strtold_internal and __wcstold_internal on Alpha again
2787 - workaround some localedata problems
2789 * Tue Aug 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-20
2790 - update from CVS
2791 - patch out set_thread_area for now
2793 * Fri Aug 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-19
2794 - update from CVS
2795 - GB18030 patch from Yu Shao
2796 - applied Debian patch for getaddrinfo IPv4 vs. IPv6
2797 - fix regcomp (#71039)
2799 * Sun Aug 4 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-18
2800 - update from CVS
2801 - use /usr/sbin/prelink, not prelink (#70376)
2803 * Thu Jul 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-17
2804 - update from CVS
2806 * Thu Jul 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-16
2807 - update from CVS
2808 - ungetc fix (#69586)
2809 - fseek errno fix (#69589)
2810 - change *etrlimit prototypes for C++ (#68588)
2811 - use --without-tls instead of --disable-tls
2813 * Thu Jul 11 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-15
2814 - set nscd user's shell to /sbin/nologin (#68369)
2815 - fix glibc-compat buffer overflows (security)
2816 - buildrequire prelink, don't build glibc's own copy of it (#67567)
2817 - update from CVS
2818 - regex fix (#67734)
2819 - fix unused warnings (#67706)
2820 - fix freopen with mmap stdio (#67552)
2821 - fix realloc (#68499)
2823 * Tue Jun 25 2002 Bill Nottingham <notting@redhat.com> 2.2.90-14
2824 - update from CVS
2825 - fix argp on long words
2826 - update atime in libio
2828 * Sat Jun 22 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-13
2829 - update from CVS
2830 - a thread race fix
2831 - fix readdir on invalid dirp
2833 * Wed Jun 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-12
2834 - update from CVS
2835 - don't use __thread in headers
2836 - fix system(3) in threaded apps
2837 - update prelink, so that it is possible to prelink -u libc.so.6.1
2838 on Alpha
2840 * Fri Jun 7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-11
2841 - update from CVS
2842 - fix __moddi3 (#65612, #65695)
2843 - fix ether_line (#64427)
2844 - fix setvbuf with mmap stdio (#65864)
2845 - --disable-tls for now, waiting for kernel
2846 - avoid duplication of __divtf3 etc. on IA-64
2847 - make sure get*ent_r and _IO_wfile_jumps are exported (#62278)
2849 * Tue May 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-10
2850 - update from CVS
2851 - fix Alpha pthread bug with gcc 3.1
2853 * Fri Apr 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-35
2854 - fix nice
2856 * Mon Apr 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-34
2857 - add relocation dependencies even for weak symbols (#63422)
2858 - stricter check_fds check for suid/sgid binaries
2859 - run make check at %%install time
2861 * Sat Apr 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-33
2862 - handle Dec 31 1969 in mktime for timezones west of GMT (#63369)
2863 - back out do-lookup.h change (#63261, #63305)
2864 - use "memory" clobber instead all the fancy stuff in i386/i686/bits/string.h
2865 since lots of compilers break on it
2866 - fix sparc build with gcc 3.1
2867 - fix spec file for athlon
2869 * Tue Apr 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-32
2870 - fix debugging of threaded apps (#62804)
2871 - fix DST for Estonia (#61494)
2872 - document that pthread_mutexattr_?etkind_np are deprecated
2873 and pthread_mutexattr_?ettype should be used instead in man
2874 pages (#61485)
2875 - fix libSegFault.so undefined externals
2877 * Fri Apr 5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-31
2878 - temporarily disable prelinking ld.so, as some statically linked
2879 binaries linked against debugging versions of old glibcs die on it
2880 (#62352)
2881 - fix <semaphore.h> for -std=c99 (#62516)
2882 - fix ether_ntohost segfault (#62397)
2883 - remove in glibc_post_upgrade on i386 all /lib/i686/libc-*.so,
2884 /lib/i686/libm-*.so and /lib/i686/libpthread-*.so, not just current
2885 version (#61633)
2886 - prelink -r on alpha too
2888 * Thu Mar 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-30
2889 - update GB18030 iconv module (Yu Shao)
2891 * Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-29
2892 - features.h fix
2894 * Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-28
2895 - update from CVS
2896 - fix nscd with huge groups
2897 - fix nis to not close fds it shouldn't
2898 - rebuilt against newer glibc-kernheaders to use the correct
2899 PATH_MAX
2900 - handle .athlon.rpm glibc the same way as .i686.rpm
2901 - add a couple of .ISO-8859-15 locales (#61922)
2902 - readd temporarily currencies which were superceeded by Euro
2903 into the list of accepted currencies by localedef to make
2904 standard conformance testsuites happy
2905 - temporarily moved __libc_waitpid back to make Sun JDK happy
2906 - use old malloc code
2907 - prelink i686/athlon ld.so and prelink -r i686/athlon libc.so
2909 * Thu Mar 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-27
2910 - update from CVS
2911 - fix DST handling for southern hemisphere (#60747)
2912 - fix daylight setting for tzset (#59951)
2913 - fix ftime (#60350)
2914 - fix nice return value
2915 - fix a malloc segfault
2916 - temporarily moved __libc_wait, __libc_fork and __libc_stack_end
2917 back to what they used to be exported at
2918 - censorship (#60758)
2920 * Thu Feb 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-26
2921 - update from CVS
2922 - use __attribute__((visibility(...))) if supported, use _rtld_local
2923 for ld.so only objects
2924 - provide libc's own __{,u}{div,mod}di3
2926 * Wed Feb 27 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-25
2927 - switch back to 2.2.5, mmap stdio needs work
2929 * Mon Feb 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-8
2930 - fix two other mmap stdio bugs (#60228)
2932 * Thu Feb 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-7
2933 - fix yet another mmap stdio bug (#60145)
2935 * Tue Feb 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-6
2936 - fix mmap stdio bug (seen on ld as File truncated error, #60043)
2937 - apply Andreas Schwab's fix for pthread sigwait
2938 - remove /lib/i686/ libraries in glibc_post_upgrade when
2939 performing i386 glibc install
2941 * Thu Feb 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-5
2942 - update to CVS
2943 - added glibc-utils subpackage
2944 - disable autoreq in glibc-debug
2945 - readd %%lang() to locale files
2947 * Fri Feb 7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-4
2948 - update to CVS
2949 - move glibc private symbols to GLIBC_PRIVATE symbol version
2951 * Wed Jan 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-3
2952 - fix a sqrt bug on alpha which caused SHN_UNDEF $__full_ieee754_sqrt..ng
2953 symbol in libm
2955 * Tue Jan 8 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-2
2956 - add debug-static package
2958 * Mon Dec 31 2001 Jakub Jelinek <jakub@redhat.com> 2.2.90-1
2959 - update from CVS
2960 - remove -D__USE_STRING_INLINES
2961 - add debug subpackage to trim glibc and glibc-devel size
2963 * Wed Oct 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-19
2964 - fix strsep
2966 * Fri Sep 28 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-18
2967 - fix a ld.so bug with duplicate searchlists in l_scope
2968 - fix erfcl(-inf)
2969 - turn /usr/lib/librt.so into linker script
2971 * Wed Sep 26 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-17
2972 - fix a ld.so lookup bug after lots of dlopen calls
2973 - fix CMSG_DATA for non-gcc non-ISOC99 compilers (#53984)
2974 - prelinking support for Sparc64
2976 * Fri Sep 21 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-16
2977 - update from CVS to fix DT_SYMBOLIC
2978 - prelinking support for Alpha and Sparc
2980 * Tue Sep 18 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-15
2981 - update from CVS
2982 - linuxthreads now retries if -1/EINTR is returned from
2983 reading or writing to thread manager pipe (#43742)
2984 - use DT_FILTER in librt.so (#53394)
2985 - update glibc prelink patch so that it handles filters
2986 - fix timer_* with SIGEV_NONE (#53494)
2987 - make glibc_post_upgrade work on PPC (patch from Franz Sirl)
2989 * Mon Sep 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-14
2990 - fix build on sparc32
2991 - 2.2.4-13 build for some reason missed some locales
2992 on alpha/ia64
2994 * Mon Sep 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-13
2995 - fix iconvconfig
2997 * Mon Sep 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-12
2998 - add fam to /etc/rpc (#52863)
2999 - fix <inttypes.h> for C++ (#52960)
3000 - fix perror
3002 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-11
3003 - fix strnlen(x, -1)
3005 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-10
3006 - doh, <bits/libc-lock.h> should only define __libc_rwlock_t
3007 if __USE_UNIX98.
3009 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-9
3010 - fix bits/libc-lock.h so that gcc can compile
3011 - fix s390 build
3013 * Fri Aug 24 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-8
3014 - kill stale library symlinks in ldconfig (#52350)
3015 - fix inttypes.h for G++ < 3.0
3016 - use DT_REL*COUNT
3018 * Wed Aug 22 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-7
3019 - fix strnlen on IA-64 (#50077)
3021 * Thu Aug 16 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-6
3022 - glibc 2.2.4 final
3023 - fix -lpthread -static (#51672)
3025 * Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-5
3026 - doh, include libio/tst-swscanf.c
3028 * Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-4
3029 - don't crash on catclose(-1)
3030 - fix wscanf %[] handling
3031 - fix return value from swprintf
3032 - handle year + %U/%W week + week day in strptime
3034 * Thu Aug 9 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-3
3035 - update from CVS to
3036 - fix strcoll (#50548)
3037 - fix seekdir (#51132)
3038 - fix memusage (#50606)
3039 - don't make gconv-modules.cache %%config file, just don't verify
3040 its content.
3042 * Mon Aug 6 2001 Jakub Jelinek <jakub@redhat.com>
3043 - fix strtod and *scanf (#50723, #50724)
3045 * Sat Aug 4 2001 Jakub Jelinek <jakub@redhat.com>
3046 - update from CVS
3047 - fix iconv cache handling
3048 - glibc should not own %{_infodir}, %{_mandir} nor %{_mandir}/man3 (#50673)
3049 - add gconv-modules.cache as emtpy config file (#50699)
3050 - only run iconvconfig if /usr is mounted read-write (#50667)
3052 * Wed Jul 25 2001 Jakub Jelinek <jakub@redhat.com>
3053 - move iconvconfig from glibc-common into glibc subpackage,
3054 call it from glibc_post_upgrade instead of common's post.
3056 * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
3057 - turn off debugging printouts in iconvconfig
3059 * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
3060 - update from CVS
3061 - fix IA-32 makecontext
3062 - make fflush(0) thread-safe (#46446)
3064 * Mon Jul 23 2001 Jakub Jelinek <jakub@redhat.com>
3065 - adjust prelinking DT_* and SHT_* values in elf.h
3066 - update from CVS
3067 - iconv cache
3068 - make iconv work in SUID/SGID programs (#34611)
3070 * Fri Jul 20 2001 Jakub Jelinek <jakub@redhat.com>
3071 - update from CVS
3072 - kill non-pic code in libm.so
3073 - fix getdate
3074 - fix some locales (#49402)
3075 - rebuilt with binutils-2.11.90.0.8-5 to place .interp section
3076 properly in libBrokenLocale.so, libNoVersion.so and libanl.so
3077 - add floating stacks on IA-64, Alpha, Sparc (#49308)
3079 * Mon Jul 16 2001 Jakub Jelinek <jakub@redhat.com>
3080 - make /lib/i686 directory owned by glibc*.i686.rpm
3082 * Mon Jul 9 2001 Jakub Jelinek <jakub@redhat.com>
3083 - remove rquota.[hx] headers which are now provided by quota (#47141)
3084 - add prelinking patch
3086 * Thu Jul 5 2001 Jakub Jelinek <jakub@redhat.com>
3087 - require sh-utils for nscd
3089 * Mon Jun 25 2001 Jakub Jelinek <jakub@redhat.com>
3090 - update from CVS (#43681, #43350, #44663, #45685)
3091 - fix ro_RO bug (#44644)
3093 * Wed Jun 6 2001 Jakub Jelinek <jakub@redhat.com>
3094 - fix a bunch of math bugs (#43210, #43345, #43346, #43347, #43348, #43355)
3095 - make rpc headers -ansi compilable (#42390)
3096 - remove alphaev6 optimized memcpy, since there are still far too many
3097 broken apps which call memcpy where they should call memmove
3098 - update from CVS to (among other things):
3099 - fix tanhl bug (#43352)
3101 * Tue May 22 2001 Jakub Jelinek <jakub@redhat.com>
3102 - fix #include <signal.h> with -D_XOPEN_SOURCE=500 on ia64 (#35968)
3103 - fix a dlclose reldeps handling bug
3104 - some more profiling fixes
3105 - fix tgmath.h
3107 * Thu May 17 2001 Jakub Jelinek <jakub@redhat.com>
3108 - make ldconfig more quiet
3109 - fix LD_PROFILE on i686 (#41030)
3111 * Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
3112 - fix the hardlink program, so that it really catches all files with
3113 identical content
3114 - add a s390x clone fix
3116 * Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
3117 - fix rpc for non-threaded apps using svc_fdset and similar variables (#40409)
3118 - fix nss compatibility DSO versions for alphaev6
3119 - add a hardlink program instead of the shell 3x for plus cmp -s/link
3120 which takes a lot of time during build
3121 - rework BuildPreReq and Conflicts with gcc, so that
3122 it applies only where it has to
3124 * Fri May 11 2001 Jakub Jelinek <jakub@redhat.com>
3125 - fix locale name of ja_JP in UTF-8 (#39783)
3126 - fix re_search_2 (#40244)
3127 - fix memusage script (#39138, #39823)
3128 - fix dlsym(RTLD_NEXT, ) from main program (#39803)
3129 - fix xtrace script (#39609)
3130 - make glibc conflict with glibc-devel 2.2.2 and below (to make sure
3131 libc_nonshared.a has atexit)
3132 - fix getconf LFS_CFLAGS on 64bitters
3133 - recompile with gcc-2.96-84 or above to fix binary compatibility problem
3134 with __frame_state_for function (#37933)
3136 * Fri Apr 27 2001 Jakub Jelinek <jakub@redhat.com>
3137 - glibc 2.2.3 release
3138 - fix strcoll (#36539)
3139 - add BuildPreReqs (#36378)
3141 * Wed Apr 25 2001 Jakub Jelinek <jakub@redhat.com>
3142 - update from CVS
3144 * Fri Apr 20 2001 Jakub Jelinek <jakub@redhat.com>
3145 - update from CVS
3146 - fix sparc64, ia64
3147 - fix some locale syntax errors (#35982)
3149 * Wed Apr 18 2001 Jakub Jelinek <jakub@redhat.com>
3150 - update from CVS
3152 * Wed Apr 11 2001 Jakub Jelinek <jakub@redhat.com>
3153 - update from CVS
3155 * Fri Apr 6 2001 Jakub Jelinek <jakub@redhat.com>
3156 - support even 2.4.0 kernels on ia64, sparc64 and s390x
3157 - include UTF-8 locales
3158 - make gconv-modules %%config(noreplace)
3160 * Fri Mar 23 2001 Jakub Jelinek <jakub@redhat.com>
3161 - back out sunrpc changes
3163 * Wed Mar 21 2001 Jakub Jelinek <jakub@redhat.com>
3164 - update from CVS
3165 - fix ia64 build
3166 - fix pthread_getattr_np
3168 * Fri Mar 16 2001 Jakub Jelinek <jakub@redhat.com>
3169 - update from CVS
3170 - run atexit() registered functions at dlclose time if they are in shared
3171 libraries (#28625)
3172 - add pthread_getattr_np API to make JVM folks happy
3174 * Wed Mar 14 2001 Jakub Jelinek <jakub@redhat.com>
3175 - require 2.4.1 instead of 2.4.0 on platforms where it required 2.4 kernel
3176 - fix ldd behaviour on unresolved symbols
3177 - remove nonsensical ldconfig warning, update osversion for the most
3178 recent library with the same soname in the same directory instead (#31703)
3179 - apply selected patches from CVS
3180 - s390x spec file changes from Florian La Roche
3182 * Wed Mar 7 2001 Jakub Jelinek <jakub@redhat.com>
3183 - fix gencat (#30894)
3184 - fix ldconfig changes from yesterday, fix LD_ASSUME_KERNEL handling
3186 * Tue Mar 6 2001 Jakub Jelinek <jakub@redhat.com>
3187 - update from CVS
3188 - make pthread_attr_setstacksize consistent before and after pthread manager
3189 is started (#28194)
3190 - pass back struct sigcontext from pthread signal wrapper (on ia32 only so
3191 far, #28493)
3192 - on i686 ship both --enable-kernel 2.2.5 and 2.4.0 libc/libm/libpthread,
3193 make ld.so pick the right one
3195 * Sat Feb 17 2001 Preston Brown <pbrown@redhat.com>
3196 - glib-common doesn't require glibc, until we can figure out how to get out of dependency hell.
3198 * Sat Feb 17 2001 Jakub Jelinek <jakub@redhat.com>
3199 - make glibc require particular version of glibc-common
3200 and glibc-common prerequire glibc.
3202 * Fri Feb 16 2001 Jakub Jelinek <jakub@redhat.com>
3203 - glibc 2.2.2 release
3204 - fix regex REG_ICASE bug seen in ksymoops
3206 * Sat Feb 10 2001 Jakub Jelinek <jakub@redhat.com>
3207 - fix regexec leaking memory (#26864)
3209 * Fri Feb 9 2001 Jakub Jelinek <jakub@redhat.com>
3210 - update from CVS
3211 - fix ia64 build with gnupro
3212 - make regex 64bit clean
3213 - fix tgmath make check failures on alpha
3215 * Tue Feb 6 2001 Jakub Jelinek <jakub@redhat.com>
3216 - update again for ia64 DF_1_INITFIRST
3218 * Fri Feb 2 2001 Jakub Jelinek <jakub@redhat.com>
3219 - update from CVS
3220 - fix getaddrinfo (#25437)
3221 - support DF_1_INITFIRST (#25029)
3223 * Wed Jan 24 2001 Jakub Jelinek <jakub@redhat.com>
3224 - build all auxiliary arches with --enablekernel 2.4.0, those wanting
3225 to run 2.2 kernels can downgrade to the base architecture glibc.
3227 * Sat Jan 20 2001 Jakub Jelinek <jakub@redhat.com>
3228 - remove %%lang() flags from %%{_prefix}/lib/locale files temporarily
3230 * Sun Jan 14 2001 Jakub Jelinek <jakub@redhat.com>
3231 - update to 2.2.1 final
3232 - fix a pthread_kill_other_threads_np breakage (#23966)
3233 - make static binaries using dlopen work on ia64 again
3234 - fix a typo in glibc-common group
3236 * Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
3237 - devel requires glibc = %%{version}
3238 - noreplace /etc/nscd.conf
3240 * Wed Jan 10 2001 Jakub Jelinek <jakub@redhat.com>
3241 - some more security fixes:
3242 - don't look up LD_PRELOAD libs in cache for SUID apps
3243 (because that bypasses SUID bit checking on the library)
3244 - place output files for profiling SUID apps into /var/profile,
3245 use O_NOFOLLOW for them
3246 - add checks for $MEMUSAGE_OUTPUT and $SEGFAULT_OUTPUT_NAME
3247 - hardlink identical locale files together
3248 - add %%lang() tags to locale stuff
3249 - remove ko_KR.utf8 for now, it is provided by locale-utf8 package
3251 * Mon Jan 8 2001 Jakub Jelinek <jakub@redhat.com>
3252 - add glibc-common subpackage
3253 - fix alphaev6 memcpy (#22494)
3254 - fix sys/cdefs.h (#22908)
3255 - don't define stdin/stdout/stderr as macros for -traditional (#22913)
3256 - work around a bug in IBM JDK (#22932, #23012)
3257 - fix pmap_unset when network is down (#23176)
3258 - move nscd in rc.d before netfs on shutdown
3259 - fix $RESOLV_HOST_CONF in SUID apps (#23562)
3261 * Fri Dec 15 2000 Jakub Jelinek <jakub@redhat.com>
3262 - fix ftw and nftw
3264 * Wed Dec 13 2000 Jakub Jelinek <jakub@redhat.com>
3265 - fix fcvt (#22184)
3266 - ldd /lib/ld-linux.so.2 is not crashing any longer again (#22197)
3267 - fix gencat
3269 * Mon Dec 11 2000 Jakub Jelinek <jakub@redhat.com>
3270 - fix alpha htonl and alphaev6 stpcpy
3272 * Sat Dec 9 2000 Jakub Jelinek <jakub@redhat.com>
3273 - update to CVS to:
3274 - fix getnameinfo (#21934)
3275 - don't stomp on memory in rpath handling (#21544)
3276 - fix setlocale (#21507)
3277 - fix libNoVersion.so.1 loading code (#21579)
3278 - use auxarches define in spec file for auxiliary
3279 architectures (#21219)
3280 - remove /usr/share directory from filelist (#21218)
3282 * Sun Nov 19 2000 Jakub Jelinek <jakub@redhat.com>
3283 - update to CVS to fix getaddrinfo
3285 * Fri Nov 17 2000 Jakub Jelinek <jakub@redhat.com>
3286 - update to CVS to fix freopen
3287 - remove all alpha workarounds, not needed anymore
3289 * Wed Nov 15 2000 Jakub Jelinek <jakub@redhat.com>
3290 - fix dladdr bug on alpha/sparc32/sparc64
3291 - fix Makefiles so that they run static tests properly
3293 * Tue Nov 14 2000 Jakub Jelinek <jakub@redhat.com>
3294 - update to CVS to fix ldconfig
3296 * Thu Nov 9 2000 Jakub Jelinek <jakub@redhat.com>
3297 - update to glibc 2.2 release
3299 * Mon Nov 6 2000 Jakub Jelinek <jakub@redhat.com>
3300 - update to CVS to:
3301 - export __sysconf@@GLIBC_2.2 (#20417)
3303 * Fri Nov 3 2000 Jakub Jelinek <jakub@redhat.com>
3304 - merge to 2.1.97
3306 * Mon Oct 30 2000 Jakub Jelinek <jakub@redhat.com>
3307 - update to CVS, including:
3308 - fix WORD_BIT/LONG_BIT definition in limits.h (#19088)
3309 - fix hesiod (#19375)
3310 - set LC_MESSAGES in zic/zdump for proper error message output (#19495)
3311 - fix LFS fcntl when used with non-LFS aware kernels (#19730)
3313 * Thu Oct 19 2000 Jakub Jelinek <jakub@redhat.com>
3314 - fix alpha semctl (#19199)
3315 - update to CVS, including:
3316 - fix glibc headers for Compaq non-gcc compilers
3317 - fix locale alias handling code (#18832)
3318 - fix rexec on little endian machines (#18886)
3319 - started writing changelog again
3321 * Thu Aug 10 2000 Adrian Havill <havill@redhat.com>
3322 - added ja ujis alias for backwards compatibility