Updated to fedora-glibc-20060505T0554
[glibc.git] / fedora / glibc.spec.in
bloba648725749dc5c69ac8beaea8b97146003655174
1 %define glibcrelease 5
2 %define auxarches i586 i686 athlon sparcv9 alphaev6
3 %define prelinkarches noarch
4 %define xenarches i686 athlon
5 %ifarch %{xenarches}
6 %define buildxen 1
7 %define xenpackage 0
8 %else
9 %define buildxen 0
10 %define xenpackage 0
11 %endif
12 %define rtkaioarches noarch
13 %define debuginfocommonarches %{ix86} alpha alphaev6 sparc sparcv9
14 %define _unpackaged_files_terminate_build 0
15 Summary: The GNU libc libraries.
16 Name: glibc
17 Version: %{glibcversion}
18 Release: %{glibcrelease}
19 License: LGPL
20 Group: System Environment/Libraries
21 Source0: %{glibcsrcdir}.tar.bz2
22 %if %{glibc_release_tarballs}
23 Source1: %(echo %{glibcsrcdir} | sed s/glibc-/glibc-linuxthreads-/).tar.bz2
24 Source2: %(echo %{glibcsrcdir} | sed s/glibc-/glibc-libidn-/).tar.bz2
25 %define glibc_release_unpack -a1 -a2
26 %endif
27 Source3: %{glibcname}-fedora-%{glibcdate}.tar.bz2
28 Patch0: %{glibcname}-fedora.patch
29 Patch1: %{name}-ia64-lib64.patch
30 Buildroot: %{_tmppath}/glibc-%{PACKAGE_VERSION}-root
31 Obsoletes: zoneinfo, libc-static, libc-devel, libc-profile, libc-headers,
32 Obsoletes: gencat, locale, ldconfig, locale-ja, glibc-profile
33 Provides: ldconfig
34 Autoreq: false
35 Requires: glibc-common = %{version}-%{release}
36 %ifarch sparc
37 Obsoletes: libc
38 %endif
39 # Require libgcc in case some program calls pthread_cancel in its %%post
40 Prereq: basesystem, libgcc
41 # This is for building auxiliary programs like memusage, nscd
42 # For initial glibc bootstraps it can be commented out
43 BuildPreReq: gd-devel libpng-devel zlib-devel texinfo, libselinux-devel >= 1.17.10-1
44 BuildPreReq: audit-libs-devel >= 1.1.3, sed >= 3.95, libcap-devel
45 %ifarch %{prelinkarches}
46 BuildPreReq: prelink >= 0.2.0-5
47 %endif
48 # This is to ensure that __frame_state_for is exported by glibc
49 # will be compatible with egcs 1.x.y
50 BuildPreReq: gcc >= 3.2
51 Conflicts: rpm <= 4.0-0.65
52 Conflicts: glibc-devel < 2.2.3
53 Conflicts: gcc4 <= 4.0.0-0.6
54 %ifarch x86_64 %{ix86}
55 # Need gdb that understands DW_CFA_val_expression
56 Conflicts: gdb < 6.3.0.0-1.111
57 %endif
58 # Earlier shadow-utils packages had too restrictive permissions on
59 # /etc/default
60 Conflicts: shadow-utils < 2:4.0.3-20
61 Conflicts: nscd < 2.3.3-52
62 Conflicts: kernel < 2.6.9
63 %define enablekernel 2.6.9
64 %ifarch i386
65 %define nptl_target_cpu i486
66 %else
67 %define nptl_target_cpu %{_target_cpu}
68 %endif
69 # Need AS_NEEDED directive
70 BuildRequires: binutils >= 2.15.94.0.2-1
71 BuildRequires: gcc >= 3.2.1-5
72 %ifarch ppc s390 s390x
73 BuildRequires: gcc >= 4.1.0-0.17
74 %endif
75 %if "%{_enable_debug_packages}" == "1"
76 BuildPreReq: elfutils >= 0.72
77 BuildPreReq: rpm >= 4.2-0.56
78 %endif
79 %define __find_provides %{_builddir}/%{glibcsrcdir}/find_provides.sh
80 %define _filter_GLIBC_PRIVATE 1
82 %description
83 The glibc package contains standard libraries which are used by
84 multiple programs on the system. In order to save disk space and
85 memory, as well as to make upgrading easier, common system code is
86 kept in one place and shared between programs. This particular package
87 contains the most important sets of shared libraries: the standard C
88 library and the standard math library. Without these two libraries, a
89 Linux system will not function.
91 %if %{xenpackage}
92 %package xen
93 Summary: The GNU libc libraries (optimized for running under Xen)
94 Group: System Environment/Libraries
95 Requires: glibc = %{version}-%{release}, glibc-utils = %{version}-%{release}
97 %description xen
98 The standard glibc package is optimized for native kernels and does not
99 perform as well under the Xen hypervisor. This package provides alternative
100 library binaries that will be selected instead when running under Xen.
102 Install glibc-xen if you might run your system under the Xen hypervisor.
103 %endif
105 %package devel
106 Summary: Object files for development using standard C libraries.
107 Group: Development/Libraries
108 Conflicts: texinfo < 3.11
109 # Need AS_NEEDED directive
110 Conflicts: binutils < 2.15.94.0.2-1
111 Prereq: /sbin/install-info
112 Obsoletes: libc-debug, libc-headers, libc-devel, linuxthreads-devel
113 Obsoletes: glibc-debug, nptl-devel
114 Prereq: %{name}-headers
115 Requires: %{name}-headers = %{version}-%{release}, %{name} = %{version}-%{release}
116 %ifarch %{ix86}
117 # Earlier gcc's had atexit reference in crtendS.o, which does not
118 # work with this glibc where atexit is in libc_nonshared.a
119 Conflicts: gcc < 2.96-79
120 %endif
121 Autoreq: true
123 %description devel
124 The glibc-devel package contains the object files necessary
125 for developing programs which use the standard C libraries (which are
126 used by nearly all programs). If you are developing programs which
127 will use the standard C libraries, your system needs to have these
128 standard object files available in order to create the
129 executables.
131 Install glibc-devel if you are going to develop programs which will
132 use the standard C libraries.
134 %package headers
135 Summary: Header files for development using standard C libraries.
136 Group: Development/Libraries
137 Provides: %{name}-headers(%{_target_cpu})
138 %ifarch x86_64
139 # If both -m32 and -m64 is to be supported on AMD64, x86_64 glibc-headers
140 # have to be installed, not i386 ones.
141 Obsoletes: %{name}-headers(i386)
142 %endif
143 Obsoletes: libc-debug, libc-headers, libc-devel
144 Prereq: kernel-headers
145 Requires: kernel-headers >= 2.2.1, %{name} = %{version}-%{release}
146 Autoreq: true
148 %description headers
149 The glibc-headers package contains the header files necessary
150 for developing programs which use the standard C libraries (which are
151 used by nearly all programs). If you are developing programs which
152 will use the standard C libraries, your system needs to have these
153 standard header files available in order to create the
154 executables.
156 Install glibc-headers if you are going to develop programs which will
157 use the standard C libraries.
159 %package common
160 Summary: Common binaries and locale data for glibc
161 Conflicts: %{name} < %{version}
162 Conflicts: %{name} > %{version}
163 Autoreq: false
164 Requires: tzdata >= 2003a
165 Group: System Environment/Base
167 %description common
168 The glibc-common package includes common binaries for the GNU libc
169 libraries, as well as national language (locale) support.
171 %package -n nscd
172 Summary: A Name Service Caching Daemon (nscd).
173 Group: System Environment/Daemons
174 Conflicts: kernel < 2.2.0
175 Requires: libselinux >= 1.17.10-1, audit-libs >= 1.1.3
176 Conflicts: selinux-policy-targeted < 1.17.30-2.2
177 Prereq: /sbin/chkconfig, /usr/sbin/useradd, /usr/sbin/userdel, sh-utils
178 Autoreq: true
180 %description -n nscd
181 Nscd caches name service lookups and can dramatically improve
182 performance with NIS+, and may help with DNS as well.
184 %package utils
185 Summary: Development utilities from GNU C library
186 Group: Development/Tools
187 Requires: glibc = %{version}-%{release}
189 %description utils
190 The glibc-utils package contains memusage, a memory usage profiler,
191 mtrace, a memory leak tracer and xtrace, a function call tracer
192 which can be helpful during program debugging.
194 If unsure if you need this, don't install this package.
196 %if "%{_enable_debug_packages}" == "1"
197 %define debug_package %{nil}
199 %package debuginfo
200 Summary: Debug information for package %{name}
201 Group: Development/Debug
202 %ifarch %{debuginfocommonarches}
203 Requires: glibc-debuginfo-common = %{version}-%{release}
204 %endif
206 %description debuginfo
207 This package provides debug information for package %{name}.
208 Debug information is useful when developing applications that use this
209 package or when debugging this package.
211 This package also contains static standard C libraries with
212 debugging information. You need this only if you want to step into
213 C library routines during debugging programs statically linked against
214 one or more of the standard C libraries.
215 To use this debugging information, you need to link binaries
216 with -static -L%{_prefix}/lib/debug%{_prefix}/%{_lib} compiler options.
218 %ifarch %{debuginfocommonarches}
220 %package debuginfo-common
221 Summary: Debug information for package %{name}
222 Group: Development/Debug
224 %description debuginfo-common
225 This package provides debug information for package %{name}.
226 Debug information is useful when developing applications that use this
227 package or when debugging this package.
229 %endif
230 %endif
232 %prep
233 %setup -q -n %{glibcsrcdir} %{glibc_release_unpack} -a3
234 %patch0 -E -p1
235 %ifarch ia64
236 %if "%{_lib}" == "lib64"
237 %patch1 -p1
238 %endif
239 %endif
241 # Hack till glibc-kernheaders get updated, argh
242 mkdir -p override_headers/linux
243 cat > override_headers/linux/version.h <<EOF
244 #define UTS_RELEASE "2.6.9"
245 #define LINUX_VERSION_CODE 132617
246 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
248 mkdir -p override_headers/asm
249 cat > override_headers/asm/unistd.h <<EOF
250 #ifndef _HACK_ASM_UNISTD_H
251 #include_next <asm/unistd.h>
252 %ifarch alpha
253 #ifndef __NR_stat64
254 #define __NR_stat64 425
255 #define __NR_lstat64 426
256 #define __NR_fstat64 427
257 #endif
258 #ifndef __NR_mq_open
259 #define __NR_mq_open 432
260 #define __NR_mq_unlink 433
261 #define __NR_mq_timedsend 434
262 #define __NR_mq_timedreceive 435
263 #define __NR_mq_notify 436
264 #define __NR_mq_getsetattr 437
265 #endif
266 #ifndef __NR_waitid
267 #define __NR_waitid 438
268 #endif
269 #ifndef __NR_inotify_init
270 #define __NR_inotify_init 444
271 #define __NR_inotify_add_watch 445
272 #define __NR_inotify_rm_watch 446
273 #endif
274 %endif
275 %ifarch %{ix86}
276 #ifndef __NR_mq_open
277 #define __NR_mq_open 277
278 #define __NR_mq_unlink (__NR_mq_open+1)
279 #define __NR_mq_timedsend (__NR_mq_open+2)
280 #define __NR_mq_timedreceive (__NR_mq_open+3)
281 #define __NR_mq_notify (__NR_mq_open+4)
282 #define __NR_mq_getsetattr (__NR_mq_open+5)
283 #endif
284 #ifndef __NR_waitid
285 #define __NR_waitid 284
286 #endif
287 #ifndef __NR_inotify_init
288 #define __NR_inotify_init 291
289 #define __NR_inotify_add_watch 292
290 #define __NR_inotify_rm_watch 293
291 #endif
292 #ifndef __NR_openat
293 #define __NR_openat 295
294 #define __NR_mkdirat 296
295 #define __NR_mknodat 297
296 #define __NR_fchownat 298
297 #define __NR_futimesat 299
298 #define __NR_unlinkat 301
299 #define __NR_renameat 302
300 #define __NR_linkat 303
301 #define __NR_symlinkat 304
302 #define __NR_readlinkat 305
303 #define __NR_fchmodat 306
304 #define __NR_faccessat 307
305 #endif
306 #ifndef __NR_fstatat64
307 #define __NR_fstatat64 300
308 #endif
309 #ifndef __NR_pselect6
310 #define __NR_pselect6 308
311 #define __NR_ppoll 309
312 #endif
313 #ifndef __NR_unshare
314 #define __NR_unshare 310
315 #endif
316 #ifndef __NR_set_robust_list
317 #define __NR_set_robust_list 311
318 #define __NR_get_robust_list 312
319 #endif
320 #ifndef __NR_splice
321 #define __NR_splice 313
322 #endif
323 #ifndef __NR_sync_file_range
324 #define __NR_sync_file_range 314
325 #endif
326 #ifndef __NR_tee
327 #define __NR_tee 315
328 #endif
329 %endif
330 %ifarch ia64
331 #ifndef __NR_timer_create
332 #define __NR_timer_create 1248
333 #define __NR_timer_settime 1249
334 #define __NR_timer_gettime 1250
335 #define __NR_timer_getoverrun 1251
336 #define __NR_timer_delete 1252
337 #define __NR_clock_settime 1253
338 #define __NR_clock_gettime 1254
339 #define __NR_clock_getres 1255
340 #define __NR_clock_nanosleep 1256
341 #endif
342 #ifndef __NR_mq_open
343 #define __NR_mq_open 1262
344 #define __NR_mq_unlink 1263
345 #define __NR_mq_timedsend 1264
346 #define __NR_mq_timedreceive 1265
347 #define __NR_mq_notify 1266
348 #define __NR_mq_getsetattr 1267
349 #endif
350 #ifndef __NR_waitid
351 #define __NR_waitid 1270
352 #endif
353 #ifndef __NR_inotify_init
354 #define __NR_inotify_init 1277
355 #define __NR_inotify_add_watch 1278
356 #define __NR_inotify_rm_watch 1279
357 #endif
358 #ifndef __NR_openat
359 #define __NR_openat 1281
360 #define __NR_mkdirat 1282
361 #define __NR_mknodat 1283
362 #define __NR_fchownat 1284
363 #define __NR_futimesat 1285
364 #define __NR_newfstatat 1286
365 #define __NR_unlinkat 1287
366 #define __NR_renameat 1288
367 #define __NR_linkat 1289
368 #define __NR_symlinkat 1290
369 #define __NR_readlinkat 1291
370 #define __NR_fchmodat 1292
371 #define __NR_faccessat 1293
372 #endif
373 #if 0
374 #ifndef __NR_pselect6
375 #define __NR_pselect6 1294
376 #define __NR_ppoll 1295
377 #endif
378 #endif
379 #ifndef __NR_unshare
380 #define __NR_unshare 1296
381 #endif
382 #ifndef __NR_splice
383 #define __NR_splice 1297
384 #endif
385 #ifndef __NR_set_robust_list
386 #define __NR_set_robust_list 1298
387 #define __NR_get_robust_list 1299
388 #endif
389 #ifndef __NR_sync_file_range
390 #define __NR_sync_file_range 1300
391 #endif
392 #ifndef __NR_tee
393 #define __NR_tee 1301
394 #endif
395 %endif
396 %ifarch ppc
397 #ifndef __NR_utimes
398 #define __NR_utimes 251
399 #endif
400 #ifndef __NR_statfs64
401 #define __NR_statfs64 252
402 #define __NR_fstatfs64 253
403 #endif
404 #ifndef __NR_fadvise64_64
405 #define __NR_fadvise64_64 254
406 #endif
407 #ifndef __NR_mq_open
408 #define __NR_mq_open 262
409 #define __NR_mq_unlink 263
410 #define __NR_mq_timedsend 264
411 #define __NR_mq_timedreceive 265
412 #define __NR_mq_notify 266
413 #define __NR_mq_getsetattr 267
414 #endif
415 #ifndef __NR_waitid
416 #define __NR_waitid 272
417 #endif
418 #ifndef __NR_inotify_init
419 #define __NR_inotify_init 275
420 #define __NR_inotify_add_watch 276
421 #define __NR_inotify_rm_watch 277
422 #endif
423 #ifndef __NR_pselect6
424 #define __NR_pselect6 280
425 #define __NR_ppoll 281
426 #endif
427 #ifndef __NR_unshare
428 #define __NR_unshare 282
429 #endif
430 #ifndef __NR_splice
431 #define __NR_splice 283
432 #endif
433 #ifndef __NR_tee
434 #define __NR_tee 284
435 #endif
436 %endif
437 %ifarch ppc64
438 #ifndef __NR_utimes
439 #define __NR_utimes 251
440 #endif
441 #ifndef __NR_mq_open
442 #define __NR_mq_open 262
443 #define __NR_mq_unlink 263
444 #define __NR_mq_timedsend 264
445 #define __NR_mq_timedreceive 265
446 #define __NR_mq_notify 266
447 #define __NR_mq_getsetattr 267
448 #endif
449 #ifndef __NR_waitid
450 #define __NR_waitid 272
451 #endif
452 #ifndef __NR_inotify_init
453 #define __NR_inotify_init 275
454 #define __NR_inotify_add_watch 276
455 #define __NR_inotify_rm_watch 277
456 #endif
457 #ifndef __NR_pselect6
458 #define __NR_pselect6 280
459 #define __NR_ppoll 281
460 #endif
461 #ifndef __NR_unshare
462 #define __NR_unshare 282
463 #endif
464 #ifndef __NR_splice
465 #define __NR_splice 283
466 #endif
467 #ifndef __NR_tee
468 #define __NR_tee 284
469 #endif
470 %endif
471 %ifarch s390
472 #ifndef __NR_timer_create
473 #define __NR_timer_create 254
474 #define __NR_timer_settime (__NR_timer_create+1)
475 #define __NR_timer_gettime (__NR_timer_create+2)
476 #define __NR_timer_getoverrun (__NR_timer_create+3)
477 #define __NR_timer_delete (__NR_timer_create+4)
478 #define __NR_clock_settime (__NR_timer_create+5)
479 #define __NR_clock_gettime (__NR_timer_create+6)
480 #define __NR_clock_getres (__NR_timer_create+7)
481 #define __NR_clock_nanosleep (__NR_timer_create+8)
482 #endif
483 #ifndef __NR_fadvise64_64
484 #define __NR_fadvise64_64 264
485 #endif
486 #ifndef __NR_statfs64
487 #define __NR_statfs64 265
488 #define __NR_fstatfs64 266
489 #endif
490 #ifndef __NR_mq_open
491 #define __NR_mq_open 271
492 #define __NR_mq_unlink 272
493 #define __NR_mq_timedsend 273
494 #define __NR_mq_timedreceive 274
495 #define __NR_mq_notify 275
496 #define __NR_mq_getsetattr 276
497 #endif
498 #ifndef __NR_waitid
499 #define __NR_waitid 281
500 #endif
501 #ifndef __NR_inotify_init
502 #define __NR_inotify_init 284
503 #define __NR_inotify_add_watch 285
504 #define __NR_inotify_rm_watch 286
505 #endif
506 #ifndef __NR_openat
507 #define __NR_openat 288
508 #define __NR_mkdirat 289
509 #define __NR_mknodat 290
510 #define __NR_fchownat 291
511 #define __NR_futimesat 292
512 #define __NR_fstatat64 293
513 #define __NR_unlinkat 294
514 #define __NR_renameat 295
515 #define __NR_linkat 296
516 #define __NR_symlinkat 297
517 #define __NR_readlinkat 298
518 #define __NR_fchmodat 299
519 #define __NR_faccessat 300
520 #endif
521 #ifndef __NR_pselect6
522 #define __NR_pselect6 301
523 #define __NR_ppoll 302
524 #endif
525 #ifndef __NR_unshare
526 #define __NR_unshare 303
527 #endif
528 %endif
529 %ifarch s390x
530 #ifndef __NR_timer_create
531 #define __NR_timer_create 254
532 #define __NR_timer_settime (__NR_timer_create+1)
533 #define __NR_timer_gettime (__NR_timer_create+2)
534 #define __NR_timer_getoverrun (__NR_timer_create+3)
535 #define __NR_timer_delete (__NR_timer_create+4)
536 #define __NR_clock_settime (__NR_timer_create+5)
537 #define __NR_clock_gettime (__NR_timer_create+6)
538 #define __NR_clock_getres (__NR_timer_create+7)
539 #define __NR_clock_nanosleep (__NR_timer_create+8)
540 #endif
541 #ifndef __NR_mq_open
542 #define __NR_mq_open 271
543 #define __NR_mq_unlink 272
544 #define __NR_mq_timedsend 273
545 #define __NR_mq_timedreceive 274
546 #define __NR_mq_notify 275
547 #define __NR_mq_getsetattr 276
548 #endif
549 #ifndef __NR_waitid
550 #define __NR_waitid 281
551 #endif
552 #ifndef __NR_inotify_init
553 #define __NR_inotify_init 284
554 #define __NR_inotify_add_watch 285
555 #define __NR_inotify_rm_watch 286
556 #endif
557 #ifndef __NR_openat
558 #define __NR_openat 288
559 #define __NR_mkdirat 289
560 #define __NR_mknodat 290
561 #define __NR_fchownat 291
562 #define __NR_futimesat 292
563 #define __NR_newfstatat 293
564 #define __NR_unlinkat 294
565 #define __NR_renameat 295
566 #define __NR_linkat 296
567 #define __NR_symlinkat 297
568 #define __NR_readlinkat 298
569 #define __NR_fchmodat 299
570 #define __NR_faccessat 300
571 #endif
572 #ifndef __NR_pselect6
573 #define __NR_pselect6 301
574 #define __NR_ppoll 302
575 #endif
576 #ifndef __NR_unshare
577 #define __NR_unshare 303
578 #endif
579 %endif
580 %ifarch sparc sparcv9 sparc64
581 #ifndef __NR_mq_open
582 #define __NR_mq_open 273
583 #define __NR_mq_unlink 274
584 #define __NR_mq_timedsend 275
585 #define __NR_mq_timedreceive 276
586 #define __NR_mq_notify 277
587 #define __NR_mq_getsetattr 278
588 #endif
589 #ifndef __NR_waitid
590 #define __NR_waitid 279
591 #endif
592 #ifndef __NR_stat64
593 #define __NR_fstat64 63
594 #define __NR_lstat64 132
595 #define __NR_stat64 139
596 #endif
597 #ifndef __NR_inotify_init
598 #define __NR_inotify_init 151
599 #define __NR_inotify_add_watch 152
600 #define __NR_inotify_rm_watch 156
601 #endif
602 #ifndef __NR_openat
603 #define __NR_openat 284
604 #define __NR_mkdirat 285
605 #define __NR_mknodat 286
606 #define __NR_fchownat 287
607 #define __NR_futimesat 288
608 #define __NR_newfstatat 289
609 #define __NR_unlinkat 290
610 #define __NR_renameat 291
611 #define __NR_linkat 292
612 #define __NR_symlinkat 293
613 #define __NR_readlinkat 294
614 #define __NR_fchmodat 295
615 #define __NR_faccessat 296
616 #endif
617 #ifndef __NR_pselect6
618 #define __NR_pselect6 297
619 #define __NR_ppoll 298
620 #endif
621 #ifndef __NR_unshare
622 #define __NR_unshare 299
623 #endif
624 %endif
625 %ifarch x86_64
626 #ifndef __NR_mq_open
627 #define __NR_mq_open 240
628 #define __NR_mq_unlink 241
629 #define __NR_mq_timedsend 242
630 #define __NR_mq_timedreceive 243
631 #define __NR_mq_notify 244
632 #define __NR_mq_getsetattr 245
633 #endif
634 #ifndef __NR_waitid
635 #define __NR_waitid 247
636 #endif
637 #ifndef __NR_inotify_init
638 #define __NR_inotify_init 253
639 #define __NR_inotify_add_watch 254
640 #define __NR_inotify_rm_watch 255
641 #endif
642 #ifndef __NR_openat
643 #define __NR_openat 257
644 #define __NR_mkdirat 258
645 #define __NR_mknodat 259
646 #define __NR_fchownat 260
647 #define __NR_futimesat 261
648 #define __NR_newfstatat 262
649 #define __NR_unlinkat 263
650 #define __NR_renameat 264
651 #define __NR_linkat 265
652 #define __NR_symlinkat 266
653 #define __NR_readlinkat 267
654 #define __NR_fchmodat 268
655 #define __NR_faccessat 269
656 #endif
657 #ifndef __NR_pselect6
658 #define __NR_pselect6 270
659 #define __NR_ppoll 271
660 #endif
661 #ifndef __NR_unshare
662 #define __NR_unshare 272
663 #endif
664 #ifndef __NR_set_robust_list
665 #define __NR_set_robust_list 273
666 #define __NR_get_robust_list 274
667 #endif
668 #ifndef __NR_splice
669 #define __NR_splice 275
670 #endif
671 #ifndef __NR_tee
672 #define __NR_tee 276
673 #endif
674 #ifndef __NR_sync_file_range
675 #define __NR_sync_file_range 277
676 #endif
677 %endif
678 %ifnarch %{ix86} x86_64
679 /* FIXME: Reenable it when the kernel side is more stable. */
680 #undef __NR_newfstatat
681 #undef __NR_fstatat64
682 %endif
683 #endif
685 cat > override_headers/asm/errno.h <<EOF
686 #ifndef _HACK_ASM_ERRNO_H
687 #include_next <asm/errno.h>
688 %ifarch alpha
689 #ifndef ENOKEY
690 #define ENOKEY 132
691 #define EKEYEXPIRED 133
692 #define EKEYREVOKED 134
693 #define EKEYREJECTED 135
694 #endif
695 #ifndef EOWNERDEAD
696 #define EOWNERDEAD 136
697 #define ENOTRECOVERABLE 137
698 #endif
699 %endif
700 %ifarch %{ix86} ia64 ppc ppc64 s390 s390x x86_64
701 #ifndef ENOKEY
702 #define ENOKEY 126
703 #define EKEYEXPIRED 127
704 #define EKEYREVOKED 128
705 #define EKEYREJECTED 129
706 #endif
707 #ifndef EOWNERDEAD
708 #define EOWNERDEAD 130
709 #define ENOTRECOVERABLE 131
710 #endif
711 %endif
712 %ifarch sparc sparcv9 sparc64
713 #ifndef ENOKEY
714 #define ENOKEY 128
715 #define EKEYEXPIRED 129
716 #define EKEYREVOKED 130
717 #define EKEYREJECTED 131
718 #endif
719 #ifndef EOWNERDEAD
720 #define EOWNERDEAD 132
721 #define ENOTRECOVERABLE 133
722 #endif
723 %endif
724 #endif
727 # A lot of programs still misuse memcpy when they have to use
728 # memmove. The memcpy implementation below is not tolerant at
729 # all.
730 rm -f sysdeps/alpha/alphaev6/memcpy.S
732 find . -type f -size 0 -o -name "*.orig" -exec rm -f {} \;
733 cat > find_provides.sh <<EOF
734 #!/bin/sh
735 /usr/lib/rpm/find-provides | grep -v GLIBC_PRIVATE
736 exit 0
738 chmod +x find_provides.sh
739 touch `find . -name configure`
740 touch locale/programs/*-kw.h
742 %build
743 GCC=gcc
744 GXX=g++
745 %ifarch %{ix86}
746 BuildFlags="-march=%{_target_cpu} -DUSE_CFA_VAL_EXPRESSION"
747 %endif
748 %ifarch i686
749 BuildFlags="-march=i686 -mtune=pentium4 -DUSE_CFA_VAL_EXPRESSION"
750 %endif
751 %ifarch x86_64
752 BuildFlags="-DUSE_CFA_VAL_EXPRESSION"
753 %endif
754 %ifarch alphaev6
755 BuildFlags="-mcpu=ev6"
756 %endif
757 %ifarch sparc
758 BuildFlags="-fcall-used-g6"
759 GCC="gcc -m32"
760 GXX="g++ -m32"
761 %endif
762 %ifarch sparcv9
763 BuildFlags="-mcpu=ultrasparc -fcall-used-g6"
764 GCC="gcc -m32"
765 GXX="g++ -m32"
766 %endif
767 %ifarch sparc64
768 BuildFlags="-mcpu=ultrasparc -mvis -fcall-used-g6"
769 GCC="gcc -m64"
770 GXX="g++ -m64"
771 %endif
772 %ifarch ppc64
773 BuildFlags="-mno-minimal-toc"
774 GCC="gcc -m64"
775 GXX="g++ -m64"
776 %endif
778 BuildFlags="$BuildFlags -DNDEBUG=1"
779 if gcc -v 2>&1 | grep -q 'gcc version 3.[0123]'; then
780 BuildFlags="$BuildFlags -finline-limit=2000"
782 EnableKernel="--enable-kernel=%{enablekernel}"
783 echo "$BuildFlags" > BuildFlags
784 echo "$GCC" > Gcc
785 AddOns=`echo */configure | sed -e 's!/configure!!g;s!\(linuxthreads\|nptl\|rtkaio\)\( \|$\)!!g;s! \+$!!;s! !,!g;s!^!,!;/^,\*$/d'`
786 %ifarch %{rtkaioarches}
787 AddOns=,rtkaio$AddOns
788 %endif
789 echo "$AddOns" > AddOns
791 build_nptl()
793 builddir=build-%{nptl_target_cpu}-$1
794 shift
795 rm -rf $builddir
796 mkdir $builddir ; cd $builddir
797 build_CFLAGS="$BuildFlags -g -O3 $*"
798 CC="$GCC" CXX="$GXX" CFLAGS="$build_CFLAGS" ../configure --prefix=%{_prefix} \
799 --enable-add-ons=nptl$AddOns --without-cvs $EnableKernel \
800 --with-headers=`cd ..; pwd`/override_headers:%{_prefix}/include --enable-bind-now \
801 --with-tls --with-__thread --build %{nptl_target_cpu}-redhat-linux \
802 --host %{nptl_target_cpu}-redhat-linux \
803 --disable-profile
804 make %{?_smp_mflags} -r CFLAGS="$build_CFLAGS" PARALLELMFLAGS=-s
806 cd ..
809 build_nptl linuxnptl
811 %if %{buildxen}
812 build_nptl linuxnptl-nosegneg -mno-tls-direct-seg-refs
813 %endif
815 cd build-%{nptl_target_cpu}-linuxnptl
816 $GCC -static -L. -Os ../fedora/glibc_post_upgrade.c -o glibc_post_upgrade.%{_target_cpu} \
817 -DNO_SIZE_OPTIMIZATION \
818 %ifarch i386
819 -DARCH_386 \
820 %endif
821 '-DLIBTLS="/%{_lib}/tls/"' \
822 '-DGCONV_MODULES_DIR="%{_prefix}/%{_lib}/gconv"' \
823 '-DLD_SO_CONF="/etc/ld.so.conf"' \
824 '-DICONVCONFIG="%{_sbindir}/iconvconfig.%{_target_cpu}"'
825 cd ..
827 %install
828 BuildFlags=`cat BuildFlags`
829 GCC=`cat Gcc`
830 AddOns=`cat AddOns`
832 rm -rf $RPM_BUILD_ROOT
833 mkdir -p $RPM_BUILD_ROOT
834 make -j1 install_root=$RPM_BUILD_ROOT install -C build-%{nptl_target_cpu}-linuxnptl PARALLELMFLAGS=-s
835 %ifnarch %{auxarches}
836 cd build-%{nptl_target_cpu}-linuxnptl && \
837 make %{?_smp_mflags} install_root=$RPM_BUILD_ROOT install-locales -C ../localedata objdir=`pwd` && \
838 cd ..
839 %endif
841 %if %{buildxen}
842 %define nosegneg_subdir i686/nosegneg
843 cd build-%{nptl_target_cpu}-linuxnptl-nosegneg
844 SubDir=%{nosegneg_subdir}
845 mkdir -p $RPM_BUILD_ROOT/%{_lib}/$SubDir/
846 cp -a libc.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libc-*.so`
847 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libc-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libc.so.*`
848 cp -a math/libm.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libm-*.so`
849 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libm-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libm.so.*`
850 cp -a nptl/libpthread.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/libpthread-%{version}.so
851 pushd $RPM_BUILD_ROOT/%{_lib}/$SubDir
852 ln -sf libpthread-*.so `basename $RPM_BUILD_ROOT/%{_lib}/libpthread.so.*`
853 popd
854 %ifarch %{rtkaioarches}
855 cp -a rtkaio/librtkaio.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed s/librt-/librtkaio-/`
856 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.*`
857 %else
858 cp -a rt/librt.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so`
859 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/librt.so.*`
860 %endif
861 cp -a nptl_db/libthread_db.so $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libthread_db-*.so`
862 ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libthread_db-*.so` $RPM_BUILD_ROOT/%{_lib}/$SubDir/`basename $RPM_BUILD_ROOT/%{_lib}/libthread_db.so.*`
863 cd ..
864 %endif
866 # compatibility hack: this locale has vanished from glibc, but some other
867 # programs are still using it. Normally we would handle it in the %pre
868 # section but with glibc that is simply not an option
869 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/locale/ru_RU/LC_MESSAGES
871 # Remove the files we don't want to distribute
872 rm -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libNoVersion*
873 rm -f $RPM_BUILD_ROOT/%{_lib}/libNoVersion*
875 # NPTL <bits/stdio-lock.h> is not usable outside of glibc, so include
876 # the generic one (#162634)
877 cp -a bits/stdio-lock.h $RPM_BUILD_ROOT%{_prefix}/include/bits/stdio-lock.h
878 # And <bits/libc-lock.h> needs sanitizing as well.
879 cp -a fedora/libc-lock.h $RPM_BUILD_ROOT%{_prefix}/include/bits/libc-lock.h
881 if [ -d $RPM_BUILD_ROOT%{_prefix}/info -a "%{_infodir}" != "%{_prefix}/info" ]; then
882 mkdir -p $RPM_BUILD_ROOT%{_infodir}
883 mv -f $RPM_BUILD_ROOT%{_prefix}/info/* $RPM_BUILD_ROOT%{_infodir}
884 rm -rf $RPM_BUILD_ROOT%{_prefix}/info
887 gzip -9nvf $RPM_BUILD_ROOT%{_infodir}/libc*
889 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libbsd.a
891 install -p -m 644 fedora/nsswitch.conf $RPM_BUILD_ROOT/etc/nsswitch.conf
893 mkdir -p $RPM_BUILD_ROOT/etc/default
894 install -p -m 644 nis/nss $RPM_BUILD_ROOT/etc/default/nss
896 # Take care of setuids
897 # -- new security review sez that this shouldn't be needed anymore
898 #chmod 755 $RPM_BUILD_ROOT%{_prefix}/libexec/pt_chown
900 # This is for ncsd - in glibc 2.2
901 install -m 644 nscd/nscd.conf $RPM_BUILD_ROOT/etc
902 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
903 install -m 755 nscd/nscd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
905 # Don't include ld.so.cache
906 rm -f $RPM_BUILD_ROOT/etc/ld.so.cache
908 # Include ld.so.conf
909 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT/etc/ld.so.conf
910 touch $RPM_BUILD_ROOT/etc/ld.so.cache
911 chmod 644 $RPM_BUILD_ROOT/etc/ld.so.conf
912 mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
913 mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
914 touch $RPM_BUILD_ROOT/etc/sysconfig/nscd
916 # Include %{_prefix}/%{_lib}/gconv/gconv-modules.cache
917 > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/gconv-modules.cache
918 chmod 644 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/gconv-modules.cache
920 # Install the upgrade program
921 install -m 700 build-%{nptl_target_cpu}-linuxnptl/glibc_post_upgrade.%{_target_cpu} \
922 $RPM_BUILD_ROOT/usr/sbin/glibc_post_upgrade.%{_target_cpu}
924 strip -g $RPM_BUILD_ROOT%{_prefix}/%{_lib}/*.o
926 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}
927 cp -a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/*.a \
928 $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}/
929 rm -f $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}/*_p.a
930 # Now strip debugging info from static libraries
931 pushd $RPM_BUILD_ROOT%{_prefix}/%{_lib}/
932 for i in *.a; do
933 if [ -f $i ]; then
934 case "$i" in
935 *_p.a) ;;
936 *) strip -g -R .comment $i ;;
937 esac
939 done
940 popd
942 # rquota.x and rquota.h are now provided by quota
943 rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx]
945 # Hardlink identical locale files together
946 %ifnarch %{auxarches}
947 gcc -O2 -o build-%{nptl_target_cpu}-linuxnptl/hardlink fedora/hardlink.c
948 build-%{nptl_target_cpu}-linuxnptl/hardlink -vc $RPM_BUILD_ROOT%{_prefix}/lib/locale
949 %endif
951 rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss1-*
952 rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss-*.so.1
954 # Ugly hack for buggy rpm
955 ln -f ${RPM_BUILD_ROOT}%{_sbindir}/iconvconfig{,.%{_target_cpu}}
957 rm -f $RPM_BUILD_ROOT/etc/gai.conf
959 # BUILD THE FILE LIST
960 find $RPM_BUILD_ROOT -type f -or -type l |
961 sed -e 's|.*/etc|%config &|' \
962 -e 's|.*/gconv/gconv-modules$|%verify(not md5 size mtime) %config(noreplace) &|' \
963 -e 's|.*/gconv/gconv-modules.cache|%verify(not md5 size mtime) &|' \
964 -e '/lib\/debug/d' > rpm.filelist.in
965 for n in %{_prefix}/share %{_prefix}/include %{_prefix}/lib/locale; do
966 find ${RPM_BUILD_ROOT}${n} -type d | \
967 grep -v '%{_prefix}/share$' | \
968 grep -v '%{_infodir}' | \
969 sed "s/^/%dir /" >> rpm.filelist.in
970 done
972 # primary filelist
973 SHARE_LANG='s|.*/share/locale/\([^/_]\+\).*/LC_MESSAGES/.*\.mo|%lang(\1) &|'
974 LIB_LANG='s|.*/lib/locale/\([^/_]\+\)|%lang(\1) &|'
975 # rpm does not handle %lang() tagged files hardlinked together accross
976 # languages very well, temporarily disable
977 # LIB_LANG=''
978 sed -e "s|$RPM_BUILD_ROOT||" -e "$LIB_LANG" -e "$SHARE_LANG" < rpm.filelist.in |
979 grep -v '/etc/\(localtime\|nsswitch.conf\|ld.so.conf\|ld.so.cache\|default\)' | \
980 grep -v '/%{_lib}/lib\(pcprofile\|memusage\).so' | \
981 grep -v 'bin/\(memusage\|mtrace\|xtrace\|pcprofiledump\)' | \
982 sort > rpm.filelist
984 mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_lib}
985 mv -f $RPM_BUILD_ROOT/%{_lib}/lib{pcprofile,memusage}.so $RPM_BUILD_ROOT%{_prefix}/%{_lib}
986 for i in $RPM_BUILD_ROOT%{_prefix}/bin/{xtrace,memusage}; do
987 cp -a $i $i.tmp
988 sed -e 's~=/%{_lib}/libpcprofile.so~=%{_prefix}/%{_lib}/libpcprofile.so~' \
989 -e 's~=/%{_lib}/libmemusage.so~=%{_prefix}/%{_lib}/libmemusage.so~' \
990 $i.tmp > $i
991 chmod 755 $i; rm -f $i.tmp
992 done
994 grep '%{_infodir}' < rpm.filelist | grep -v '%{_infodir}/dir' > devel.filelist
995 grep '%{_prefix}/include/gnu/stubs-[32164]\+\.h' < rpm.filelist >> devel.filelist || :
997 grep '%{_prefix}/include' < rpm.filelist |
998 egrep -v '%{_prefix}/include/(linuxthreads|gnu/stubs-[32164]+\.h)' \
999 > headers.filelist
1001 mv rpm.filelist rpm.filelist.full
1002 grep -v '%{_prefix}/%{_lib}/lib.*_p.a' rpm.filelist.full |
1003 egrep -v "(%{_prefix}/include)|(%{_infodir})" > rpm.filelist
1005 grep '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist >> devel.filelist
1006 grep '%{_prefix}/%{_lib}/.*\.o' < rpm.filelist >> devel.filelist
1007 grep '%{_prefix}/%{_lib}/lib.*\.so' < rpm.filelist >> devel.filelist
1009 mv rpm.filelist rpm.filelist.full
1010 grep -v '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist.full |
1011 grep -v '%{_prefix}/%{_lib}/.*\.o' |
1012 grep -v '%{_prefix}/%{_lib}/lib.*\.so'|
1013 grep -v '%{_prefix}/%{_lib}/linuxthreads' |
1014 grep -v 'nscd' > rpm.filelist
1016 grep '%{_prefix}/bin' < rpm.filelist >> common.filelist
1017 grep '%{_prefix}/lib/locale' < rpm.filelist >> common.filelist
1018 grep '%{_prefix}/libexec/pt_chown' < rpm.filelist >> common.filelist
1019 grep '%{_prefix}/sbin/[^gi]' < rpm.filelist >> common.filelist
1020 grep '%{_prefix}/share' < rpm.filelist \
1021 | grep -v '%{_prefix}/share/zoneinfo' >> common.filelist
1023 mv rpm.filelist rpm.filelist.full
1024 grep -v '%{_prefix}/bin' < rpm.filelist.full |
1025 grep -v '%{_prefix}/lib/locale' |
1026 grep -v '%{_prefix}/libexec/pt_chown' |
1027 grep -v '%{_prefix}/sbin/[^gi]' |
1028 grep -v '%{_prefix}/share' > rpm.filelist
1030 > nosegneg.filelist
1031 %if %{xenpackage}
1032 grep '/%{_lib}/%{nosegneg_subdir}' < rpm.filelist >> nosegneg.filelist
1033 mv rpm.filelist rpm.filelist.full
1034 grep -v '/%{_lib}/%{nosegneg_subdir}' < rpm.filelist.full > rpm.filelist
1035 %endif
1037 echo '%{_prefix}/sbin/build-locale-archive' >> common.filelist
1038 echo '%{_prefix}/sbin/tzdata-update' >> common.filelist
1039 echo '%{_prefix}/sbin/nscd' > nscd.filelist
1041 cat > utils.filelist <<EOF
1042 %{_prefix}/%{_lib}/libmemusage.so
1043 %{_prefix}/%{_lib}/libpcprofile.so
1044 %{_prefix}/bin/memusage
1045 %{_prefix}/bin/memusagestat
1046 %{_prefix}/bin/mtrace
1047 %{_prefix}/bin/pcprofiledump
1048 %{_prefix}/bin/xtrace
1051 # /etc/localtime
1052 rm -f $RPM_BUILD_ROOT/etc/localtime
1053 cp -f $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime
1054 #ln -sf ..%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime
1056 rm -rf $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo
1058 cd fedora
1059 $GCC -Os -static -o build-locale-archive build-locale-archive.c \
1060 ../build-%{nptl_target_cpu}-linuxnptl/locale/locarchive.o \
1061 ../build-%{nptl_target_cpu}-linuxnptl/locale/md5.o \
1062 -DDATADIR=\"%{_datadir}\" -DPREFIX=\"%{_prefix}\" \
1063 -L../build-%{nptl_target_cpu}-linuxnptl
1064 install -m 700 build-locale-archive $RPM_BUILD_ROOT/usr/sbin/build-locale-archive
1065 $GCC -Os -static -o tzdata-update tzdata-update.c \
1066 -L../build-%{nptl_target_cpu}-linuxnptl
1067 install -m 700 tzdata-update $RPM_BUILD_ROOT/usr/sbin/tzdata-update
1068 cd ..
1070 # the last bit: more documentation
1071 rm -rf documentation
1072 mkdir documentation
1073 cp crypt/README.ufc-crypt documentation/README.ufc-crypt
1074 cp timezone/README documentation/README.timezone
1075 cp ChangeLog{,.15,.16} documentation
1076 bzip2 -9 documentation/ChangeLog*
1077 cp ../posix/gai.conf documentation/
1079 %ifarch s390x
1080 # Compatibility symlink
1081 mkdir -p $RPM_BUILD_ROOT/lib
1082 ln -sf /%{_lib}/ld64.so.1 $RPM_BUILD_ROOT/lib/ld64.so.1
1083 %endif
1084 %ifarch ia64
1085 %if "%{_lib}" == "lib64"
1086 # Compatibility symlink
1087 mkdir -p $RPM_BUILD_ROOT/lib
1088 ln -sf /%{_lib}/ld-linux-ia64.so.2 $RPM_BUILD_ROOT/lib/ld-linux-ia64.so.2
1089 %endif
1090 %endif
1092 # Increase timeouts
1093 export TIMEOUTFACTOR=16
1094 echo ====================TESTING=========================
1095 cd build-%{nptl_target_cpu}-linuxnptl
1096 make %{?_smp_mflags} -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
1097 cd ..
1098 %if %{buildxen}
1099 echo ====================TESTING -mno-tls-direct-seg-refs=============
1100 cd build-%{nptl_target_cpu}-linuxnptl-nosegneg
1101 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
1102 cd ..
1103 %endif
1104 echo ====================TESTING DETAILS=================
1105 for i in `sed -n 's|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p' build-*-linux*/check.log`; do
1106 echo =====$i=====
1107 cat $i || :
1108 echo ============
1109 done
1110 echo ====================TESTING END=====================
1111 PLTCMD='/^Relocation section .*\(\.rela\?\.plt\|\.rela\.IA_64\.pltoff\)/,/^$/p'
1112 echo ====================PLT RELOCS LD.SO================
1113 readelf -Wr $RPM_BUILD_ROOT/%{_lib}/ld-*.so | sed -n -e "$PLTCMD"
1114 echo ====================PLT RELOCS LIBC.SO==============
1115 readelf -Wr $RPM_BUILD_ROOT/%{_lib}/libc-*.so | sed -n -e "$PLTCMD"
1116 echo ====================PLT RELOCS END==================
1118 %if "%{_enable_debug_packages}" == "1"
1120 case "$-" in *x*) save_trace=yes;; esac
1121 set +x
1122 echo Building debuginfo subpackage...
1124 blf=debugfiles.list
1125 sf=debugsources.list
1126 cblf=debugcommonfiles.list
1127 csf=debugcommonsources.list
1129 echo -n > $sf
1130 echo -n > $csf
1132 strip $RPM_BUILD_ROOT/{sbin/ldconfig,usr/sbin/glibc_post_upgrade.%{_target_cpu},usr/sbin/build-locale-archive}
1134 # Strip ELF binaries
1135 for f in `cat rpm.filelist nosegneg.filelist \
1136 | grep -v '%%\(dir\|lang\|config\|verify\)'`; do
1137 bf=$RPM_BUILD_ROOT$f
1138 if [ -f $bf -a -x $bf -a ! -h $bf ]; then
1139 if `file $bf 2>/dev/null | grep 'ELF.*, not stripped' | grep -vq 'statically linked'`; then
1140 bd=`dirname $f`
1141 outd=$RPM_BUILD_ROOT/usr/lib/debug$bd
1142 mkdir -p $outd
1143 echo extracting debug info from $f
1144 /usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug -l $sf $bf
1145 bn=`basename $f`
1146 case $f in
1147 /%{_lib}/*) eu-strip -g -f $outd/$bn.debug $bf || :;;
1148 *) eu-strip -f $outd/$bn.debug $bf || :;;
1149 esac
1150 if [ -f $outd/$bn.debug ]; then echo /usr/lib/debug$bd/$bn.debug >> $blf; fi
1153 done
1155 for f in `cat common.filelist utils.filelist nscd.filelist \
1156 | grep -v '%%\(dir\|lang\|config\|verify\)'`; do
1157 bf=$RPM_BUILD_ROOT$f
1158 if [ -f $bf -a -x $bf -a ! -h $bf ]; then
1159 if `file $bf 2>/dev/null | grep 'ELF.*, not stripped' | grep -vq 'statically linked'`; then
1160 bd=`dirname $f`
1161 outd=$RPM_BUILD_ROOT/usr/lib/debug$bd
1162 mkdir -p $outd
1163 echo extracting debug info from $f
1164 /usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug -l $csf $bf
1165 bn=`basename $f`
1166 eu-strip -f $outd/$bn.debug $bf || :
1167 if [ -f $outd/$bn.debug ]; then echo /usr/lib/debug$bd/$bn.debug >> $cblf; fi
1170 done
1172 for f in `find $RPM_BUILD_ROOT/%{_lib} -type l`; do
1173 l=`ls -l $f`
1174 l=${l#* -> }
1175 t=/usr/lib/debug`dirname ${f#$RPM_BUILD_ROOT}`
1176 if grep -q "^$t/$l.debug\$" $blf; then
1177 ln -sf $l.debug $RPM_BUILD_ROOT$t/`basename $f`.debug
1178 echo $t/`basename $f`.debug >> $blf
1179 elif grep -q "^$t.debug/$l\$" $cblf; then
1180 ln -sf $l.debug $RPM_BUILD_ROOT$t/`basename $f`.debug
1181 echo $t/`basename $f`.debug >> $cblf
1183 done
1185 echo Sorting source file lists. Might take a while...
1186 xargs -0 -n 1 echo < $sf | LC_ALL=C grep -v '/<internal>$\|\.gperf$' | LC_ALL=C sort -u > $sf.sorted
1187 xargs -0 -n 1 echo < $csf | LC_ALL=C grep -v '/<internal>$\|\.gperf$' | LC_ALL=C sort -u > $csf.sorted
1188 mkdir -p $RPM_BUILD_ROOT/usr/src/debug
1189 cat $sf.sorted $csf.sorted \
1190 | (cd $RPM_BUILD_DIR; LC_ALL=C sort -u | cpio -pdm ${RPM_BUILD_ROOT}/usr/src/debug)
1191 # stupid cpio creates new directories in mode 0700, fixup
1192 find $RPM_BUILD_ROOT/usr/src/debug -type d -print | xargs chmod a+rx
1194 %ifarch %{debuginfocommonarches}
1195 %ifarch %{auxarches}
1196 %ifarch %{ix86}
1197 %define basearch i386
1198 %endif
1199 %ifarch alpha alphaev6
1200 %define basearch alpha
1201 %endif
1202 %ifarch sparc sparcv9
1203 %define basearch sparc
1204 %endif
1205 cat $blf > debuginfo.filelist
1206 find $RPM_BUILD_ROOT/usr/src/debug/%{glibcsrcdir} -type d \
1207 | sed "s#^$RPM_BUILD_ROOT#%%dir #" >> debuginfo.filelist
1208 grep '/generic/\|/linux/\|/%{basearch}/\|/nptl\(_db\)\?/\|^%{glibcsrcdir}/build' \
1209 $sf.sorted | sed 's|^|/usr/src/debug/|' >> debuginfo.filelist
1210 touch debuginfocommon.filelist
1211 %else
1212 ( grep '^%{glibcsrcdir}/build-\|dl-osinfo\.h' $csf.sorted || : ) > $csf.sorted.build
1213 cat $blf > debuginfo.filelist
1214 cat $cblf > debuginfocommon.filelist
1215 grep '^%{glibcsrcdir}/build-\|dl-osinfo\.h' $sf.sorted \
1216 | sed 's|^|/usr/src/debug/|' >> debuginfo.filelist
1217 find $RPM_BUILD_ROOT/usr/src/debug/%{glibcsrcdir} -type d \
1218 | sed "s#^$RPM_BUILD_ROOT#%%dir #" >> debuginfocommon.filelist
1219 ( cat $csf.sorted; grep -v -f $csf.sorted.build $sf.sorted ) \
1220 | grep -v 'dl-osinfo\.h' | LC_ALL=C sort -u \
1221 | sed 's|^|/usr/src/debug/|' >> debuginfocommon.filelist
1222 %endif
1223 %else
1224 cat $blf $cblf | LC_ALL=C sort -u > debuginfo.filelist
1225 echo '/usr/src/debug/%{glibcsrcdir}' >> debuginfo.filelist
1226 %endif
1228 [ "x$save_trace" = xyes ] && set -x
1230 %endif
1232 %ifarch %{auxarches}
1233 case "$-" in *x*) save_trace=yes;; esac
1234 set +x
1235 echo Cutting down the list of unpackaged files
1236 for i in `sed '/%%dir/d;/%%config/d;/%%verify/d;s/%%lang([^)]*) //' \
1237 common.filelist devel.filelist headers.filelist \
1238 utils.filelist nscd.filelist`; do
1239 [ -f "$RPM_BUILD_ROOT$i" ] && rm -f "$RPM_BUILD_ROOT$i" || :
1240 done
1241 [ "x$save_trace" = xyes ] && set -x
1243 %else
1245 mkdir -p $RPM_BUILD_ROOT/var/{db,run}/nscd
1246 touch $RPM_BUILD_ROOT/var/{db,run}/nscd/{passwd,group,hosts}
1247 touch $RPM_BUILD_ROOT/var/run/nscd/{socket,nscd.pid}
1248 %endif
1250 touch $RPM_BUILD_ROOT/%{_prefix}/lib/locale/locale-archive
1252 %post -p /usr/sbin/glibc_post_upgrade.%{_target_cpu}
1254 %postun -p /sbin/ldconfig
1256 %post common -p /usr/sbin/build-locale-archive
1258 %triggerin common -p /usr/sbin/tzdata-update -- tzdata
1260 %post devel
1261 /sbin/install-info %{_infodir}/libc.info.gz %{_infodir}/dir
1263 %pre headers
1264 # this used to be a link and it is causing nightmares now
1265 if [ -L %{_prefix}/include/scsi ] ; then
1266 rm -f %{_prefix}/include/scsi
1269 %preun devel
1270 if [ "$1" = 0 ]; then
1271 /sbin/install-info --delete %{_infodir}/libc.info.gz %{_infodir}/dir
1274 %post utils -p /sbin/ldconfig
1276 %postun utils -p /sbin/ldconfig
1278 %pre -n nscd
1279 /usr/sbin/useradd -M -o -r -d / -s /sbin/nologin \
1280 -c "NSCD Daemon" -u 28 nscd > /dev/null 2>&1 || :
1282 %post -n nscd
1283 /sbin/chkconfig --add nscd
1285 %preun -n nscd
1286 if [ $1 = 0 ] ; then
1287 service nscd stop > /dev/null 2>&1
1288 /sbin/chkconfig --del nscd
1291 %postun -n nscd
1292 if [ $1 = 0 ] ; then
1293 /usr/sbin/userdel nscd > /dev/null 2>&1 || :
1295 if [ "$1" -ge "1" ]; then
1296 service nscd condrestart > /dev/null 2>&1 || :
1299 %if %{xenpackage}
1300 %post xen -p /sbin/ldconfig
1301 %postun xen -p /sbin/ldconfig
1302 %endif
1304 %clean
1305 rm -rf "$RPM_BUILD_ROOT"
1306 rm -f *.filelist*
1308 %files -f rpm.filelist
1309 %defattr(-,root,root)
1310 %if %{buildxen} && !%{xenpackage}
1311 %dir /%{_lib}/%{nosegneg_subdir}
1312 %endif
1313 %ifarch s390x
1314 %dir /lib
1315 /lib/ld64.so.1
1316 %endif
1317 %ifarch ia64
1318 %if "%{_lib}" == "lib64"
1319 %dir /lib
1320 /lib/ld-linux-ia64.so.2
1321 %endif
1322 %endif
1323 %verify(not md5 size mtime) %config(noreplace) /etc/localtime
1324 %verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf
1325 %verify(not md5 size mtime) %config(noreplace) /etc/ld.so.conf
1326 %dir /etc/ld.so.conf.d
1327 %dir %{_prefix}/libexec/getconf
1328 %dir %{_prefix}/%{_lib}/gconv
1329 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
1330 %doc README NEWS INSTALL FAQ BUGS NOTES PROJECTS CONFORMANCE
1331 %doc COPYING COPYING.LIB README.libm LICENSES
1332 %doc hesiod/README.hesiod
1334 %if %{xenpackage}
1335 %files -f nosegneg.filelist xen
1336 %defattr(-,root,root)
1337 %dir /%{_lib}/%{nosegneg_subdir}
1338 %endif
1340 %ifnarch %{auxarches}
1341 %files -f common.filelist common
1342 %defattr(-,root,root)
1343 %attr(0644,root,root) %verify(not md5 size mtime mode) %ghost %config(missingok,noreplace) %{_prefix}/lib/locale/locale-archive
1344 %dir %attr(755,root,root) /etc/default
1345 %verify(not md5 size mtime) %config(noreplace) /etc/default/nss
1346 %doc documentation/*
1348 %files -f devel.filelist devel
1349 %defattr(-,root,root)
1351 %files -f headers.filelist headers
1352 %defattr(-,root,root)
1354 %files -f utils.filelist utils
1355 %defattr(-,root,root)
1357 %files -f nscd.filelist -n nscd
1358 %defattr(-,root,root)
1359 %config(noreplace) /etc/nscd.conf
1360 %config /etc/rc.d/init.d/nscd
1361 %dir %attr(0755,root,root) /var/run/nscd
1362 %dir %attr(0755,root,root) /var/db/nscd
1363 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/nscd.pid
1364 %attr(0666,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/socket
1365 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/passwd
1366 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/group
1367 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/hosts
1368 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/passwd
1369 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/group
1370 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/hosts
1371 %ghost %config(missingok,noreplace) /etc/sysconfig/nscd
1372 %endif
1374 %if "%{_enable_debug_packages}" == "1"
1375 %files debuginfo -f debuginfo.filelist
1376 %defattr(-,root,root)
1377 %ifarch %{debuginfocommonarches}
1378 %ifnarch %{auxarches}
1379 %files debuginfo-common -f debuginfocommon.filelist
1380 %defattr(-,root,root)
1381 %dir %{_prefix}/lib/debug
1382 %dir %{_prefix}/lib/debug/%{_prefix}
1383 %dir %{_prefix}/lib/debug/%{_prefix}/%{_lib}
1384 %{_prefix}/lib/debug/%{_prefix}/%{_lib}/*.a
1385 %endif
1386 %else
1387 %dir %{_prefix}/lib/debug
1388 %dir %{_prefix}/lib/debug/%{_prefix}
1389 %dir %{_prefix}/lib/debug/%{_prefix}/%{_lib}
1390 %{_prefix}/lib/debug/%{_prefix}/%{_lib}/*.a
1391 %endif
1392 %endif
1394 %changelog
1395 * Fri May 5 2006 Jakub Jelinek <jakub@redhat.com> 2.4.90-5
1396 - update from CVS
1397 - some NIS+ fixes
1398 - allow overriding rfc3484 address sorting tables for getaddrinfo
1399 through /etc/gai.conf (sample config file included in %%doc directory)
1401 * Mon May 1 2006 Jakub Jelinek <jakub@redhat.com> 2.4.90-4
1402 - update from CVS
1403 - SETENT_BATCH_READ /etc/default/nss option for speeding up
1404 some usages of NIS+ (#188246)
1405 - move debug state change notification (#179208)
1406 - fix ldd script if one of the dynamic linkers is not installed (#190259)
1408 * Thu Apr 27 2006 Jakub Jelinek <jakub@redhat.com> 2.4.90-3
1409 - update from CVS
1410 - fix a typo in nscd.conf (#190085)
1411 - fix handling of SIGHUP in nscd when some caches are disabled (#189978)
1412 - make nscd paranoia mode working with non-root server-user (#189779)
1414 * Wed Apr 26 2006 Jakub Jelinek <jakub@redhat.com> 2.4.90-2
1415 - update from CVS
1416 - fix getaddrinfo (#190002)
1417 - add auto-propagate nscd.conf options (#177154)
1418 - fix nscd auditing (#169148)
1420 * Tue Apr 25 2006 Jakub Jelinek <jakub@redhat.com> 2.4.90-1
1421 - update from CVS
1423 * Mon Apr 24 2006 Jakub Jelinek <jakub@redhat.com> 2.4-6
1424 - update from CVS
1425 - NIS+ fixes
1426 - don't segfault on too large argp key values (#189545)
1427 - getaddrinfo fixes for RFC3484 (#188364)
1429 * Tue Mar 28 2006 Jakub Jelinek <jakub@redhat.com> 2.4-5
1430 - update from CVS
1431 - pshared robust mutex support
1432 - fix btowc and bwtoc in C++ (#186410)
1433 - fix NIS+ (#186592)
1434 - don't declare __wcsto*l_internal for non-GCC or if not -O1+ (#185667)
1435 - don't mention nscd failures on 2.0 kernels (#185335)
1437 * Tue Mar 7 2006 Roland McGrath <roland@redhat.com> 2.4-4
1438 - back up %%{ix86} gdb conflicts to < 6.3.0.0-1.111
1440 * Tue Mar 7 2006 Jakub Jelinek <jakub@redhat.com> 2.4-3
1441 - really fix rintl on ppc64
1443 * Tue Mar 7 2006 Jakub Jelinek <jakub@redhat.com> 2.4-2
1444 - accurate unwind info for lowlevellock.h stubs on %%{ix86}
1445 - fix ppc/ppc64 ceill, floorl, rintl, roundl and truncl (BZ#2423)
1447 * Mon Mar 6 2006 Jakub Jelinek <jakub@redhat.com> 2.4-1
1448 - update from CVS
1449 - glibc 2.4 release
1451 * Mon Mar 6 2006 Jakub Jelinek <jakub@redhat.com> 2.3.91-2
1452 - update from CVS
1453 - fix sYSMALLOc for MALLOC_ALIGNMENT > 2 * SIZE_SZ (#183895)
1454 - revert ppc32 malloc alignment patch, it breaks malloc_set_state
1455 and needs some further thoughts and time (#183894)
1456 - provide accurate unwind info for lowlevellock.h stubs on x86_64
1458 * Thu Mar 2 2006 Jakub Jelinek <jakub@redhat.com> 2.3.91-1
1459 - update from CVS
1460 - fixes for various arches
1461 - ensure malloc returns pointers aligned to at least
1462 MIN (2 * sizeof (size_t), __alignof__ (long double))
1463 (only on ppc32 this has not been the case lately with addition
1464 of 128-bit long double, #182742)
1466 * Wed Mar 1 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-39
1467 - update from CVS
1469 * Fri Feb 17 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-38
1470 - update from CVS
1471 - robust mutexes rewrite
1473 * Mon Feb 13 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-37
1474 - update from CVS
1475 - *at fixes
1476 - unshare syscall wrapper
1478 * Sat Feb 4 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-36
1479 - update from CVS
1480 - fix frequency setting for ITIMER_PROF (#179938, BZ#2268)
1481 - fix powerpc inline fegetround ()
1482 - fix nptl_db (#179946)
1484 * Fri Feb 3 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-35
1485 - update from CVS
1486 - handle futimesat (fd, NULL, tvp) as futimes (fd, tvp)
1487 - fix <stdlib.h> q{e,f,g}cvt{,_r} for -mlong-double-64
1489 * Thu Feb 2 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-34
1490 - fix <math.h> with C++ and -mlong-double-64 (#179742)
1491 - add nexttowardl redirect for -mlong-double-64
1493 * Thu Feb 2 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-33
1494 - update from CVS
1495 - long double support fixes
1497 * Wed Feb 1 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-32
1498 - update from CVS
1499 - 128-bit long double fixes for ppc{,64}, s390{,x} and sparc{,v9},
1500 alpha 128-bit long double support
1501 - add inotify syscall numbers to the override <asm/unistd.h> headers
1502 (#179366)
1504 * Mon Jan 30 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-31
1505 - update from CVS
1506 - 128-bit long double on ppc, ppc64, s390, s390x and sparc{,v9}
1507 - add some new syscall numbers to the override <asm/unistd.h>
1508 headers
1510 * Mon Jan 9 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-30
1511 - update from CVS
1512 - <pthread.h> initializer fixes for -std=c{8,9}9 on 32-bit
1513 arches
1514 - avoid writable .rodata (#177121)
1516 * Fri Jan 6 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-29
1517 - update from CVS
1518 - make pthread_mutex_t an unnamed union again, as it affects
1519 libstdc++ ABI mangling
1521 * Fri Jan 6 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-28
1522 - update from CVS
1523 - make aio_suspend interruptible by signals (#171968)
1525 * Fri Jan 6 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-27
1526 - only rely on d_type in 32-bit getdents on s390 for 2.6.11+
1528 * Wed Jan 4 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-26
1529 - update from CVS
1530 - for newly linked lio_listio* callers, send per request
1531 notifications (#170116)
1532 - fixup nscd -S option removal changes (#176860)
1533 - remove nonnull attribute from ctermid (#176753)
1534 - fix PTHREAD_*_INITIALIZER{,_NP} on 64-bit arches
1535 - SPARC NPTL support for pre-v9 CPUs
1536 - drop support for 2.4.xx and < 2.6.9 kernels
1538 * Mon Jan 2 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-25
1539 - update from CVS
1540 - s390{,x} and sparc{,64} pointer mangling fixes
1541 - install a sanitized LinuxThreads <bits/libc-lock.h>
1543 * Mon Jan 2 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-24
1544 - update from CVS
1545 - nscd audit changes (#174422)
1546 - ppc{32,64} vDSO support and ppc32 hp-timing
1548 * Tue Dec 27 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-23
1549 - update from CVS
1550 - robust mutexes
1551 - fix transliteration segfaults (#176573, #176583)
1552 - ignore prelink temporaries in ldconfig (#176570)
1554 * Wed Dec 21 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-22
1555 - update from CVS
1556 - minor fts fixes
1557 - revert broken _Pragma () workaround
1558 - fix ldconfig on bi-arch architectures (#176316)
1560 * Tue Dec 20 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-21
1561 - update from CVS
1562 - fix pointer (de)mangling in gconv_cache.c
1564 * Tue Dec 20 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-20
1565 - update from CVS
1566 - time ((void *) 1) should segfault, not return -EFAULT (#174856, BZ#1952)
1567 - fix errlist generation
1568 - update ulps for GCC 4.1 on IA-64
1570 * Mon Dec 19 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-19
1571 - update from CVS
1572 - sysdeps/generic reorg
1573 - setjmp/longjmp jump pointer mangling
1574 - rebuilt with GCC 4.1-RH prerelease, worked around broken _Pragma ()
1575 handling in it
1576 - remove glibc-profile subpackage
1577 - use non-PLT calls for malloc/free/realloc/memalign invocations in
1578 mtrace and mcheck hooks (#175261)
1579 - setjmp/longjmp jump pointer mangling on ppc{,64}/ia64/s390{,x}
1581 * Sat Nov 19 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-18
1582 - update from CVS
1583 - change <sys/stat.h> for broken apps that #define const /**/,
1584 handle non-GCC compilers
1585 - fix ppc{32,64} strncmp (BZ#1877, #173643, IT#83510)
1586 - provide shmatt_t typedef in ia64 <sys/shm.h (#173680)
1587 - support 2nd arg to futimesat being NULL (#173581)
1589 * Wed Nov 16 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-17
1590 - update from CVS
1591 - fix <sys/stat.h> in C++
1592 - {fstat,fchown,rename,unlink}at fixes
1593 - epoll_wait is now a cancellation point
1595 * Tue Nov 15 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-16
1596 - update from CVS
1597 - make sure waitid syscall is used on ppc*/s390*
1599 * Thu Oct 20 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-15
1600 - update from CVS
1601 - be permissive in %n check because of kernel bug #165351 (#171240)
1602 - don't misalign stack in pthread_once on x86_64 (#170786, IT#81521)
1603 - many locale fixes
1605 * Mon Oct 10 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-14
1606 - update from CVS
1607 - fix malloc bug after fork introduced in the last update
1608 - fix getent hosts IP for IPv4 IPs (#169831)
1610 * Mon Oct 3 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-13
1611 - update from CVS
1612 - fix setuid etc. hangs if some thread exits during the call (#167766)
1613 - fix innetgr memory leak (#169051)
1614 - support > 2GB nscd log files (#168851)
1615 - too many other changes to list here
1616 - include errno in nscd message if audit_open failed (#169148)
1618 * Mon Sep 12 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-12
1619 - update from CVS
1620 - netgrp handling fixes (#167728)
1621 - fix memory leak in setlocale (BZ#1318)
1622 - fix hwcaps computation
1623 - several regex portability improvements (#167019)
1624 - hypotf fix
1625 - fix *printf return code if underlying write fails (BZ#1146)
1626 - PPC64 dl{,v}sym fixes for new ABI .opd symbols
1627 - fix calloc with MALLOC_PERTURB_ in environment on 64-bit architectures
1628 (#166719)
1629 - source /etc/sysconfig/nscd (if it exists) in /etc/rc.d/init.d/nscd
1630 (#167083)
1631 - add %%triggerin for tzdata to glibc-common, so that tzdata updates
1632 update /etc/localtime and /var/spool/postfix/etc/localtime if they
1633 exist (#167787)
1635 * Mon Aug 29 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-11
1636 - FUTEX_WAKE_OP support to speed up pthread_cond_signal
1638 * Wed Aug 24 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-10
1639 - update from CVS
1640 - fix growing of nscd persistent database (BZ#1204)
1641 - fix _FORTIFY_SOURCE mbstowcs and wcstombs if destination size
1642 is known at compile time, but length argument is not
1644 * Mon Aug 22 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-9
1645 - update from CVS
1646 - fix resolving over TCP (#161181, #165802)
1647 - on ia64 don't abort on unhandled math function exception codes
1648 (#165693)
1650 * Mon Aug 8 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-8
1651 - update from CVS
1652 - nscd persistent database verifier (#164001)
1653 - cleanup _FORTIFY_SOURCE bits/*.h headers (#165000)
1654 - handle EINTR in sigwait properly
1655 - make sure poor man's stack guard randomization keeps first
1656 byte 0 even on big-endian 32-bit arches
1657 - fix {elf,nptl}/tst-stackguard1
1658 - obsolete linuxthreads-devel in glibc-devel
1660 * Fri Jul 29 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-7
1661 - update from CVS
1662 - do some poor man's stack guard randomization even without
1663 the costly --enable-stackguard-randomization
1664 - rebuilt with new GCC to make it use -msecure-plt on PPC32
1666 * Mon Jul 25 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-6
1667 - update from CVS
1668 - fix execvp if PATH is not in environment and the call is going
1669 to fail (BZ#1125)
1670 - another bits/wchar2.h fix (#163990)
1672 * Fri Jul 22 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-5
1673 - update from CVS
1674 - fix stubs.h generation
1675 - don't use _G_va_list in bits/wchar2.h
1677 * Fri Jul 22 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-4
1678 - update from CVS
1679 - make sure bits/wchar2.h header is installed
1680 - fix __getgroups_chk return type
1682 * Thu Jul 21 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-3
1683 - update from CVS
1684 - make sure nscd cmsg buffers aren't misaligned, handle EINTR from
1685 poll when contacting nscd more gracefully
1686 - remove malloc attribute from posix_memalign
1687 - correctly size nscd buffer for grpcache key (#163538)
1688 - fix atan2f
1689 - fix error memory leaks
1690 - some more _FORTIFY_SOURCE protection
1692 * Fri Jul 8 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-2
1693 - update from CVS
1694 - ia64 stack protector support
1695 - handle DNS referral results as server errors (#162625)
1696 - ctan{,h}{,f,l} fixes (#160759)
1697 - pass argc, argv and envp also to executable's *ni_array
1698 functions (BZ#974)
1699 - add ellipsis to clone prototype (#161593)
1700 - fix glibc-profile (#162601)
1701 - nss_compat fixes
1702 - use sysdeps/generic version of <bits/stdio-lock.h> in installed
1703 headers instead of NPTL version (#162634)
1705 * Mon Jun 27 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-1
1706 - update from CVS
1707 - stack protector support
1708 - fix xdr_{,u_}{longlong_t,hyper} on 64-bit arches (#161583)
1709 - enable @GLIBC_2.4 symbols
1710 - remove linuxthreads
1712 * Mon Jun 20 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-11
1713 - update from CVS
1714 - PPC32 -msecure-plt support
1715 - support classes keyword in /etc/hesiod.conf (#150350)
1716 - add RLIMIT_NICE and RLIMIT_RTPRIO to <sys/resources.h> (#157049)
1717 - decrease number of .plt relocations in libc.so
1718 - use -laudit in nscd (#159217)
1719 - handle big amounts of networking interfaces in getifaddrs/if_nameindex
1720 (#159399)
1721 - fix pa_IN locale's am_pm (#158715, BZ#622)
1722 - fix debugging of PIEs
1724 * Mon May 30 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-10
1725 - fix LD_ASSUME_KERNEL (since 2.3.5-8 GLRO(dl_osversion)
1726 has been always overwritten with the version of currently
1727 running kernel)
1728 - remove linuxthreads man pages other than those covered in
1729 3p section, as 3p man pages are far better quality and describe
1730 POSIX behaviour that NPTL implements (#159084)
1732 * Tue May 24 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-9
1733 - update from CVS
1734 - increase bindresvport's LOWPORT to 512, apparently some
1735 broken daemons don't think 0 .. 511 ports are reserved
1737 * Mon May 23 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-8
1738 - update from CVS
1739 - fix kernel version check in ld.so
1740 - fix sendfile{,64} prototypes (BZ#961)
1741 - try more ports in bindresvport if all 600..1023 are
1742 used, don't use priviledged ports when talking to portmap
1743 (#141773)
1745 * Fri May 20 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-7
1746 - update from CVS
1747 - make regexec thread safe (BZ#934)
1748 - fix statically linked programs on i?86, x86_64, s390* and
1749 sparc* (#158027)
1750 - fix IBM939 iconv module (BZ#955)
1752 * Wed May 4 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-6
1753 - update from CVS
1754 - fix cancellation on i?86
1755 - add call frame information to i?86 assembly
1757 * Tue May 3 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-5
1758 - update from CVS
1759 - add some more UTF-8 locales (#156115)
1760 - clean up /lib64/tls instead of /lib/tls on x86-64, s390x and
1761 ppc64 in glibc_post_upgrade (#156656)
1762 - fix posix_fallocate{,64} (#156289)
1764 * Thu Apr 28 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-4
1765 - update from CVS
1766 - fix nscd cache pruning (#150748)
1768 * Wed Apr 27 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-3
1769 - update from CVS
1770 - fix linuxthreads clocks
1771 - put xen libs into the glibc-2*.i686 package instead of a separate one
1772 - fix librt.so symlink in linuxthreads-devel
1773 - do not include linuxthreads-devel on %{auxarches},
1774 just on the base architectures
1776 * Wed Apr 27 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-2
1777 - update from CVS
1778 - with MALLOC_CHECK_=N N>0 (#153003)
1779 - fix recursive dlclose (#154641)
1780 - handle %z in strptime (#154804)
1781 - automatically append /%{_lib}/obsolete/linuxthreads/
1782 to standard library search path if LD_ASSUME_KERNEL=N N <= 2.4.19
1783 or for glibc 2.0 binaries (or broken ones that don't use errno/h_errno
1784 properly). Warning: all those will stop working when LinuxThreads
1785 is finally nuked, which is not very far away
1786 - remove nonnull attribute from acct prototype (BZ#877)
1787 - kernel CPU clocks support
1788 - fix *scanf in locales with multi-byte decimal point
1790 * Wed Apr 27 2005 Roland McGrath <roland@redhat.com>
1791 - glibc-xen subpackage for i686
1793 * Fri Apr 15 2005 Roland McGrath <roland@redhat.com> 2.3.5-1
1794 - update from CVS
1795 - fix execvp regression (BZ#851)
1796 - ia64 libm updates
1797 - sparc updates
1798 - fix initstate{,_r}/strfry (#154504)
1799 - grok PT_NOTE in vDSO for kernel version and extra hwcap dirs,
1800 support "hwcap" keyword in ld.so.conf files
1802 * Tue Apr 4 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-21
1803 - update from CVS
1804 - fix xdr_rmtcall_args on 64-bit arches (#151686)
1805 - fix <pthread.h> and <bits/libc-lock.h> with -std=c89 -fexceptions (#153774)
1807 * Mon Apr 4 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-20
1808 - move LinuxThreads libraries to /%{_lib}/obsolete/linuxthreads/
1809 and NPTL libraries to /%{_lib}. To run a program against LinuxThreads,
1810 LD_ASSUME_KERNEL=2.4.xx LD_LIBRARY_PATH=/%{_lib}/obsolete/linuxthreads/
1811 is now needed
1812 - bzip2 ChangeLog* files instead of gzipping them
1814 * Sat Apr 2 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-19
1815 - update from CVS
1816 - fix nextafterl and several other libm routines on ia64
1817 - fix initgroups (BZ#661)
1818 - kill nptl-devel subpackage, add linuxthreads-devel,
1819 compile and link by default against NPTL and only with
1820 -I/usr/include/linuxthreads -L/usr/%{_lib}/linuxthreads
1821 against LinuxThreads
1822 - package /usr/lib/debug/%{_lib}/tls/i{5,6}86 symlinks in
1823 i386 glibc-debuginfo
1824 - limit number of ChangeLog* files in glibc-common %%doc
1825 to last 2.5 years of changes only to save space
1827 * Fri Mar 25 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-18
1828 - fix build on 64-bit arches with new GCC
1830 * Thu Mar 24 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-17
1831 - update from CVS
1832 - fix LD_AUDIT in LinuxThreads ld.so
1833 - fix calloc with M_PERTURB
1834 - fix error handling in pthread_create with PTHREAD_EXPLICIT_SCHED
1835 on ppc*/ia64/alpha/mips (BZ#801)
1836 - fix a typo in WINDOWS-31J charmap (#151739)
1837 - fix NIS ypprot_err (#151469)
1839 * Sun Mar 20 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-16
1840 - fix pread with -D_FILE_OFFSET_BITS=64 (#151573)
1842 * Sat Mar 19 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-15
1843 - update from CVS
1844 - better fix for the dlclose bug (#145810, #150414)
1845 - fix regex crash on case insensitive search in zh_CN locale
1846 (#151215)
1847 - fix malloc_trim (BZ#779)
1848 - with -D_FORTIFY_SOURCE=*, avoid defining read and a bunch of others
1849 as function-like macros, there are too many broken programs
1850 out there
1851 - add %%dir %{_prefix}/%{_lib}/gconv to glibc's file list (#151372)
1853 * Sun Mar 6 2005 Roland McGrath <roland@redhat.com> 2.3.4-14
1854 - fix bits/socket2.h macro typos
1856 * Sat Mar 5 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-12
1857 - fix tst-chk{2,3}
1858 - fix up AS_NEEDED directive in /usr/%{_lib}/libc.so
1859 - BuildReq binutils >= 2.15.94.0.2-1 for AS_NEEDED, in
1860 glibc-devel Conflict with binutils < 2.15.94.0.2-1
1862 * Thu Mar 3 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-11
1863 - update from CVS
1864 - fix execvp (#149290)
1865 - fix dlclose (#145810)
1866 - clear padding in gconv-modules.cache (#146614, BZ#776)
1867 - rebuilt with GCC4
1868 - changed __GLIBC_MINOR__ for now back to 3
1869 - back out the newly added GLIBC_2.4 *_chk routines, instead
1870 do the checking in macros
1872 * Sat Feb 12 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-10
1873 - hopefully fix interaction with prelink (#147655)
1875 * Fri Feb 11 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-9
1876 - update from CVS
1877 - bi-arch <gnu/stubs.h> (BZ#715)
1879 * Fri Feb 11 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-8
1880 - update from CVS
1881 - bi-arch <gnu/lib-names.h> (BZ#632)
1882 - fix libdl on s390 and maybe other platforms
1883 - fix initstate{,_r} (BZ#710)
1884 - fix <gnu/stubs.h> generation (BZ#157)
1885 - define CMSPAR in bits/termios.h (#147533)
1887 * Tue Feb 8 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-7
1888 - update from CVS
1889 - fix TLS handling in linuxthreads
1891 * Tue Feb 8 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-6
1892 - update from CVS
1893 - ld.so auditing
1894 - fix segfault if chrooted app attempts to dlopen a library
1895 and no standard library directory exists at all (#147067, #144303)
1896 - fix initgroups when nscd is running, but has group caching disabled
1897 (#146588)
1898 - fix pthread_key_{create,destroy} in LinuxThreads when pthread_create
1899 has not been called yet (#146710)
1900 - fix ppc64 swapcontext and setcontext (#146736, BZ#700)
1901 - service nscd cosmetic fixes (#146776)
1902 - fix IA-32 and x86-64 stack alignment in DSO constructors (#145689)
1903 - fix zdump -v segfaults on x86-64 (#146210)
1904 - avoid calling sigaction (SIGPIPE, ...) inside syslog (#146021, IT#56686)
1905 - fix errno values for futimes (BZ#633)
1906 - unconditionally include <features.h> in malloc.h (BZ#650)
1907 - change regex \B handling to match old GNU regex as well as perl/grep's dfa
1908 (from empty string inside of word to empty string not at a word boundary,
1909 BZ#693)
1910 - slightly optimize i686 TLS accesses, use direct TLS %gs access in sem_*
1911 and allow building -mno-tls-direct-seg-refs glibc that is free of direct TLS
1912 %gs access with negative offsets
1913 - fix addseverity
1914 - fix fmemopen
1915 - fix rewinddir
1916 - increase svc{tcp,unix}_create listen backlog
1918 * Thu Jan 6 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-5
1919 - update from CVS
1920 - add some warn_unused_result marking
1921 - make ftruncate available even for just -D_POSIX_C_SOURCE=200112L
1922 (BZ#640)
1924 * Thu Jan 6 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-4
1925 - update from CVS
1926 - fix IA-32 stack alignment for LinuxThreads thread functions
1927 and functions passed to clone(2) directly
1928 - fix ecvt{,_r} on denormals (#143279)
1929 - fix __tls_get_addr typo
1930 - fix rounding in IA-64 alarm (#143710)
1931 - don't reinitialize __environ in __libc_start_main, so that
1932 effects of setenv/putenv done in DSO initializers are preserved
1933 (#144037, IT#57403)
1934 - fix fmemopen
1935 - fix vDSO l_map_end and l_text_end values
1936 - IA64 libm update (#142494)
1937 - fix ppc rint/ceil etc. (BZ#602)
1939 * Tue Dec 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.4-3
1940 - rebuilt
1942 * Mon Dec 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.4-2
1943 - work around rpm bug some more, this time by copying
1944 iconvconfig to iconvconfig.%%{_target_cpu}.
1946 * Mon Dec 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.4-1
1947 - update from CVS
1948 - glibc 2.3.4 release
1949 - add -o and --nostdlib options to iconvconfig
1950 - if /sbin/ldconfig doesn't exist when running
1951 glibc_post_upgrade.%%{_target_cpu}, just don't attempt to run it.
1952 This can happen during first install of bi-arch glibc and the
1953 other arch glibc's %post wil run /sbin/ldconfig (#143326)
1954 - use -o and --nostdlib options to create all needed
1955 gconv-modules.cache files on bi-arch setups
1957 * Sun Dec 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-99
1958 - rebuilt
1960 * Sat Dec 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-98
1961 - add .%%{_target_cpu} to glibc_post_upgrade, only run telinit u
1962 if /sbin/init is the same ELF class and machine as
1963 glibc_post_upgrade.%%{_target_cpu} and similarly with
1964 condrestarting sshd (#143046)
1966 * Fri Dec 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-97
1967 - update from CVS
1968 - fix ppc64 getcontext and swapcontext (BZ#610)
1969 - sparc/sparc64 fixes
1971 * Wed Dec 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-96
1972 - update from CVS
1973 - fix i686 __USE_STRING_INLINES strncat
1974 - make sure ppc/ppc64 maintain correct stack alignment
1975 across clone
1977 * Wed Dec 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-95
1978 - export nis_domain_of_r from libnsl.so again which was
1979 unintentionally lost
1981 * Wed Dec 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-93
1982 - update from CVS
1983 - ppc/ppc64 clone without CLONE_THREAD getpid () adjustement
1984 - fix MALLOC_CHECK_={1,2,3} for non-contiguous main arena
1985 (BZ#457)
1986 - fix sysconf (_POSIX_V6_*) for other ABI environments in
1987 bi-arch setups
1988 - s390/s390x clone without CLONE_THREAD getpid () adjustement
1990 * Tue Dec 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-92
1991 - update from CVS
1992 - fix %{_prefix}/libexec/getconf filenames generation
1994 * Tue Dec 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-91
1995 - update from CVS
1996 - double buffer size in getXXbyYY or getXXent on ERANGE
1997 instead of adding BUFLEN (#142617)
1998 - avoid busy loop in malloc if another thread is doing fork
1999 (#142214)
2000 - some more realloc corruption checks
2001 - fix getconf _POSIX_V6_WIDTH_RESTRICTED_ENVS output,
2002 tweak %{_prefix}/libexec/getconf/ filenames
2004 * Fri Dec 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-90
2005 - update from CVS
2006 - regex speedups
2007 - use | cat in ldd if running under bash3+ to allow running
2008 it on binaries that are not through SELinux allowed to access
2009 console or tty
2010 - add __NR_waitid defines for alpha and ia64
2012 * Wed Dec 8 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-89
2013 - update from CVS
2014 - fix clone2 on ia64
2015 - avoid tst-timer5 failing with linuxthreads implementation
2016 - if __libc_enable_secure, disallow mode != normal
2017 - change ldd script to imply -r when -u is used, properly
2018 propagate return value and handle suid binaries
2020 * Tue Dec 7 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-88
2021 - update from CVS
2022 - disregard LD_SHOW_AUXV and LD_DYNAMIC_WEAK if __libc_enable_secure
2023 - disregard LD_DEBUG if __libc_enable_secure in normal mode
2024 if /suid-debug doesn't exist
2025 - fix fseekpos after ungetc
2026 - avoid reading bytes before start of buffers in regex's
2027 check_dst_limits_calc_pos_1 (#142060)
2028 - make getpid () working with clone/clone2 without CLONE_THREAD
2029 (so far on i386/x86_64/ia64 only)
2030 - move %{_prefix}/libexec/getconf/* to glibc from glibc-common
2031 - make %{_prefix}/libexec/getconf directory owned by glibc package
2033 * Fri Dec 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-87
2034 - update from CVS
2035 - build libpthread_nonshared.a objects with -fPIC on s390/s390x
2036 - fix mktime with < 0 or > 59 tm_sec on entry
2037 - remove nonnull attribute for realpath
2038 - add $(make-target-directory) for errlist-compat.c rule
2039 (hopefully fix #141404)
2040 - add testcase for ungetc bug
2041 - define _POSIX_{,THREAD_}CPUTIME to 0 on all Linux arches
2043 * Tue Nov 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-86
2044 - update from CVS
2045 - some posix_opt.h fixes
2046 - fix strtold use of unitialized memory (#141000)
2047 - some more bugfixes for bugs detected by valgrind
2048 - rebuilt with GCC >= 3.4.3-5 to avoid packed stack layout
2049 on s390{,x} (#139678)
2051 * Fri Nov 26 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-85
2052 - update from CVS
2053 - support -v specification in getconf
2054 - fix sysconf (_SC_LFS64_CFLAGS) etc.
2055 - avoid thread stack aliasing issues on EM64T (#140803)
2056 - move %{_prefix}/include/nptl headers from nptl-devel
2057 to glibc-headers, so that even NPTL specific programs
2058 can be built bi-arch without problems
2060 * Wed Nov 24 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-84
2061 - update from CVS
2062 - fix memory leak in getaddrinfo if using nscd (#139559)
2063 - handle large lines in /etc/hosts and /etc/networks
2064 (#140378)
2065 - add nonnull attributes to selected dirent.h and dlfcn.h
2066 functions
2068 * Sun Nov 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-83
2069 - update from CVS
2070 - add deprecated and/or nonnull attribute to some signal.h
2071 functions
2072 - speed up tzset () by only using stat instead of open/fstat
2073 when calling tzset for the second and following time if
2074 /etc/localtime has not changed
2075 - fix tgamma (BZ #552)
2077 * Sat Nov 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-82
2078 - update from CVS
2079 - some malloc () checking
2080 - libpthread.a object dependency cleanups (#115157)
2081 - <bits/socket.h> fix for -std=c89 -pedantic-errors (#140132)
2083 * Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-81
2084 - don't use chunksize in <= 2 * SIZE_SZ free () checks
2086 * Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-80
2087 - update from CVS
2088 - with -D_FORTIFY_SOURCE=2, prevent missing %N$ formats
2089 - for -D_FORTIFY_SOURCE=2 and %n in writable format string,
2090 issue special error message instead of using the buffer overflow
2091 detected one
2092 - speedup regex searching with REG_NOSUB, add RE_NO_SUB,
2093 speedup searching with nested subexps (BZ #544)
2094 - block SIGCANCEL in NPTL timer_* helper thread
2095 - further free () checking
2097 * Tue Nov 16 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-79
2098 - update from CVS
2099 - fix free () checking
2100 - move /etc/default/nss into glibc-common (hopefully fix #132392)
2102 * Mon Nov 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-78
2103 - update from CVS
2104 - fix LD_DEBUG=statistics
2105 - issue error message before aborting in __chk_fail ()
2106 - some more free () checking
2108 * Fri Nov 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-77
2109 - update from CVS
2110 - speedup regex on palindromes (BZ #429)
2111 - fix NPTL set{,e,re,res}[ug]id, so that even if making process
2112 less priviledged all threads change their credentials successfully
2114 * Wed Nov 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-76
2115 - update from CVS
2116 - fix regcomp crash (#138439)
2117 - fix ftell{,o,o64} (#137885)
2118 - robustification of nscd to cope with corrupt databases (#137140)
2119 - fix NPTL with pthread_exit immediately after pthread_create (BZ #530)
2120 - some regex optimizations
2122 * Tue Nov 2 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-75
2123 - update from CVS
2124 - mktime cleanups (BZ #487, #473)
2125 - unique comments in free(3) check error messages
2126 - adjust some x86_64 headers for -m32 (#129712)
2127 - object size checking support even with GCC-3.4.2-RH >= 3.4.2-8
2129 * Wed Oct 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-74
2130 - fix <netinet/udp.h> header
2131 - fix globfree (#137176)
2132 - fix exiting if there are dlmopened libraries in namespaces
2133 other than main one not closed yet
2134 - export again _res_opcodes and __p_{class,type}_syms from
2135 libresolv.so that were lost in -69
2137 * Thu Oct 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-73
2138 - remove setaltroot and key{_add,_request,ctl} also from Versions
2139 - back out _sys_errlist changes
2141 * Thu Oct 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-72
2142 - back out setaltroot and key{_add,_request,ctl} addition
2143 - fix severe x86-64 symbol versioning regressions that breaks
2144 e.g. java binaries
2146 * Wed Oct 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-71
2147 - update from CVS
2148 - fix minor catchsegv temp file handling vulnerability
2149 (CAN-2004-0968, #136319)
2150 - add 4 new errno codes
2151 - setaltroot, key{_add,_request,ctl} syscalls on some arches
2152 - export _dl_debug_state@GLIBC_PRIVATE from ld.so again for
2153 gdb purpose
2154 - use inet_pton to decide what is address and what is hostname
2155 in getent (#135422)
2156 - change dladdr/dladdr1, so that dli_saddr is the same kind
2157 of value as dlsym/dlvsym return (makes difference on ia64/hppa only)
2158 - fix catchsegv script so that it works with both 32-bit and 64-bit
2159 programs on multi-arch platforms
2161 * Tue Oct 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-70
2162 - update from CVS
2163 - require newer selinux-policy (#135978)
2164 - add %%dir for /var/run/nscd and /var/db/nscd and %%ghost
2165 files in it
2166 - conflict with gcc4 4.0.0-0.6 and earlier (needs __builtin_object_size)
2168 * Mon Oct 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-69
2169 - update from CVS
2170 - object size checking support (-D_FORTIFY_SOURCE={1,2})
2172 * Thu Oct 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-68
2173 - update from CVS
2174 - support for namespaces in the dynamic linker
2175 - fix dlclose (BZ #77)
2176 - libSegFault.so uses now backtrace() to work on IA-64, x86-64
2177 and s390 (#130254)
2179 * Tue Oct 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-67
2180 - update from CVS
2181 - use non-blocking sockets in resolver (#135234)
2182 - reset pd->res options on thread exit, so that threads
2183 reusing cached stacks get resolver state properly initialized
2184 (BZ #434)
2186 * Wed Oct 6 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-66
2187 - update from CVS
2188 - avoid using perl in the spec file, buildrequire sed >= 3.95
2189 (#127671)
2190 - export TIMEOUTFACTOR=16
2191 - fix _JMPBUF_CFA_UNWINDS_ADJ on s390{,x}
2193 * Tue Oct 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-65
2194 - update from CVS
2195 - define _POSIX_THREAD_PROCESS_SHARED and _POSIX_CLOCK_SELECTION
2196 to -1 in LinuxThreads
2197 - define _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME to 0
2198 on i?86/ia64 and make sure sysconf (_SC_{,THREAD_}CPUTIME)
2199 returns correct value
2200 - if _POSIX_CLOCK_SELECTION == -1 in nscd, still try
2201 sysconf (_SC_CLOCK_SELECTION) and if it returns true,
2202 dlopen libpthread.so and dlsym pthread_condattr_setclock
2203 - build nscd with -z relro and -z now
2205 * Mon Oct 4 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-64
2206 - update from CVS
2207 - stop using __builtin_expect in assert and assert_perror
2208 (#127606)
2209 - try to avoid too much VA fragmentation with malloc
2210 on flexmap layout (#118574)
2211 - nscd robustification
2212 - change valloc to use debugging hooks (#134385)
2213 - make glibc_post_upgrade more verbose on errors (Fergal Daly,
2214 #125700)
2216 * Fri Oct 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-63
2217 - update from CVS
2218 - fix __nscd_getgrouplist
2219 - fix a typo in x86_64 pthread_mutex_timedwait fix
2221 * Fri Oct 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-62
2222 - update from CVS
2223 - fix NPTL pthread_mutex_timedwait on i386/x86_64 (BZ #417)
2225 * Thu Sep 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-61
2226 - update from CVS
2227 - some nscd fixes (#134193)
2228 - cache initgroups in nscd (#132850)
2229 - reread /etc/localtime in tzset () even if just mtime changed
2230 (#133481)
2231 - fix glob (#126460)
2232 - another get_myaddress fix
2234 * Wed Sep 29 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-60
2235 - update from CVS
2236 - fix get_myaddress (#133982)
2237 - remove nonnull attribute from second utime argument (#133866)
2238 - handle SIGSETXID the same way as SIGCANCEL in
2239 sigaction/pthread_kill/sigwait/sigwaitinfo etc.
2240 - add __extension__ to long long types in NPTL <bits/pthreadtypes.h>
2242 * Mon Sep 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-59
2243 - update from CVS
2244 - fix BZ #151, #362, #381, #407
2245 - fdim fix for +inf/+inf (BZ #376)
2247 * Sun Sep 26 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-58
2248 - update from CVS
2249 - vasprintf fix (BZ #346)
2250 - gettext locking (BZ #322)
2251 - change linuxthreads useldt.h inclusion login again, the last
2252 one failed all linuxthreads FLOATING_STACKS tests
2254 * Sat Sep 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-57
2255 - update from CVS
2256 - fix setuid in LD_ASSUME_KERNEL=2.2.5 libc (#133558)
2257 - fix nis locking (#132204)
2258 - RTLD_DEEPBIND support
2259 - fix pthread_create bugs (BZ #401, #405)
2261 * Wed Sep 22 2004 Roland McGrath <roland@redhat.com> 2.3.3-56
2262 - migrated CVS to fedora-branch in sources.redhat.com glibc repository
2263 - source tarballs renamed
2264 - redhat/ moved to fedora/, some old cruft removed
2265 - update from trunk
2266 - some __nonnull annotations
2268 * Wed Sep 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-55
2269 - update from CVS
2270 - set{re,e,res}[ug]id now affect the whole process in NPTL
2271 - return EAGAIN instead of ENOMEM when not enough memory
2272 in pthread_create
2274 * Fri Sep 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-54
2275 - update from CVS
2276 - nscd getaddrinfo caching
2278 * Tue Sep 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-53
2279 - restore temporarily old definition of __P()/__PMT()
2280 for third party apps
2282 * Tue Sep 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-52
2283 - update from CVS
2284 - nscd bi-arch fix
2285 - remove all uses of __P()/__PMT() from glibc headers
2286 - update and reenable nscd SELinux patch
2287 - remove libnss1* and libnss*.so.1 compatibility NSS modules
2288 on IA-32, SPARC and Alpha
2290 * Fri Sep 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-51
2291 - update from CVS
2292 - disable one of the malloc double free checks for non-contiguous
2293 arenas where it doesn't have to be true even for non-broken
2294 apps
2296 * Thu Sep 9 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-50
2297 - update from CVS
2298 - pwd/grp/host loops with nscd speed up by sharing the
2299 nscd cache r/o with applications
2300 - inexpensive double free check in free(3)
2301 - make NPTL pthread.h initializers usable even from C++
2302 (BZ #375)
2303 - use atomic instructions even in i386 nscd on i486+ CPUs
2304 (conditionally)
2306 * Sat Sep 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-49
2307 - update from CVS
2308 - fix linuxthreads tst-cancel{[45],-static}
2310 * Fri Sep 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-48
2311 - update from CVS
2312 - fix pthread_cond_destroy (BZ #342)
2313 - fix fnmatch without FNM_NOESCAPE (BZ #361)
2314 - fix ppc32 setcontext (BZ #357)
2315 - add NPTL support for i386 glibc (only if run on i486 or higher CPU)
2316 - add __NR_waitid defines for i386, x86_64 and sparc*
2318 * Tue Aug 31 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-47
2319 - update from CVS
2320 - persistent nscd caching
2321 - ppc64 32-bit atomicity fix
2322 - fix x86-64 nptl-devel headers for -m32 compilation
2323 - %%ghost /etc/ld.so.cache (#130597)
2324 - edit /etc/ld.so.conf in glibc_post_upgrade if
2325 include ld.so.conf.d/*.conf line is missing (#120588)
2326 - ugly hacks for the IA-64 /emul braindamage (#124996, #128267)
2328 * Sat Aug 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-46
2329 - update from CVS
2331 * Thu Aug 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-45
2332 - update from CVS
2333 - fix nss_compat's initgroups handling (#130363)
2334 - fix getaddrinfo ai_canonname setting
2336 * Thu Aug 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-44
2337 - update from CVS
2338 - add ip6-dotint resolv.conf option, make
2339 no-ip6-dotint the default
2340 - BuildPrereq libselinux-devel (#129946)
2341 - on ppc64, build without dot symbols
2343 * Thu Aug 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-43
2344 - update from CVS
2345 - remove debugging printout (#129747)
2346 - make <sys/shm.h> usable in C++ (IT#45148)
2347 - update RLIMIT_* constants in <bits/resource.h>, make
2348 <sys/resource.h> POSIX compliant (#129740)
2350 * Wed Aug 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-42
2351 - fix last tzset () fixes, disable rereading of /etc/localtime
2352 every time for now
2353 - really enable SELinux support for NSCD
2355 * Wed Aug 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-41
2356 - update from CVS
2357 - fread_unlocked/fwrite_unlocked macro fixes (BZ #309, #316)
2358 - tzset () fixes (BZ #154)
2359 - speed up pthread_rwlock_unlock on arches other than i386 and
2360 x86_64 (#129455)
2361 - fix compilation with -ansi (resp. -std=c89 or -std=c99) and
2362 -D_XOPEN_SOURCE=[56]00 but no -D_POSIX_SOURCE* or -D_POSIX_C_SOURCE*
2363 (BZ #284)
2364 - add SELinux support for NSCD
2366 * Fri Aug 6 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-40
2367 - update from CVS
2368 - change res_init to force all threads to re-initialize
2369 resolver before they use it next time (#125712)
2370 - various getaddrinfo and related fixes (BZ #295, #296)
2371 - fix IBM{932,943} iconv modules (#128674)
2372 - some nscd fixes (e.g. BZ #292)
2373 - RFC 3678 support (Multicast Source Filters)
2374 - handle /lib/i686/librtkaio-* in i386 glibc_post_upgrade
2375 the same as /lib/i686/librt-*
2377 * Fri Jul 23 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-39
2378 - update from CVS
2379 - conformance related changes in headers
2380 - remove -finline-limit=2000 for GCC 3.4.x+
2382 * Thu Jul 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-38
2383 - update from CVS
2384 - fix res_init leaks
2385 - fix newlocale races
2386 - fix ppc64 setjmp
2387 - fix strtold (BZ #274)
2389 * Fri Jul 16 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-37
2390 - update from CVS
2391 - allow pthread_cancel in DSO destructors run at exit time
2392 - fix pow{f,,l} on IA-32 and powl on x86-64
2393 - allow PIEs on IA-32 to have main in a shared library they depend on
2395 * Mon Jul 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-36
2396 - s390* .plt slot reduction
2397 - fix pthread_rwlock_timedrdlock on x86_64
2399 * Wed Jun 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-35
2400 - tweak spec file for the libpthread-0.61.so -> libpthread-2.3.3.so
2401 NPTL changes
2403 * Wed Jun 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-34
2404 - update from CVS
2405 - if_nameindex using preferably netlink
2406 - printf_parsemb initialization fix
2407 - NPTL version is now the same as glibc version
2409 * Mon Jun 28 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-33
2410 - update from CVS
2411 - reread resolv.conf for nscd --invalidate=hosts
2412 - fix F_GETLK/F_SETLK/F_SETLKW constants on x86_64 for
2413 -m32 -D_FILE_OFFSET_BITS=64 compilations
2414 - avoid calling non-existing fcntl64 syscall on ppc64
2416 * Mon Jun 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-32
2417 - update from CVS
2418 - FUTEX_CMP_REQUEUE support (fix pthread_cond_* deadlocks)
2419 - fix backtrace in statically linked programs
2420 - rebuilt with GCC 3.4, adjusted ulps and i386 <bits/string.h>
2422 * Fri May 28 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-31
2423 - update from CVS
2424 - <bits/string2.h> and <bits/mathinline.h> changes for GCC 3.{2,4,5}+
2425 - make c_stubs buildable even with GCC 3.2.x (#123042)
2427 * Fri May 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-30
2428 - fix pthread_cond_wait on architectures other than IA-32 and
2429 x86_64
2431 * Thu May 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-29
2432 - use lib64 instead of lib on ia64 if %%{_lib} is defined to lib64
2434 * Wed May 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-28
2435 - update from CVS
2436 - FUTEX_REQUEUE fixes (#115349)
2437 - SPARC GCC 3.4 build fix
2438 - fix handling of undefined TLS symbols on IA32 (RELA only),
2439 SPARC and SH
2440 - regex translate fix
2441 - speed up sprintf
2442 - x86_64 makecontext alignment fix
2443 - make POSIX sigpause the default sigpause, unless BSD sigpause
2444 requested
2446 * Tue May 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-27
2447 - remove /lib64/tls/librtkaio-2.3.[23].so in glibc_post_upgrade
2448 on x86-64, s390x and ppc64 instead of /lib/tls/librtkaio-2.3.[23].so
2449 - build mq_{send,receive} with -fexceptions
2451 * Fri May 7 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-26
2452 - update from CVS
2453 - fix <tgmath.h>
2454 - fix memory leaks in nis, getifaddrs, etc. caused by incorrect
2455 use of realloc
2456 - remove /lib/{tls,i686}/librtkaio-2.3.[23].so in glibc_post_upgrade
2457 and rerun ldconfig if needed, otherwise after glibc upgrade librt.so.1
2458 might be a stale symlink
2460 * Wed May 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-25
2461 - update from CVS
2462 - disable FUTEX_REQUEUE (work around #115349)
2463 - mq for sparc/sparc64/ia64
2465 * Tue May 4 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-24
2466 - update from CVS
2467 - define S_ISSOCK in -D_XOPEN_SOURCE=600 and S_I[FS]SOCK
2468 plus F_[SG]ETOWN also in -D_XOPEN_SOURCE=500 (both
2469 included already in XNS5)
2470 - reorder dlopen checks, so that dlopening ET_REL objects
2471 complains about != ET_DYN != ET_EXEC, not about phentsize
2472 (#121606)
2473 - fix strpbrk macro for GCC 3.4+ (BZ #130)
2474 - fix <sys/sysctl.h> (BZ #140)
2475 - sched_[gs]etaffinity documentation fix (BZ #131)
2476 - fix sparc64 build (BZ #139)
2477 - change linuxthreads back to use non-cancellable writes
2478 to manager pipes etc.
2479 - fix sem_timedwait return value in linuxthreads (BZ #133)
2480 - ia64 unnecessary PLT relocs removal
2482 * Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-23
2483 - update from CVS
2484 - fix *scanf
2485 - fix shm_unlink, sem_unlink and mq_unlink errno values
2486 - avoid memory leaks in error
2487 - execstack fixes on s390
2489 * Mon Apr 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-22
2490 - update from CVS
2491 - mq and timer fixes
2492 - rebuilt with binutils >= 2.15.90.0.3-2 to fix IA-64 statically
2493 linked binaries
2494 - fix linuxthreads librt.so on s390{,x}, so it is no longer DT_TEXTREL
2496 * Sat Apr 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-21
2497 - disable rtkaio
2498 - update from CVS
2499 - POSIX message passing support
2500 - fixed SIGEV_THREAD support for POSIX timers
2501 - fix free on non-malloced memory in syslog
2502 - fix ffsl on some 64-bit arches
2503 - fix sched_setaffinity on x86-64, ia64
2504 - fix ppc64 umount
2505 - NETID_AUTHORITATIVE, SERVICES_AUTHORITATIVE support
2506 - various NIS speedups
2507 - fix fwrite with > 2GB sizes on 64-bit arches
2508 - fix pthread_getattr_np guardsize reporting in NPTL
2509 - report PLT relocations in ld.so and libc.so during the build
2511 * Fri Mar 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-20
2512 - update from CVS
2513 - change NPTL PTHREAD_MUTEX_ADAPTIVE_NP mutexes to spin on SMP
2514 - strtol speed optimization
2515 - don't try to use certainly unimplemented syscalls on ppc64
2516 - kill -debug subpackage, move the libs to glibc-debuginfo{,-common}
2517 into /usr/lib/debug/usr/%{_lib}/ directory
2518 - fix c_stubs with gcc 3.4
2519 - move all the up to 3 builds into %%build scriptlet and
2520 leave only installation in the %%install scriptlet
2522 * Mon Mar 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-19
2523 - update from CVS
2524 - affinity API changes
2526 * Thu Mar 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-18
2527 - update from CVS
2528 - fix ia64 iopl (#118591)
2529 - add support for /etc/ld.so.conf.d/*.conf
2530 - fix x86-64 LD_DEBUG=statistics
2531 - fix hwcap handling when using ld.so.cache (#118518)
2533 * Mon Mar 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-17
2534 - update from CVS
2535 - implement non-_l function on top of _l functions
2537 * Thu Mar 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-16
2538 - update from CVS
2539 - fix s390{,x} TLS handling
2541 * Wed Mar 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-15
2542 - update from CVS
2543 - special section for compatibility code
2544 - make getpid () work even in vfork () child
2545 - configure with --enable-bind-now to avoid lazy binding in ld.so
2546 and libc.so
2548 * Fri Mar 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-14
2549 - update from CVS
2550 - fix iconv -c (#117021)
2551 - fix PIEs on sparc/sparc64
2552 - fix posix_fadvise on 64-bit architectures
2553 - add locale-archive as %%ghost file (#117014)
2555 * Mon Mar 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-13
2556 - update from CVS
2558 * Fri Feb 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-12
2559 - update from CVS
2561 * Fri Feb 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-11
2562 - update from CVS
2563 - fix ld.so when vDSO is randomized
2565 * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-10
2566 - update from CVS
2568 * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-9
2569 - update from CVS
2571 * Tue Feb 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-8
2572 - update from CVS
2574 * Tue Jan 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-7
2575 - update from CVS
2576 - dl_iterate_phdr extension to signal number of added/removed
2577 libraries
2578 - fix PT_GNU_RELRO support on ppc* with prelinking
2580 * Fri Jan 23 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-6
2581 - rebuilt with fixed GCC on IA-64
2583 * Thu Jan 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-5
2584 - fix PT_GNU_RELRO support
2586 * Wed Jan 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-4
2587 - update from CVS
2588 - some further regex speedups
2589 - fix re.translate handling in regex (#112869)
2590 - change regfree to match old regex behaviour (what is freed
2591 and clearing of freed pointers)
2592 - fix accesses to unitialized memory in regex (#113507, #113425,
2593 #113421)
2594 - PT_GNU_RELRO support
2596 * Tue Dec 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-3
2597 - update from CVS
2598 - fix pmap_set fd and memory leak (#112726)
2599 - fix backreference handling in regex
2600 - rebuilt under glibc without the above bug to fix
2601 libc.so linker script (#112738)
2603 * Mon Dec 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-2
2604 - update from CVS
2605 - faster getpid () in NPTL builds
2606 - fix to make pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, )
2607 really disable cancellation (#112512)
2608 - more regex fixes and speedups
2609 - fix nextafter*/nexttoward*
2610 - handle 6th syscall(3) argument on AMD64
2611 - handle memalign/posix_memalign in mtrace
2612 - fix linuxthreads memory leak (#112208)
2613 - remove throw () from cancellation points in linuxthreads (#112602)
2614 - fix NPTL unregister_atfork
2615 - fix unwinding through alternate signal stacks
2617 * Mon Dec 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-1
2618 - update from CVS
2619 - 2.3.3 release
2620 - lots of regex fixes and speedups (#110401)
2621 - fix atan2
2622 - fix pshared condvars in NPTL
2623 - fix pthread_attr_destroy for attributes created with
2624 pthread_attr_init@GLIBC_2.0
2625 - for the time being, include both nb_NO* and no_NO* as locales
2626 so that the distribution can catch up with the no_NO->nb_NO
2627 transition
2628 - add BuildPrereq texinfo (#110252)
2630 * Tue Nov 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-102
2631 - update from CVS
2632 - fix getifaddrs (CAN-2003-0859)
2633 - fix ftw fd leak
2634 - fix linuxthreads sigaction (#108634)
2635 - fix glibc 2.0 stdio compatibility
2636 - fix uselocale (LC_GLOBAL_LOCALE)
2637 - speed up stdio locking in non-threaded programs on IA-32
2638 - try to maintain correct order of cleanups between those
2639 registered with __attribute__((cleanup))
2640 and with LinuxThreads style pthread_cleanup_push/pop (#108631)
2641 - fix segfault in regex (#109606)
2642 - fix RE_ICASE multi-byte handling in regex
2643 - fix pthread_exit in libpthread.a (#109790)
2644 - FTW_ACTIONRETVAL support
2645 - lots of regex fixes and speedups
2646 - fix ceill/floorl on AMD64
2648 * Mon Oct 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-101
2649 - update from CVS
2650 - fix ld.so --verify (and ldd)
2652 * Mon Oct 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-100
2653 - update from CVS
2654 - fix sprof (#103727)
2655 - avoid infinite loops in {,f}statvfs{,64} with hosed mounts file
2656 - prevent dlopening of executables
2657 - fix glob with GLOB_BRACE and without GLOB_NOESCAPE
2658 - fix locale printing of word values on 64-bit big-endian arches
2659 (#107846)
2660 - fix getnameinfo and getaddrinfo with reverse IPv6 lookups
2661 (#101261)
2663 * Wed Oct 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-99
2664 - update from CVS
2665 - dl_iterate_phdr in libc.a on arches other than IA-64
2666 - LD_DEBUG=statistics prints number of relative relocations
2667 - fix hwcap computation
2668 - NPTL is now part of upstream glibc CVS
2669 - include {st,xh,zu}_ZA{,.UTF-8} locales
2671 * Sat Oct 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-98
2672 - update from CVS
2673 - fix close, pause and fsync (#105348)
2674 - fix pthread_once on IA-32
2675 - implement backtrace () on IA-64, handle -fomit-frame-pointer
2676 in AMD64 backtrace () (#90402)
2678 * Tue Sep 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-97
2679 - update from CVS
2680 - fix <sys/sysmacros.h> with C++ or -ansi or -pedantic C
2681 - fix mknod/ustat return value when given bogus device number (#105768)
2683 * Fri Sep 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-96
2684 - rebuilt
2686 * Fri Sep 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-95
2687 - fix IA-64 getcontext
2689 * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-94
2690 - update from CVS
2691 - fix syslog with non-C non-en_* locales (#61296, #104979)
2692 - filter GLIBC_PRIVATE symbols from glibc provides
2693 - fix NIS+
2695 * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-93
2696 - update from CVS
2697 - assume 2.4.21 kernel features on RHEL/ppc*, so that
2698 {make,set,get,swap}context works
2699 - backout execstack support for RHEL
2700 - build rtkaio on amd64 too
2702 * Wed Sep 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-92
2703 - update from CVS
2704 - execstack/noexecstack support
2705 - build nscd as PIE
2706 - move __libc_stack_end back to @GLIBC_2.1
2707 - build against elfutils >= 0.86 to fix stripping on s390x
2709 * Mon Sep 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-91
2710 - rebuilt
2712 * Mon Sep 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-90
2713 - update from CVS
2714 - NPTL locking change (#102682)
2715 - don't jump around lock on amd64
2717 * Thu Sep 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-89
2718 - fix open_memstream/syslog (#104661)
2720 * Thu Sep 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-88
2721 - update from CVS
2722 - retrieve affinity in pthread_getattr_np
2723 - fix pthread_attr_[gs]etaffinity_np
2724 - handle hex and octal in wordexp
2726 * Wed Sep 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-87
2727 - update from CVS
2728 - truncate instead of round in utimes when utimes syscall is not available
2729 - don't align stack in every glibc function unnecessarily on IA-32
2730 - make sure threads have their stack 16 byte aligned on IA-32
2731 - move sched_[sg]etaffinity to GLIBC_2.3.3 symbol version (#103231)
2732 - fix pthread_getattr_np for the initial thread (#102683)
2733 - avoid linuxthreads signal race (#104368)
2734 - ensure all gzip invocations are done with -n option
2736 * Fri Sep 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-86
2737 - update from CVS
2738 - avoid linking in libgcc_eh.a unnecessarily
2739 - change ssize_t back to long int on s390 -m31, unless
2740 gcc 2.95.x is used
2742 * Wed Sep 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-85
2743 - update from CVS
2744 - fix IA-64 memccpy (#104114)
2746 * Tue Sep 9 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-84
2747 - update from CVS
2748 - undo broken amd64 signal context changes
2750 * Tue Sep 9 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-83
2751 - update from CVS
2752 - change *nlink_t, *ssize_t and *intptr_t types on s390 -m31 to
2753 {unsigned,} int
2754 - change *u_quad_t, *quad_t, *qaddr_t, *dev_t, *ino64_t, *loff_t,
2755 *off64_t, *rlim64_t, *blkcnt64_t, *fsblkcnt64_t, *fsfilcnt64_t
2756 on 64-bit arches from {unsigned,} long long int {,*} to
2757 {unsigned,} long int {,*} to restore binary compatibility
2758 for C++ functions using these types as arguments
2760 * Sun Sep 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-82
2761 - rebuilt
2763 * Sat Sep 6 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-81
2764 - update from CVS
2765 - fix tc[gs]etattr/cf[gs]et[io]speed on ppc (#102732)
2766 - libio fixes
2768 * Thu Sep 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-80
2769 - update from CVS
2770 - fix IA-64 cancellation when mixing __attribute__((cleanup ()))
2771 and old-style pthread_cleanup_push cleanups
2773 * Tue Sep 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-79
2774 - updated from CVS
2775 - lots of cancellation fixes
2776 - fix posix_fadvise* on ppc32
2777 - TLS layout fix
2778 - optimize stdio cleanups (#103354)
2779 - sparcv9 NPTL
2780 - include sigset, sighold, sigrelse, sigpause and sigignore prototypes
2781 in signal.h even if -D_XOPEN_SOURCE_EXTENDED (#103269)
2782 - fix svc_getreqset on 64-bit big-endian arches
2783 - return ENOSYS in linuxthreads pthread_barrierattr_setpshared for
2784 PTHREAD_PROCESS_SHARED
2785 - add pthread_cond_timedwait stubs to libc.so (#102709)
2786 - split glibc-devel into glibc-devel and glibc-headers to ensure
2787 amd64 /usr/include always wins on amd64/i386 bi-arch installs
2788 - increase PTHREAD_STACK_MIN on alpha, ia64 and sparc*
2789 - get rid of __syscall_* prototypes and stubs in sysdeps/unix/sysv/linux
2790 - run make check also with linuxthreads (on IA-32 non-FLOATING_STACKS)
2791 ld.so and NPTL (on IA-32 also FLOATING_STACKS linuxthreads) libraries
2792 and tests
2794 * Tue Aug 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-78
2795 - include dl-osinfo.h only in glibc-debuginfo-2*.rpm, not
2796 in glibc-debuginfo-common*
2798 * Mon Aug 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-77
2799 - update from CVS
2800 - fix glibc 2.0 libio compatibility (#101385)
2801 - fix ldconfig with /usr/lib/lib*.so symlinks (#102853)
2802 - fix assert.h (#102916, #103017)
2803 - make ld.so.cache identical between IA-32 and AMD64 (#102887)
2804 - fix static linking of large IA-64 binaries (#102586)
2805 - avoid using floating point regs in lazy binding code on ppc64 (#102763)
2807 * Fri Aug 22 2003 Roland McGrath <roland@redhat.com> 2.3.2-76
2808 - add td_thr_tls_get_addr changes missed in initial nptl_db rewrite
2810 * Sun Aug 17 2003 Roland McGrath <roland@redhat.com> 2.3.2-74
2811 - nptl_db rewrite not yet in CVS
2813 * Thu Aug 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-72
2814 - update from CVS
2815 - fix rtkaio aio_fsync{,64}
2816 - update rtkaio for !BROKEN_THREAD_SIGNALS
2817 - fix assert macro when used on pointers
2819 * Wed Aug 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-71
2820 - update from CVS
2822 * Tue Aug 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-70
2823 - update from CVS
2824 - disable CLONE_STOPPED for now until it is resolved
2825 - strip crt files
2826 - fix libio on arches with no < GLIBC_2.2 support (#102102, #102105)
2827 - fix glibc-debuginfo to include all nptl and nptl_db sources
2829 * Thu Aug 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-69
2830 - update from CVS
2831 - fix pthread_create@GLIBC_2.0 (#101767)
2832 - __ASSUME_CLONE_STOPPED on all arches but s390* in RHEL
2834 * Sun Aug 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-68
2835 - update from CVS
2836 - only use CLONE_STOPPED if kernel supports it, fix setting of thread
2837 explicit scheduling (#101457)
2839 * Fri Aug 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-67
2840 - update from CVS
2841 - fix utimes and futimes if kernel doesn't support utimes syscall
2842 - fix s390 ssize_t type
2843 - fix dlerror when called before any dlopen/dlsym
2844 - update IA-64 bits/sigcontext.h (#101344)
2845 - various warning fixes
2846 - fix pthread.h comment typos (#101363)
2848 * Wed Jul 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-66
2849 - update from CVS
2850 - fix dlopen of libraries using TLS IE/LE models
2852 * Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-65
2853 - update from CVS
2854 - fix timer_create
2855 - use __extension__ before long long typedefs in <bits/types.h> (#100718)
2857 * Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-64
2858 - update from CVS
2859 - fix wcpncpy (#99462)
2860 - export _res@GLIBC_2.0 even from NPTL libc.so (__res_state ()
2861 unlike __errno_location () or __h_errno_location () was introduced
2862 in glibc 2.2)
2863 - fix zic bug on 64-bit platforms
2864 - some TLS handling fixes
2865 - make ldconfig look into alternate ABI dirs by default (#99402)
2866 - move %{_datadir}/zoneinfo to tzdata package, so that it can be
2867 errataed separately from glibc
2868 - new add-on - rtkaio
2869 - prereq libgcc, as glibc now relies on libgcc_s.so.1 for pthread_cancel
2871 * Tue Jul 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-63
2872 - fix thread cancellation on ppc64
2874 * Sat Jul 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-62
2875 - update from CVS
2876 - fix thread cancellation on ppc32, s390 and s390x
2878 * Thu Jul 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-61
2879 - update from CVS
2880 - build libc_nonshared.a with -fPIC instead of -fpic
2881 - fix ppc64 PIE support
2882 - add cfi directives to NPTL sysdep-cancel.h on ppc/ppc64/s390/s390x
2884 * Tue Jul 8 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-60
2885 - update from CVS
2887 * Thu Jul 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-59
2888 - update from CVS
2889 - on IA-64 use different symbols for cancellation portion of syscall
2890 handlers to make gdb happier
2892 * Thu Jun 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-58
2893 - update from CVS
2894 - nss_compat supporting LDAP etc.
2896 * Tue Jun 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-57
2897 - update from CVS
2899 * Thu Jun 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-56
2900 - fix condvars and semaphores in ppc* NPTL
2901 - fix test-skeleton.c reporting of timed-out tests (#91269)
2902 - increase timeouts for tests during make check
2904 * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-55
2905 - make ldconfig default to both /lib+/usr/lib and /lib64+/usr/lib64
2906 on bi-ABI architectures (#97557)
2907 - disable FUTEX_REQUEUE on ppc* temporarily
2909 * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-54
2910 - update from CVS
2911 - fix glibc_post_upgrade on ppc
2913 * Tue Jun 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-53
2914 - update from CVS
2915 - fix localedef (#90659)
2916 - tweak linuxthreads for librt cancellation
2918 * Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-52
2919 - update from CVS
2921 * Thu Jun 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-51
2922 - update from CVS
2923 - fix <gnu/stubs.h> (#97169)
2925 * Wed Jun 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-50
2926 - update from CVS
2928 * Tue Jun 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-49
2929 - update from CVS
2930 - fix pthread_cond_signal on IA-32 (#92080, #92253)
2931 - fix setegid (#91567)
2932 - don't prelink -R libc.so on any architecture, it prohibits
2933 address randomization
2935 * Fri Jun 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-48
2936 - update from CVS
2937 - fix IA-64 NPTL build
2939 * Thu Jun 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-47
2940 - update from CVS
2941 - PT_GNU_STACK segment in binaries/executables and .note.GNU-stack
2942 section in *.[oa]
2944 * Sun Jun 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-46
2945 - update from CVS
2946 - enable NPTL on AMD64
2947 - avoid using trampolines in localedef
2949 * Fri May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-45
2950 - enable NPTL on IA-64
2952 * Fri May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-44
2953 - update from CVS
2954 - enable NPTL on s390 and s390x
2955 - make __init_array_start etc. symbols in elf-init.oS hidden undefined
2957 * Thu May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-43
2958 - update from CVS
2960 * Fri May 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-42
2961 - update from CVS
2963 * Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-41
2964 - update from CVS
2965 - use NPTL libs if uname -r contains nptl substring or is >= 2.5.69
2966 or set_tid_address syscall is available instead of checking
2967 AT_SYSINFO dynamic tag
2969 * Thu May 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-40
2970 - update from CVS
2972 * Wed May 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-39
2973 - update from CVS
2974 - fix for prelinking of libraries with no dependencies
2976 * Tue May 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-38
2977 - update from CVS
2978 - enable NPTL on ppc and ppc64
2980 * Tue May 6 2003 Matt Wilson <msw@redhat.com> 2.3.2-37
2981 - rebuild
2983 * Sun May 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-36
2984 - update from CVS
2986 * Sat May 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-35
2987 - update from CVS
2988 - make -jN build fixes
2990 * Fri May 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-34
2991 - update from CVS
2992 - avoid using trampolines in iconvconfig for now
2994 * Sat Apr 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-33
2995 - update from CVS
2997 * Fri Apr 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-32
2998 - update from CVS
2999 - more ppc TLS fixes
3001 * Wed Apr 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-31
3002 - update from CVS
3003 - nscd fixes
3004 - fix Bahrain spelling (#56298)
3005 - fix Ukrainian collation (#83973)
3006 - accept trailing spaces in /etc/ld.so.conf (#86032)
3007 - perror fix (#85994)
3008 - fix localedef (#88978)
3009 - fix getifaddrs (#89026)
3010 - fix strxfrm (#88409)
3011 - fix ppc TLS
3012 - fix getaddrinfo (#89448)
3013 - don't print warning about errno, h_errno or _res if
3014 LD_ASSUME_KERNEL=2.4.1 or earlier
3016 * Tue Apr 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-30
3017 - update from CVS
3018 - fix prelink on ppc32
3019 - add TLS support on ppc32 and ppc64
3020 - make sure on -m64 arches all helper binaries are built with this
3021 option
3023 * Mon Apr 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-29
3024 - update from CVS
3025 - fix strxfrm (#88409)
3026 - use -m64 -mno-minimal-toc on ppc64
3027 - conflict with kernels < 2.4.20 on ppc64 and < 2.4.0 on x86_64
3028 - link glibc_post_upgrade against newly built libc.a
3030 * Sun Apr 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-28
3031 - update from CVS
3032 - fix NPTL pthread_detach and already terminated, but not yet
3033 joined thread (#88219)
3034 - fix bug-regex4 testcase (#88118)
3035 - reenable prelink support broken in 2.3.2-13
3036 - fix register_printf_function (#88052)
3037 - fix double free with fopen using ccs= (#88056)
3038 - fix potential access below $esp in {set,swap}context (#88093)
3039 - fix buffer underrun in gencat -H (#88099)
3040 - avoid using unitialized variable in tst-tgmath (#88101)
3041 - fix gammal (#88104)
3042 - fix iconv -c
3043 - fix xdr_string (PR libc/4999)
3044 - fix /usr/lib/nptl/librt.so symlink
3045 - avoid running NPTL cleanups twice in some cases
3046 - unblock __pthread_signal_cancel in linuxthreads, so that
3047 linuxthreads threaded programs work correctly if spawned
3048 from NPTL threaded programs
3049 - fix sysconf _SC_{NPROCESSORS_{CONF,ONLN},{,AV}PHYS_PAGES}
3050 - remove /lib/i686 directory before running ldconfig in glibc post
3051 during i686 -> i386 glibc "upgrades" (#88456)
3053 * Wed Apr 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-22
3054 - update from CVS
3055 - add pthread_atfork to libpthread.a
3057 * Tue Apr 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-21
3058 - update from CVS
3059 - make sure linuxthreads pthread_mutex_lock etc. is not a cancellation
3060 point
3062 * Sat Mar 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-20
3063 - update from CVS
3064 - if kernel >= 2.4.1 doesn't support NPTL, fall back to
3065 /lib/i686 libs on i686, not stright to /lib
3067 * Fri Mar 28 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-19
3068 - update from CVS
3069 - timers fixes
3071 * Thu Mar 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-18
3072 - update from CVS
3073 - fix NPTL pthread_cond_timedwait
3074 - fix sysconf (_SC_MONOTONIC_CLOCK)
3075 - use /%%{_lib}/tls instead of /lib/tls on x86-64
3076 - add /%{_lib}/tls/librt*so* and /%{_lib}/i686/librt*so*
3077 - display content of .out files for all make check failures
3079 * Wed Mar 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-17
3080 - update from CVS
3081 - kernel POSIX timers support
3083 * Sat Mar 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-16
3084 - update from CVS
3085 - export __fork from glibc again
3086 - fix glibc-compat build in NPTL
3087 - fix c_stubs
3088 - fix some more atomic.h problems
3089 - don't check abi in glibc-compat libs
3091 * Fri Mar 21 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-15
3092 - update from CVS
3093 - build glibc-compat (for glibc 2.0 compatibility) and c_stubs add-ons
3094 - condrestart sshd in glibc_post_upgrade so that the user can
3095 log in remotely and handle the rest (#86339)
3096 - fix a typo in glibc_post_upgrade on sparc
3098 * Tue Mar 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-14
3099 - update from CVS
3100 - change i686/athlon libc.so.6 base to 0x00e80000
3102 * Mon Mar 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-13
3103 - update from CVS
3104 - hopefully last fix for condvar problems
3106 * Fri Mar 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-12
3107 - fix bits/syscall.h creation on x86-64
3109 * Thu Mar 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-11
3110 - update from CVS
3112 * Wed Mar 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-10
3113 - update from CVS
3115 * Tue Mar 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-9
3116 - update from CVS
3117 - fix glibc-debug description (#85111)
3118 - make librt.so a symlink again, not linker script
3120 * Tue Mar 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-8
3121 - update from CVS
3122 - remove the workarounds for broken software accessing GLIBC_PRIVATE
3123 symbols
3125 * Mon Mar 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-7
3126 - update from CVS
3128 * Sun Mar 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-6
3129 - fix TLS IE/LE model handling in dlopened libraries
3130 on TCB_AT_TP arches
3132 * Thu Feb 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-5
3133 - update from CVS
3135 * Tue Feb 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-4
3136 - update from CVS
3138 * Mon Feb 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-3
3139 - update from CVS
3140 - only warn about errno, h_errno or _res for binaries, never
3141 libraries
3142 - rebuilt with gcc-3.2.2-4 to use direct %gs TLS access insn sequences
3144 * Sun Feb 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-2
3145 - update from CVS
3147 * Sat Feb 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-1
3148 - update from CVS
3150 * Thu Feb 20 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-51
3151 - update from CVS
3153 * Wed Feb 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-50
3154 - update from CVS
3156 * Wed Feb 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-49
3157 - update from CVS
3158 - remove nisplus and nis from the default nsswitch.conf (#67401, #9952)
3160 * Tue Feb 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-48
3161 - update from CVS
3163 * Sat Feb 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-47
3164 - update from CVS
3166 * Fri Feb 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-46
3167 - update from CVS
3168 - pthread_cond* NPTL fixes, new NPTL testcases
3170 * Thu Feb 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-45
3171 - update from CVS
3172 - include also linuxthreads FLOATING_STACKS libs on i686 and athlon:
3173 LD_ASSUME_KERNEL=2.2.5 to LD_ASSUME_KERNEL=2.4.0 is non-FLOATING_STACKS lt,
3174 LD_ASSUME_KERNEL=2.4.1 to LD_ASSUME_KERNEL=2.4.19 is FLOATING_STACKS lt,
3175 later is NPTL
3176 - enable TLS on alpha/alphaev6
3177 - add BuildPreReq: /usr/bin/readlink
3179 * Tue Feb 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-44
3180 - update from CVS
3181 - pthread_once fix
3183 * Mon Feb 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-43
3184 - update from CVS
3185 - vfork fix on s390
3186 - rebuilt with binutils 2.13.90.0.18-5 so that accesses to errno
3187 don't bind locally (#83325)
3189 * Thu Feb 06 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-42
3190 - update from CVS
3191 - fix pthread_create after vfork+exec in linuxthreads
3193 * Wed Feb 05 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-41
3194 - update from CVS
3196 * Thu Jan 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-40
3197 - update from CVS
3199 * Wed Jan 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-39
3200 - update from CVS
3201 - enable TLS on s390{,x} and sparc{,v9}
3203 * Fri Jan 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-38
3204 - update from CVS
3205 - initialize __environ in glibc_post_upgrade to empty array,
3206 so that it is not NULL
3207 - compat symlink for s390x /lib/ld64.so.1
3208 - enable glibc-profile on x86-64
3209 - only include libNoVersion.so on IA-32, Alpha and Sparc 32-bit
3211 * Thu Jan 16 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-37
3212 - update from CVS
3213 - nscd fixes, *scanf fix
3214 - fix %%nptlarches noarch build (#81909)
3215 - IA-64 TLS fixes
3217 * Tue Jan 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-36
3218 - update from CVS
3219 - rework -debuginfo subpackage, add -debuginfo-common
3220 subpackage on IA-32, Alpha and Sparc (ie. auxiliary arches)
3221 - fix vfork in libc.a on PPC32, Alpha, Sparc
3222 - fix libio locks in linuxthreads libc.so if libpthread.so
3223 is dlopened later (#81374)
3225 * Mon Jan 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-35
3226 - update from CVS
3227 - dlclose bugfixes
3228 - fix NPTL libpthread.a
3229 - fix glibc_post_upgrade on several arches
3231 * Sat Jan 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-34
3232 - update from CVS
3233 - TLS support on IA-64
3235 * Wed Jan 8 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-33
3236 - fix vfork in linuxthreads (#81377, #81363)
3238 * Tue Jan 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-32
3239 - update from CVS
3240 - don't use TLS libs if kernel doesn't set AT_SYSINFO
3241 (#80921, #81212)
3242 - add ntp_adjtime on alpha (#79996)
3243 - fix nptl_db (#81116)
3245 * Sun Jan 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-31
3246 - update from CVS
3247 - support all architectures again
3249 * Fri Jan 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-30
3250 - fix condvar compatibility wrappers
3251 - add ugly hack to use non-TLS libs if a binary is seen
3252 to have errno, h_errno or _res symbols in .dynsym
3254 * Fri Jan 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-29
3255 - update from CVS
3256 - fixes for new condvar
3258 * Thu Jan 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-28
3259 - new NPTL condvar implementation plus related linuxthreads
3260 symbol versioning updates
3262 * Thu Jan 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-27
3263 - update from CVS
3264 - fix #include <sys/stat.h> with -D_BSD_SOURCE or without
3265 feature set macros
3266 - make *sigaction, sigwait and raise the same between
3267 -lpthread -lc and -lc -lpthread in linuxthreads builds
3269 * Tue Dec 31 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-26
3270 - fix dlclose
3272 * Sun Dec 29 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-25
3273 - enable sysenter by default for now
3274 - fix endless loop in ldconfig
3276 * Sat Dec 28 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-24
3277 - update from CVS
3279 * Fri Dec 27 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-23
3280 - update from CVS
3281 - fix ptmalloc_init after clearenv (#80370)
3283 * Sun Dec 22 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-22
3284 - update from CVS
3285 - add IA-64 back
3286 - move TLS libraries from /lib/i686 to /lib/tls
3288 * Thu Dec 19 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-21
3289 - system(3) fix for linuxthreads
3290 - don't segfault in pthread_attr_init from libc.so
3291 - add cancellation tests from nptl to linuxthreads
3293 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-20
3294 - fix up lists of exported symbols + their versions
3295 from the libraries
3297 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-19
3298 - fix --with-tls --enable-kernel=2.2.5 libc on IA-32
3300 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-18
3301 - update from CVS
3302 - fix NPTL hanging mozilla
3303 - initialize malloc in mALLOPt (fixes problems with squid, #79957)
3304 - make linuxthreads work with dl_dynamic_weak 0
3305 - clear dl_dynamic_weak everywhere
3307 * Tue Dec 17 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-17
3308 - update from CVS
3309 - NPTL socket fixes, flockfile/ftrylockfile/funlockfile fix
3310 - kill -debug sub-package, rename -debug-static to -debug
3311 - clear dl_dynamic_weak for NPTL
3313 * Mon Dec 16 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-16
3314 - fix <bits/mathinline.h> and <bits/nan.h> for C++
3315 - automatically generate NPTL libpthread wrappers
3317 * Mon Dec 16 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-15
3318 - update from CVS
3319 - all functions which need cancellation should now be cancellable
3320 both in libpthread.so and libc.so
3321 - removed @@GLIBC_2.3.2 cancellation wrappers
3323 * Fri Dec 13 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-14
3324 - update from CVS
3325 - replace __libc_lock_needed@GOTOFF(%ebx) with
3326 %gs:offsetof(tcbhead_t, multiple_threads)
3327 - start of new NPTL cancellation wrappers
3329 * Thu Dec 12 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-13
3330 - update from CVS
3331 - use inline locks in malloc
3333 * Tue Dec 10 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-12
3334 - update from CVS
3335 - support LD_ASSUME_KERNEL=2.2.5 in statically linked programs
3337 * Mon Dec 9 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-11
3338 - update from CVS
3339 - rebuilt with gcc-3.2.1-2
3341 * Fri Dec 6 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-10
3342 - update from CVS
3343 - non-nptl --with-tls --without-__thread FLOATING_STACKS libpthread
3344 should work now
3345 - faster libc locking when using nptl
3346 - add OUTPUT_FORMAT to linker scripts
3347 - fix x86_64 sendfile (#79111)
3349 * Wed Dec 4 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-9
3350 - update from CVS
3351 - RUSCII support (#78906)
3352 - for nptl builds add BuildRequires
3353 - fix byteswap.h for non-gcc (#77689)
3354 - add nptl-devel package
3356 * Tue Dec 3 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-8
3357 - update from CVS
3358 - make --enable-kernel=2.2.5 --with-tls --without-__thread
3359 ld.so load nptl and other --with-__thread libs
3360 - disable nptl by default for now
3362 * Wed Nov 27 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-7
3363 - update from CVS
3364 - restructured redhat/Makefile and spec, so that src.rpm contains
3365 glibc-<date>.tar.bz2, glibc-redhat-<date>.tar.bz2 and glibc-redhat.patch
3366 - added nptl
3368 * Fri Nov 8 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-6
3369 - update from CVS
3370 - even more regex fixes
3371 - run sed testsuite to check glibc regex
3373 * Thu Oct 24 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-5
3374 - fix LD_DEBUG=statistics and LD_TRACE_PRELINKING in programs
3375 using libpthread.so.
3377 * Thu Oct 24 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-4
3378 - update from CVS
3379 - fixed %a and %A in *printf (#75821)
3380 - fix re_comp memory leaking (#76594)
3382 * Tue Oct 22 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-3
3383 - update from CVS
3384 - some more regex fixes
3385 - fix libpthread.a (#76484)
3386 - fix locale-archive enlarging
3388 * Fri Oct 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-2
3389 - update from CVS
3390 - don't need to use 128K of stacks for DNS lookups
3391 - regex fixes
3392 - updated timezone data e.g. for this year's Brasil DST
3393 changes
3394 - expand ${LIB} in RPATH/RUNPATH/dlopen filenames
3396 * Fri Oct 11 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-1
3397 - update to 2.3.1 final
3398 - support really low thread stack sizes (#74073)
3399 - tzdata update
3401 * Wed Oct 9 2002 Jakub Jelinek <jakub@redhat.com> 2.3-2
3402 - update from CVS
3403 - handle low stack limits
3404 - move s390x into */lib64
3406 * Thu Oct 3 2002 Jakub Jelinek <jakub@redhat.com> 2.3-1
3407 - update to 2.3 final
3408 - fix freopen on libstdc++ <= 2.96 stdin/stdout/stderr (#74800)
3410 * Sun Sep 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-3
3411 - don't prelink -r libc.so on ppc/x86-64/sparc*, it doesn't
3412 speed things up, because they are neither REL arches, nor
3413 ELF_MACHINE_REL_RELATIVE
3414 - fix sparc64 build
3416 * Sun Sep 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-2
3417 - update from CVS
3419 * Sat Sep 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-1
3420 - update from CVS
3421 - prelink on ppc and x86-64 too
3422 - don't remove ppc memset
3423 - instead of listing on which arches to remove glibc-compat
3424 list where it should stay
3426 * Fri Sep 6 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-5
3427 - fix wcsmbs functions with invalid character sets (or malloc
3428 failures)
3429 - make sure __ctype_b etc. compat vars are updated even if
3430 they are copy relocs in the main program
3432 * Thu Sep 5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-4
3433 - fix /lib/libnss1_dns.so.1 (missing __set_h_errno definition
3434 leading to unresolved __set_h_errno symbol)
3436 * Wed Sep 4 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-3
3437 - security fix - increase dns-network.c MAXPACKET to at least
3438 65536 to avoid buffer overrun. Likewise glibc-compat
3439 dns-{host,network}.c.
3441 * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-2
3442 - temporarily add back __ctype_b, __ctype_tolower and __ctype_toupper to
3443 libc.a and export them as @@GLIBC_2.0 symbols, not @GLIBC_2.0
3444 from libc.so - we have still lots of .a libraries referencing
3445 __ctype_{b,tolower,toupper} out there...
3447 * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-1
3448 - update from CVS
3449 - 2.2.93 release
3450 - use double instead of single indirection in isXXX macros
3451 - per-locale wcsmbs conversion state
3453 * Sat Aug 31 2002 Jakub Jelinek <jakub@redhat.com> 2.2.92-2
3454 - update from CVS
3455 - fix newlocale/duplocale/uselocale
3456 - disable profile on x86_64 for now
3458 * Sat Aug 31 2002 Jakub Jelinek <jakub@redhat.com> 2.2.92-1
3459 - update from CVS
3460 - 2.2.92 release
3461 - fix gettext after uselocale
3462 - fix locales in statically linked threaded programs
3463 - fix NSS
3465 * Thu Aug 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.91-1
3466 - update from CVS
3467 - 2.2.91 release
3468 - fix fd leaks in locale-archive reader (#72043)
3469 - handle EROFS in build-locale-archive gracefully (#71665)
3471 * Wed Aug 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-27
3472 - update from CVS
3473 - fix re_match (#72312)
3474 - support more than 1024 threads
3476 * Fri Aug 23 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-26
3477 - update from CVS
3478 - fix i386 build
3480 * Thu Aug 22 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-25
3481 - update from CVS
3482 - fix locale-archive loading hang on some (non-primary) locales
3483 (#72122, #71878)
3484 - fix umount problems with locale-archives when /usr is a separate
3485 partition (#72043)
3486 - add LICENSES file
3488 * Fri Aug 16 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-24
3489 - update from CVS
3490 - only mmap up to 2MB of locale-archive on 32-bit machines
3491 initially
3492 - fix fseek past end + fread segfault with mmaped stdio
3493 - include <sys/debugreg.h> which is mistakenly not included
3494 in glibc-devel on IA-32
3496 * Fri Aug 16 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-23
3497 - don't return normalized locale name in setlocale when using
3498 locale-archive
3500 * Thu Aug 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-22
3501 - update from CVS
3502 - optimize for primary system locale
3503 - localedef fixes (#71552, #67705)
3505 * Wed Aug 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-21
3506 - fix path to locale-archive in libc reader
3507 - build locale archive at glibc-common %post time
3508 - export __strtold_internal and __wcstold_internal on Alpha again
3509 - workaround some localedata problems
3511 * Tue Aug 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-20
3512 - update from CVS
3513 - patch out set_thread_area for now
3515 * Fri Aug 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-19
3516 - update from CVS
3517 - GB18030 patch from Yu Shao
3518 - applied Debian patch for getaddrinfo IPv4 vs. IPv6
3519 - fix regcomp (#71039)
3521 * Sun Aug 4 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-18
3522 - update from CVS
3523 - use /usr/sbin/prelink, not prelink (#70376)
3525 * Thu Jul 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-17
3526 - update from CVS
3528 * Thu Jul 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-16
3529 - update from CVS
3530 - ungetc fix (#69586)
3531 - fseek errno fix (#69589)
3532 - change *etrlimit prototypes for C++ (#68588)
3533 - use --without-tls instead of --disable-tls
3535 * Thu Jul 11 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-15
3536 - set nscd user's shell to /sbin/nologin (#68369)
3537 - fix glibc-compat buffer overflows (security)
3538 - buildrequire prelink, don't build glibc's own copy of it (#67567)
3539 - update from CVS
3540 - regex fix (#67734)
3541 - fix unused warnings (#67706)
3542 - fix freopen with mmap stdio (#67552)
3543 - fix realloc (#68499)
3545 * Tue Jun 25 2002 Bill Nottingham <notting@redhat.com> 2.2.90-14
3546 - update from CVS
3547 - fix argp on long words
3548 - update atime in libio
3550 * Sat Jun 22 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-13
3551 - update from CVS
3552 - a thread race fix
3553 - fix readdir on invalid dirp
3555 * Wed Jun 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-12
3556 - update from CVS
3557 - don't use __thread in headers
3558 - fix system(3) in threaded apps
3559 - update prelink, so that it is possible to prelink -u libc.so.6.1
3560 on Alpha
3562 * Fri Jun 7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-11
3563 - update from CVS
3564 - fix __moddi3 (#65612, #65695)
3565 - fix ether_line (#64427)
3566 - fix setvbuf with mmap stdio (#65864)
3567 - --disable-tls for now, waiting for kernel
3568 - avoid duplication of __divtf3 etc. on IA-64
3569 - make sure get*ent_r and _IO_wfile_jumps are exported (#62278)
3571 * Tue May 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-10
3572 - update from CVS
3573 - fix Alpha pthread bug with gcc 3.1
3575 * Fri Apr 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-35
3576 - fix nice
3578 * Mon Apr 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-34
3579 - add relocation dependencies even for weak symbols (#63422)
3580 - stricter check_fds check for suid/sgid binaries
3581 - run make check at %%install time
3583 * Sat Apr 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-33
3584 - handle Dec 31 1969 in mktime for timezones west of GMT (#63369)
3585 - back out do-lookup.h change (#63261, #63305)
3586 - use "memory" clobber instead all the fancy stuff in i386/i686/bits/string.h
3587 since lots of compilers break on it
3588 - fix sparc build with gcc 3.1
3589 - fix spec file for athlon
3591 * Tue Apr 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-32
3592 - fix debugging of threaded apps (#62804)
3593 - fix DST for Estonia (#61494)
3594 - document that pthread_mutexattr_?etkind_np are deprecated
3595 and pthread_mutexattr_?ettype should be used instead in man
3596 pages (#61485)
3597 - fix libSegFault.so undefined externals
3599 * Fri Apr 5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-31
3600 - temporarily disable prelinking ld.so, as some statically linked
3601 binaries linked against debugging versions of old glibcs die on it
3602 (#62352)
3603 - fix <semaphore.h> for -std=c99 (#62516)
3604 - fix ether_ntohost segfault (#62397)
3605 - remove in glibc_post_upgrade on i386 all /lib/i686/libc-*.so,
3606 /lib/i686/libm-*.so and /lib/i686/libpthread-*.so, not just current
3607 version (#61633)
3608 - prelink -r on alpha too
3610 * Thu Mar 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-30
3611 - update GB18030 iconv module (Yu Shao)
3613 * Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-29
3614 - features.h fix
3616 * Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-28
3617 - update from CVS
3618 - fix nscd with huge groups
3619 - fix nis to not close fds it shouldn't
3620 - rebuilt against newer glibc-kernheaders to use the correct
3621 PATH_MAX
3622 - handle .athlon.rpm glibc the same way as .i686.rpm
3623 - add a couple of .ISO-8859-15 locales (#61922)
3624 - readd temporarily currencies which were superceeded by Euro
3625 into the list of accepted currencies by localedef to make
3626 standard conformance testsuites happy
3627 - temporarily moved __libc_waitpid back to make Sun JDK happy
3628 - use old malloc code
3629 - prelink i686/athlon ld.so and prelink -r i686/athlon libc.so
3631 * Thu Mar 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-27
3632 - update from CVS
3633 - fix DST handling for southern hemisphere (#60747)
3634 - fix daylight setting for tzset (#59951)
3635 - fix ftime (#60350)
3636 - fix nice return value
3637 - fix a malloc segfault
3638 - temporarily moved __libc_wait, __libc_fork and __libc_stack_end
3639 back to what they used to be exported at
3640 - censorship (#60758)
3642 * Thu Feb 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-26
3643 - update from CVS
3644 - use __attribute__((visibility(...))) if supported, use _rtld_local
3645 for ld.so only objects
3646 - provide libc's own __{,u}{div,mod}di3
3648 * Wed Feb 27 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-25
3649 - switch back to 2.2.5, mmap stdio needs work
3651 * Mon Feb 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-8
3652 - fix two other mmap stdio bugs (#60228)
3654 * Thu Feb 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-7
3655 - fix yet another mmap stdio bug (#60145)
3657 * Tue Feb 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-6
3658 - fix mmap stdio bug (seen on ld as File truncated error, #60043)
3659 - apply Andreas Schwab's fix for pthread sigwait
3660 - remove /lib/i686/ libraries in glibc_post_upgrade when
3661 performing i386 glibc install
3663 * Thu Feb 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-5
3664 - update to CVS
3665 - added glibc-utils subpackage
3666 - disable autoreq in glibc-debug
3667 - readd %%lang() to locale files
3669 * Fri Feb 7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-4
3670 - update to CVS
3671 - move glibc private symbols to GLIBC_PRIVATE symbol version
3673 * Wed Jan 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-3
3674 - fix a sqrt bug on alpha which caused SHN_UNDEF $__full_ieee754_sqrt..ng
3675 symbol in libm
3677 * Tue Jan 8 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-2
3678 - add debug-static package
3680 * Mon Dec 31 2001 Jakub Jelinek <jakub@redhat.com> 2.2.90-1
3681 - update from CVS
3682 - remove -D__USE_STRING_INLINES
3683 - add debug subpackage to trim glibc and glibc-devel size
3685 * Wed Oct 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-19
3686 - fix strsep
3688 * Fri Sep 28 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-18
3689 - fix a ld.so bug with duplicate searchlists in l_scope
3690 - fix erfcl(-inf)
3691 - turn /usr/lib/librt.so into linker script
3693 * Wed Sep 26 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-17
3694 - fix a ld.so lookup bug after lots of dlopen calls
3695 - fix CMSG_DATA for non-gcc non-ISOC99 compilers (#53984)
3696 - prelinking support for Sparc64
3698 * Fri Sep 21 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-16
3699 - update from CVS to fix DT_SYMBOLIC
3700 - prelinking support for Alpha and Sparc
3702 * Tue Sep 18 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-15
3703 - update from CVS
3704 - linuxthreads now retries if -1/EINTR is returned from
3705 reading or writing to thread manager pipe (#43742)
3706 - use DT_FILTER in librt.so (#53394)
3707 - update glibc prelink patch so that it handles filters
3708 - fix timer_* with SIGEV_NONE (#53494)
3709 - make glibc_post_upgrade work on PPC (patch from Franz Sirl)
3711 * Mon Sep 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-14
3712 - fix build on sparc32
3713 - 2.2.4-13 build for some reason missed some locales
3714 on alpha/ia64
3716 * Mon Sep 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-13
3717 - fix iconvconfig
3719 * Mon Sep 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-12
3720 - add fam to /etc/rpc (#52863)
3721 - fix <inttypes.h> for C++ (#52960)
3722 - fix perror
3724 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-11
3725 - fix strnlen(x, -1)
3727 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-10
3728 - doh, <bits/libc-lock.h> should only define __libc_rwlock_t
3729 if __USE_UNIX98.
3731 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-9
3732 - fix bits/libc-lock.h so that gcc can compile
3733 - fix s390 build
3735 * Fri Aug 24 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-8
3736 - kill stale library symlinks in ldconfig (#52350)
3737 - fix inttypes.h for G++ < 3.0
3738 - use DT_REL*COUNT
3740 * Wed Aug 22 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-7
3741 - fix strnlen on IA-64 (#50077)
3743 * Thu Aug 16 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-6
3744 - glibc 2.2.4 final
3745 - fix -lpthread -static (#51672)
3747 * Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-5
3748 - doh, include libio/tst-swscanf.c
3750 * Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-4
3751 - don't crash on catclose(-1)
3752 - fix wscanf %[] handling
3753 - fix return value from swprintf
3754 - handle year + %U/%W week + week day in strptime
3756 * Thu Aug 9 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-3
3757 - update from CVS to
3758 - fix strcoll (#50548)
3759 - fix seekdir (#51132)
3760 - fix memusage (#50606)
3761 - don't make gconv-modules.cache %%config file, just don't verify
3762 its content.
3764 * Mon Aug 6 2001 Jakub Jelinek <jakub@redhat.com>
3765 - fix strtod and *scanf (#50723, #50724)
3767 * Sat Aug 4 2001 Jakub Jelinek <jakub@redhat.com>
3768 - update from CVS
3769 - fix iconv cache handling
3770 - glibc should not own %{_infodir}, %{_mandir} nor %{_mandir}/man3 (#50673)
3771 - add gconv-modules.cache as emtpy config file (#50699)
3772 - only run iconvconfig if /usr is mounted read-write (#50667)
3774 * Wed Jul 25 2001 Jakub Jelinek <jakub@redhat.com>
3775 - move iconvconfig from glibc-common into glibc subpackage,
3776 call it from glibc_post_upgrade instead of common's post.
3778 * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
3779 - turn off debugging printouts in iconvconfig
3781 * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
3782 - update from CVS
3783 - fix IA-32 makecontext
3784 - make fflush(0) thread-safe (#46446)
3786 * Mon Jul 23 2001 Jakub Jelinek <jakub@redhat.com>
3787 - adjust prelinking DT_* and SHT_* values in elf.h
3788 - update from CVS
3789 - iconv cache
3790 - make iconv work in SUID/SGID programs (#34611)
3792 * Fri Jul 20 2001 Jakub Jelinek <jakub@redhat.com>
3793 - update from CVS
3794 - kill non-pic code in libm.so
3795 - fix getdate
3796 - fix some locales (#49402)
3797 - rebuilt with binutils-2.11.90.0.8-5 to place .interp section
3798 properly in libBrokenLocale.so, libNoVersion.so and libanl.so
3799 - add floating stacks on IA-64, Alpha, Sparc (#49308)
3801 * Mon Jul 16 2001 Jakub Jelinek <jakub@redhat.com>
3802 - make /lib/i686 directory owned by glibc*.i686.rpm
3804 * Mon Jul 9 2001 Jakub Jelinek <jakub@redhat.com>
3805 - remove rquota.[hx] headers which are now provided by quota (#47141)
3806 - add prelinking patch
3808 * Thu Jul 5 2001 Jakub Jelinek <jakub@redhat.com>
3809 - require sh-utils for nscd
3811 * Mon Jun 25 2001 Jakub Jelinek <jakub@redhat.com>
3812 - update from CVS (#43681, #43350, #44663, #45685)
3813 - fix ro_RO bug (#44644)
3815 * Wed Jun 6 2001 Jakub Jelinek <jakub@redhat.com>
3816 - fix a bunch of math bugs (#43210, #43345, #43346, #43347, #43348, #43355)
3817 - make rpc headers -ansi compilable (#42390)
3818 - remove alphaev6 optimized memcpy, since there are still far too many
3819 broken apps which call memcpy where they should call memmove
3820 - update from CVS to (among other things):
3821 - fix tanhl bug (#43352)
3823 * Tue May 22 2001 Jakub Jelinek <jakub@redhat.com>
3824 - fix #include <signal.h> with -D_XOPEN_SOURCE=500 on ia64 (#35968)
3825 - fix a dlclose reldeps handling bug
3826 - some more profiling fixes
3827 - fix tgmath.h
3829 * Thu May 17 2001 Jakub Jelinek <jakub@redhat.com>
3830 - make ldconfig more quiet
3831 - fix LD_PROFILE on i686 (#41030)
3833 * Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
3834 - fix the hardlink program, so that it really catches all files with
3835 identical content
3836 - add a s390x clone fix
3838 * Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
3839 - fix rpc for non-threaded apps using svc_fdset and similar variables (#40409)
3840 - fix nss compatibility DSO versions for alphaev6
3841 - add a hardlink program instead of the shell 3x for plus cmp -s/link
3842 which takes a lot of time during build
3843 - rework BuildPreReq and Conflicts with gcc, so that
3844 it applies only where it has to
3846 * Fri May 11 2001 Jakub Jelinek <jakub@redhat.com>
3847 - fix locale name of ja_JP in UTF-8 (#39783)
3848 - fix re_search_2 (#40244)
3849 - fix memusage script (#39138, #39823)
3850 - fix dlsym(RTLD_NEXT, ) from main program (#39803)
3851 - fix xtrace script (#39609)
3852 - make glibc conflict with glibc-devel 2.2.2 and below (to make sure
3853 libc_nonshared.a has atexit)
3854 - fix getconf LFS_CFLAGS on 64bitters
3855 - recompile with gcc-2.96-84 or above to fix binary compatibility problem
3856 with __frame_state_for function (#37933)
3858 * Fri Apr 27 2001 Jakub Jelinek <jakub@redhat.com>
3859 - glibc 2.2.3 release
3860 - fix strcoll (#36539)
3861 - add BuildPreReqs (#36378)
3863 * Wed Apr 25 2001 Jakub Jelinek <jakub@redhat.com>
3864 - update from CVS
3866 * Fri Apr 20 2001 Jakub Jelinek <jakub@redhat.com>
3867 - update from CVS
3868 - fix sparc64, ia64
3869 - fix some locale syntax errors (#35982)
3871 * Wed Apr 18 2001 Jakub Jelinek <jakub@redhat.com>
3872 - update from CVS
3874 * Wed Apr 11 2001 Jakub Jelinek <jakub@redhat.com>
3875 - update from CVS
3877 * Fri Apr 6 2001 Jakub Jelinek <jakub@redhat.com>
3878 - support even 2.4.0 kernels on ia64, sparc64 and s390x
3879 - include UTF-8 locales
3880 - make gconv-modules %%config(noreplace)
3882 * Fri Mar 23 2001 Jakub Jelinek <jakub@redhat.com>
3883 - back out sunrpc changes
3885 * Wed Mar 21 2001 Jakub Jelinek <jakub@redhat.com>
3886 - update from CVS
3887 - fix ia64 build
3888 - fix pthread_getattr_np
3890 * Fri Mar 16 2001 Jakub Jelinek <jakub@redhat.com>
3891 - update from CVS
3892 - run atexit() registered functions at dlclose time if they are in shared
3893 libraries (#28625)
3894 - add pthread_getattr_np API to make JVM folks happy
3896 * Wed Mar 14 2001 Jakub Jelinek <jakub@redhat.com>
3897 - require 2.4.1 instead of 2.4.0 on platforms where it required 2.4 kernel
3898 - fix ldd behaviour on unresolved symbols
3899 - remove nonsensical ldconfig warning, update osversion for the most
3900 recent library with the same soname in the same directory instead (#31703)
3901 - apply selected patches from CVS
3902 - s390x spec file changes from Florian La Roche
3904 * Wed Mar 7 2001 Jakub Jelinek <jakub@redhat.com>
3905 - fix gencat (#30894)
3906 - fix ldconfig changes from yesterday, fix LD_ASSUME_KERNEL handling
3908 * Tue Mar 6 2001 Jakub Jelinek <jakub@redhat.com>
3909 - update from CVS
3910 - make pthread_attr_setstacksize consistent before and after pthread manager
3911 is started (#28194)
3912 - pass back struct sigcontext from pthread signal wrapper (on ia32 only so
3913 far, #28493)
3914 - on i686 ship both --enable-kernel 2.2.5 and 2.4.0 libc/libm/libpthread,
3915 make ld.so pick the right one
3917 * Sat Feb 17 2001 Preston Brown <pbrown@redhat.com>
3918 - glib-common doesn't require glibc, until we can figure out how to get out of dependency hell.
3920 * Sat Feb 17 2001 Jakub Jelinek <jakub@redhat.com>
3921 - make glibc require particular version of glibc-common
3922 and glibc-common prerequire glibc.
3924 * Fri Feb 16 2001 Jakub Jelinek <jakub@redhat.com>
3925 - glibc 2.2.2 release
3926 - fix regex REG_ICASE bug seen in ksymoops
3928 * Sat Feb 10 2001 Jakub Jelinek <jakub@redhat.com>
3929 - fix regexec leaking memory (#26864)
3931 * Fri Feb 9 2001 Jakub Jelinek <jakub@redhat.com>
3932 - update from CVS
3933 - fix ia64 build with gnupro
3934 - make regex 64bit clean
3935 - fix tgmath make check failures on alpha
3937 * Tue Feb 6 2001 Jakub Jelinek <jakub@redhat.com>
3938 - update again for ia64 DF_1_INITFIRST
3940 * Fri Feb 2 2001 Jakub Jelinek <jakub@redhat.com>
3941 - update from CVS
3942 - fix getaddrinfo (#25437)
3943 - support DF_1_INITFIRST (#25029)
3945 * Wed Jan 24 2001 Jakub Jelinek <jakub@redhat.com>
3946 - build all auxiliary arches with --enablekernel 2.4.0, those wanting
3947 to run 2.2 kernels can downgrade to the base architecture glibc.
3949 * Sat Jan 20 2001 Jakub Jelinek <jakub@redhat.com>
3950 - remove %%lang() flags from %%{_prefix}/lib/locale files temporarily
3952 * Sun Jan 14 2001 Jakub Jelinek <jakub@redhat.com>
3953 - update to 2.2.1 final
3954 - fix a pthread_kill_other_threads_np breakage (#23966)
3955 - make static binaries using dlopen work on ia64 again
3956 - fix a typo in glibc-common group
3958 * Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
3959 - devel requires glibc = %%{version}
3960 - noreplace /etc/nscd.conf
3962 * Wed Jan 10 2001 Jakub Jelinek <jakub@redhat.com>
3963 - some more security fixes:
3964 - don't look up LD_PRELOAD libs in cache for SUID apps
3965 (because that bypasses SUID bit checking on the library)
3966 - place output files for profiling SUID apps into /var/profile,
3967 use O_NOFOLLOW for them
3968 - add checks for $MEMUSAGE_OUTPUT and $SEGFAULT_OUTPUT_NAME
3969 - hardlink identical locale files together
3970 - add %%lang() tags to locale stuff
3971 - remove ko_KR.utf8 for now, it is provided by locale-utf8 package
3973 * Mon Jan 8 2001 Jakub Jelinek <jakub@redhat.com>
3974 - add glibc-common subpackage
3975 - fix alphaev6 memcpy (#22494)
3976 - fix sys/cdefs.h (#22908)
3977 - don't define stdin/stdout/stderr as macros for -traditional (#22913)
3978 - work around a bug in IBM JDK (#22932, #23012)
3979 - fix pmap_unset when network is down (#23176)
3980 - move nscd in rc.d before netfs on shutdown
3981 - fix $RESOLV_HOST_CONF in SUID apps (#23562)
3983 * Fri Dec 15 2000 Jakub Jelinek <jakub@redhat.com>
3984 - fix ftw and nftw
3986 * Wed Dec 13 2000 Jakub Jelinek <jakub@redhat.com>
3987 - fix fcvt (#22184)
3988 - ldd /lib/ld-linux.so.2 is not crashing any longer again (#22197)
3989 - fix gencat
3991 * Mon Dec 11 2000 Jakub Jelinek <jakub@redhat.com>
3992 - fix alpha htonl and alphaev6 stpcpy
3994 * Sat Dec 9 2000 Jakub Jelinek <jakub@redhat.com>
3995 - update to CVS to:
3996 - fix getnameinfo (#21934)
3997 - don't stomp on memory in rpath handling (#21544)
3998 - fix setlocale (#21507)
3999 - fix libNoVersion.so.1 loading code (#21579)
4000 - use auxarches define in spec file for auxiliary
4001 architectures (#21219)
4002 - remove /usr/share directory from filelist (#21218)
4004 * Sun Nov 19 2000 Jakub Jelinek <jakub@redhat.com>
4005 - update to CVS to fix getaddrinfo
4007 * Fri Nov 17 2000 Jakub Jelinek <jakub@redhat.com>
4008 - update to CVS to fix freopen
4009 - remove all alpha workarounds, not needed anymore
4011 * Wed Nov 15 2000 Jakub Jelinek <jakub@redhat.com>
4012 - fix dladdr bug on alpha/sparc32/sparc64
4013 - fix Makefiles so that they run static tests properly
4015 * Tue Nov 14 2000 Jakub Jelinek <jakub@redhat.com>
4016 - update to CVS to fix ldconfig
4018 * Thu Nov 9 2000 Jakub Jelinek <jakub@redhat.com>
4019 - update to glibc 2.2 release
4021 * Mon Nov 6 2000 Jakub Jelinek <jakub@redhat.com>
4022 - update to CVS to:
4023 - export __sysconf@@GLIBC_2.2 (#20417)
4025 * Fri Nov 3 2000 Jakub Jelinek <jakub@redhat.com>
4026 - merge to 2.1.97
4028 * Mon Oct 30 2000 Jakub Jelinek <jakub@redhat.com>
4029 - update to CVS, including:
4030 - fix WORD_BIT/LONG_BIT definition in limits.h (#19088)
4031 - fix hesiod (#19375)
4032 - set LC_MESSAGES in zic/zdump for proper error message output (#19495)
4033 - fix LFS fcntl when used with non-LFS aware kernels (#19730)
4035 * Thu Oct 19 2000 Jakub Jelinek <jakub@redhat.com>
4036 - fix alpha semctl (#19199)
4037 - update to CVS, including:
4038 - fix glibc headers for Compaq non-gcc compilers
4039 - fix locale alias handling code (#18832)
4040 - fix rexec on little endian machines (#18886)
4041 - started writing changelog again
4043 * Thu Aug 10 2000 Adrian Havill <havill@redhat.com>
4044 - added ja ujis alias for backwards compatibility