2.4.90-1
[glibc.git] / fedora / glibc.spec.in
blobf253d2d61987ce748868a9aa793c25057ae962a5
1 %define glibcrelease 1
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
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 # BUILD THE FILE LIST
958 find $RPM_BUILD_ROOT -type f -or -type l |
959 sed -e 's|.*/etc|%config &|' \
960 -e 's|.*/gconv/gconv-modules$|%verify(not md5 size mtime) %config(noreplace) &|' \
961 -e 's|.*/gconv/gconv-modules.cache|%verify(not md5 size mtime) &|' \
962 -e '/lib\/debug/d' > rpm.filelist.in
963 for n in %{_prefix}/share %{_prefix}/include %{_prefix}/lib/locale; do
964 find ${RPM_BUILD_ROOT}${n} -type d | \
965 grep -v '%{_prefix}/share$' | \
966 grep -v '%{_infodir}' | \
967 sed "s/^/%dir /" >> rpm.filelist.in
968 done
970 # primary filelist
971 SHARE_LANG='s|.*/share/locale/\([^/_]\+\).*/LC_MESSAGES/.*\.mo|%lang(\1) &|'
972 LIB_LANG='s|.*/lib/locale/\([^/_]\+\)|%lang(\1) &|'
973 # rpm does not handle %lang() tagged files hardlinked together accross
974 # languages very well, temporarily disable
975 # LIB_LANG=''
976 sed -e "s|$RPM_BUILD_ROOT||" -e "$LIB_LANG" -e "$SHARE_LANG" < rpm.filelist.in |
977 grep -v '/etc/\(localtime\|nsswitch.conf\|ld.so.conf\|ld.so.cache\|default\)' | \
978 grep -v '/%{_lib}/lib\(pcprofile\|memusage\).so' | \
979 grep -v 'bin/\(memusage\|mtrace\|xtrace\|pcprofiledump\)' | \
980 sort > rpm.filelist
982 mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_lib}
983 mv -f $RPM_BUILD_ROOT/%{_lib}/lib{pcprofile,memusage}.so $RPM_BUILD_ROOT%{_prefix}/%{_lib}
984 for i in $RPM_BUILD_ROOT%{_prefix}/bin/{xtrace,memusage}; do
985 cp -a $i $i.tmp
986 sed -e 's~=/%{_lib}/libpcprofile.so~=%{_prefix}/%{_lib}/libpcprofile.so~' \
987 -e 's~=/%{_lib}/libmemusage.so~=%{_prefix}/%{_lib}/libmemusage.so~' \
988 $i.tmp > $i
989 chmod 755 $i; rm -f $i.tmp
990 done
992 grep '%{_infodir}' < rpm.filelist | grep -v '%{_infodir}/dir' > devel.filelist
993 grep '%{_prefix}/include/gnu/stubs-[32164]\+\.h' < rpm.filelist >> devel.filelist || :
995 grep '%{_prefix}/include' < rpm.filelist |
996 egrep -v '%{_prefix}/include/(linuxthreads|gnu/stubs-[32164]+\.h)' \
997 > headers.filelist
999 mv rpm.filelist rpm.filelist.full
1000 grep -v '%{_prefix}/%{_lib}/lib.*_p.a' rpm.filelist.full |
1001 egrep -v "(%{_prefix}/include)|(%{_infodir})" > rpm.filelist
1003 grep '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist >> devel.filelist
1004 grep '%{_prefix}/%{_lib}/.*\.o' < rpm.filelist >> devel.filelist
1005 grep '%{_prefix}/%{_lib}/lib.*\.so' < rpm.filelist >> devel.filelist
1007 mv rpm.filelist rpm.filelist.full
1008 grep -v '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist.full |
1009 grep -v '%{_prefix}/%{_lib}/.*\.o' |
1010 grep -v '%{_prefix}/%{_lib}/lib.*\.so'|
1011 grep -v '%{_prefix}/%{_lib}/linuxthreads' |
1012 grep -v 'nscd' > rpm.filelist
1014 grep '%{_prefix}/bin' < rpm.filelist >> common.filelist
1015 grep '%{_prefix}/lib/locale' < rpm.filelist >> common.filelist
1016 grep '%{_prefix}/libexec/pt_chown' < rpm.filelist >> common.filelist
1017 grep '%{_prefix}/sbin/[^gi]' < rpm.filelist >> common.filelist
1018 grep '%{_prefix}/share' < rpm.filelist \
1019 | grep -v '%{_prefix}/share/zoneinfo' >> common.filelist
1021 mv rpm.filelist rpm.filelist.full
1022 grep -v '%{_prefix}/bin' < rpm.filelist.full |
1023 grep -v '%{_prefix}/lib/locale' |
1024 grep -v '%{_prefix}/libexec/pt_chown' |
1025 grep -v '%{_prefix}/sbin/[^gi]' |
1026 grep -v '%{_prefix}/share' > rpm.filelist
1028 > nosegneg.filelist
1029 %if %{xenpackage}
1030 grep '/%{_lib}/%{nosegneg_subdir}' < rpm.filelist >> nosegneg.filelist
1031 mv rpm.filelist rpm.filelist.full
1032 grep -v '/%{_lib}/%{nosegneg_subdir}' < rpm.filelist.full > rpm.filelist
1033 %endif
1035 echo '%{_prefix}/sbin/build-locale-archive' >> common.filelist
1036 echo '%{_prefix}/sbin/tzdata-update' >> common.filelist
1037 echo '%{_prefix}/sbin/nscd' > nscd.filelist
1039 cat > utils.filelist <<EOF
1040 %{_prefix}/%{_lib}/libmemusage.so
1041 %{_prefix}/%{_lib}/libpcprofile.so
1042 %{_prefix}/bin/memusage
1043 %{_prefix}/bin/memusagestat
1044 %{_prefix}/bin/mtrace
1045 %{_prefix}/bin/pcprofiledump
1046 %{_prefix}/bin/xtrace
1049 # /etc/localtime
1050 rm -f $RPM_BUILD_ROOT/etc/localtime
1051 cp -f $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime
1052 #ln -sf ..%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime
1054 rm -rf $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo
1056 cd fedora
1057 $GCC -Os -static -o build-locale-archive build-locale-archive.c \
1058 ../build-%{nptl_target_cpu}-linuxnptl/locale/locarchive.o \
1059 ../build-%{nptl_target_cpu}-linuxnptl/locale/md5.o \
1060 -DDATADIR=\"%{_datadir}\" -DPREFIX=\"%{_prefix}\" \
1061 -L../build-%{nptl_target_cpu}-linuxnptl
1062 install -m 700 build-locale-archive $RPM_BUILD_ROOT/usr/sbin/build-locale-archive
1063 $GCC -Os -static -o tzdata-update tzdata-update.c \
1064 -L../build-%{nptl_target_cpu}-linuxnptl
1065 install -m 700 tzdata-update $RPM_BUILD_ROOT/usr/sbin/tzdata-update
1066 cd ..
1068 # the last bit: more documentation
1069 rm -rf documentation
1070 mkdir documentation
1071 cp crypt/README.ufc-crypt documentation/README.ufc-crypt
1072 cp timezone/README documentation/README.timezone
1073 cp ChangeLog{,.14,.15} documentation
1074 bzip2 -9 documentation/ChangeLog*
1076 %ifarch s390x
1077 # Compatibility symlink
1078 mkdir -p $RPM_BUILD_ROOT/lib
1079 ln -sf /%{_lib}/ld64.so.1 $RPM_BUILD_ROOT/lib/ld64.so.1
1080 %endif
1081 %ifarch ia64
1082 %if "%{_lib}" == "lib64"
1083 # Compatibility symlink
1084 mkdir -p $RPM_BUILD_ROOT/lib
1085 ln -sf /%{_lib}/ld-linux-ia64.so.2 $RPM_BUILD_ROOT/lib/ld-linux-ia64.so.2
1086 %endif
1087 %endif
1089 # Increase timeouts
1090 export TIMEOUTFACTOR=16
1091 echo ====================TESTING=========================
1092 cd build-%{nptl_target_cpu}-linuxnptl
1093 make %{?_smp_mflags} -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
1094 cd ..
1095 %if %{buildxen}
1096 echo ====================TESTING -mno-tls-direct-seg-refs=============
1097 cd build-%{nptl_target_cpu}-linuxnptl-nosegneg
1098 make -j$numprocs -k check PARALLELMFLAGS=-s 2>&1 | tee check.log || :
1099 cd ..
1100 %endif
1101 echo ====================TESTING DETAILS=================
1102 for i in `sed -n 's|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p' build-*-linux*/check.log`; do
1103 echo =====$i=====
1104 cat $i || :
1105 echo ============
1106 done
1107 echo ====================TESTING END=====================
1108 PLTCMD='/^Relocation section .*\(\.rela\?\.plt\|\.rela\.IA_64\.pltoff\)/,/^$/p'
1109 echo ====================PLT RELOCS LD.SO================
1110 readelf -Wr $RPM_BUILD_ROOT/%{_lib}/ld-*.so | sed -n -e "$PLTCMD"
1111 echo ====================PLT RELOCS LIBC.SO==============
1112 readelf -Wr $RPM_BUILD_ROOT/%{_lib}/libc-*.so | sed -n -e "$PLTCMD"
1113 echo ====================PLT RELOCS END==================
1115 %if "%{_enable_debug_packages}" == "1"
1117 case "$-" in *x*) save_trace=yes;; esac
1118 set +x
1119 echo Building debuginfo subpackage...
1121 blf=debugfiles.list
1122 sf=debugsources.list
1123 cblf=debugcommonfiles.list
1124 csf=debugcommonsources.list
1126 echo -n > $sf
1127 echo -n > $csf
1129 strip $RPM_BUILD_ROOT/{sbin/ldconfig,usr/sbin/glibc_post_upgrade.%{_target_cpu},usr/sbin/build-locale-archive}
1131 # Strip ELF binaries
1132 for f in `cat rpm.filelist nosegneg.filelist \
1133 | grep -v '%%\(dir\|lang\|config\|verify\)'`; do
1134 bf=$RPM_BUILD_ROOT$f
1135 if [ -f $bf -a -x $bf -a ! -h $bf ]; then
1136 if `file $bf 2>/dev/null | grep 'ELF.*, not stripped' | grep -vq 'statically linked'`; then
1137 bd=`dirname $f`
1138 outd=$RPM_BUILD_ROOT/usr/lib/debug$bd
1139 mkdir -p $outd
1140 echo extracting debug info from $f
1141 /usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug -l $sf $bf
1142 bn=`basename $f`
1143 case $f in
1144 /%{_lib}/*) eu-strip -g -f $outd/$bn.debug $bf || :;;
1145 *) eu-strip -f $outd/$bn.debug $bf || :;;
1146 esac
1147 if [ -f $outd/$bn.debug ]; then echo /usr/lib/debug$bd/$bn.debug >> $blf; fi
1150 done
1152 for f in `cat common.filelist utils.filelist nscd.filelist \
1153 | grep -v '%%\(dir\|lang\|config\|verify\)'`; do
1154 bf=$RPM_BUILD_ROOT$f
1155 if [ -f $bf -a -x $bf -a ! -h $bf ]; then
1156 if `file $bf 2>/dev/null | grep 'ELF.*, not stripped' | grep -vq 'statically linked'`; then
1157 bd=`dirname $f`
1158 outd=$RPM_BUILD_ROOT/usr/lib/debug$bd
1159 mkdir -p $outd
1160 echo extracting debug info from $f
1161 /usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug -l $csf $bf
1162 bn=`basename $f`
1163 eu-strip -f $outd/$bn.debug $bf || :
1164 if [ -f $outd/$bn.debug ]; then echo /usr/lib/debug$bd/$bn.debug >> $cblf; fi
1167 done
1169 for f in `find $RPM_BUILD_ROOT/%{_lib} -type l`; do
1170 l=`ls -l $f`
1171 l=${l#* -> }
1172 t=/usr/lib/debug`dirname ${f#$RPM_BUILD_ROOT}`
1173 if grep -q "^$t/$l.debug\$" $blf; then
1174 ln -sf $l.debug $RPM_BUILD_ROOT$t/`basename $f`.debug
1175 echo $t/`basename $f`.debug >> $blf
1176 elif grep -q "^$t.debug/$l\$" $cblf; then
1177 ln -sf $l.debug $RPM_BUILD_ROOT$t/`basename $f`.debug
1178 echo $t/`basename $f`.debug >> $cblf
1180 done
1182 echo Sorting source file lists. Might take a while...
1183 xargs -0 -n 1 echo < $sf | LC_ALL=C grep -v '/<internal>$\|\.gperf$' | LC_ALL=C sort -u > $sf.sorted
1184 xargs -0 -n 1 echo < $csf | LC_ALL=C grep -v '/<internal>$\|\.gperf$' | LC_ALL=C sort -u > $csf.sorted
1185 mkdir -p $RPM_BUILD_ROOT/usr/src/debug
1186 cat $sf.sorted $csf.sorted \
1187 | (cd $RPM_BUILD_DIR; LC_ALL=C sort -u | cpio -pdm ${RPM_BUILD_ROOT}/usr/src/debug)
1188 # stupid cpio creates new directories in mode 0700, fixup
1189 find $RPM_BUILD_ROOT/usr/src/debug -type d -print | xargs chmod a+rx
1191 %ifarch %{debuginfocommonarches}
1192 %ifarch %{auxarches}
1193 %ifarch %{ix86}
1194 %define basearch i386
1195 %endif
1196 %ifarch alpha alphaev6
1197 %define basearch alpha
1198 %endif
1199 %ifarch sparc sparcv9
1200 %define basearch sparc
1201 %endif
1202 cat $blf > debuginfo.filelist
1203 find $RPM_BUILD_ROOT/usr/src/debug/%{glibcsrcdir} -type d \
1204 | sed "s#^$RPM_BUILD_ROOT#%%dir #" >> debuginfo.filelist
1205 grep '/generic/\|/linux/\|/%{basearch}/\|/nptl\(_db\)\?/\|^%{glibcsrcdir}/build' \
1206 $sf.sorted | sed 's|^|/usr/src/debug/|' >> debuginfo.filelist
1207 touch debuginfocommon.filelist
1208 %else
1209 ( grep '^%{glibcsrcdir}/build-\|dl-osinfo\.h' $csf.sorted || : ) > $csf.sorted.build
1210 cat $blf > debuginfo.filelist
1211 cat $cblf > debuginfocommon.filelist
1212 grep '^%{glibcsrcdir}/build-\|dl-osinfo\.h' $sf.sorted \
1213 | sed 's|^|/usr/src/debug/|' >> debuginfo.filelist
1214 find $RPM_BUILD_ROOT/usr/src/debug/%{glibcsrcdir} -type d \
1215 | sed "s#^$RPM_BUILD_ROOT#%%dir #" >> debuginfocommon.filelist
1216 ( cat $csf.sorted; grep -v -f $csf.sorted.build $sf.sorted ) \
1217 | grep -v 'dl-osinfo\.h' | LC_ALL=C sort -u \
1218 | sed 's|^|/usr/src/debug/|' >> debuginfocommon.filelist
1219 %endif
1220 %else
1221 cat $blf $cblf | LC_ALL=C sort -u > debuginfo.filelist
1222 echo '/usr/src/debug/%{glibcsrcdir}' >> debuginfo.filelist
1223 %endif
1225 [ "x$save_trace" = xyes ] && set -x
1227 %endif
1229 %ifarch %{auxarches}
1230 case "$-" in *x*) save_trace=yes;; esac
1231 set +x
1232 echo Cutting down the list of unpackaged files
1233 for i in `sed '/%%dir/d;/%%config/d;/%%verify/d;s/%%lang([^)]*) //' \
1234 common.filelist devel.filelist headers.filelist \
1235 utils.filelist nscd.filelist`; do
1236 [ -f "$RPM_BUILD_ROOT$i" ] && rm -f "$RPM_BUILD_ROOT$i" || :
1237 done
1238 [ "x$save_trace" = xyes ] && set -x
1240 %else
1242 mkdir -p $RPM_BUILD_ROOT/var/{db,run}/nscd
1243 touch $RPM_BUILD_ROOT/var/{db,run}/nscd/{passwd,group,hosts}
1244 touch $RPM_BUILD_ROOT/var/run/nscd/{socket,nscd.pid}
1245 %endif
1247 touch $RPM_BUILD_ROOT/%{_prefix}/lib/locale/locale-archive
1249 %post -p /usr/sbin/glibc_post_upgrade.%{_target_cpu}
1251 %postun -p /sbin/ldconfig
1253 %post common -p /usr/sbin/build-locale-archive
1255 %triggerin common -p /usr/sbin/tzdata-update -- tzdata
1257 %post devel
1258 /sbin/install-info %{_infodir}/libc.info.gz %{_infodir}/dir
1260 %pre headers
1261 # this used to be a link and it is causing nightmares now
1262 if [ -L %{_prefix}/include/scsi ] ; then
1263 rm -f %{_prefix}/include/scsi
1266 %preun devel
1267 if [ "$1" = 0 ]; then
1268 /sbin/install-info --delete %{_infodir}/libc.info.gz %{_infodir}/dir
1271 %post utils -p /sbin/ldconfig
1273 %postun utils -p /sbin/ldconfig
1275 %pre -n nscd
1276 /usr/sbin/useradd -M -o -r -d / -s /sbin/nologin \
1277 -c "NSCD Daemon" -u 28 nscd > /dev/null 2>&1 || :
1279 %post -n nscd
1280 /sbin/chkconfig --add nscd
1282 %preun -n nscd
1283 if [ $1 = 0 ] ; then
1284 service nscd stop > /dev/null 2>&1
1285 /sbin/chkconfig --del nscd
1288 %postun -n nscd
1289 if [ $1 = 0 ] ; then
1290 /usr/sbin/userdel nscd > /dev/null 2>&1 || :
1292 if [ "$1" -ge "1" ]; then
1293 service nscd condrestart > /dev/null 2>&1 || :
1296 %if %{xenpackage}
1297 %post xen -p /sbin/ldconfig
1298 %postun xen -p /sbin/ldconfig
1299 %endif
1301 %clean
1302 rm -rf "$RPM_BUILD_ROOT"
1303 rm -f *.filelist*
1305 %files -f rpm.filelist
1306 %defattr(-,root,root)
1307 %if %{buildxen} && !%{xenpackage}
1308 %dir /%{_lib}/%{nosegneg_subdir}
1309 %endif
1310 %ifarch s390x
1311 %dir /lib
1312 /lib/ld64.so.1
1313 %endif
1314 %ifarch ia64
1315 %if "%{_lib}" == "lib64"
1316 %dir /lib
1317 /lib/ld-linux-ia64.so.2
1318 %endif
1319 %endif
1320 %verify(not md5 size mtime) %config(noreplace) /etc/localtime
1321 %verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf
1322 %verify(not md5 size mtime) %config(noreplace) /etc/ld.so.conf
1323 %dir /etc/ld.so.conf.d
1324 %dir %{_prefix}/libexec/getconf
1325 %dir %{_prefix}/%{_lib}/gconv
1326 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
1327 %doc README NEWS INSTALL FAQ BUGS NOTES PROJECTS CONFORMANCE
1328 %doc COPYING COPYING.LIB README.libm LICENSES
1329 %doc hesiod/README.hesiod
1331 %if %{xenpackage}
1332 %files -f nosegneg.filelist xen
1333 %defattr(-,root,root)
1334 %dir /%{_lib}/%{nosegneg_subdir}
1335 %endif
1337 %ifnarch %{auxarches}
1338 %files -f common.filelist common
1339 %defattr(-,root,root)
1340 %attr(0644,root,root) %verify(not md5 size mtime mode) %ghost %config(missingok,noreplace) %{_prefix}/lib/locale/locale-archive
1341 %dir %attr(755,root,root) /etc/default
1342 %verify(not md5 size mtime) %config(noreplace) /etc/default/nss
1343 %doc documentation/*
1345 %files -f devel.filelist devel
1346 %defattr(-,root,root)
1348 %files -f headers.filelist headers
1349 %defattr(-,root,root)
1351 %files -f utils.filelist utils
1352 %defattr(-,root,root)
1354 %files -f nscd.filelist -n nscd
1355 %defattr(-,root,root)
1356 %config(noreplace) /etc/nscd.conf
1357 %config /etc/rc.d/init.d/nscd
1358 %dir %attr(0755,root,root) /var/run/nscd
1359 %dir %attr(0755,root,root) /var/db/nscd
1360 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/nscd.pid
1361 %attr(0666,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/socket
1362 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/passwd
1363 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/group
1364 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/hosts
1365 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/passwd
1366 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/group
1367 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/hosts
1368 %ghost %config(missingok,noreplace) /etc/sysconfig/nscd
1369 %endif
1371 %if "%{_enable_debug_packages}" == "1"
1372 %files debuginfo -f debuginfo.filelist
1373 %defattr(-,root,root)
1374 %ifarch %{debuginfocommonarches}
1375 %ifnarch %{auxarches}
1376 %files debuginfo-common -f debuginfocommon.filelist
1377 %defattr(-,root,root)
1378 %dir %{_prefix}/lib/debug
1379 %dir %{_prefix}/lib/debug/%{_prefix}
1380 %dir %{_prefix}/lib/debug/%{_prefix}/%{_lib}
1381 %{_prefix}/lib/debug/%{_prefix}/%{_lib}/*.a
1382 %endif
1383 %else
1384 %dir %{_prefix}/lib/debug
1385 %dir %{_prefix}/lib/debug/%{_prefix}
1386 %dir %{_prefix}/lib/debug/%{_prefix}/%{_lib}
1387 %{_prefix}/lib/debug/%{_prefix}/%{_lib}/*.a
1388 %endif
1389 %endif
1391 %changelog
1392 * Tue Apr 25 2006 Jakub Jelinek <jakub@redhat.com> 2.4.90-1
1393 - update from CVS
1395 * Mon Apr 24 2006 Jakub Jelinek <jakub@redhat.com> 2.4-6
1396 - update from CVS
1397 - NIS+ fixes
1398 - don't segfault on too large argp key values (#189545)
1399 - getaddrinfo fixes for RFC3484 (#188364)
1401 * Tue Mar 28 2006 Jakub Jelinek <jakub@redhat.com> 2.4-5
1402 - update from CVS
1403 - pshared robust mutex support
1404 - fix btowc and bwtoc in C++ (#186410)
1405 - fix NIS+ (#186592)
1406 - don't declare __wcsto*l_internal for non-GCC or if not -O1+ (#185667)
1407 - don't mention nscd failures on 2.0 kernels (#185335)
1409 * Tue Mar 7 2006 Roland McGrath <roland@redhat.com> 2.4-4
1410 - back up %%{ix86} gdb conflicts to < 6.3.0.0-1.111
1412 * Tue Mar 7 2006 Jakub Jelinek <jakub@redhat.com> 2.4-3
1413 - really fix rintl on ppc64
1415 * Tue Mar 7 2006 Jakub Jelinek <jakub@redhat.com> 2.4-2
1416 - accurate unwind info for lowlevellock.h stubs on %%{ix86}
1417 - fix ppc/ppc64 ceill, floorl, rintl, roundl and truncl (BZ#2423)
1419 * Mon Mar 6 2006 Jakub Jelinek <jakub@redhat.com> 2.4-1
1420 - update from CVS
1421 - glibc 2.4 release
1423 * Mon Mar 6 2006 Jakub Jelinek <jakub@redhat.com> 2.3.91-2
1424 - update from CVS
1425 - fix sYSMALLOc for MALLOC_ALIGNMENT > 2 * SIZE_SZ (#183895)
1426 - revert ppc32 malloc alignment patch, it breaks malloc_set_state
1427 and needs some further thoughts and time (#183894)
1428 - provide accurate unwind info for lowlevellock.h stubs on x86_64
1430 * Thu Mar 2 2006 Jakub Jelinek <jakub@redhat.com> 2.3.91-1
1431 - update from CVS
1432 - fixes for various arches
1433 - ensure malloc returns pointers aligned to at least
1434 MIN (2 * sizeof (size_t), __alignof__ (long double))
1435 (only on ppc32 this has not been the case lately with addition
1436 of 128-bit long double, #182742)
1438 * Wed Mar 1 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-39
1439 - update from CVS
1441 * Fri Feb 17 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-38
1442 - update from CVS
1443 - robust mutexes rewrite
1445 * Mon Feb 13 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-37
1446 - update from CVS
1447 - *at fixes
1448 - unshare syscall wrapper
1450 * Sat Feb 4 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-36
1451 - update from CVS
1452 - fix frequency setting for ITIMER_PROF (#179938, BZ#2268)
1453 - fix powerpc inline fegetround ()
1454 - fix nptl_db (#179946)
1456 * Fri Feb 3 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-35
1457 - update from CVS
1458 - handle futimesat (fd, NULL, tvp) as futimes (fd, tvp)
1459 - fix <stdlib.h> q{e,f,g}cvt{,_r} for -mlong-double-64
1461 * Thu Feb 2 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-34
1462 - fix <math.h> with C++ and -mlong-double-64 (#179742)
1463 - add nexttowardl redirect for -mlong-double-64
1465 * Thu Feb 2 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-33
1466 - update from CVS
1467 - long double support fixes
1469 * Wed Feb 1 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-32
1470 - update from CVS
1471 - 128-bit long double fixes for ppc{,64}, s390{,x} and sparc{,v9},
1472 alpha 128-bit long double support
1473 - add inotify syscall numbers to the override <asm/unistd.h> headers
1474 (#179366)
1476 * Mon Jan 30 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-31
1477 - update from CVS
1478 - 128-bit long double on ppc, ppc64, s390, s390x and sparc{,v9}
1479 - add some new syscall numbers to the override <asm/unistd.h>
1480 headers
1482 * Mon Jan 9 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-30
1483 - update from CVS
1484 - <pthread.h> initializer fixes for -std=c{8,9}9 on 32-bit
1485 arches
1486 - avoid writable .rodata (#177121)
1488 * Fri Jan 6 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-29
1489 - update from CVS
1490 - make pthread_mutex_t an unnamed union again, as it affects
1491 libstdc++ ABI mangling
1493 * Fri Jan 6 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-28
1494 - update from CVS
1495 - make aio_suspend interruptible by signals (#171968)
1497 * Fri Jan 6 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-27
1498 - only rely on d_type in 32-bit getdents on s390 for 2.6.11+
1500 * Wed Jan 4 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-26
1501 - update from CVS
1502 - for newly linked lio_listio* callers, send per request
1503 notifications (#170116)
1504 - fixup nscd -S option removal changes (#176860)
1505 - remove nonnull attribute from ctermid (#176753)
1506 - fix PTHREAD_*_INITIALIZER{,_NP} on 64-bit arches
1507 - SPARC NPTL support for pre-v9 CPUs
1508 - drop support for 2.4.xx and < 2.6.9 kernels
1510 * Mon Jan 2 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-25
1511 - update from CVS
1512 - s390{,x} and sparc{,64} pointer mangling fixes
1513 - install a sanitized LinuxThreads <bits/libc-lock.h>
1515 * Mon Jan 2 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-24
1516 - update from CVS
1517 - nscd audit changes (#174422)
1518 - ppc{32,64} vDSO support and ppc32 hp-timing
1520 * Tue Dec 27 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-23
1521 - update from CVS
1522 - robust mutexes
1523 - fix transliteration segfaults (#176573, #176583)
1524 - ignore prelink temporaries in ldconfig (#176570)
1526 * Wed Dec 21 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-22
1527 - update from CVS
1528 - minor fts fixes
1529 - revert broken _Pragma () workaround
1530 - fix ldconfig on bi-arch architectures (#176316)
1532 * Tue Dec 20 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-21
1533 - update from CVS
1534 - fix pointer (de)mangling in gconv_cache.c
1536 * Tue Dec 20 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-20
1537 - update from CVS
1538 - time ((void *) 1) should segfault, not return -EFAULT (#174856, BZ#1952)
1539 - fix errlist generation
1540 - update ulps for GCC 4.1 on IA-64
1542 * Mon Dec 19 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-19
1543 - update from CVS
1544 - sysdeps/generic reorg
1545 - setjmp/longjmp jump pointer mangling
1546 - rebuilt with GCC 4.1-RH prerelease, worked around broken _Pragma ()
1547 handling in it
1548 - remove glibc-profile subpackage
1549 - use non-PLT calls for malloc/free/realloc/memalign invocations in
1550 mtrace and mcheck hooks (#175261)
1551 - setjmp/longjmp jump pointer mangling on ppc{,64}/ia64/s390{,x}
1553 * Sat Nov 19 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-18
1554 - update from CVS
1555 - change <sys/stat.h> for broken apps that #define const /**/,
1556 handle non-GCC compilers
1557 - fix ppc{32,64} strncmp (BZ#1877, #173643, IT#83510)
1558 - provide shmatt_t typedef in ia64 <sys/shm.h (#173680)
1559 - support 2nd arg to futimesat being NULL (#173581)
1561 * Wed Nov 16 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-17
1562 - update from CVS
1563 - fix <sys/stat.h> in C++
1564 - {fstat,fchown,rename,unlink}at fixes
1565 - epoll_wait is now a cancellation point
1567 * Tue Nov 15 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-16
1568 - update from CVS
1569 - make sure waitid syscall is used on ppc*/s390*
1571 * Thu Oct 20 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-15
1572 - update from CVS
1573 - be permissive in %n check because of kernel bug #165351 (#171240)
1574 - don't misalign stack in pthread_once on x86_64 (#170786, IT#81521)
1575 - many locale fixes
1577 * Mon Oct 10 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-14
1578 - update from CVS
1579 - fix malloc bug after fork introduced in the last update
1580 - fix getent hosts IP for IPv4 IPs (#169831)
1582 * Mon Oct 3 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-13
1583 - update from CVS
1584 - fix setuid etc. hangs if some thread exits during the call (#167766)
1585 - fix innetgr memory leak (#169051)
1586 - support > 2GB nscd log files (#168851)
1587 - too many other changes to list here
1588 - include errno in nscd message if audit_open failed (#169148)
1590 * Mon Sep 12 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-12
1591 - update from CVS
1592 - netgrp handling fixes (#167728)
1593 - fix memory leak in setlocale (BZ#1318)
1594 - fix hwcaps computation
1595 - several regex portability improvements (#167019)
1596 - hypotf fix
1597 - fix *printf return code if underlying write fails (BZ#1146)
1598 - PPC64 dl{,v}sym fixes for new ABI .opd symbols
1599 - fix calloc with MALLOC_PERTURB_ in environment on 64-bit architectures
1600 (#166719)
1601 - source /etc/sysconfig/nscd (if it exists) in /etc/rc.d/init.d/nscd
1602 (#167083)
1603 - add %%triggerin for tzdata to glibc-common, so that tzdata updates
1604 update /etc/localtime and /var/spool/postfix/etc/localtime if they
1605 exist (#167787)
1607 * Mon Aug 29 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-11
1608 - FUTEX_WAKE_OP support to speed up pthread_cond_signal
1610 * Wed Aug 24 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-10
1611 - update from CVS
1612 - fix growing of nscd persistent database (BZ#1204)
1613 - fix _FORTIFY_SOURCE mbstowcs and wcstombs if destination size
1614 is known at compile time, but length argument is not
1616 * Mon Aug 22 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-9
1617 - update from CVS
1618 - fix resolving over TCP (#161181, #165802)
1619 - on ia64 don't abort on unhandled math function exception codes
1620 (#165693)
1622 * Mon Aug 8 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-8
1623 - update from CVS
1624 - nscd persistent database verifier (#164001)
1625 - cleanup _FORTIFY_SOURCE bits/*.h headers (#165000)
1626 - handle EINTR in sigwait properly
1627 - make sure poor man's stack guard randomization keeps first
1628 byte 0 even on big-endian 32-bit arches
1629 - fix {elf,nptl}/tst-stackguard1
1630 - obsolete linuxthreads-devel in glibc-devel
1632 * Fri Jul 29 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-7
1633 - update from CVS
1634 - do some poor man's stack guard randomization even without
1635 the costly --enable-stackguard-randomization
1636 - rebuilt with new GCC to make it use -msecure-plt on PPC32
1638 * Mon Jul 25 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-6
1639 - update from CVS
1640 - fix execvp if PATH is not in environment and the call is going
1641 to fail (BZ#1125)
1642 - another bits/wchar2.h fix (#163990)
1644 * Fri Jul 22 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-5
1645 - update from CVS
1646 - fix stubs.h generation
1647 - don't use _G_va_list in bits/wchar2.h
1649 * Fri Jul 22 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-4
1650 - update from CVS
1651 - make sure bits/wchar2.h header is installed
1652 - fix __getgroups_chk return type
1654 * Thu Jul 21 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-3
1655 - update from CVS
1656 - make sure nscd cmsg buffers aren't misaligned, handle EINTR from
1657 poll when contacting nscd more gracefully
1658 - remove malloc attribute from posix_memalign
1659 - correctly size nscd buffer for grpcache key (#163538)
1660 - fix atan2f
1661 - fix error memory leaks
1662 - some more _FORTIFY_SOURCE protection
1664 * Fri Jul 8 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-2
1665 - update from CVS
1666 - ia64 stack protector support
1667 - handle DNS referral results as server errors (#162625)
1668 - ctan{,h}{,f,l} fixes (#160759)
1669 - pass argc, argv and envp also to executable's *ni_array
1670 functions (BZ#974)
1671 - add ellipsis to clone prototype (#161593)
1672 - fix glibc-profile (#162601)
1673 - nss_compat fixes
1674 - use sysdeps/generic version of <bits/stdio-lock.h> in installed
1675 headers instead of NPTL version (#162634)
1677 * Mon Jun 27 2005 Jakub Jelinek <jakub@redhat.com> 2.3.90-1
1678 - update from CVS
1679 - stack protector support
1680 - fix xdr_{,u_}{longlong_t,hyper} on 64-bit arches (#161583)
1681 - enable @GLIBC_2.4 symbols
1682 - remove linuxthreads
1684 * Mon Jun 20 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-11
1685 - update from CVS
1686 - PPC32 -msecure-plt support
1687 - support classes keyword in /etc/hesiod.conf (#150350)
1688 - add RLIMIT_NICE and RLIMIT_RTPRIO to <sys/resources.h> (#157049)
1689 - decrease number of .plt relocations in libc.so
1690 - use -laudit in nscd (#159217)
1691 - handle big amounts of networking interfaces in getifaddrs/if_nameindex
1692 (#159399)
1693 - fix pa_IN locale's am_pm (#158715, BZ#622)
1694 - fix debugging of PIEs
1696 * Mon May 30 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-10
1697 - fix LD_ASSUME_KERNEL (since 2.3.5-8 GLRO(dl_osversion)
1698 has been always overwritten with the version of currently
1699 running kernel)
1700 - remove linuxthreads man pages other than those covered in
1701 3p section, as 3p man pages are far better quality and describe
1702 POSIX behaviour that NPTL implements (#159084)
1704 * Tue May 24 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-9
1705 - update from CVS
1706 - increase bindresvport's LOWPORT to 512, apparently some
1707 broken daemons don't think 0 .. 511 ports are reserved
1709 * Mon May 23 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-8
1710 - update from CVS
1711 - fix kernel version check in ld.so
1712 - fix sendfile{,64} prototypes (BZ#961)
1713 - try more ports in bindresvport if all 600..1023 are
1714 used, don't use priviledged ports when talking to portmap
1715 (#141773)
1717 * Fri May 20 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-7
1718 - update from CVS
1719 - make regexec thread safe (BZ#934)
1720 - fix statically linked programs on i?86, x86_64, s390* and
1721 sparc* (#158027)
1722 - fix IBM939 iconv module (BZ#955)
1724 * Wed May 4 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-6
1725 - update from CVS
1726 - fix cancellation on i?86
1727 - add call frame information to i?86 assembly
1729 * Tue May 3 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-5
1730 - update from CVS
1731 - add some more UTF-8 locales (#156115)
1732 - clean up /lib64/tls instead of /lib/tls on x86-64, s390x and
1733 ppc64 in glibc_post_upgrade (#156656)
1734 - fix posix_fallocate{,64} (#156289)
1736 * Thu Apr 28 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-4
1737 - update from CVS
1738 - fix nscd cache pruning (#150748)
1740 * Wed Apr 27 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-3
1741 - update from CVS
1742 - fix linuxthreads clocks
1743 - put xen libs into the glibc-2*.i686 package instead of a separate one
1744 - fix librt.so symlink in linuxthreads-devel
1745 - do not include linuxthreads-devel on %{auxarches},
1746 just on the base architectures
1748 * Wed Apr 27 2005 Jakub Jelinek <jakub@redhat.com> 2.3.5-2
1749 - update from CVS
1750 - with MALLOC_CHECK_=N N>0 (#153003)
1751 - fix recursive dlclose (#154641)
1752 - handle %z in strptime (#154804)
1753 - automatically append /%{_lib}/obsolete/linuxthreads/
1754 to standard library search path if LD_ASSUME_KERNEL=N N <= 2.4.19
1755 or for glibc 2.0 binaries (or broken ones that don't use errno/h_errno
1756 properly). Warning: all those will stop working when LinuxThreads
1757 is finally nuked, which is not very far away
1758 - remove nonnull attribute from acct prototype (BZ#877)
1759 - kernel CPU clocks support
1760 - fix *scanf in locales with multi-byte decimal point
1762 * Wed Apr 27 2005 Roland McGrath <roland@redhat.com>
1763 - glibc-xen subpackage for i686
1765 * Fri Apr 15 2005 Roland McGrath <roland@redhat.com> 2.3.5-1
1766 - update from CVS
1767 - fix execvp regression (BZ#851)
1768 - ia64 libm updates
1769 - sparc updates
1770 - fix initstate{,_r}/strfry (#154504)
1771 - grok PT_NOTE in vDSO for kernel version and extra hwcap dirs,
1772 support "hwcap" keyword in ld.so.conf files
1774 * Tue Apr 4 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-21
1775 - update from CVS
1776 - fix xdr_rmtcall_args on 64-bit arches (#151686)
1777 - fix <pthread.h> and <bits/libc-lock.h> with -std=c89 -fexceptions (#153774)
1779 * Mon Apr 4 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-20
1780 - move LinuxThreads libraries to /%{_lib}/obsolete/linuxthreads/
1781 and NPTL libraries to /%{_lib}. To run a program against LinuxThreads,
1782 LD_ASSUME_KERNEL=2.4.xx LD_LIBRARY_PATH=/%{_lib}/obsolete/linuxthreads/
1783 is now needed
1784 - bzip2 ChangeLog* files instead of gzipping them
1786 * Sat Apr 2 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-19
1787 - update from CVS
1788 - fix nextafterl and several other libm routines on ia64
1789 - fix initgroups (BZ#661)
1790 - kill nptl-devel subpackage, add linuxthreads-devel,
1791 compile and link by default against NPTL and only with
1792 -I/usr/include/linuxthreads -L/usr/%{_lib}/linuxthreads
1793 against LinuxThreads
1794 - package /usr/lib/debug/%{_lib}/tls/i{5,6}86 symlinks in
1795 i386 glibc-debuginfo
1796 - limit number of ChangeLog* files in glibc-common %%doc
1797 to last 2.5 years of changes only to save space
1799 * Fri Mar 25 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-18
1800 - fix build on 64-bit arches with new GCC
1802 * Thu Mar 24 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-17
1803 - update from CVS
1804 - fix LD_AUDIT in LinuxThreads ld.so
1805 - fix calloc with M_PERTURB
1806 - fix error handling in pthread_create with PTHREAD_EXPLICIT_SCHED
1807 on ppc*/ia64/alpha/mips (BZ#801)
1808 - fix a typo in WINDOWS-31J charmap (#151739)
1809 - fix NIS ypprot_err (#151469)
1811 * Sun Mar 20 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-16
1812 - fix pread with -D_FILE_OFFSET_BITS=64 (#151573)
1814 * Sat Mar 19 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-15
1815 - update from CVS
1816 - better fix for the dlclose bug (#145810, #150414)
1817 - fix regex crash on case insensitive search in zh_CN locale
1818 (#151215)
1819 - fix malloc_trim (BZ#779)
1820 - with -D_FORTIFY_SOURCE=*, avoid defining read and a bunch of others
1821 as function-like macros, there are too many broken programs
1822 out there
1823 - add %%dir %{_prefix}/%{_lib}/gconv to glibc's file list (#151372)
1825 * Sun Mar 6 2005 Roland McGrath <roland@redhat.com> 2.3.4-14
1826 - fix bits/socket2.h macro typos
1828 * Sat Mar 5 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-12
1829 - fix tst-chk{2,3}
1830 - fix up AS_NEEDED directive in /usr/%{_lib}/libc.so
1831 - BuildReq binutils >= 2.15.94.0.2-1 for AS_NEEDED, in
1832 glibc-devel Conflict with binutils < 2.15.94.0.2-1
1834 * Thu Mar 3 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-11
1835 - update from CVS
1836 - fix execvp (#149290)
1837 - fix dlclose (#145810)
1838 - clear padding in gconv-modules.cache (#146614, BZ#776)
1839 - rebuilt with GCC4
1840 - changed __GLIBC_MINOR__ for now back to 3
1841 - back out the newly added GLIBC_2.4 *_chk routines, instead
1842 do the checking in macros
1844 * Sat Feb 12 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-10
1845 - hopefully fix interaction with prelink (#147655)
1847 * Fri Feb 11 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-9
1848 - update from CVS
1849 - bi-arch <gnu/stubs.h> (BZ#715)
1851 * Fri Feb 11 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-8
1852 - update from CVS
1853 - bi-arch <gnu/lib-names.h> (BZ#632)
1854 - fix libdl on s390 and maybe other platforms
1855 - fix initstate{,_r} (BZ#710)
1856 - fix <gnu/stubs.h> generation (BZ#157)
1857 - define CMSPAR in bits/termios.h (#147533)
1859 * Tue Feb 8 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-7
1860 - update from CVS
1861 - fix TLS handling in linuxthreads
1863 * Tue Feb 8 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-6
1864 - update from CVS
1865 - ld.so auditing
1866 - fix segfault if chrooted app attempts to dlopen a library
1867 and no standard library directory exists at all (#147067, #144303)
1868 - fix initgroups when nscd is running, but has group caching disabled
1869 (#146588)
1870 - fix pthread_key_{create,destroy} in LinuxThreads when pthread_create
1871 has not been called yet (#146710)
1872 - fix ppc64 swapcontext and setcontext (#146736, BZ#700)
1873 - service nscd cosmetic fixes (#146776)
1874 - fix IA-32 and x86-64 stack alignment in DSO constructors (#145689)
1875 - fix zdump -v segfaults on x86-64 (#146210)
1876 - avoid calling sigaction (SIGPIPE, ...) inside syslog (#146021, IT#56686)
1877 - fix errno values for futimes (BZ#633)
1878 - unconditionally include <features.h> in malloc.h (BZ#650)
1879 - change regex \B handling to match old GNU regex as well as perl/grep's dfa
1880 (from empty string inside of word to empty string not at a word boundary,
1881 BZ#693)
1882 - slightly optimize i686 TLS accesses, use direct TLS %gs access in sem_*
1883 and allow building -mno-tls-direct-seg-refs glibc that is free of direct TLS
1884 %gs access with negative offsets
1885 - fix addseverity
1886 - fix fmemopen
1887 - fix rewinddir
1888 - increase svc{tcp,unix}_create listen backlog
1890 * Thu Jan 6 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-5
1891 - update from CVS
1892 - add some warn_unused_result marking
1893 - make ftruncate available even for just -D_POSIX_C_SOURCE=200112L
1894 (BZ#640)
1896 * Thu Jan 6 2005 Jakub Jelinek <jakub@redhat.com> 2.3.4-4
1897 - update from CVS
1898 - fix IA-32 stack alignment for LinuxThreads thread functions
1899 and functions passed to clone(2) directly
1900 - fix ecvt{,_r} on denormals (#143279)
1901 - fix __tls_get_addr typo
1902 - fix rounding in IA-64 alarm (#143710)
1903 - don't reinitialize __environ in __libc_start_main, so that
1904 effects of setenv/putenv done in DSO initializers are preserved
1905 (#144037, IT#57403)
1906 - fix fmemopen
1907 - fix vDSO l_map_end and l_text_end values
1908 - IA64 libm update (#142494)
1909 - fix ppc rint/ceil etc. (BZ#602)
1911 * Tue Dec 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.4-3
1912 - rebuilt
1914 * Mon Dec 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.4-2
1915 - work around rpm bug some more, this time by copying
1916 iconvconfig to iconvconfig.%%{_target_cpu}.
1918 * Mon Dec 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.4-1
1919 - update from CVS
1920 - glibc 2.3.4 release
1921 - add -o and --nostdlib options to iconvconfig
1922 - if /sbin/ldconfig doesn't exist when running
1923 glibc_post_upgrade.%%{_target_cpu}, just don't attempt to run it.
1924 This can happen during first install of bi-arch glibc and the
1925 other arch glibc's %post wil run /sbin/ldconfig (#143326)
1926 - use -o and --nostdlib options to create all needed
1927 gconv-modules.cache files on bi-arch setups
1929 * Sun Dec 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-99
1930 - rebuilt
1932 * Sat Dec 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-98
1933 - add .%%{_target_cpu} to glibc_post_upgrade, only run telinit u
1934 if /sbin/init is the same ELF class and machine as
1935 glibc_post_upgrade.%%{_target_cpu} and similarly with
1936 condrestarting sshd (#143046)
1938 * Fri Dec 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-97
1939 - update from CVS
1940 - fix ppc64 getcontext and swapcontext (BZ#610)
1941 - sparc/sparc64 fixes
1943 * Wed Dec 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-96
1944 - update from CVS
1945 - fix i686 __USE_STRING_INLINES strncat
1946 - make sure ppc/ppc64 maintain correct stack alignment
1947 across clone
1949 * Wed Dec 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-95
1950 - export nis_domain_of_r from libnsl.so again which was
1951 unintentionally lost
1953 * Wed Dec 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-93
1954 - update from CVS
1955 - ppc/ppc64 clone without CLONE_THREAD getpid () adjustement
1956 - fix MALLOC_CHECK_={1,2,3} for non-contiguous main arena
1957 (BZ#457)
1958 - fix sysconf (_POSIX_V6_*) for other ABI environments in
1959 bi-arch setups
1960 - s390/s390x clone without CLONE_THREAD getpid () adjustement
1962 * Tue Dec 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-92
1963 - update from CVS
1964 - fix %{_prefix}/libexec/getconf filenames generation
1966 * Tue Dec 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-91
1967 - update from CVS
1968 - double buffer size in getXXbyYY or getXXent on ERANGE
1969 instead of adding BUFLEN (#142617)
1970 - avoid busy loop in malloc if another thread is doing fork
1971 (#142214)
1972 - some more realloc corruption checks
1973 - fix getconf _POSIX_V6_WIDTH_RESTRICTED_ENVS output,
1974 tweak %{_prefix}/libexec/getconf/ filenames
1976 * Fri Dec 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-90
1977 - update from CVS
1978 - regex speedups
1979 - use | cat in ldd if running under bash3+ to allow running
1980 it on binaries that are not through SELinux allowed to access
1981 console or tty
1982 - add __NR_waitid defines for alpha and ia64
1984 * Wed Dec 8 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-89
1985 - update from CVS
1986 - fix clone2 on ia64
1987 - avoid tst-timer5 failing with linuxthreads implementation
1988 - if __libc_enable_secure, disallow mode != normal
1989 - change ldd script to imply -r when -u is used, properly
1990 propagate return value and handle suid binaries
1992 * Tue Dec 7 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-88
1993 - update from CVS
1994 - disregard LD_SHOW_AUXV and LD_DYNAMIC_WEAK if __libc_enable_secure
1995 - disregard LD_DEBUG if __libc_enable_secure in normal mode
1996 if /suid-debug doesn't exist
1997 - fix fseekpos after ungetc
1998 - avoid reading bytes before start of buffers in regex's
1999 check_dst_limits_calc_pos_1 (#142060)
2000 - make getpid () working with clone/clone2 without CLONE_THREAD
2001 (so far on i386/x86_64/ia64 only)
2002 - move %{_prefix}/libexec/getconf/* to glibc from glibc-common
2003 - make %{_prefix}/libexec/getconf directory owned by glibc package
2005 * Fri Dec 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-87
2006 - update from CVS
2007 - build libpthread_nonshared.a objects with -fPIC on s390/s390x
2008 - fix mktime with < 0 or > 59 tm_sec on entry
2009 - remove nonnull attribute for realpath
2010 - add $(make-target-directory) for errlist-compat.c rule
2011 (hopefully fix #141404)
2012 - add testcase for ungetc bug
2013 - define _POSIX_{,THREAD_}CPUTIME to 0 on all Linux arches
2015 * Tue Nov 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-86
2016 - update from CVS
2017 - some posix_opt.h fixes
2018 - fix strtold use of unitialized memory (#141000)
2019 - some more bugfixes for bugs detected by valgrind
2020 - rebuilt with GCC >= 3.4.3-5 to avoid packed stack layout
2021 on s390{,x} (#139678)
2023 * Fri Nov 26 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-85
2024 - update from CVS
2025 - support -v specification in getconf
2026 - fix sysconf (_SC_LFS64_CFLAGS) etc.
2027 - avoid thread stack aliasing issues on EM64T (#140803)
2028 - move %{_prefix}/include/nptl headers from nptl-devel
2029 to glibc-headers, so that even NPTL specific programs
2030 can be built bi-arch without problems
2032 * Wed Nov 24 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-84
2033 - update from CVS
2034 - fix memory leak in getaddrinfo if using nscd (#139559)
2035 - handle large lines in /etc/hosts and /etc/networks
2036 (#140378)
2037 - add nonnull attributes to selected dirent.h and dlfcn.h
2038 functions
2040 * Sun Nov 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-83
2041 - update from CVS
2042 - add deprecated and/or nonnull attribute to some signal.h
2043 functions
2044 - speed up tzset () by only using stat instead of open/fstat
2045 when calling tzset for the second and following time if
2046 /etc/localtime has not changed
2047 - fix tgamma (BZ #552)
2049 * Sat Nov 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-82
2050 - update from CVS
2051 - some malloc () checking
2052 - libpthread.a object dependency cleanups (#115157)
2053 - <bits/socket.h> fix for -std=c89 -pedantic-errors (#140132)
2055 * Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-81
2056 - don't use chunksize in <= 2 * SIZE_SZ free () checks
2058 * Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-80
2059 - update from CVS
2060 - with -D_FORTIFY_SOURCE=2, prevent missing %N$ formats
2061 - for -D_FORTIFY_SOURCE=2 and %n in writable format string,
2062 issue special error message instead of using the buffer overflow
2063 detected one
2064 - speedup regex searching with REG_NOSUB, add RE_NO_SUB,
2065 speedup searching with nested subexps (BZ #544)
2066 - block SIGCANCEL in NPTL timer_* helper thread
2067 - further free () checking
2069 * Tue Nov 16 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-79
2070 - update from CVS
2071 - fix free () checking
2072 - move /etc/default/nss into glibc-common (hopefully fix #132392)
2074 * Mon Nov 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-78
2075 - update from CVS
2076 - fix LD_DEBUG=statistics
2077 - issue error message before aborting in __chk_fail ()
2078 - some more free () checking
2080 * Fri Nov 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-77
2081 - update from CVS
2082 - speedup regex on palindromes (BZ #429)
2083 - fix NPTL set{,e,re,res}[ug]id, so that even if making process
2084 less priviledged all threads change their credentials successfully
2086 * Wed Nov 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-76
2087 - update from CVS
2088 - fix regcomp crash (#138439)
2089 - fix ftell{,o,o64} (#137885)
2090 - robustification of nscd to cope with corrupt databases (#137140)
2091 - fix NPTL with pthread_exit immediately after pthread_create (BZ #530)
2092 - some regex optimizations
2094 * Tue Nov 2 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-75
2095 - update from CVS
2096 - mktime cleanups (BZ #487, #473)
2097 - unique comments in free(3) check error messages
2098 - adjust some x86_64 headers for -m32 (#129712)
2099 - object size checking support even with GCC-3.4.2-RH >= 3.4.2-8
2101 * Wed Oct 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-74
2102 - fix <netinet/udp.h> header
2103 - fix globfree (#137176)
2104 - fix exiting if there are dlmopened libraries in namespaces
2105 other than main one not closed yet
2106 - export again _res_opcodes and __p_{class,type}_syms from
2107 libresolv.so that were lost in -69
2109 * Thu Oct 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-73
2110 - remove setaltroot and key{_add,_request,ctl} also from Versions
2111 - back out _sys_errlist changes
2113 * Thu Oct 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-72
2114 - back out setaltroot and key{_add,_request,ctl} addition
2115 - fix severe x86-64 symbol versioning regressions that breaks
2116 e.g. java binaries
2118 * Wed Oct 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-71
2119 - update from CVS
2120 - fix minor catchsegv temp file handling vulnerability
2121 (CAN-2004-0968, #136319)
2122 - add 4 new errno codes
2123 - setaltroot, key{_add,_request,ctl} syscalls on some arches
2124 - export _dl_debug_state@GLIBC_PRIVATE from ld.so again for
2125 gdb purpose
2126 - use inet_pton to decide what is address and what is hostname
2127 in getent (#135422)
2128 - change dladdr/dladdr1, so that dli_saddr is the same kind
2129 of value as dlsym/dlvsym return (makes difference on ia64/hppa only)
2130 - fix catchsegv script so that it works with both 32-bit and 64-bit
2131 programs on multi-arch platforms
2133 * Tue Oct 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-70
2134 - update from CVS
2135 - require newer selinux-policy (#135978)
2136 - add %%dir for /var/run/nscd and /var/db/nscd and %%ghost
2137 files in it
2138 - conflict with gcc4 4.0.0-0.6 and earlier (needs __builtin_object_size)
2140 * Mon Oct 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-69
2141 - update from CVS
2142 - object size checking support (-D_FORTIFY_SOURCE={1,2})
2144 * Thu Oct 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-68
2145 - update from CVS
2146 - support for namespaces in the dynamic linker
2147 - fix dlclose (BZ #77)
2148 - libSegFault.so uses now backtrace() to work on IA-64, x86-64
2149 and s390 (#130254)
2151 * Tue Oct 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-67
2152 - update from CVS
2153 - use non-blocking sockets in resolver (#135234)
2154 - reset pd->res options on thread exit, so that threads
2155 reusing cached stacks get resolver state properly initialized
2156 (BZ #434)
2158 * Wed Oct 6 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-66
2159 - update from CVS
2160 - avoid using perl in the spec file, buildrequire sed >= 3.95
2161 (#127671)
2162 - export TIMEOUTFACTOR=16
2163 - fix _JMPBUF_CFA_UNWINDS_ADJ on s390{,x}
2165 * Tue Oct 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-65
2166 - update from CVS
2167 - define _POSIX_THREAD_PROCESS_SHARED and _POSIX_CLOCK_SELECTION
2168 to -1 in LinuxThreads
2169 - define _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME to 0
2170 on i?86/ia64 and make sure sysconf (_SC_{,THREAD_}CPUTIME)
2171 returns correct value
2172 - if _POSIX_CLOCK_SELECTION == -1 in nscd, still try
2173 sysconf (_SC_CLOCK_SELECTION) and if it returns true,
2174 dlopen libpthread.so and dlsym pthread_condattr_setclock
2175 - build nscd with -z relro and -z now
2177 * Mon Oct 4 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-64
2178 - update from CVS
2179 - stop using __builtin_expect in assert and assert_perror
2180 (#127606)
2181 - try to avoid too much VA fragmentation with malloc
2182 on flexmap layout (#118574)
2183 - nscd robustification
2184 - change valloc to use debugging hooks (#134385)
2185 - make glibc_post_upgrade more verbose on errors (Fergal Daly,
2186 #125700)
2188 * Fri Oct 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-63
2189 - update from CVS
2190 - fix __nscd_getgrouplist
2191 - fix a typo in x86_64 pthread_mutex_timedwait fix
2193 * Fri Oct 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-62
2194 - update from CVS
2195 - fix NPTL pthread_mutex_timedwait on i386/x86_64 (BZ #417)
2197 * Thu Sep 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-61
2198 - update from CVS
2199 - some nscd fixes (#134193)
2200 - cache initgroups in nscd (#132850)
2201 - reread /etc/localtime in tzset () even if just mtime changed
2202 (#133481)
2203 - fix glob (#126460)
2204 - another get_myaddress fix
2206 * Wed Sep 29 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-60
2207 - update from CVS
2208 - fix get_myaddress (#133982)
2209 - remove nonnull attribute from second utime argument (#133866)
2210 - handle SIGSETXID the same way as SIGCANCEL in
2211 sigaction/pthread_kill/sigwait/sigwaitinfo etc.
2212 - add __extension__ to long long types in NPTL <bits/pthreadtypes.h>
2214 * Mon Sep 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-59
2215 - update from CVS
2216 - fix BZ #151, #362, #381, #407
2217 - fdim fix for +inf/+inf (BZ #376)
2219 * Sun Sep 26 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-58
2220 - update from CVS
2221 - vasprintf fix (BZ #346)
2222 - gettext locking (BZ #322)
2223 - change linuxthreads useldt.h inclusion login again, the last
2224 one failed all linuxthreads FLOATING_STACKS tests
2226 * Sat Sep 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-57
2227 - update from CVS
2228 - fix setuid in LD_ASSUME_KERNEL=2.2.5 libc (#133558)
2229 - fix nis locking (#132204)
2230 - RTLD_DEEPBIND support
2231 - fix pthread_create bugs (BZ #401, #405)
2233 * Wed Sep 22 2004 Roland McGrath <roland@redhat.com> 2.3.3-56
2234 - migrated CVS to fedora-branch in sources.redhat.com glibc repository
2235 - source tarballs renamed
2236 - redhat/ moved to fedora/, some old cruft removed
2237 - update from trunk
2238 - some __nonnull annotations
2240 * Wed Sep 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-55
2241 - update from CVS
2242 - set{re,e,res}[ug]id now affect the whole process in NPTL
2243 - return EAGAIN instead of ENOMEM when not enough memory
2244 in pthread_create
2246 * Fri Sep 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-54
2247 - update from CVS
2248 - nscd getaddrinfo caching
2250 * Tue Sep 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-53
2251 - restore temporarily old definition of __P()/__PMT()
2252 for third party apps
2254 * Tue Sep 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-52
2255 - update from CVS
2256 - nscd bi-arch fix
2257 - remove all uses of __P()/__PMT() from glibc headers
2258 - update and reenable nscd SELinux patch
2259 - remove libnss1* and libnss*.so.1 compatibility NSS modules
2260 on IA-32, SPARC and Alpha
2262 * Fri Sep 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-51
2263 - update from CVS
2264 - disable one of the malloc double free checks for non-contiguous
2265 arenas where it doesn't have to be true even for non-broken
2266 apps
2268 * Thu Sep 9 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-50
2269 - update from CVS
2270 - pwd/grp/host loops with nscd speed up by sharing the
2271 nscd cache r/o with applications
2272 - inexpensive double free check in free(3)
2273 - make NPTL pthread.h initializers usable even from C++
2274 (BZ #375)
2275 - use atomic instructions even in i386 nscd on i486+ CPUs
2276 (conditionally)
2278 * Sat Sep 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-49
2279 - update from CVS
2280 - fix linuxthreads tst-cancel{[45],-static}
2282 * Fri Sep 3 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-48
2283 - update from CVS
2284 - fix pthread_cond_destroy (BZ #342)
2285 - fix fnmatch without FNM_NOESCAPE (BZ #361)
2286 - fix ppc32 setcontext (BZ #357)
2287 - add NPTL support for i386 glibc (only if run on i486 or higher CPU)
2288 - add __NR_waitid defines for i386, x86_64 and sparc*
2290 * Tue Aug 31 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-47
2291 - update from CVS
2292 - persistent nscd caching
2293 - ppc64 32-bit atomicity fix
2294 - fix x86-64 nptl-devel headers for -m32 compilation
2295 - %%ghost /etc/ld.so.cache (#130597)
2296 - edit /etc/ld.so.conf in glibc_post_upgrade if
2297 include ld.so.conf.d/*.conf line is missing (#120588)
2298 - ugly hacks for the IA-64 /emul braindamage (#124996, #128267)
2300 * Sat Aug 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-46
2301 - update from CVS
2303 * Thu Aug 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-45
2304 - update from CVS
2305 - fix nss_compat's initgroups handling (#130363)
2306 - fix getaddrinfo ai_canonname setting
2308 * Thu Aug 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-44
2309 - update from CVS
2310 - add ip6-dotint resolv.conf option, make
2311 no-ip6-dotint the default
2312 - BuildPrereq libselinux-devel (#129946)
2313 - on ppc64, build without dot symbols
2315 * Thu Aug 12 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-43
2316 - update from CVS
2317 - remove debugging printout (#129747)
2318 - make <sys/shm.h> usable in C++ (IT#45148)
2319 - update RLIMIT_* constants in <bits/resource.h>, make
2320 <sys/resource.h> POSIX compliant (#129740)
2322 * Wed Aug 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-42
2323 - fix last tzset () fixes, disable rereading of /etc/localtime
2324 every time for now
2325 - really enable SELinux support for NSCD
2327 * Wed Aug 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-41
2328 - update from CVS
2329 - fread_unlocked/fwrite_unlocked macro fixes (BZ #309, #316)
2330 - tzset () fixes (BZ #154)
2331 - speed up pthread_rwlock_unlock on arches other than i386 and
2332 x86_64 (#129455)
2333 - fix compilation with -ansi (resp. -std=c89 or -std=c99) and
2334 -D_XOPEN_SOURCE=[56]00 but no -D_POSIX_SOURCE* or -D_POSIX_C_SOURCE*
2335 (BZ #284)
2336 - add SELinux support for NSCD
2338 * Fri Aug 6 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-40
2339 - update from CVS
2340 - change res_init to force all threads to re-initialize
2341 resolver before they use it next time (#125712)
2342 - various getaddrinfo and related fixes (BZ #295, #296)
2343 - fix IBM{932,943} iconv modules (#128674)
2344 - some nscd fixes (e.g. BZ #292)
2345 - RFC 3678 support (Multicast Source Filters)
2346 - handle /lib/i686/librtkaio-* in i386 glibc_post_upgrade
2347 the same as /lib/i686/librt-*
2349 * Fri Jul 23 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-39
2350 - update from CVS
2351 - conformance related changes in headers
2352 - remove -finline-limit=2000 for GCC 3.4.x+
2354 * Thu Jul 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-38
2355 - update from CVS
2356 - fix res_init leaks
2357 - fix newlocale races
2358 - fix ppc64 setjmp
2359 - fix strtold (BZ #274)
2361 * Fri Jul 16 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-37
2362 - update from CVS
2363 - allow pthread_cancel in DSO destructors run at exit time
2364 - fix pow{f,,l} on IA-32 and powl on x86-64
2365 - allow PIEs on IA-32 to have main in a shared library they depend on
2367 * Mon Jul 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-36
2368 - s390* .plt slot reduction
2369 - fix pthread_rwlock_timedrdlock on x86_64
2371 * Wed Jun 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-35
2372 - tweak spec file for the libpthread-0.61.so -> libpthread-2.3.3.so
2373 NPTL changes
2375 * Wed Jun 30 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-34
2376 - update from CVS
2377 - if_nameindex using preferably netlink
2378 - printf_parsemb initialization fix
2379 - NPTL version is now the same as glibc version
2381 * Mon Jun 28 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-33
2382 - update from CVS
2383 - reread resolv.conf for nscd --invalidate=hosts
2384 - fix F_GETLK/F_SETLK/F_SETLKW constants on x86_64 for
2385 -m32 -D_FILE_OFFSET_BITS=64 compilations
2386 - avoid calling non-existing fcntl64 syscall on ppc64
2388 * Mon Jun 14 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-32
2389 - update from CVS
2390 - FUTEX_CMP_REQUEUE support (fix pthread_cond_* deadlocks)
2391 - fix backtrace in statically linked programs
2392 - rebuilt with GCC 3.4, adjusted ulps and i386 <bits/string.h>
2394 * Fri May 28 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-31
2395 - update from CVS
2396 - <bits/string2.h> and <bits/mathinline.h> changes for GCC 3.{2,4,5}+
2397 - make c_stubs buildable even with GCC 3.2.x (#123042)
2399 * Fri May 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-30
2400 - fix pthread_cond_wait on architectures other than IA-32 and
2401 x86_64
2403 * Thu May 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-29
2404 - use lib64 instead of lib on ia64 if %%{_lib} is defined to lib64
2406 * Wed May 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-28
2407 - update from CVS
2408 - FUTEX_REQUEUE fixes (#115349)
2409 - SPARC GCC 3.4 build fix
2410 - fix handling of undefined TLS symbols on IA32 (RELA only),
2411 SPARC and SH
2412 - regex translate fix
2413 - speed up sprintf
2414 - x86_64 makecontext alignment fix
2415 - make POSIX sigpause the default sigpause, unless BSD sigpause
2416 requested
2418 * Tue May 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-27
2419 - remove /lib64/tls/librtkaio-2.3.[23].so in glibc_post_upgrade
2420 on x86-64, s390x and ppc64 instead of /lib/tls/librtkaio-2.3.[23].so
2421 - build mq_{send,receive} with -fexceptions
2423 * Fri May 7 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-26
2424 - update from CVS
2425 - fix <tgmath.h>
2426 - fix memory leaks in nis, getifaddrs, etc. caused by incorrect
2427 use of realloc
2428 - remove /lib/{tls,i686}/librtkaio-2.3.[23].so in glibc_post_upgrade
2429 and rerun ldconfig if needed, otherwise after glibc upgrade librt.so.1
2430 might be a stale symlink
2432 * Wed May 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-25
2433 - update from CVS
2434 - disable FUTEX_REQUEUE (work around #115349)
2435 - mq for sparc/sparc64/ia64
2437 * Tue May 4 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-24
2438 - update from CVS
2439 - define S_ISSOCK in -D_XOPEN_SOURCE=600 and S_I[FS]SOCK
2440 plus F_[SG]ETOWN also in -D_XOPEN_SOURCE=500 (both
2441 included already in XNS5)
2442 - reorder dlopen checks, so that dlopening ET_REL objects
2443 complains about != ET_DYN != ET_EXEC, not about phentsize
2444 (#121606)
2445 - fix strpbrk macro for GCC 3.4+ (BZ #130)
2446 - fix <sys/sysctl.h> (BZ #140)
2447 - sched_[gs]etaffinity documentation fix (BZ #131)
2448 - fix sparc64 build (BZ #139)
2449 - change linuxthreads back to use non-cancellable writes
2450 to manager pipes etc.
2451 - fix sem_timedwait return value in linuxthreads (BZ #133)
2452 - ia64 unnecessary PLT relocs removal
2454 * Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-23
2455 - update from CVS
2456 - fix *scanf
2457 - fix shm_unlink, sem_unlink and mq_unlink errno values
2458 - avoid memory leaks in error
2459 - execstack fixes on s390
2461 * Mon Apr 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-22
2462 - update from CVS
2463 - mq and timer fixes
2464 - rebuilt with binutils >= 2.15.90.0.3-2 to fix IA-64 statically
2465 linked binaries
2466 - fix linuxthreads librt.so on s390{,x}, so it is no longer DT_TEXTREL
2468 * Sat Apr 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-21
2469 - disable rtkaio
2470 - update from CVS
2471 - POSIX message passing support
2472 - fixed SIGEV_THREAD support for POSIX timers
2473 - fix free on non-malloced memory in syslog
2474 - fix ffsl on some 64-bit arches
2475 - fix sched_setaffinity on x86-64, ia64
2476 - fix ppc64 umount
2477 - NETID_AUTHORITATIVE, SERVICES_AUTHORITATIVE support
2478 - various NIS speedups
2479 - fix fwrite with > 2GB sizes on 64-bit arches
2480 - fix pthread_getattr_np guardsize reporting in NPTL
2481 - report PLT relocations in ld.so and libc.so during the build
2483 * Fri Mar 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-20
2484 - update from CVS
2485 - change NPTL PTHREAD_MUTEX_ADAPTIVE_NP mutexes to spin on SMP
2486 - strtol speed optimization
2487 - don't try to use certainly unimplemented syscalls on ppc64
2488 - kill -debug subpackage, move the libs to glibc-debuginfo{,-common}
2489 into /usr/lib/debug/usr/%{_lib}/ directory
2490 - fix c_stubs with gcc 3.4
2491 - move all the up to 3 builds into %%build scriptlet and
2492 leave only installation in the %%install scriptlet
2494 * Mon Mar 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-19
2495 - update from CVS
2496 - affinity API changes
2498 * Thu Mar 18 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-18
2499 - update from CVS
2500 - fix ia64 iopl (#118591)
2501 - add support for /etc/ld.so.conf.d/*.conf
2502 - fix x86-64 LD_DEBUG=statistics
2503 - fix hwcap handling when using ld.so.cache (#118518)
2505 * Mon Mar 15 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-17
2506 - update from CVS
2507 - implement non-_l function on top of _l functions
2509 * Thu Mar 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-16
2510 - update from CVS
2511 - fix s390{,x} TLS handling
2513 * Wed Mar 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-15
2514 - update from CVS
2515 - special section for compatibility code
2516 - make getpid () work even in vfork () child
2517 - configure with --enable-bind-now to avoid lazy binding in ld.so
2518 and libc.so
2520 * Fri Mar 5 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-14
2521 - update from CVS
2522 - fix iconv -c (#117021)
2523 - fix PIEs on sparc/sparc64
2524 - fix posix_fadvise on 64-bit architectures
2525 - add locale-archive as %%ghost file (#117014)
2527 * Mon Mar 1 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-13
2528 - update from CVS
2530 * Fri Feb 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-12
2531 - update from CVS
2533 * Fri Feb 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-11
2534 - update from CVS
2535 - fix ld.so when vDSO is randomized
2537 * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-10
2538 - update from CVS
2540 * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-9
2541 - update from CVS
2543 * Tue Feb 10 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-8
2544 - update from CVS
2546 * Tue Jan 27 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-7
2547 - update from CVS
2548 - dl_iterate_phdr extension to signal number of added/removed
2549 libraries
2550 - fix PT_GNU_RELRO support on ppc* with prelinking
2552 * Fri Jan 23 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-6
2553 - rebuilt with fixed GCC on IA-64
2555 * Thu Jan 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-5
2556 - fix PT_GNU_RELRO support
2558 * Wed Jan 21 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-4
2559 - update from CVS
2560 - some further regex speedups
2561 - fix re.translate handling in regex (#112869)
2562 - change regfree to match old regex behaviour (what is freed
2563 and clearing of freed pointers)
2564 - fix accesses to unitialized memory in regex (#113507, #113425,
2565 #113421)
2566 - PT_GNU_RELRO support
2568 * Tue Dec 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-3
2569 - update from CVS
2570 - fix pmap_set fd and memory leak (#112726)
2571 - fix backreference handling in regex
2572 - rebuilt under glibc without the above bug to fix
2573 libc.so linker script (#112738)
2575 * Mon Dec 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-2
2576 - update from CVS
2577 - faster getpid () in NPTL builds
2578 - fix to make pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, )
2579 really disable cancellation (#112512)
2580 - more regex fixes and speedups
2581 - fix nextafter*/nexttoward*
2582 - handle 6th syscall(3) argument on AMD64
2583 - handle memalign/posix_memalign in mtrace
2584 - fix linuxthreads memory leak (#112208)
2585 - remove throw () from cancellation points in linuxthreads (#112602)
2586 - fix NPTL unregister_atfork
2587 - fix unwinding through alternate signal stacks
2589 * Mon Dec 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.3-1
2590 - update from CVS
2591 - 2.3.3 release
2592 - lots of regex fixes and speedups (#110401)
2593 - fix atan2
2594 - fix pshared condvars in NPTL
2595 - fix pthread_attr_destroy for attributes created with
2596 pthread_attr_init@GLIBC_2.0
2597 - for the time being, include both nb_NO* and no_NO* as locales
2598 so that the distribution can catch up with the no_NO->nb_NO
2599 transition
2600 - add BuildPrereq texinfo (#110252)
2602 * Tue Nov 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-102
2603 - update from CVS
2604 - fix getifaddrs (CAN-2003-0859)
2605 - fix ftw fd leak
2606 - fix linuxthreads sigaction (#108634)
2607 - fix glibc 2.0 stdio compatibility
2608 - fix uselocale (LC_GLOBAL_LOCALE)
2609 - speed up stdio locking in non-threaded programs on IA-32
2610 - try to maintain correct order of cleanups between those
2611 registered with __attribute__((cleanup))
2612 and with LinuxThreads style pthread_cleanup_push/pop (#108631)
2613 - fix segfault in regex (#109606)
2614 - fix RE_ICASE multi-byte handling in regex
2615 - fix pthread_exit in libpthread.a (#109790)
2616 - FTW_ACTIONRETVAL support
2617 - lots of regex fixes and speedups
2618 - fix ceill/floorl on AMD64
2620 * Mon Oct 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-101
2621 - update from CVS
2622 - fix ld.so --verify (and ldd)
2624 * Mon Oct 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-100
2625 - update from CVS
2626 - fix sprof (#103727)
2627 - avoid infinite loops in {,f}statvfs{,64} with hosed mounts file
2628 - prevent dlopening of executables
2629 - fix glob with GLOB_BRACE and without GLOB_NOESCAPE
2630 - fix locale printing of word values on 64-bit big-endian arches
2631 (#107846)
2632 - fix getnameinfo and getaddrinfo with reverse IPv6 lookups
2633 (#101261)
2635 * Wed Oct 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-99
2636 - update from CVS
2637 - dl_iterate_phdr in libc.a on arches other than IA-64
2638 - LD_DEBUG=statistics prints number of relative relocations
2639 - fix hwcap computation
2640 - NPTL is now part of upstream glibc CVS
2641 - include {st,xh,zu}_ZA{,.UTF-8} locales
2643 * Sat Oct 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-98
2644 - update from CVS
2645 - fix close, pause and fsync (#105348)
2646 - fix pthread_once on IA-32
2647 - implement backtrace () on IA-64, handle -fomit-frame-pointer
2648 in AMD64 backtrace () (#90402)
2650 * Tue Sep 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-97
2651 - update from CVS
2652 - fix <sys/sysmacros.h> with C++ or -ansi or -pedantic C
2653 - fix mknod/ustat return value when given bogus device number (#105768)
2655 * Fri Sep 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-96
2656 - rebuilt
2658 * Fri Sep 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-95
2659 - fix IA-64 getcontext
2661 * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-94
2662 - update from CVS
2663 - fix syslog with non-C non-en_* locales (#61296, #104979)
2664 - filter GLIBC_PRIVATE symbols from glibc provides
2665 - fix NIS+
2667 * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-93
2668 - update from CVS
2669 - assume 2.4.21 kernel features on RHEL/ppc*, so that
2670 {make,set,get,swap}context works
2671 - backout execstack support for RHEL
2672 - build rtkaio on amd64 too
2674 * Wed Sep 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-92
2675 - update from CVS
2676 - execstack/noexecstack support
2677 - build nscd as PIE
2678 - move __libc_stack_end back to @GLIBC_2.1
2679 - build against elfutils >= 0.86 to fix stripping on s390x
2681 * Mon Sep 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-91
2682 - rebuilt
2684 * Mon Sep 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-90
2685 - update from CVS
2686 - NPTL locking change (#102682)
2687 - don't jump around lock on amd64
2689 * Thu Sep 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-89
2690 - fix open_memstream/syslog (#104661)
2692 * Thu Sep 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-88
2693 - update from CVS
2694 - retrieve affinity in pthread_getattr_np
2695 - fix pthread_attr_[gs]etaffinity_np
2696 - handle hex and octal in wordexp
2698 * Wed Sep 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-87
2699 - update from CVS
2700 - truncate instead of round in utimes when utimes syscall is not available
2701 - don't align stack in every glibc function unnecessarily on IA-32
2702 - make sure threads have their stack 16 byte aligned on IA-32
2703 - move sched_[sg]etaffinity to GLIBC_2.3.3 symbol version (#103231)
2704 - fix pthread_getattr_np for the initial thread (#102683)
2705 - avoid linuxthreads signal race (#104368)
2706 - ensure all gzip invocations are done with -n option
2708 * Fri Sep 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-86
2709 - update from CVS
2710 - avoid linking in libgcc_eh.a unnecessarily
2711 - change ssize_t back to long int on s390 -m31, unless
2712 gcc 2.95.x is used
2714 * Wed Sep 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-85
2715 - update from CVS
2716 - fix IA-64 memccpy (#104114)
2718 * Tue Sep 9 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-84
2719 - update from CVS
2720 - undo broken amd64 signal context changes
2722 * Tue Sep 9 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-83
2723 - update from CVS
2724 - change *nlink_t, *ssize_t and *intptr_t types on s390 -m31 to
2725 {unsigned,} int
2726 - change *u_quad_t, *quad_t, *qaddr_t, *dev_t, *ino64_t, *loff_t,
2727 *off64_t, *rlim64_t, *blkcnt64_t, *fsblkcnt64_t, *fsfilcnt64_t
2728 on 64-bit arches from {unsigned,} long long int {,*} to
2729 {unsigned,} long int {,*} to restore binary compatibility
2730 for C++ functions using these types as arguments
2732 * Sun Sep 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-82
2733 - rebuilt
2735 * Sat Sep 6 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-81
2736 - update from CVS
2737 - fix tc[gs]etattr/cf[gs]et[io]speed on ppc (#102732)
2738 - libio fixes
2740 * Thu Sep 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-80
2741 - update from CVS
2742 - fix IA-64 cancellation when mixing __attribute__((cleanup ()))
2743 and old-style pthread_cleanup_push cleanups
2745 * Tue Sep 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-79
2746 - updated from CVS
2747 - lots of cancellation fixes
2748 - fix posix_fadvise* on ppc32
2749 - TLS layout fix
2750 - optimize stdio cleanups (#103354)
2751 - sparcv9 NPTL
2752 - include sigset, sighold, sigrelse, sigpause and sigignore prototypes
2753 in signal.h even if -D_XOPEN_SOURCE_EXTENDED (#103269)
2754 - fix svc_getreqset on 64-bit big-endian arches
2755 - return ENOSYS in linuxthreads pthread_barrierattr_setpshared for
2756 PTHREAD_PROCESS_SHARED
2757 - add pthread_cond_timedwait stubs to libc.so (#102709)
2758 - split glibc-devel into glibc-devel and glibc-headers to ensure
2759 amd64 /usr/include always wins on amd64/i386 bi-arch installs
2760 - increase PTHREAD_STACK_MIN on alpha, ia64 and sparc*
2761 - get rid of __syscall_* prototypes and stubs in sysdeps/unix/sysv/linux
2762 - run make check also with linuxthreads (on IA-32 non-FLOATING_STACKS)
2763 ld.so and NPTL (on IA-32 also FLOATING_STACKS linuxthreads) libraries
2764 and tests
2766 * Tue Aug 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-78
2767 - include dl-osinfo.h only in glibc-debuginfo-2*.rpm, not
2768 in glibc-debuginfo-common*
2770 * Mon Aug 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-77
2771 - update from CVS
2772 - fix glibc 2.0 libio compatibility (#101385)
2773 - fix ldconfig with /usr/lib/lib*.so symlinks (#102853)
2774 - fix assert.h (#102916, #103017)
2775 - make ld.so.cache identical between IA-32 and AMD64 (#102887)
2776 - fix static linking of large IA-64 binaries (#102586)
2777 - avoid using floating point regs in lazy binding code on ppc64 (#102763)
2779 * Fri Aug 22 2003 Roland McGrath <roland@redhat.com> 2.3.2-76
2780 - add td_thr_tls_get_addr changes missed in initial nptl_db rewrite
2782 * Sun Aug 17 2003 Roland McGrath <roland@redhat.com> 2.3.2-74
2783 - nptl_db rewrite not yet in CVS
2785 * Thu Aug 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-72
2786 - update from CVS
2787 - fix rtkaio aio_fsync{,64}
2788 - update rtkaio for !BROKEN_THREAD_SIGNALS
2789 - fix assert macro when used on pointers
2791 * Wed Aug 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-71
2792 - update from CVS
2794 * Tue Aug 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-70
2795 - update from CVS
2796 - disable CLONE_STOPPED for now until it is resolved
2797 - strip crt files
2798 - fix libio on arches with no < GLIBC_2.2 support (#102102, #102105)
2799 - fix glibc-debuginfo to include all nptl and nptl_db sources
2801 * Thu Aug 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-69
2802 - update from CVS
2803 - fix pthread_create@GLIBC_2.0 (#101767)
2804 - __ASSUME_CLONE_STOPPED on all arches but s390* in RHEL
2806 * Sun Aug 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-68
2807 - update from CVS
2808 - only use CLONE_STOPPED if kernel supports it, fix setting of thread
2809 explicit scheduling (#101457)
2811 * Fri Aug 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-67
2812 - update from CVS
2813 - fix utimes and futimes if kernel doesn't support utimes syscall
2814 - fix s390 ssize_t type
2815 - fix dlerror when called before any dlopen/dlsym
2816 - update IA-64 bits/sigcontext.h (#101344)
2817 - various warning fixes
2818 - fix pthread.h comment typos (#101363)
2820 * Wed Jul 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-66
2821 - update from CVS
2822 - fix dlopen of libraries using TLS IE/LE models
2824 * Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-65
2825 - update from CVS
2826 - fix timer_create
2827 - use __extension__ before long long typedefs in <bits/types.h> (#100718)
2829 * Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-64
2830 - update from CVS
2831 - fix wcpncpy (#99462)
2832 - export _res@GLIBC_2.0 even from NPTL libc.so (__res_state ()
2833 unlike __errno_location () or __h_errno_location () was introduced
2834 in glibc 2.2)
2835 - fix zic bug on 64-bit platforms
2836 - some TLS handling fixes
2837 - make ldconfig look into alternate ABI dirs by default (#99402)
2838 - move %{_datadir}/zoneinfo to tzdata package, so that it can be
2839 errataed separately from glibc
2840 - new add-on - rtkaio
2841 - prereq libgcc, as glibc now relies on libgcc_s.so.1 for pthread_cancel
2843 * Tue Jul 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-63
2844 - fix thread cancellation on ppc64
2846 * Sat Jul 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-62
2847 - update from CVS
2848 - fix thread cancellation on ppc32, s390 and s390x
2850 * Thu Jul 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-61
2851 - update from CVS
2852 - build libc_nonshared.a with -fPIC instead of -fpic
2853 - fix ppc64 PIE support
2854 - add cfi directives to NPTL sysdep-cancel.h on ppc/ppc64/s390/s390x
2856 * Tue Jul 8 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-60
2857 - update from CVS
2859 * Thu Jul 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-59
2860 - update from CVS
2861 - on IA-64 use different symbols for cancellation portion of syscall
2862 handlers to make gdb happier
2864 * Thu Jun 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-58
2865 - update from CVS
2866 - nss_compat supporting LDAP etc.
2868 * Tue Jun 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-57
2869 - update from CVS
2871 * Thu Jun 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-56
2872 - fix condvars and semaphores in ppc* NPTL
2873 - fix test-skeleton.c reporting of timed-out tests (#91269)
2874 - increase timeouts for tests during make check
2876 * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-55
2877 - make ldconfig default to both /lib+/usr/lib and /lib64+/usr/lib64
2878 on bi-ABI architectures (#97557)
2879 - disable FUTEX_REQUEUE on ppc* temporarily
2881 * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-54
2882 - update from CVS
2883 - fix glibc_post_upgrade on ppc
2885 * Tue Jun 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-53
2886 - update from CVS
2887 - fix localedef (#90659)
2888 - tweak linuxthreads for librt cancellation
2890 * Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-52
2891 - update from CVS
2893 * Thu Jun 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-51
2894 - update from CVS
2895 - fix <gnu/stubs.h> (#97169)
2897 * Wed Jun 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-50
2898 - update from CVS
2900 * Tue Jun 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-49
2901 - update from CVS
2902 - fix pthread_cond_signal on IA-32 (#92080, #92253)
2903 - fix setegid (#91567)
2904 - don't prelink -R libc.so on any architecture, it prohibits
2905 address randomization
2907 * Fri Jun 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-48
2908 - update from CVS
2909 - fix IA-64 NPTL build
2911 * Thu Jun 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-47
2912 - update from CVS
2913 - PT_GNU_STACK segment in binaries/executables and .note.GNU-stack
2914 section in *.[oa]
2916 * Sun Jun 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-46
2917 - update from CVS
2918 - enable NPTL on AMD64
2919 - avoid using trampolines in localedef
2921 * Fri May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-45
2922 - enable NPTL on IA-64
2924 * Fri May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-44
2925 - update from CVS
2926 - enable NPTL on s390 and s390x
2927 - make __init_array_start etc. symbols in elf-init.oS hidden undefined
2929 * Thu May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-43
2930 - update from CVS
2932 * Fri May 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-42
2933 - update from CVS
2935 * Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-41
2936 - update from CVS
2937 - use NPTL libs if uname -r contains nptl substring or is >= 2.5.69
2938 or set_tid_address syscall is available instead of checking
2939 AT_SYSINFO dynamic tag
2941 * Thu May 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-40
2942 - update from CVS
2944 * Wed May 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-39
2945 - update from CVS
2946 - fix for prelinking of libraries with no dependencies
2948 * Tue May 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-38
2949 - update from CVS
2950 - enable NPTL on ppc and ppc64
2952 * Tue May 6 2003 Matt Wilson <msw@redhat.com> 2.3.2-37
2953 - rebuild
2955 * Sun May 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-36
2956 - update from CVS
2958 * Sat May 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-35
2959 - update from CVS
2960 - make -jN build fixes
2962 * Fri May 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-34
2963 - update from CVS
2964 - avoid using trampolines in iconvconfig for now
2966 * Sat Apr 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-33
2967 - update from CVS
2969 * Fri Apr 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-32
2970 - update from CVS
2971 - more ppc TLS fixes
2973 * Wed Apr 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-31
2974 - update from CVS
2975 - nscd fixes
2976 - fix Bahrain spelling (#56298)
2977 - fix Ukrainian collation (#83973)
2978 - accept trailing spaces in /etc/ld.so.conf (#86032)
2979 - perror fix (#85994)
2980 - fix localedef (#88978)
2981 - fix getifaddrs (#89026)
2982 - fix strxfrm (#88409)
2983 - fix ppc TLS
2984 - fix getaddrinfo (#89448)
2985 - don't print warning about errno, h_errno or _res if
2986 LD_ASSUME_KERNEL=2.4.1 or earlier
2988 * Tue Apr 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-30
2989 - update from CVS
2990 - fix prelink on ppc32
2991 - add TLS support on ppc32 and ppc64
2992 - make sure on -m64 arches all helper binaries are built with this
2993 option
2995 * Mon Apr 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-29
2996 - update from CVS
2997 - fix strxfrm (#88409)
2998 - use -m64 -mno-minimal-toc on ppc64
2999 - conflict with kernels < 2.4.20 on ppc64 and < 2.4.0 on x86_64
3000 - link glibc_post_upgrade against newly built libc.a
3002 * Sun Apr 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-28
3003 - update from CVS
3004 - fix NPTL pthread_detach and already terminated, but not yet
3005 joined thread (#88219)
3006 - fix bug-regex4 testcase (#88118)
3007 - reenable prelink support broken in 2.3.2-13
3008 - fix register_printf_function (#88052)
3009 - fix double free with fopen using ccs= (#88056)
3010 - fix potential access below $esp in {set,swap}context (#88093)
3011 - fix buffer underrun in gencat -H (#88099)
3012 - avoid using unitialized variable in tst-tgmath (#88101)
3013 - fix gammal (#88104)
3014 - fix iconv -c
3015 - fix xdr_string (PR libc/4999)
3016 - fix /usr/lib/nptl/librt.so symlink
3017 - avoid running NPTL cleanups twice in some cases
3018 - unblock __pthread_signal_cancel in linuxthreads, so that
3019 linuxthreads threaded programs work correctly if spawned
3020 from NPTL threaded programs
3021 - fix sysconf _SC_{NPROCESSORS_{CONF,ONLN},{,AV}PHYS_PAGES}
3022 - remove /lib/i686 directory before running ldconfig in glibc post
3023 during i686 -> i386 glibc "upgrades" (#88456)
3025 * Wed Apr 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-22
3026 - update from CVS
3027 - add pthread_atfork to libpthread.a
3029 * Tue Apr 1 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-21
3030 - update from CVS
3031 - make sure linuxthreads pthread_mutex_lock etc. is not a cancellation
3032 point
3034 * Sat Mar 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-20
3035 - update from CVS
3036 - if kernel >= 2.4.1 doesn't support NPTL, fall back to
3037 /lib/i686 libs on i686, not stright to /lib
3039 * Fri Mar 28 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-19
3040 - update from CVS
3041 - timers fixes
3043 * Thu Mar 27 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-18
3044 - update from CVS
3045 - fix NPTL pthread_cond_timedwait
3046 - fix sysconf (_SC_MONOTONIC_CLOCK)
3047 - use /%%{_lib}/tls instead of /lib/tls on x86-64
3048 - add /%{_lib}/tls/librt*so* and /%{_lib}/i686/librt*so*
3049 - display content of .out files for all make check failures
3051 * Wed Mar 26 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-17
3052 - update from CVS
3053 - kernel POSIX timers support
3055 * Sat Mar 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-16
3056 - update from CVS
3057 - export __fork from glibc again
3058 - fix glibc-compat build in NPTL
3059 - fix c_stubs
3060 - fix some more atomic.h problems
3061 - don't check abi in glibc-compat libs
3063 * Fri Mar 21 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-15
3064 - update from CVS
3065 - build glibc-compat (for glibc 2.0 compatibility) and c_stubs add-ons
3066 - condrestart sshd in glibc_post_upgrade so that the user can
3067 log in remotely and handle the rest (#86339)
3068 - fix a typo in glibc_post_upgrade on sparc
3070 * Tue Mar 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-14
3071 - update from CVS
3072 - change i686/athlon libc.so.6 base to 0x00e80000
3074 * Mon Mar 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-13
3075 - update from CVS
3076 - hopefully last fix for condvar problems
3078 * Fri Mar 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-12
3079 - fix bits/syscall.h creation on x86-64
3081 * Thu Mar 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-11
3082 - update from CVS
3084 * Wed Mar 12 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-10
3085 - update from CVS
3087 * Tue Mar 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-9
3088 - update from CVS
3089 - fix glibc-debug description (#85111)
3090 - make librt.so a symlink again, not linker script
3092 * Tue Mar 4 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-8
3093 - update from CVS
3094 - remove the workarounds for broken software accessing GLIBC_PRIVATE
3095 symbols
3097 * Mon Mar 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-7
3098 - update from CVS
3100 * Sun Mar 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-6
3101 - fix TLS IE/LE model handling in dlopened libraries
3102 on TCB_AT_TP arches
3104 * Thu Feb 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-5
3105 - update from CVS
3107 * Tue Feb 25 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-4
3108 - update from CVS
3110 * Mon Feb 24 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-3
3111 - update from CVS
3112 - only warn about errno, h_errno or _res for binaries, never
3113 libraries
3114 - rebuilt with gcc-3.2.2-4 to use direct %gs TLS access insn sequences
3116 * Sun Feb 23 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-2
3117 - update from CVS
3119 * Sat Feb 22 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-1
3120 - update from CVS
3122 * Thu Feb 20 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-51
3123 - update from CVS
3125 * Wed Feb 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-50
3126 - update from CVS
3128 * Wed Feb 19 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-49
3129 - update from CVS
3130 - remove nisplus and nis from the default nsswitch.conf (#67401, #9952)
3132 * Tue Feb 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-48
3133 - update from CVS
3135 * Sat Feb 15 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-47
3136 - update from CVS
3138 * Fri Feb 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-46
3139 - update from CVS
3140 - pthread_cond* NPTL fixes, new NPTL testcases
3142 * Thu Feb 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-45
3143 - update from CVS
3144 - include also linuxthreads FLOATING_STACKS libs on i686 and athlon:
3145 LD_ASSUME_KERNEL=2.2.5 to LD_ASSUME_KERNEL=2.4.0 is non-FLOATING_STACKS lt,
3146 LD_ASSUME_KERNEL=2.4.1 to LD_ASSUME_KERNEL=2.4.19 is FLOATING_STACKS lt,
3147 later is NPTL
3148 - enable TLS on alpha/alphaev6
3149 - add BuildPreReq: /usr/bin/readlink
3151 * Tue Feb 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-44
3152 - update from CVS
3153 - pthread_once fix
3155 * Mon Feb 10 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-43
3156 - update from CVS
3157 - vfork fix on s390
3158 - rebuilt with binutils 2.13.90.0.18-5 so that accesses to errno
3159 don't bind locally (#83325)
3161 * Thu Feb 06 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-42
3162 - update from CVS
3163 - fix pthread_create after vfork+exec in linuxthreads
3165 * Wed Feb 05 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-41
3166 - update from CVS
3168 * Thu Jan 30 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-40
3169 - update from CVS
3171 * Wed Jan 29 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-39
3172 - update from CVS
3173 - enable TLS on s390{,x} and sparc{,v9}
3175 * Fri Jan 17 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-38
3176 - update from CVS
3177 - initialize __environ in glibc_post_upgrade to empty array,
3178 so that it is not NULL
3179 - compat symlink for s390x /lib/ld64.so.1
3180 - enable glibc-profile on x86-64
3181 - only include libNoVersion.so on IA-32, Alpha and Sparc 32-bit
3183 * Thu Jan 16 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-37
3184 - update from CVS
3185 - nscd fixes, *scanf fix
3186 - fix %%nptlarches noarch build (#81909)
3187 - IA-64 TLS fixes
3189 * Tue Jan 14 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-36
3190 - update from CVS
3191 - rework -debuginfo subpackage, add -debuginfo-common
3192 subpackage on IA-32, Alpha and Sparc (ie. auxiliary arches)
3193 - fix vfork in libc.a on PPC32, Alpha, Sparc
3194 - fix libio locks in linuxthreads libc.so if libpthread.so
3195 is dlopened later (#81374)
3197 * Mon Jan 13 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-35
3198 - update from CVS
3199 - dlclose bugfixes
3200 - fix NPTL libpthread.a
3201 - fix glibc_post_upgrade on several arches
3203 * Sat Jan 11 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-34
3204 - update from CVS
3205 - TLS support on IA-64
3207 * Wed Jan 8 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-33
3208 - fix vfork in linuxthreads (#81377, #81363)
3210 * Tue Jan 7 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-32
3211 - update from CVS
3212 - don't use TLS libs if kernel doesn't set AT_SYSINFO
3213 (#80921, #81212)
3214 - add ntp_adjtime on alpha (#79996)
3215 - fix nptl_db (#81116)
3217 * Sun Jan 5 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-31
3218 - update from CVS
3219 - support all architectures again
3221 * Fri Jan 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-30
3222 - fix condvar compatibility wrappers
3223 - add ugly hack to use non-TLS libs if a binary is seen
3224 to have errno, h_errno or _res symbols in .dynsym
3226 * Fri Jan 3 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-29
3227 - update from CVS
3228 - fixes for new condvar
3230 * Thu Jan 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-28
3231 - new NPTL condvar implementation plus related linuxthreads
3232 symbol versioning updates
3234 * Thu Jan 2 2003 Jakub Jelinek <jakub@redhat.com> 2.3.1-27
3235 - update from CVS
3236 - fix #include <sys/stat.h> with -D_BSD_SOURCE or without
3237 feature set macros
3238 - make *sigaction, sigwait and raise the same between
3239 -lpthread -lc and -lc -lpthread in linuxthreads builds
3241 * Tue Dec 31 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-26
3242 - fix dlclose
3244 * Sun Dec 29 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-25
3245 - enable sysenter by default for now
3246 - fix endless loop in ldconfig
3248 * Sat Dec 28 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-24
3249 - update from CVS
3251 * Fri Dec 27 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-23
3252 - update from CVS
3253 - fix ptmalloc_init after clearenv (#80370)
3255 * Sun Dec 22 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-22
3256 - update from CVS
3257 - add IA-64 back
3258 - move TLS libraries from /lib/i686 to /lib/tls
3260 * Thu Dec 19 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-21
3261 - system(3) fix for linuxthreads
3262 - don't segfault in pthread_attr_init from libc.so
3263 - add cancellation tests from nptl to linuxthreads
3265 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-20
3266 - fix up lists of exported symbols + their versions
3267 from the libraries
3269 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-19
3270 - fix --with-tls --enable-kernel=2.2.5 libc on IA-32
3272 * Wed Dec 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-18
3273 - update from CVS
3274 - fix NPTL hanging mozilla
3275 - initialize malloc in mALLOPt (fixes problems with squid, #79957)
3276 - make linuxthreads work with dl_dynamic_weak 0
3277 - clear dl_dynamic_weak everywhere
3279 * Tue Dec 17 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-17
3280 - update from CVS
3281 - NPTL socket fixes, flockfile/ftrylockfile/funlockfile fix
3282 - kill -debug sub-package, rename -debug-static to -debug
3283 - clear dl_dynamic_weak for NPTL
3285 * Mon Dec 16 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-16
3286 - fix <bits/mathinline.h> and <bits/nan.h> for C++
3287 - automatically generate NPTL libpthread wrappers
3289 * Mon Dec 16 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-15
3290 - update from CVS
3291 - all functions which need cancellation should now be cancellable
3292 both in libpthread.so and libc.so
3293 - removed @@GLIBC_2.3.2 cancellation wrappers
3295 * Fri Dec 13 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-14
3296 - update from CVS
3297 - replace __libc_lock_needed@GOTOFF(%ebx) with
3298 %gs:offsetof(tcbhead_t, multiple_threads)
3299 - start of new NPTL cancellation wrappers
3301 * Thu Dec 12 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-13
3302 - update from CVS
3303 - use inline locks in malloc
3305 * Tue Dec 10 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-12
3306 - update from CVS
3307 - support LD_ASSUME_KERNEL=2.2.5 in statically linked programs
3309 * Mon Dec 9 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-11
3310 - update from CVS
3311 - rebuilt with gcc-3.2.1-2
3313 * Fri Dec 6 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-10
3314 - update from CVS
3315 - non-nptl --with-tls --without-__thread FLOATING_STACKS libpthread
3316 should work now
3317 - faster libc locking when using nptl
3318 - add OUTPUT_FORMAT to linker scripts
3319 - fix x86_64 sendfile (#79111)
3321 * Wed Dec 4 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-9
3322 - update from CVS
3323 - RUSCII support (#78906)
3324 - for nptl builds add BuildRequires
3325 - fix byteswap.h for non-gcc (#77689)
3326 - add nptl-devel package
3328 * Tue Dec 3 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-8
3329 - update from CVS
3330 - make --enable-kernel=2.2.5 --with-tls --without-__thread
3331 ld.so load nptl and other --with-__thread libs
3332 - disable nptl by default for now
3334 * Wed Nov 27 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-7
3335 - update from CVS
3336 - restructured redhat/Makefile and spec, so that src.rpm contains
3337 glibc-<date>.tar.bz2, glibc-redhat-<date>.tar.bz2 and glibc-redhat.patch
3338 - added nptl
3340 * Fri Nov 8 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-6
3341 - update from CVS
3342 - even more regex fixes
3343 - run sed testsuite to check glibc regex
3345 * Thu Oct 24 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-5
3346 - fix LD_DEBUG=statistics and LD_TRACE_PRELINKING in programs
3347 using libpthread.so.
3349 * Thu Oct 24 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-4
3350 - update from CVS
3351 - fixed %a and %A in *printf (#75821)
3352 - fix re_comp memory leaking (#76594)
3354 * Tue Oct 22 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-3
3355 - update from CVS
3356 - some more regex fixes
3357 - fix libpthread.a (#76484)
3358 - fix locale-archive enlarging
3360 * Fri Oct 18 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-2
3361 - update from CVS
3362 - don't need to use 128K of stacks for DNS lookups
3363 - regex fixes
3364 - updated timezone data e.g. for this year's Brasil DST
3365 changes
3366 - expand ${LIB} in RPATH/RUNPATH/dlopen filenames
3368 * Fri Oct 11 2002 Jakub Jelinek <jakub@redhat.com> 2.3.1-1
3369 - update to 2.3.1 final
3370 - support really low thread stack sizes (#74073)
3371 - tzdata update
3373 * Wed Oct 9 2002 Jakub Jelinek <jakub@redhat.com> 2.3-2
3374 - update from CVS
3375 - handle low stack limits
3376 - move s390x into */lib64
3378 * Thu Oct 3 2002 Jakub Jelinek <jakub@redhat.com> 2.3-1
3379 - update to 2.3 final
3380 - fix freopen on libstdc++ <= 2.96 stdin/stdout/stderr (#74800)
3382 * Sun Sep 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-3
3383 - don't prelink -r libc.so on ppc/x86-64/sparc*, it doesn't
3384 speed things up, because they are neither REL arches, nor
3385 ELF_MACHINE_REL_RELATIVE
3386 - fix sparc64 build
3388 * Sun Sep 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-2
3389 - update from CVS
3391 * Sat Sep 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.94-1
3392 - update from CVS
3393 - prelink on ppc and x86-64 too
3394 - don't remove ppc memset
3395 - instead of listing on which arches to remove glibc-compat
3396 list where it should stay
3398 * Fri Sep 6 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-5
3399 - fix wcsmbs functions with invalid character sets (or malloc
3400 failures)
3401 - make sure __ctype_b etc. compat vars are updated even if
3402 they are copy relocs in the main program
3404 * Thu Sep 5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-4
3405 - fix /lib/libnss1_dns.so.1 (missing __set_h_errno definition
3406 leading to unresolved __set_h_errno symbol)
3408 * Wed Sep 4 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-3
3409 - security fix - increase dns-network.c MAXPACKET to at least
3410 65536 to avoid buffer overrun. Likewise glibc-compat
3411 dns-{host,network}.c.
3413 * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-2
3414 - temporarily add back __ctype_b, __ctype_tolower and __ctype_toupper to
3415 libc.a and export them as @@GLIBC_2.0 symbols, not @GLIBC_2.0
3416 from libc.so - we have still lots of .a libraries referencing
3417 __ctype_{b,tolower,toupper} out there...
3419 * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 2.2.93-1
3420 - update from CVS
3421 - 2.2.93 release
3422 - use double instead of single indirection in isXXX macros
3423 - per-locale wcsmbs conversion state
3425 * Sat Aug 31 2002 Jakub Jelinek <jakub@redhat.com> 2.2.92-2
3426 - update from CVS
3427 - fix newlocale/duplocale/uselocale
3428 - disable profile on x86_64 for now
3430 * Sat Aug 31 2002 Jakub Jelinek <jakub@redhat.com> 2.2.92-1
3431 - update from CVS
3432 - 2.2.92 release
3433 - fix gettext after uselocale
3434 - fix locales in statically linked threaded programs
3435 - fix NSS
3437 * Thu Aug 29 2002 Jakub Jelinek <jakub@redhat.com> 2.2.91-1
3438 - update from CVS
3439 - 2.2.91 release
3440 - fix fd leaks in locale-archive reader (#72043)
3441 - handle EROFS in build-locale-archive gracefully (#71665)
3443 * Wed Aug 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-27
3444 - update from CVS
3445 - fix re_match (#72312)
3446 - support more than 1024 threads
3448 * Fri Aug 23 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-26
3449 - update from CVS
3450 - fix i386 build
3452 * Thu Aug 22 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-25
3453 - update from CVS
3454 - fix locale-archive loading hang on some (non-primary) locales
3455 (#72122, #71878)
3456 - fix umount problems with locale-archives when /usr is a separate
3457 partition (#72043)
3458 - add LICENSES file
3460 * Fri Aug 16 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-24
3461 - update from CVS
3462 - only mmap up to 2MB of locale-archive on 32-bit machines
3463 initially
3464 - fix fseek past end + fread segfault with mmaped stdio
3465 - include <sys/debugreg.h> which is mistakenly not included
3466 in glibc-devel on IA-32
3468 * Fri Aug 16 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-23
3469 - don't return normalized locale name in setlocale when using
3470 locale-archive
3472 * Thu Aug 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-22
3473 - update from CVS
3474 - optimize for primary system locale
3475 - localedef fixes (#71552, #67705)
3477 * Wed Aug 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-21
3478 - fix path to locale-archive in libc reader
3479 - build locale archive at glibc-common %post time
3480 - export __strtold_internal and __wcstold_internal on Alpha again
3481 - workaround some localedata problems
3483 * Tue Aug 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-20
3484 - update from CVS
3485 - patch out set_thread_area for now
3487 * Fri Aug 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-19
3488 - update from CVS
3489 - GB18030 patch from Yu Shao
3490 - applied Debian patch for getaddrinfo IPv4 vs. IPv6
3491 - fix regcomp (#71039)
3493 * Sun Aug 4 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-18
3494 - update from CVS
3495 - use /usr/sbin/prelink, not prelink (#70376)
3497 * Thu Jul 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-17
3498 - update from CVS
3500 * Thu Jul 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-16
3501 - update from CVS
3502 - ungetc fix (#69586)
3503 - fseek errno fix (#69589)
3504 - change *etrlimit prototypes for C++ (#68588)
3505 - use --without-tls instead of --disable-tls
3507 * Thu Jul 11 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-15
3508 - set nscd user's shell to /sbin/nologin (#68369)
3509 - fix glibc-compat buffer overflows (security)
3510 - buildrequire prelink, don't build glibc's own copy of it (#67567)
3511 - update from CVS
3512 - regex fix (#67734)
3513 - fix unused warnings (#67706)
3514 - fix freopen with mmap stdio (#67552)
3515 - fix realloc (#68499)
3517 * Tue Jun 25 2002 Bill Nottingham <notting@redhat.com> 2.2.90-14
3518 - update from CVS
3519 - fix argp on long words
3520 - update atime in libio
3522 * Sat Jun 22 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-13
3523 - update from CVS
3524 - a thread race fix
3525 - fix readdir on invalid dirp
3527 * Wed Jun 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-12
3528 - update from CVS
3529 - don't use __thread in headers
3530 - fix system(3) in threaded apps
3531 - update prelink, so that it is possible to prelink -u libc.so.6.1
3532 on Alpha
3534 * Fri Jun 7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-11
3535 - update from CVS
3536 - fix __moddi3 (#65612, #65695)
3537 - fix ether_line (#64427)
3538 - fix setvbuf with mmap stdio (#65864)
3539 - --disable-tls for now, waiting for kernel
3540 - avoid duplication of __divtf3 etc. on IA-64
3541 - make sure get*ent_r and _IO_wfile_jumps are exported (#62278)
3543 * Tue May 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-10
3544 - update from CVS
3545 - fix Alpha pthread bug with gcc 3.1
3547 * Fri Apr 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-35
3548 - fix nice
3550 * Mon Apr 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-34
3551 - add relocation dependencies even for weak symbols (#63422)
3552 - stricter check_fds check for suid/sgid binaries
3553 - run make check at %%install time
3555 * Sat Apr 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-33
3556 - handle Dec 31 1969 in mktime for timezones west of GMT (#63369)
3557 - back out do-lookup.h change (#63261, #63305)
3558 - use "memory" clobber instead all the fancy stuff in i386/i686/bits/string.h
3559 since lots of compilers break on it
3560 - fix sparc build with gcc 3.1
3561 - fix spec file for athlon
3563 * Tue Apr 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-32
3564 - fix debugging of threaded apps (#62804)
3565 - fix DST for Estonia (#61494)
3566 - document that pthread_mutexattr_?etkind_np are deprecated
3567 and pthread_mutexattr_?ettype should be used instead in man
3568 pages (#61485)
3569 - fix libSegFault.so undefined externals
3571 * Fri Apr 5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-31
3572 - temporarily disable prelinking ld.so, as some statically linked
3573 binaries linked against debugging versions of old glibcs die on it
3574 (#62352)
3575 - fix <semaphore.h> for -std=c99 (#62516)
3576 - fix ether_ntohost segfault (#62397)
3577 - remove in glibc_post_upgrade on i386 all /lib/i686/libc-*.so,
3578 /lib/i686/libm-*.so and /lib/i686/libpthread-*.so, not just current
3579 version (#61633)
3580 - prelink -r on alpha too
3582 * Thu Mar 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-30
3583 - update GB18030 iconv module (Yu Shao)
3585 * Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-29
3586 - features.h fix
3588 * Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-28
3589 - update from CVS
3590 - fix nscd with huge groups
3591 - fix nis to not close fds it shouldn't
3592 - rebuilt against newer glibc-kernheaders to use the correct
3593 PATH_MAX
3594 - handle .athlon.rpm glibc the same way as .i686.rpm
3595 - add a couple of .ISO-8859-15 locales (#61922)
3596 - readd temporarily currencies which were superceeded by Euro
3597 into the list of accepted currencies by localedef to make
3598 standard conformance testsuites happy
3599 - temporarily moved __libc_waitpid back to make Sun JDK happy
3600 - use old malloc code
3601 - prelink i686/athlon ld.so and prelink -r i686/athlon libc.so
3603 * Thu Mar 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-27
3604 - update from CVS
3605 - fix DST handling for southern hemisphere (#60747)
3606 - fix daylight setting for tzset (#59951)
3607 - fix ftime (#60350)
3608 - fix nice return value
3609 - fix a malloc segfault
3610 - temporarily moved __libc_wait, __libc_fork and __libc_stack_end
3611 back to what they used to be exported at
3612 - censorship (#60758)
3614 * Thu Feb 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-26
3615 - update from CVS
3616 - use __attribute__((visibility(...))) if supported, use _rtld_local
3617 for ld.so only objects
3618 - provide libc's own __{,u}{div,mod}di3
3620 * Wed Feb 27 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-25
3621 - switch back to 2.2.5, mmap stdio needs work
3623 * Mon Feb 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-8
3624 - fix two other mmap stdio bugs (#60228)
3626 * Thu Feb 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-7
3627 - fix yet another mmap stdio bug (#60145)
3629 * Tue Feb 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-6
3630 - fix mmap stdio bug (seen on ld as File truncated error, #60043)
3631 - apply Andreas Schwab's fix for pthread sigwait
3632 - remove /lib/i686/ libraries in glibc_post_upgrade when
3633 performing i386 glibc install
3635 * Thu Feb 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-5
3636 - update to CVS
3637 - added glibc-utils subpackage
3638 - disable autoreq in glibc-debug
3639 - readd %%lang() to locale files
3641 * Fri Feb 7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-4
3642 - update to CVS
3643 - move glibc private symbols to GLIBC_PRIVATE symbol version
3645 * Wed Jan 9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-3
3646 - fix a sqrt bug on alpha which caused SHN_UNDEF $__full_ieee754_sqrt..ng
3647 symbol in libm
3649 * Tue Jan 8 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-2
3650 - add debug-static package
3652 * Mon Dec 31 2001 Jakub Jelinek <jakub@redhat.com> 2.2.90-1
3653 - update from CVS
3654 - remove -D__USE_STRING_INLINES
3655 - add debug subpackage to trim glibc and glibc-devel size
3657 * Wed Oct 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-19
3658 - fix strsep
3660 * Fri Sep 28 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-18
3661 - fix a ld.so bug with duplicate searchlists in l_scope
3662 - fix erfcl(-inf)
3663 - turn /usr/lib/librt.so into linker script
3665 * Wed Sep 26 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-17
3666 - fix a ld.so lookup bug after lots of dlopen calls
3667 - fix CMSG_DATA for non-gcc non-ISOC99 compilers (#53984)
3668 - prelinking support for Sparc64
3670 * Fri Sep 21 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-16
3671 - update from CVS to fix DT_SYMBOLIC
3672 - prelinking support for Alpha and Sparc
3674 * Tue Sep 18 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-15
3675 - update from CVS
3676 - linuxthreads now retries if -1/EINTR is returned from
3677 reading or writing to thread manager pipe (#43742)
3678 - use DT_FILTER in librt.so (#53394)
3679 - update glibc prelink patch so that it handles filters
3680 - fix timer_* with SIGEV_NONE (#53494)
3681 - make glibc_post_upgrade work on PPC (patch from Franz Sirl)
3683 * Mon Sep 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-14
3684 - fix build on sparc32
3685 - 2.2.4-13 build for some reason missed some locales
3686 on alpha/ia64
3688 * Mon Sep 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-13
3689 - fix iconvconfig
3691 * Mon Sep 3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-12
3692 - add fam to /etc/rpc (#52863)
3693 - fix <inttypes.h> for C++ (#52960)
3694 - fix perror
3696 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-11
3697 - fix strnlen(x, -1)
3699 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-10
3700 - doh, <bits/libc-lock.h> should only define __libc_rwlock_t
3701 if __USE_UNIX98.
3703 * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-9
3704 - fix bits/libc-lock.h so that gcc can compile
3705 - fix s390 build
3707 * Fri Aug 24 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-8
3708 - kill stale library symlinks in ldconfig (#52350)
3709 - fix inttypes.h for G++ < 3.0
3710 - use DT_REL*COUNT
3712 * Wed Aug 22 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-7
3713 - fix strnlen on IA-64 (#50077)
3715 * Thu Aug 16 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-6
3716 - glibc 2.2.4 final
3717 - fix -lpthread -static (#51672)
3719 * Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-5
3720 - doh, include libio/tst-swscanf.c
3722 * Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-4
3723 - don't crash on catclose(-1)
3724 - fix wscanf %[] handling
3725 - fix return value from swprintf
3726 - handle year + %U/%W week + week day in strptime
3728 * Thu Aug 9 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-3
3729 - update from CVS to
3730 - fix strcoll (#50548)
3731 - fix seekdir (#51132)
3732 - fix memusage (#50606)
3733 - don't make gconv-modules.cache %%config file, just don't verify
3734 its content.
3736 * Mon Aug 6 2001 Jakub Jelinek <jakub@redhat.com>
3737 - fix strtod and *scanf (#50723, #50724)
3739 * Sat Aug 4 2001 Jakub Jelinek <jakub@redhat.com>
3740 - update from CVS
3741 - fix iconv cache handling
3742 - glibc should not own %{_infodir}, %{_mandir} nor %{_mandir}/man3 (#50673)
3743 - add gconv-modules.cache as emtpy config file (#50699)
3744 - only run iconvconfig if /usr is mounted read-write (#50667)
3746 * Wed Jul 25 2001 Jakub Jelinek <jakub@redhat.com>
3747 - move iconvconfig from glibc-common into glibc subpackage,
3748 call it from glibc_post_upgrade instead of common's post.
3750 * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
3751 - turn off debugging printouts in iconvconfig
3753 * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
3754 - update from CVS
3755 - fix IA-32 makecontext
3756 - make fflush(0) thread-safe (#46446)
3758 * Mon Jul 23 2001 Jakub Jelinek <jakub@redhat.com>
3759 - adjust prelinking DT_* and SHT_* values in elf.h
3760 - update from CVS
3761 - iconv cache
3762 - make iconv work in SUID/SGID programs (#34611)
3764 * Fri Jul 20 2001 Jakub Jelinek <jakub@redhat.com>
3765 - update from CVS
3766 - kill non-pic code in libm.so
3767 - fix getdate
3768 - fix some locales (#49402)
3769 - rebuilt with binutils-2.11.90.0.8-5 to place .interp section
3770 properly in libBrokenLocale.so, libNoVersion.so and libanl.so
3771 - add floating stacks on IA-64, Alpha, Sparc (#49308)
3773 * Mon Jul 16 2001 Jakub Jelinek <jakub@redhat.com>
3774 - make /lib/i686 directory owned by glibc*.i686.rpm
3776 * Mon Jul 9 2001 Jakub Jelinek <jakub@redhat.com>
3777 - remove rquota.[hx] headers which are now provided by quota (#47141)
3778 - add prelinking patch
3780 * Thu Jul 5 2001 Jakub Jelinek <jakub@redhat.com>
3781 - require sh-utils for nscd
3783 * Mon Jun 25 2001 Jakub Jelinek <jakub@redhat.com>
3784 - update from CVS (#43681, #43350, #44663, #45685)
3785 - fix ro_RO bug (#44644)
3787 * Wed Jun 6 2001 Jakub Jelinek <jakub@redhat.com>
3788 - fix a bunch of math bugs (#43210, #43345, #43346, #43347, #43348, #43355)
3789 - make rpc headers -ansi compilable (#42390)
3790 - remove alphaev6 optimized memcpy, since there are still far too many
3791 broken apps which call memcpy where they should call memmove
3792 - update from CVS to (among other things):
3793 - fix tanhl bug (#43352)
3795 * Tue May 22 2001 Jakub Jelinek <jakub@redhat.com>
3796 - fix #include <signal.h> with -D_XOPEN_SOURCE=500 on ia64 (#35968)
3797 - fix a dlclose reldeps handling bug
3798 - some more profiling fixes
3799 - fix tgmath.h
3801 * Thu May 17 2001 Jakub Jelinek <jakub@redhat.com>
3802 - make ldconfig more quiet
3803 - fix LD_PROFILE on i686 (#41030)
3805 * Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
3806 - fix the hardlink program, so that it really catches all files with
3807 identical content
3808 - add a s390x clone fix
3810 * Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
3811 - fix rpc for non-threaded apps using svc_fdset and similar variables (#40409)
3812 - fix nss compatibility DSO versions for alphaev6
3813 - add a hardlink program instead of the shell 3x for plus cmp -s/link
3814 which takes a lot of time during build
3815 - rework BuildPreReq and Conflicts with gcc, so that
3816 it applies only where it has to
3818 * Fri May 11 2001 Jakub Jelinek <jakub@redhat.com>
3819 - fix locale name of ja_JP in UTF-8 (#39783)
3820 - fix re_search_2 (#40244)
3821 - fix memusage script (#39138, #39823)
3822 - fix dlsym(RTLD_NEXT, ) from main program (#39803)
3823 - fix xtrace script (#39609)
3824 - make glibc conflict with glibc-devel 2.2.2 and below (to make sure
3825 libc_nonshared.a has atexit)
3826 - fix getconf LFS_CFLAGS on 64bitters
3827 - recompile with gcc-2.96-84 or above to fix binary compatibility problem
3828 with __frame_state_for function (#37933)
3830 * Fri Apr 27 2001 Jakub Jelinek <jakub@redhat.com>
3831 - glibc 2.2.3 release
3832 - fix strcoll (#36539)
3833 - add BuildPreReqs (#36378)
3835 * Wed Apr 25 2001 Jakub Jelinek <jakub@redhat.com>
3836 - update from CVS
3838 * Fri Apr 20 2001 Jakub Jelinek <jakub@redhat.com>
3839 - update from CVS
3840 - fix sparc64, ia64
3841 - fix some locale syntax errors (#35982)
3843 * Wed Apr 18 2001 Jakub Jelinek <jakub@redhat.com>
3844 - update from CVS
3846 * Wed Apr 11 2001 Jakub Jelinek <jakub@redhat.com>
3847 - update from CVS
3849 * Fri Apr 6 2001 Jakub Jelinek <jakub@redhat.com>
3850 - support even 2.4.0 kernels on ia64, sparc64 and s390x
3851 - include UTF-8 locales
3852 - make gconv-modules %%config(noreplace)
3854 * Fri Mar 23 2001 Jakub Jelinek <jakub@redhat.com>
3855 - back out sunrpc changes
3857 * Wed Mar 21 2001 Jakub Jelinek <jakub@redhat.com>
3858 - update from CVS
3859 - fix ia64 build
3860 - fix pthread_getattr_np
3862 * Fri Mar 16 2001 Jakub Jelinek <jakub@redhat.com>
3863 - update from CVS
3864 - run atexit() registered functions at dlclose time if they are in shared
3865 libraries (#28625)
3866 - add pthread_getattr_np API to make JVM folks happy
3868 * Wed Mar 14 2001 Jakub Jelinek <jakub@redhat.com>
3869 - require 2.4.1 instead of 2.4.0 on platforms where it required 2.4 kernel
3870 - fix ldd behaviour on unresolved symbols
3871 - remove nonsensical ldconfig warning, update osversion for the most
3872 recent library with the same soname in the same directory instead (#31703)
3873 - apply selected patches from CVS
3874 - s390x spec file changes from Florian La Roche
3876 * Wed Mar 7 2001 Jakub Jelinek <jakub@redhat.com>
3877 - fix gencat (#30894)
3878 - fix ldconfig changes from yesterday, fix LD_ASSUME_KERNEL handling
3880 * Tue Mar 6 2001 Jakub Jelinek <jakub@redhat.com>
3881 - update from CVS
3882 - make pthread_attr_setstacksize consistent before and after pthread manager
3883 is started (#28194)
3884 - pass back struct sigcontext from pthread signal wrapper (on ia32 only so
3885 far, #28493)
3886 - on i686 ship both --enable-kernel 2.2.5 and 2.4.0 libc/libm/libpthread,
3887 make ld.so pick the right one
3889 * Sat Feb 17 2001 Preston Brown <pbrown@redhat.com>
3890 - glib-common doesn't require glibc, until we can figure out how to get out of dependency hell.
3892 * Sat Feb 17 2001 Jakub Jelinek <jakub@redhat.com>
3893 - make glibc require particular version of glibc-common
3894 and glibc-common prerequire glibc.
3896 * Fri Feb 16 2001 Jakub Jelinek <jakub@redhat.com>
3897 - glibc 2.2.2 release
3898 - fix regex REG_ICASE bug seen in ksymoops
3900 * Sat Feb 10 2001 Jakub Jelinek <jakub@redhat.com>
3901 - fix regexec leaking memory (#26864)
3903 * Fri Feb 9 2001 Jakub Jelinek <jakub@redhat.com>
3904 - update from CVS
3905 - fix ia64 build with gnupro
3906 - make regex 64bit clean
3907 - fix tgmath make check failures on alpha
3909 * Tue Feb 6 2001 Jakub Jelinek <jakub@redhat.com>
3910 - update again for ia64 DF_1_INITFIRST
3912 * Fri Feb 2 2001 Jakub Jelinek <jakub@redhat.com>
3913 - update from CVS
3914 - fix getaddrinfo (#25437)
3915 - support DF_1_INITFIRST (#25029)
3917 * Wed Jan 24 2001 Jakub Jelinek <jakub@redhat.com>
3918 - build all auxiliary arches with --enablekernel 2.4.0, those wanting
3919 to run 2.2 kernels can downgrade to the base architecture glibc.
3921 * Sat Jan 20 2001 Jakub Jelinek <jakub@redhat.com>
3922 - remove %%lang() flags from %%{_prefix}/lib/locale files temporarily
3924 * Sun Jan 14 2001 Jakub Jelinek <jakub@redhat.com>
3925 - update to 2.2.1 final
3926 - fix a pthread_kill_other_threads_np breakage (#23966)
3927 - make static binaries using dlopen work on ia64 again
3928 - fix a typo in glibc-common group
3930 * Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
3931 - devel requires glibc = %%{version}
3932 - noreplace /etc/nscd.conf
3934 * Wed Jan 10 2001 Jakub Jelinek <jakub@redhat.com>
3935 - some more security fixes:
3936 - don't look up LD_PRELOAD libs in cache for SUID apps
3937 (because that bypasses SUID bit checking on the library)
3938 - place output files for profiling SUID apps into /var/profile,
3939 use O_NOFOLLOW for them
3940 - add checks for $MEMUSAGE_OUTPUT and $SEGFAULT_OUTPUT_NAME
3941 - hardlink identical locale files together
3942 - add %%lang() tags to locale stuff
3943 - remove ko_KR.utf8 for now, it is provided by locale-utf8 package
3945 * Mon Jan 8 2001 Jakub Jelinek <jakub@redhat.com>
3946 - add glibc-common subpackage
3947 - fix alphaev6 memcpy (#22494)
3948 - fix sys/cdefs.h (#22908)
3949 - don't define stdin/stdout/stderr as macros for -traditional (#22913)
3950 - work around a bug in IBM JDK (#22932, #23012)
3951 - fix pmap_unset when network is down (#23176)
3952 - move nscd in rc.d before netfs on shutdown
3953 - fix $RESOLV_HOST_CONF in SUID apps (#23562)
3955 * Fri Dec 15 2000 Jakub Jelinek <jakub@redhat.com>
3956 - fix ftw and nftw
3958 * Wed Dec 13 2000 Jakub Jelinek <jakub@redhat.com>
3959 - fix fcvt (#22184)
3960 - ldd /lib/ld-linux.so.2 is not crashing any longer again (#22197)
3961 - fix gencat
3963 * Mon Dec 11 2000 Jakub Jelinek <jakub@redhat.com>
3964 - fix alpha htonl and alphaev6 stpcpy
3966 * Sat Dec 9 2000 Jakub Jelinek <jakub@redhat.com>
3967 - update to CVS to:
3968 - fix getnameinfo (#21934)
3969 - don't stomp on memory in rpath handling (#21544)
3970 - fix setlocale (#21507)
3971 - fix libNoVersion.so.1 loading code (#21579)
3972 - use auxarches define in spec file for auxiliary
3973 architectures (#21219)
3974 - remove /usr/share directory from filelist (#21218)
3976 * Sun Nov 19 2000 Jakub Jelinek <jakub@redhat.com>
3977 - update to CVS to fix getaddrinfo
3979 * Fri Nov 17 2000 Jakub Jelinek <jakub@redhat.com>
3980 - update to CVS to fix freopen
3981 - remove all alpha workarounds, not needed anymore
3983 * Wed Nov 15 2000 Jakub Jelinek <jakub@redhat.com>
3984 - fix dladdr bug on alpha/sparc32/sparc64
3985 - fix Makefiles so that they run static tests properly
3987 * Tue Nov 14 2000 Jakub Jelinek <jakub@redhat.com>
3988 - update to CVS to fix ldconfig
3990 * Thu Nov 9 2000 Jakub Jelinek <jakub@redhat.com>
3991 - update to glibc 2.2 release
3993 * Mon Nov 6 2000 Jakub Jelinek <jakub@redhat.com>
3994 - update to CVS to:
3995 - export __sysconf@@GLIBC_2.2 (#20417)
3997 * Fri Nov 3 2000 Jakub Jelinek <jakub@redhat.com>
3998 - merge to 2.1.97
4000 * Mon Oct 30 2000 Jakub Jelinek <jakub@redhat.com>
4001 - update to CVS, including:
4002 - fix WORD_BIT/LONG_BIT definition in limits.h (#19088)
4003 - fix hesiod (#19375)
4004 - set LC_MESSAGES in zic/zdump for proper error message output (#19495)
4005 - fix LFS fcntl when used with non-LFS aware kernels (#19730)
4007 * Thu Oct 19 2000 Jakub Jelinek <jakub@redhat.com>
4008 - fix alpha semctl (#19199)
4009 - update to CVS, including:
4010 - fix glibc headers for Compaq non-gcc compilers
4011 - fix locale alias handling code (#18832)
4012 - fix rexec on little endian machines (#18886)
4013 - started writing changelog again
4015 * Thu Aug 10 2000 Adrian Havill <havill@redhat.com>
4016 - added ja ujis alias for backwards compatibility