Commit Graph

721 Commits

Author SHA1 Message Date
Nick Clifton
92a1236ab3 Fix linker seg-fault compiling efivar libraries.
Resolves: #2012247
2021-10-13 15:23:37 +01:00
Nick Clifton
752fe419ea Fix linker testsuite failures triggered by 2.27-13 patch.
Resolves: #2008203
2021-10-01 11:17:12 +01:00
Nick Clifton
e59cdcdfc5 Default to an entry address of 0 for shared libraries.
Resolves: #2004952
2021-09-17 12:23:04 +01:00
Tom Stellard
73c2d21c11 Disable LTO on arm. (#1918924) 2021-09-14 16:08:12 -07:00
Nick Clifton
75c516c6c2 Enable -separate-code for all architectures, not just x86/x86_64. 2021-09-13 14:46:30 +01:00
Nick Clifton
50232d48dc Allow configuring with autonconf 2.71.
Resolves: #1999437
2021-09-10 10:39:51 +01:00
Nick Clifton
dcb64b3d34 Fix a couple of test failures 2021-08-19 16:29:28 +01:00
Stephen Gallagher
252f93244d
Fix regression breaking Node.js builds
https://sourceware.org/bugzilla/show_bug.cgi?id=28138

https://github.com/nodejs/node/issues/39452

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-08-11 10:38:16 -04:00
Nick Clifton
a2d562c07d Ensure that the manual pages are generated. (#1989836) 2021-08-10 18:47:33 +01:00
Nick Clifton
f4ad5792af Fix a local change to readelf which resulted in a success exit code for non-existant files.
Resolves: #1990817
2021-08-10 11:13:56 +01:00
Nick Clifton
ffc81ff11e Add new patch 2021-08-09 19:57:00 +01:00
Nick Clifton
01ca902e23 Ensure that dir[0] contains pwd in gas generated DWARF-5 directory tables. (#1966987) 2021-08-09 19:41:14 +01:00
Fedora Release Engineering
d5ffebd3b7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 18:37:30 +00:00
Nick Clifton
9eaca4038a Various fixes for testsuite failures. 2021-07-21 11:40:49 +01:00
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