Commit Graph

1004 Commits

Author SHA1 Message Date
Mike FABIAN
37b7dfda47 Add python to BuildRequires (needed for the micro benchmarks)
And fix the format of the bugzilla reference in the changelog eingry.
2015-07-15 17:28:17 +02:00
Mike FABIAN
dbf5f70dbe Unicode 8.0.0 updates (including the transliteration files)
- Resolves: rhbz#1238412
2015-07-14 17:03:49 +02:00
Carlos O'Donell
33fde86f29 Add quilt support to rawhide. 2015-07-07 14:04:07 -04:00
Carlos O'Donell
2542c05d11 Remove all linuxthreads handling from spec file. 2015-06-21 20:17:04 -04:00
Carlos O'Donell
e63fda9e1a Keep glibc-headers content and files identical.
- Move split out architecture-dependent header files into devel package
  and keep generic variant in headers package, thus keeping headers package
  content and file list identical across multilib rpms.
2015-06-17 16:40:15 -04:00
Dennis Gilmore
5ee623b900 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 08:26:56 +00:00
Carlos O'Donell
1c7c723823 Remove DTV_SURPLUS increase after limit was removed. 2015-06-03 11:45:53 -04:00
Siddhesh Poyarekar
8178d6f0a6 Fix build failure on aarch64 (#1226459) 2015-05-30 09:40:53 +05:30
Siddhesh Poyarekar
a7f6b6e326 Add new condvar implementation 2015-05-18 12:21:44 +05:30
Siddhesh Poyarekar
7047693f55 Sync with upstream master 2015-05-18 12:21:44 +05:30
Siddhesh Poyarekar
adaecdb51b bump version 2015-05-08 19:15:05 +05:30
Siddhesh Poyarekar
67b30d7656 Add benchmark comparison
Create a new package glibc-benchtests with the benchmark binaries that
one may download and run to benchmark glibc for their machine.  More
importantly, the glibc-bench-compare and bench.mk scripts can run
benchmarks and compare performance of two arbitrary glibc versions as
long as both versions have the glibc-benchtests package.

Usage:

Scenario 1: Compare two build numbers, e.g.:

    /usr/libexec/glibc-benchtests/glibc-bench-compare 2.20-1.fc21 2.21.90-11.fc22

If a second build is omitted, comparison is done with the currently
installed glibc.

Scenario 2: Compare two downloaded rpms - only glibc, glibc-benchtests
and glibc-common are needed for both versions.  e.g.:

    /usr/libexec/glibc-benchtests/glibc-bench-compare -p <dir1> <dir2>
2015-05-08 11:49:59 +05:30
Siddhesh Poyarekar
adbfe47d74 Auto-sync with upstream master. 2015-05-07 12:10:16 +05:30
Siddhesh Poyarekar
943a064b90 Revert "Auto-sync with upstream master." to work around 1209451
This reverts commit 3d147acd8d.
2015-04-07 21:02:28 +05:30
Siddhesh Poyarekar
3d147acd8d Auto-sync with upstream master. 2015-04-06 16:00:41 +05:30
Siddhesh Poyarekar
85b542148e Auto-sync with upstream master. 2015-03-24 18:04:53 +05:30
Carlos O'Donell
e51327973f Reduce set of required RPM features.
- Use rpm.expand in scripts to reduce set of required RPM features.

See:
https://bugzilla.redhat.com/show_bug.cgi?id=156477#c44
2015-03-17 01:53:46 -04:00
Siddhesh Poyarekar
ca47b31b17 Auto-sync with upstream master. 2015-03-12 15:43:36 +05:30
Carlos O'Donell
91764bd9ec Resolves: #156477
- Support installing only those locales specified by the RPM macro
  %%_install_langs (#156477).
2015-03-05 16:05:43 -05:00
Siddhesh Poyarekar
6aa6486e1b Fix version number after mass rebuild 2015-02-23 14:22:15 +05:30
Siddhesh Poyarekar
5c979090d8 Auto-sync with upstream master. 2015-02-23 14:20:15 +05:30
Till Maas
6e81b3fc52 Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 22:22:07 +01:00
Carlos O'Donell
e03dd62b87 Fix missing clock_* IFUNCs in librtkaio. 2015-02-12 01:36:24 -05:00
Carlos O'Donell
c6d44c9902 Auto-sync with upstream master. 2015-02-12 00:29:07 -05:00
Carlos O'Donell
85a0930b02 Manually sync form upstrem master:
- Add back x86 vDSO support.
- Fix rtkaio build to reference clock_* functions from libc.
2015-02-12 00:22:30 -05:00
Siddhesh Poyarekar
a086cd2399 Revert x86 vdso support patch to get i686 building again 2015-01-22 00:22:13 +05:30
Siddhesh Poyarekar
c041cd3d0c Disable -Werror for a bootstrap build 2015-01-21 22:25:23 +05:30
Siddhesh Poyarekar
5d3d5d4542 Sync with upstream master and disable Werror on s390x 2015-01-21 20:18:21 +05:30
Peter Robinson
20d87dfe74 Drop large ancient ChangeLogs (rhbz #1169546) 2015-01-20 09:51:12 +00:00
Siddhesh Poyarekar
2415b86173 Pass address of main_arena.mutex to mutex_lock/unlock functions
Fix up a Fedora patch to pass the address of the mutex in the mstate
instead of the mstate itself.  This fizes the Werror warning seen on
all non-x86 builds.
2015-01-12 20:20:28 +05:30
Siddhesh Poyarekar
84d34071af Define a __tls_get_addr macro to avoid a conflicting declaration 2015-01-08 18:51:32 +05:30
Siddhesh Poyarekar
80f41525f9 Disable Werror for s390 too
Also sync up release numbers.  I seemed to have messed it up in the
last commit.
2015-01-07 21:30:39 +05:30
Siddhesh Poyarekar
6105e83f88 Sync with upstream master.
- Disable -Werror on powerpc and armv7hl.
- Temporarily disable valgrind test on ppc64.
2015-01-07 19:03:06 +05:30
Dan Horák
8b04964a99 - valgrind available only on selected arches (missing on s390) 2014-12-28 10:32:56 +01:00
Kyle McMartin
fd8c9e7125 aarch64: Drop strchrnul.S revert, apply fix from Richard Earnshaw. 2014-12-10 12:12:56 -05:00
Carlos O'Donell
c13214a08b Give auto-generated files expected permissions.
- Fix permission of debuginfo source files to allow multiarch
  debuginfo packages to be installed and upgraded.
2014-12-05 20:30:44 -05:00
Siddhesh Poyarekar
7728cb84c0 Add %%lang tags to language locale files in /usr/share/i18n/locale (#1169044) 2014-12-05 18:44:50 +05:30
Siddhesh Poyarekar
0cda7232ae Use the %%find_lang macro to get the *.mo files (#1167445) 2014-12-05 16:39:35 +05:30
Siddhesh Poyarekar
e7f91b5b18 Fix changelog comment 2014-12-05 13:15:57 +05:30
Siddhesh Poyarekar
aeaedc4de5 Don't own any directories in /usr/share/locale 2014-12-05 12:23:29 +05:30
Siddhesh Poyarekar
a9ff8be89f Remove LIB_LANG
glibc no longer installs files in /usr/lib/locale, so we don't need to
have hacks in place for it anymore.
2014-12-05 12:21:56 +05:30
Kyle McMartin
eb16415e7a aarch64: revert optimized strchrnul.S implementation (rhbz#1167501) 2014-12-03 13:12:37 -05:00
Carlos O'Donell
66b39fa433 Auto-sync with upstream master. 2014-11-28 21:32:05 -05:00
Carlos O'Donell
ce126e12db Sync with upstream master. 2014-11-24 09:58:08 -05:00
Siddhesh Poyarekar
5c361d9107 Sync with upstream master 2014-11-05 16:06:52 +05:30
Siddhesh Poyarekar
b80bba4ee9 Make getconf return only /usr/bin (#1138835) 2014-11-05 15:57:23 +05:30
Arjun Shankar
88659d3bb8 Add patch to modify several tests to use test-skeleton.c. 2014-11-04 20:31:37 +01:00
Siddhesh Poyarekar
484979ccff Enable Systemtap SDT probes for all architectures (#985109) 2014-09-30 22:14:54 +05:30
Siddhesh Poyarekar
a391f0c0e6 Sync with upstream master 2014-09-30 22:14:50 +05:30
Siddhesh Poyarekar
49b191c05b Enable lock elision again on s390 and s390x 2014-09-30 22:04:19 +05:30
Carlos O'Donell
f8be71ca8c Resolves: #1146967
- Disable more Intel TSX usage in rwlocks (#1146967).

Conflicts:
	glibc.spec
2014-09-30 22:02:35 +05:30
Carlos O'Donell
f515946248 Resolves: #1146967
- Disable lock elision support for Intel hardware until microcode
  updates can be done in early bootup (#1146967).
- Fix building test tst-strtod-round for ARM.
2014-09-26 23:44:17 -04:00
Siddhesh Poyarekar
a5b5c3d586 Sync with upstream master 2014-09-23 22:58:21 +05:30
Siddhesh Poyarekar
e9a7f4cb5d Run valgrind with the built glibc to ensure that it does not break 2014-09-23 16:58:34 +05:30
Siddhesh Poyarekar
7007495c88 Don't own common debuginfo directories. 2014-09-23 16:56:45 +05:30
Siddhesh Poyarekar
7ba0787710 Sync with upstream master and revert patch for bz#737223
There was no rationale given for the change to fix bz#737223 and the
fix was never even proposed upstream.  This patch causes a test
failure in the glibc testsuite.  Revert the patch for now and do a
proper documented analysis if this actually results in any kind of
failure.
2014-09-16 22:34:22 +05:30
Siddhesh Poyarekar
afa87a3382 Build build-locale-archive statically again
build-locale-archive was switched to link dynamically in 538b3c08
without giving a proper reason for it.  The earlier static build was
wrong though, since it would happen against the installed glibc and
not the glibc being built.  The dynamic link was also similarly wrong,
more so because it would build against the built libc.so.6 and then
try to load the system libc.so.6.  This results in a failure in %post
in cases when the new build-locale-archive may have symbol references
that are not present in the old glibc.

There seem to be no good reason to run build-locale-archive with the
system libc.so.6, so the change is now reverted with a fixed up static
link that links against the build static libc.a.
2014-09-08 16:22:40 +05:30
Siddhesh Poyarekar
680bff1439 Sync with upstream master 2014-09-08 12:32:01 +05:30
Carlos O'Donell
7448524498 Resolves: #1124987.
- Allow up to 32 dlopened modules to use static TLS (#1124987).
- Run glibc tests in %%check section of RPM spec file.
- Do not run tests with `-k` and fail if any test fails to build.
2014-09-06 14:15:15 -04:00
Siddhesh Poyarekar
f64bffe28e Fix #1133134, #1119128 and sync with upstream master
- Use INTERNAL_SYSCALL in TLS_INIT_TP (#1133134).
- Remove gconv loadable module transliteration support (#1119128).
2014-08-26 14:11:00 +05:30
Dennis Gilmore
67767852ab add back sss to nsswitch.conf we have added workarounds in the tools 2014-08-22 14:13:29 -05:00
Kevin Fenzi
d0b1601820 Rebuild for rpm bug 1131960 2014-08-21 11:48:00 -06:00
Dennis Gilmore
87e4cc74d7 remove sss from default nsswitch.conf it causes issues with live image composing 2014-08-19 10:56:39 -05:00
Siddhesh Poyarekar
75bedb0a34 Auto-sync with upstream master for mass rebuild
- Auto-sync with upstream master.
- Revert to only defining __extern_always_inline for g++-4.3+.
- Fix build failure in compat-gcc-32 (#186410).
2014-08-14 00:07:02 +05:30
Siddhesh Poyarekar
d579c1af5b Auto-sync with upstream master 2014-07-29 00:25:03 +05:30
Siddhesh Poyarekar
3cb7ba0de8 Today is Wednesday, not Thursday 2014-07-23 14:04:08 +05:30
Siddhesh Poyarekar
2ca89eabf6 Undo last master sync to fix up rawhide
Fix up rawhide till we can figure out what the problem is with this
build.
2014-07-23 14:02:10 +05:30
Siddhesh Poyarekar
c54d242628 Auto-sync with upstream master. 2014-07-15 22:13:48 +05:30
Tom Callaway
e653c3c00e fix license handling 2014-07-12 11:16:06 -04:00
Siddhesh Poyarekar
dc2e7c6d31 Auto-sync with upstream master. 2014-07-07 22:35:01 +05:30
Siddhesh Poyarekar
1779efa74a Sync with upstream roland/nptl branch 2014-07-05 00:00:22 +05:30
Siddhesh Poyarekar
91f7360fcd Separate failed test outputs using a line 2014-07-04 22:26:53 +05:30
Siddhesh Poyarekar
8c5b9331ed Link tst-timer to librt.so only if it is in the rt subdir 2014-07-03 22:34:28 +05:30
Siddhesh Poyarekar
c1d88db4f5 Get actually failed tests from tests.sum 2014-07-03 22:18:36 +05:30
Siddhesh Poyarekar
c96b7f7453 Actually remove nptl as addon 2014-07-03 11:13:32 +05:30
Siddhesh Poyarekar
1ea305b6fa Sync with roland/nptl upstream branch
Patches on this branch include nptl as a part of glibc instead of
being an addon.
2014-07-03 11:04:10 +05:30
Siddhesh Poyarekar
191c4db426 Sync with upstream master 2014-07-02 16:15:02 +05:30
Siddhesh Poyarekar
9eb38c10e7 Sync with upstream master 2014-06-24 17:41:51 +05:30
Kyle McMartin
b66a135726 AArch64: Save & restore NZCV (flags) upon entry to _dl_tlsdesc_dynamic
in order to work around GCC reordering compares across the TLS
  descriptor sequence (GCC PR61545.) Committing a (temporary) fix here
  allows us to avoid rebuilding the world with gcc 4.9.0-11.fc21.
2014-06-20 11:49:56 -04:00
Kyle McMartin
0c40cdae52 Remove ".1" from Release, which was added for the mass-rebuild.
No point in building this, but include it in the next rebase build.
2014-06-16 15:30:34 -04:00
Kyle McMartin
a0c2da6ecd Auto-sync with upstream master. 2014-06-16 13:45:03 -04:00
Siddhesh Poyarekar
8f0eca557f Auto-sync with upstream master. 2014-06-12 12:22:16 +05:30
Dennis Gilmore
19b41eb7aa - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 11:13:53 -05:00
Siddhesh Poyarekar
9d331e9d98 Sync with upstream master 2014-06-03 15:08:22 +05:30
Siddhesh Poyarekar
8da75f6fa4 Adjust rtkaio patches to build with latest upstream
Following commit upstream removed the definition for elfobjdir in
favour of elf-objpfx.  Adjust rtkaio to build with this.

commit 4134b50d6789c333707b1861a32314805bd0de5e
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed May 21 16:52:08 2014 +0000

    Consistently use $(elf-objpfx).

    As previously noted
    <https://sourceware.org/ml/libc-alpha/2013-05/msg00696.html>,
    $(elf-objpfx) and $(elfobjdir) are redundant and should be
    consolidated.  This patch consolidates on $(elf-objpfx) (for
    consistency with $(csu-objpfx)), also changing direct uses of
    $(common-objpfx)elf/ to use $(elf-objpfx).
2014-05-26 15:50:48 +05:30
Siddhesh Poyarekar
8710f4aaa6 Sync with upstream master 2014-05-26 13:25:00 +05:30
Kyle McMartin
b39b864460 Backport some upstream-wards patches to fix TLS issues on AArch64. 2014-05-21 22:06:50 -04:00
Kyle McMartin
abfaca544c AArch64: Fix handling of nocancel syscall failures (#1098327) 2014-05-21 15:34:20 -04:00
Siddhesh Poyarekar
25cc20651e Sync with upstream master
Fix up glibc-fedora-uname-getrlimit.patch to apply on top of recent
nptl code shuffle.
2014-05-15 12:26:54 +05:30
Carlos O'Donell
647ffb77fa Add initial support for displaying test results.
After each test run we output all of the test results
to the build logs. This includes PASS, FAIL, XPASS,
XFAIL results and the original error codes of the tests.

Without this fix the new upstream PASS/FAIL support
hides the test results from the build logs.
2014-05-14 12:52:50 -04:00
Carlos O'Donell
cffaeb6932 Add initial support for ppc64le. 2014-05-14 03:21:29 -04:00
Siddhesh Poyarekar
543337e954 Remove ports addon
All architectures inside ports have now been moved to the main
directory.
2014-04-29 15:15:58 +05:30
Siddhesh Poyarekar
f0de90dce8 Auto-sync with upstream master. 2014-04-29 14:58:45 +05:30
Siddhesh Poyarekar
4d17ec2120 Sync with upstream master 2014-04-18 12:14:38 +05:30
Siddhesh Poyarekar
c899b490ba Sync with upstream master
Fix up glibc-rh741105.patch so that it continues to apply correctly.
2014-04-10 21:40:30 +05:30
Siddhesh Poyarekar
b5ec0026f9 Sync with upstream master 2014-04-03 17:08:52 +05:30
Siddhesh Poyarekar
e7c5d54c2d Sync with upstream master. 2014-03-26 14:20:45 +05:30
Siddhesh Poyarekar
b7b25cd2fa Sync with upstream master
- Adjusted nscd.service patch
- Added fix for #1078355
2014-03-19 22:18:20 +05:30
Carlos O'Donell
43bff16613 Sync with upstream master.
Use cleaner upstream solution for -ftree-loop-distribute-patterns (#911307).
2014-03-12 18:13:23 -04:00
Carlos O'Donell
6b37058532 Update comments to match across other branches. 2014-03-05 16:13:37 -05:00
Siddhesh Poyarekar
51574b29c6 Sync with upstream master 2014-03-04 23:20:27 +05:30
Siddhesh Poyarekar
bdbcf83e82 Use nscd service files from glibc sources and make the service forking
Currently the nscd service is installed in systemd as a simple
service, which means that it is able to handle its own errors and does
not quit.  Since nscd does not fit that description, i.e. it can exit
on errors like, say, failing to parse nscd.conf, it should be declared
as forking instead.
2014-02-27 00:31:15 +05:30
Siddhesh Poyarekar
52f69e7bd5 Sync with upstream master and Resolve: #1069559 2014-02-25 15:22:53 +05:30
Carlos O'Donell
eaa1d42819 Fix failure load locale template.
The call to open_tmpl_archive was being passed a pointer to an
object allocated on the stack. The object on the stack is not
guaranteed to be initialized to zero so we need to minimally
initialize `fname' in the struct locarhandle to ensure that
open_tml_archive loads the default tempalte.

This error was seen while debugging glibc installs in a qemu
VM where it is more likely the stack pages were dirty. It has
not been reported on non-VM systems.
2014-02-24 22:33:35 -05:00
Siddhesh Poyarekar
372014ca28 Sync with upstream master
We've sped past 2.19 now.
2014-02-18 22:48:17 +05:30
Siddhesh Poyarekar
c90adf8884 Sync with upstream master. 2014-02-04 13:17:38 +05:30
Siddhesh Poyarekar
80e87fcac5 Resolves: #1058258
Modify regular expressions to include powerpcle stubs-*.h.
2014-01-29 16:12:36 +05:30
Siddhesh Poyarekar
ef2183ca46 Add missing period to commit log and changelog 2014-01-29 14:46:39 +05:30
Siddhesh Poyarekar
68ca569f59 Sync with upstream master 2014-01-29 10:47:29 +05:30
Siddhesh Poyarekar
56fa240739 Bump release number and fix changelog entry for last fix 2014-01-29 10:21:40 +05:30
Ville Skyttä
111d75b10f Own the %{_prefix}/lib/locale dir. 2014-01-25 20:52:16 +02:00
Siddhesh Poyarekar
e74f409fb9 Sync with upstream master 2014-01-23 15:15:41 +05:30
Siddhesh Poyarekar
0a210cc9b2 Back out ftell test case (#1052846) 2014-01-16 12:03:18 +05:30
Siddhesh Poyarekar
8ecbeeba6e Sync with upstream master and fix #1052846
- Sync with upstream master.
- Fix infinite loop in ftell when writing wide char data (#1052846).
2014-01-14 14:16:38 +05:30
Siddhesh Poyarekar
216cf91d8b Enable systemtap on Power and S/390 and sync up with upstream 2014-01-07 15:06:38 +05:30
Siddhesh Poyarekar
8e0f85bf4e Sync with upstream master 2013-12-27 11:06:36 +05:30
Siddhesh Poyarekar
893671e8e6 Sync with upstream master 2013-12-20 15:20:21 +05:30
Siddhesh Poyarekar
b04b5f9a6f Sync with upstream master 2013-12-04 11:17:23 +05:30
Siddhesh Poyarekar
439a9b91b6 Sync with upstream master 2013-11-28 18:17:19 +05:30
Siddhesh Poyarekar
f1f239ebf9 Sync with upstream master 2013-11-20 15:46:46 +05:30
Carlos O'Donell
91f5f14b93 Resolves: #1025126
- Enhance NSCD's SELinux support to use dynamic permission names (#1025126).
2013-11-09 02:15:56 -05:00
Siddhesh Poyarekar
56999f00cc Skip over unimplemented timezone format specifier in strptime
Fix pulled in as a result of the rebase.
2013-10-28 11:51:00 +05:30
Siddhesh Poyarekar
14915008a3 Sync with upstream master 2013-10-28 11:44:33 +05:30
Siddhesh Poyarekar
4d96e3246c Sync with upstream master 2013-10-21 15:06:43 +05:30
Siddhesh Poyarekar
f03231b069 Sync with upstream master 2013-10-15 11:09:58 +05:30
Carlos O'Donell
c2021d0b30 Resolves: #1013801
- Allow applications to use pthread_atfork without explicitly
  requiring libpthread.so. (#1013801)
- Support `--list-archive FILE' in localedef utility.
2013-10-03 05:22:51 -04:00
Siddhesh Poyarekar
13a25e85c0 Define swap_endianness_p in build-locale-archive 2013-10-03 10:42:38 +05:30
Carlos O'Donell
9c4147aa9e Resolves: #1009145
- Allow ldconfig cached objects previously marked as hard or soft
  ABI to now become unmarked without raising an error. This works
  around a binutils bug that caused objects to become unmarked.
  (#1009145)
2013-10-02 21:34:56 -04:00
Siddhesh Poyarekar
4ef9594328 Fix PI mutex check for non-x86 and resync with upstream master 2013-10-01 20:23:50 +05:30
Carlos O'Donell
a9c7f8acc7 Resolves: #1009623
- Avoid the use of __block which is a reserved keyword for clang++
2013-09-24 02:01:06 -04:00
Siddhesh Poyarekar
bf5e654c21 Resync with upstream master 2013-09-23 13:22:23 +05:30
Carlos O'Donell
2cd5135a96 Resolves: #985625
- Fix CVE-2013-4788: Static applications now support pointer mangling.
  Existing static applications must be recompiled (#985625).
2013-09-23 00:30:55 -04:00
Patsy Franklin
1939babb04 Resolves: #804768
-Require a specific version of binutils for s390/s390x support.
2013-09-19 10:23:27 -04:00
Siddhesh Poyarekar
fb87393c99 Resync with upstream master 2013-09-16 15:16:18 +05:30
Siddhesh Poyarekar
35b7508499 Resync with upstream master 2013-09-05 17:37:40 +05:30
Carlos O'Donell
db59a6354f Fix Power build (#997531). 2013-08-29 00:36:52 -04:00
Carlos O'Donell
b8280fad3d Fix indirect function support to avoid calling optimized routines
for the wrong hardware (#985342).
2013-08-28 00:34:43 -04:00
Siddhesh Poyarekar
97490e6a11 Initialize res_hconf in nscd 2013-08-26 12:23:11 +05:30
Siddhesh Poyarekar
25e270de7c Fix tst-aiod2 and tst-aiod3 test failures (#970865) 2013-08-22 15:08:00 +05:30
Siddhesh Poyarekar
735547c10e Fix an issue with the strcoll CVE patch
Expanded types for some variables to prevent overflow.
2013-08-22 11:10:25 +05:30
Siddhesh Poyarekar
e3b637cf01 Avoid inlining of cleanup function for kaio_suspend
Inlining of the function seems to be responsible for the unwind
function not adjusting the GOT pointer before calling the cleanup
function.
2013-08-22 11:07:15 +05:30
Siddhesh Poyarekar
615c1c4694 Remove non-ELF support in rtkaio 2013-08-20 10:14:34 +05:30
Siddhesh Poyarekar
f40b2eb05b Fix changelog and release number 2013-08-19 17:08:37 +05:30
Siddhesh Poyarekar
17b00fb789 Get rid of releng tarball
Add necessary files directly to the Fedora git tree and add rtkaio and
c_stubs bits as patches.
2013-08-19 17:05:59 +05:30
Siddhesh Poyarekar
f64a75b648 Fix buffer overflow in readdir_r (#995841, CVE-2013-4237) 2013-08-19 13:33:34 +05:30
Siddhesh Poyarekar
944ed516b0 Pull in systemd during build and use the tmpfilesdir macro. 2013-08-16 19:30:36 +05:30
Siddhesh Poyarekar
5817231d50 Upstream release 2.18 2013-08-16 19:26:44 +05:30
Carlos O'Donell
63769b1ddc Use %{_prefix} everywhere.
This patch fixes the spec file to use %{_prefix} everywhere that
is related to the package and subpackages. However, external
utilities are still referenced by their absolute path which
includes /usr.
2013-08-14 23:48:25 -04:00
Carlos O'Donell
5b97b46bb3 Use $rtkdestdir with alternate rtkaio libs.
Fix typo.
2013-08-14 15:51:47 -04:00
Carlos O'Donell
b8e4762c60 Revert `Move to /usr' transition.
The `Move to /usr' transition for glibc can not be completed
without support from RPM. There are too many Requires that
explicitly reference non-/usr paths in various spec files.
Reverting this patch is the only way forward until we find
a transitional way to support this.
2013-08-13 16:41:01 -04:00
Carlos O'Donell
62c3082486 Complete `Move to /usr' transition for package.
All relevant files are not installed to /usr, with the expectation
that the distribution will provide compatibility links from the
old paths to the new paths. All uses of a bare `/usr' have been
replaced with uses of `%{_prefix}' for files installed by the
package.
2013-08-13 13:18:15 -04:00
Carlos O'Donell
baa7ac6384 Fix typo in install_different local vars. 2013-08-09 00:48:21 -04:00
Carlos O'Donell
71c008f968 Refactor multilib install code.
Two large chunks of identical code are used to install the
non-default runtimes. This patch refactors that code into
the function `install_different' which is used to
conditionally install any libaries where different in the
new multilib (different from the default).
2013-08-09 00:41:01 -04:00
Carlos O'Donell
85447d4e89 Fix duplicate file warnings.
The find-debuginfo.sh script will return duplicate entries of
certain files even though the input is uinque. This results
in rpm build warnings like this:
~~~
Processing files: glibc-debuginfo-common-2.17.90-10.fc20.x86_64
warning: File listed twice: /usr/lib/debug/usr/sbin/build-locale-archive.debug
warning: File listed twice: /usr/lib/debug/usr/sbin/nscd.debug
warning: File listed twice: /usr/lib/debug/usr/sbin/zdump.debug
warning: File listed twice: /usr/lib/debug/usr/sbin/zic.debug
~~~

The solutions is to make the output file list uinque by post
processing it after it is output by find-debuginfo.sh.

The solution removes the warnings and produces no visible
change in the output rpms.
2013-08-08 12:29:39 -04:00
Carlos O'Donell
37b5e6be81 Avoid complex shell constructs.
Don't use subshells when not needed.

Don't use `|| :' to hide errors.
2013-08-08 11:24:25 -04:00
Karsten Hopp
f20c318f75 rebuild with the latest rpm to fix missing ld64.so provides on PPC 2013-08-07 15:18:48 +02:00
Carlos O'Donell
e009d66cdf 2.17.90-10
Bump version.

- Fix missing libbsd.a in debuginfo packages.
2013-07-29 14:36:48 -04:00
Carlos O'Donell
0d1d15d15b Use %{_libdir} instead of %{_prefix}/%{_lib}.
Using %{_libdir} is shorter to write and read and
means exactly the same thing. It also facilitates
experimenting with package layout by changing only
_libdir.
2013-07-29 14:34:27 -04:00
Carlos O'Donell
3bc8fa746f Reorder middle-phase install steps.
Testing showed that unstripped libbsd.a was missing from the list
of common debuginfo files. The fix is to move the "Misc" phase
to before the phase that adds files to the debuginfo. This way
the debuginfo files are computed after all files are in place.
2013-07-29 14:34:27 -04:00
Siddhesh Poyarekar
70cc4d3cc2 - Fix strcoll flaws (#855399, CVE-2012-4412, CVE-2012-4424). 2013-07-29 20:04:15 +05:30
Siddhesh Poyarekar
9a33c90499 Remove pt_chown and fix up spec file
I had forgotten to bump the release number and even add a changelog
entry earlier.  Do all that now.
2013-07-29 17:35:53 +05:30
Siddhesh Poyarekar
59f7846a1a Resync with upstream master 2013-07-29 16:47:41 +05:30
Carlos O'Donell
1d99c012ca Use -s' with truncate not -size'. 2013-07-25 20:30:58 -04:00
Carlos O'Donell
02e8252613 Remove obscure uses of shell redirections.
This patch makes the spec file slightly more friendly to non-shell
readers by changing "> foo" to "truncate -s 0 foo" and removes
the use of ">> foo". The use of ">> foo" is perhaps the most
interesting shell trick which is used to create a zero sized
debuginfocommon.filelist, but only if it doesn't already exist.
This allows the subsequent command to use debuginfocommon.filelist
without requiring it be wrapped in a check for
%{debuginfocommonarches}. That seems a little obtuse and certainly
confusing to the reader who expects such a check for anything
that is related to the debuginfo common package.
2013-07-25 20:17:30 -04:00
Carlos O'Donell
2eb150368a Second round of whitespace and indentation fixes. 2013-07-25 19:10:00 -04:00
Carlos O'Donell
d4d7effa6b Reindent functions and multi-line commands. 2013-07-25 18:53:13 -04:00
Carlos O'Donell
37714d015a Fix slowpow systemtap probe name.
- Correctly name the 240-bit slow path sytemtap probe slowpow_p10 for slowpow.
2013-07-25 15:46:20 -04:00
Carlos O'Donell
5a3b560f10 Reorganize the middle of the install phase.
The middle of the install phase is now clearly split into:
* Remove files we don't distribute.
* Install info files.
* Install locale files.
* Install configuration files for services.
* Install debug copies of unstripped static libs.
* Miscellaneous.
2013-07-24 23:00:43 -04:00
Carlos O'Donell
8c7b7c2248 Adjust comments. 2013-07-24 22:45:11 -04:00
Carlos O'Donell
dbc262b8ed Fix testsuite failures in static C++ tests.
Add build requirement on static libstdc++ library to fix testsuite failures
for static C++ tests.
2013-07-24 08:54:14 -04:00
Carlos O'Donell
9abcefa0aa Add extensive comments. 2013-07-24 07:58:38 -04:00
Carlos O'Donell
7e232bd35c Use pushd/popd for directory changes. 2013-07-24 01:27:35 -04:00
Carlos O'Donell
bf6cb48175 Remove trailing whitespace. 2013-07-24 01:22:37 -04:00
Siddhesh Poyarekar
a383e78f66 - Enable lock elision support (#982363).
- Depend on systemd instead of systemd-units (#983760).
2013-07-22 14:44:54 +05:30
Siddhesh Poyarekar
9d560ee089 Resync with upstream master 2013-07-09 23:15:48 +05:30
Carlos O'Donell
5e06266896 Fix %changelog indentation. 2013-07-08 17:17:33 -04:00
Siddhesh Poyarekar
58028e9523 Resync with upstream master 2013-06-20 13:23:26 +05:30
Remi Collet
9a2e2fa7aa rebuild for new GD 2.1.0 2013-06-11 10:04:52 +02:00
Siddhesh Poyarekar
3cd9b9ce3d Resync with upstream master
Dropped upstreamed patches and adjusted others to apply to latest
upstream.
2013-06-04 22:23:45 +05:30
Siddhesh Poyarekar
1cb6060f99 Avoid crashing in LD_DEBUG when program name is unavailable
Resolves: #961238.
2013-05-14 20:18:28 +05:30
Patsy Franklin
e1a168f8a9 Resolves: #959034
- Fix _nl_find_msg malloc failure case, and callers. (#959034).
2013-05-05 20:19:47 -04:00
Patsy Franklin
3432a46817 Resolves: #952799
- Test init_fct for NULL, not result->__init_fct, after demangling (#952799).
2013-04-30 10:51:37 -04:00
Patsy Franklin
7f654232b1 Resolves: #892777 #952799
- Increase limits on xdr name and record requests (#892777).
  - Consistently MANGLE/DEMANGLE init_fct, end_fct and btow_fct (#952799).
2013-04-23 16:52:25 -04:00
Siddhesh Poyarekar
209568f516 Don't add input group during initgroups_dyn in hesiod (#921760) 2013-03-28 14:11:28 +05:30
Carlos O'Donell
bbd581848b Fix incorrect %changelog dates.
We had 16 incorrect %changelog dates that referenced
either the wrong day or wrong date for the day. All
such entries have been corrected using version control
information to determine the correct or most plausible
date. This fixes the Koji warnings about incorrect
dates in the %changelog.
2013-03-21 18:18:11 -04:00
Carlos O'Donell
37410dcf6c Remove duplicate comments in spec file. 2013-03-17 21:20:31 -04:00
Carlos O'Donell
b5a300152e 2.17-4
- Fixed i386 glibc builds (#917161).
  - Fixed multibyte character processing crash in regexp (#905877, CVE-2013-0242)
2013-03-17 20:13:38 -04:00
Carlos O'Donell
6cfdaac5b6 2.17-3
- Renamed release engineering directory to `releng' (#903754).
  - Fix building with gcc 4.8.0 (#911307).
2013-02-27 19:48:51 -05:00
Carlos O'Donell
db7fd60840 * Thu Feb 7 2013 Carlos O'Donell <carlos@redhat.com> - 2.17-2
- Fix ownership of /usr/lib[64]/audit (#894307).
  - Support unmarked ARM objects in ld.so.cache and aux cache (#905184).
2013-02-08 09:40:54 -05:00
Jeff Law
fb5a5a9b05 - Resync with official glibc-2.17 release 2013-01-01 08:00:53 -07:00
Jeff Law
48a6019250 - Resync with master 2012-12-21 13:50:00 -07:00
Jeff Law
01a2098723 + - Add rtld-debugger-interface.txt as documentation. (#872242) 2012-12-19 11:14:19 -07:00
Jeff Law
cdd3b0516c - Resync with master
- Drop patch for 731228 that is no longer needed.
2012-12-07 15:01:57 -07:00
Jeff Law
245f445471 Bump release. 2012-12-06 10:46:40 -07:00
Jeff Law
0a21292124 - Resync with master
- Patch for 697421 has been submitted upstream.
  - Drop local patch for 691912 that is no longer needed.
2012-12-06 10:45:03 -07:00
Jeff Law
7941460ddd Mark 731228 as having an upstream BZ (14898) 2012-12-04 09:11:08 -07:00
Jeff Law
4e1a9eb783 * Mon Dec 3 2012 Jeff Law <law@redhat.com> - 2.16.90-36
- Resync with master
  - Drop local patch for 657588 that is no longer needed.
  - Drop local patch for 740682 that is no longer needed.
  - Drop local patch for 770439 that is no longer needed.
  - Drop local patch for 789209 that is no longer needed.
  - Drop lotch patch for nss-files-overflow that seems
    useless.
  - Drop localedata-locales-fixes as they were rejected
    upstream.
  - Drop test-debug-gnuc-hack.patch that seems useless now.
  - Repack patchlist.
2012-12-03 13:37:41 -07:00
Jeff Law
d5297ae5f7 - Resync with master
- Drop local patch for 657588 that is no longer needed.
  - Drop lotch patch for nss-files-overflow that seems
    useless.
  - Repack patchlist.
2012-12-03 11:25:56 -07:00
Jeff Law
03545a8efd - Resync with master (#882137).
- Remove local patch for strict-aliasing warnings that
    is no longer needed.
  - Remove local patch for 730856 that is no longer needed.
  - Repack patchlist.
2012-11-30 14:01:46 -07:00
Jeff Law
f5dc60f992 - Remove local patch which "temporarily" re-added currences
obsoleted by the Euro.
2012-11-29 14:25:33 -07:00