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