Commit Graph

707 Commits

Author SHA1 Message Date
Nick Clifton
6d1ff8eb0b Fix sources 2021-07-19 17:24:33 +01:00
Nick Clifton
90f5896dac Rebase to GNU Binutils 2.37.
- Retire: binutils-2.36-branch-updates.patch
- Retire: binutils-CVE-2021-20197.patch
- Retire: binutils-CVE-2021-3530.patch
- Retire: binutils-plugin-file-descriptors.patch
- Retire: binutils-ppc-weak-undefined-plt-relocs.patch
- Retire: binutils-ppc64le-note-merge.patch
- Retire: binutils-s390-arch14-insns.patch
2021-07-19 17:07:20 +01:00
Václav Kadlčík
acab70872f Remove RHEL's regression test for #1804696
After [1] the reproducer isn't valid any more. Fortunately there's
a better reproducer and it's included in the internal test suite
(pr25458) and we run the suite (see tests/Sanity/testsuite). To sum
it up, we can delete the #1804696 test.

[1] 52d0948022
2021-07-01 21:02:27 +02:00
Václav Kadlčík
24cc8051d1 More debuginfos needed in test Regression/bz1311352 2021-07-01 18:15:39 +02:00
Václav Kadlčík
58f355fcc3 Un-break test Sanity/dts-probe-binaries for glibc 2.34
Don't look for __libc_csu_init, it's not in binaries built with glibc
2.34. See [1].

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=035c012e32c11e84d64905efaf55e74f704d3668
2021-07-01 16:47:41 +02:00
Nick Clifton
fba59c4283 Enable the creation of .note.gnu.property sections by the GOLD linker for x86 binaries. (#1970961) 2021-06-21 18:02:11 +01:00
Nick Clifton
fb7c644d99 Set clang bconf default based on %%toolchain.
Diable LTO when using clang.
Disable check-rpath's test for standard runpaths.
Make the existing tests have the gating effect.
2021-06-03 15:01:45 +01:00
Václav Kadlčík
c82e600f3f Unbreak tests/Sanity/rebuild-coreutils
Work around #1960792 (a coreutils bug). While the systems running
Fedora CI are still affected, the fix is already in the update
repos. Using "dnf update coreutils" should be enough to make our
test pass.
2021-06-01 14:08:24 +00:00
Nick Clifton
3ebde0f76b Remove spurious spaces from binutils.spec 2021-05-27 13:06:57 +01:00
Nick Clifton
a4b106ec38 Increase number of file descriptors available to plugins. (#1918924)
Remove uses of RPATH.
2021-05-27 10:44:25 +01:00
Václav Kadlčík
284ad2a04b Import RHEL's regression test for #1804696
A tweak was needed for Rawhide (or anything after [1]): readelf
requires "-W" to display the "_environ" symbol without truncating.

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0942c7ab94e554657c3e11ab85ae7f15373ee80d
2021-05-26 07:34:05 +02:00
Václav Kadlčík
8b9a64065d Import RHEL's test Sanity/rebuild-coreutils 2021-05-25 08:38:59 +02:00
Václav Kadlčík
518691547f Import RHEL's test Sanity/rebuild-wget 2021-05-25 08:38:34 +02:00
Václav Kadlčík
8d1431acf8 Import RHEL's test Sanity/rebuild-emacs 2021-05-25 08:37:46 +02:00
Václav Kadlčík
f5c84aa932 Merge branch 'rawhide' of https://src.fedoraproject.org/forks/vkadlcik/rpms/binutils into rawhide 2021-05-25 08:08:19 +02:00
Václav Kadlčík
473ccf2683 Import RHEL's test Sanity/testsuite
It's a wrapper for the upstream test suite.

There's one small addition (already inherited from RHEL) covering
but I'm keeping it here for convenience as it works with the upstream
test suite too. I've slightly modified it to make it work beyond
RHEL 8. The modification is based on the final upstream fix [1] and
the related discussion in thread [2].

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6bf4a34047452f882c5cc66bd85812ee1bb5a41c
[2] https://sourceware.org/pipermail/binutils/2018-August/104304.html
2021-05-21 17:02:51 +00:00
Václav Kadlčík
54c8d3242b Merge remote-tracking branch 'upstream/rawhide' into rawhide 2021-05-21 12:22:29 +02:00
Nick Clifton
2680508b04 Spec file tidy ups 2021-05-21 10:32:35 +01:00
Václav Kadlčík
0b3adba8ff Merge remote-tracking branch 'upstream/rawhide' into rawhide 2021-05-19 06:42:47 +02:00
Nick Clifton
fc998ec612 Generate PLT relocs for weak undefined PPC function symbols.
Resolves: #1960730
2021-05-18 12:50:19 +01:00
Václav Kadlčík
5069c58e30 Import RHEL's test Sanity/testsuite
It's a wrapper for the upstream test suite.

There's one small addition (already inherited from RHEL) covering
but I'm keeping it here for convenience as it works with the upstream
test suite too. I've slightly modified it to make it work beyond
RHEL 8. The modification is based on the final upstream fix [1] and
the related discussion in thread [2].

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6bf4a34047452f882c5cc66bd85812ee1bb5a41c
[2] https://sourceware.org/pipermail/binutils/2018-August/104304.html
2021-05-14 10:11:23 +02:00
Nick Clifton
616b9e8e44 Enable new dtags 2021-05-13 12:07:17 +01:00
Václav Kadlčík
64cf74e8a3 Fix RHEL's test Sanity/dts-probe-binaries
Here are the changes, promised in the import commit:
- Adapt to binutils 2.36.1:
  - ".dynstr" no longer in the symbol table, see
    https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=d1bcae833b32f1408485ce69f844dcd7ded093a8
  - only one '@' for undefined symbols in the symbol table, see
    https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3f2e9699234ca31d083bc93ea6e03903f10baeaf
- Remove code specific to older RHELs
2021-05-12 05:41:19 +02:00
Václav Kadlčík
22348da57d Import RHEL's test Sanity/dts-probe-binaries
Unchanged yet, failing on Fedora Rawhide. I'll fix it in the
upcoming commit.
2021-05-12 05:39:34 +02:00
Václav Kadlčík
8e50243c45 Import RHEL's regression test for #241252 2021-05-11 15:30:04 +00:00
Václav Kadlčík
95e9eaea23 Import RHEL's regression test for #430856 2021-05-11 15:30:04 +00:00
Václav Kadlčík
3740b5fe3f Import RHEL's regression test for #435078 2021-05-11 15:30:04 +00:00
Václav Kadlčík
2c6bc398b0 Import RHEL's regression test for #480009 2021-05-11 15:30:04 +00:00
Václav Kadlčík
fe3f218ee7 Import RHEL's regression test for #495196 2021-05-11 15:30:04 +00:00
Václav Kadlčík
ba92017b68 Import RHEL's regression test for #509124 2021-05-11 15:30:04 +00:00
Václav Kadlčík
14a74d027d Import RHEL's regression test for #531269 2021-05-11 15:30:04 +00:00
Václav Kadlčík
1f73172fe0 Import RHEL's regression test for #533321 2021-05-11 15:30:04 +00:00
Václav Kadlčík
001cb68e0a Import RHEL's regression test for #578576 2021-05-11 15:30:04 +00:00
Václav Kadlčík
22c57fab15 Import RHEL's regression test for #587788 2021-05-11 15:30:04 +00:00
Timm Bäder
117b4ee5c2 spec: Consistently use %set_build_flags
So we can always refer to CFLAGS and LDFLAGS instead of swithing between
them and the RPM_ equivalent.
2021-05-08 10:42:18 +02:00
Timm Bäder
5e669f0402 Remove unnecessary parameters from make macros
%make_build already passes %{_smp_mflags) and %make_install passes
DESTDIR=%{buildroot}
2021-05-08 10:01:11 +02:00
Nick Clifton
2c147eaf06 Stop stack exhaustion when demangling corrupt rust names.
Resolves: #1956424
2021-05-07 17:42:52 +01:00
Václav Kadlčík
4594b7d025 Fix a too old path to the test framework in a CI test 2021-04-29 13:52:03 +02:00
Václav Kadlčík
37d46f62b4 More precise setup in the #1311352 CI test 2021-04-29 11:00:35 +02:00
Václav Kadlčík
eb66e6ad98 Remove a useless import breaking the #689829 CI test 2021-04-29 08:55:09 +02:00
Václav Kadlčík
248005fd4b Import RHEL's regression test for #689829 2021-04-28 13:38:57 +02:00
Václav Kadlčík
cf75a87f18 Import RHEL's regression test for #698005 2021-04-28 13:38:57 +02:00
Václav Kadlčík
aa0db47566 Import RHEL's regression test for #748927 2021-04-28 13:38:57 +02:00
Václav Kadlčík
06dff1c717 Import RHEL's regression test for #755872 2021-04-28 13:38:57 +02:00
Václav Kadlčík
6becef8c86 Import RHEL's regression test for #850832 2021-04-28 13:38:57 +02:00
Václav Kadlčík
5368a04b59 Import RHEL's regression test for #872148 2021-04-28 13:38:57 +02:00
Václav Kadlčík
c58376bae6 Import RHEL's regression test for #895241 2021-04-28 13:38:57 +02:00
Václav Kadlčík
d8a8efd579 Import RHEL's regression test for #916214 2021-04-28 13:38:57 +02:00
Václav Kadlčík
8b0542614c Import RHEL's regression test for #959422 2021-04-28 08:27:22 +02:00
Václav Kadlčík
b0c79a4304 Import RHEL's regression test for #1174826 2021-04-28 08:26:46 +02:00