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