Commit Graph

747 Commits

Author SHA1 Message Date
Václav Kadlčík
57106a8254 Import RHEL's regression test for #1465318 2021-04-14 06:31:29 +02:00
Václav Kadlčík
6a906104d9 Import RHEL's regression test for #1573872 2021-04-14 06:29:51 +02:00
Václav Kadlčík
e05b04d76b Import RHEL's regression test for #1624776 2021-04-12 11:06:09 +02:00
Václav Kadlčík
c7ad9ce6c4 Import RHEL's regression test for #1693661 2021-04-12 10:59:29 +02:00
Václav Kadlčík
e429ddcadc Import RHEL's regression test for #1785294 2021-04-12 10:59:08 +02:00
Václav Kadlčík
195ba30ad9 Import RHEL's regression test for #1406430 2021-04-08 14:43:47 +02:00
Václav Kadlčík
a6c5799515 Remove a broken test case
The kernel rebuild test has been broken since the beginning and is
hard to debug due to CI's limitations when dealing with larger logs.
Fortunately, a better replacement has been introduced by mcermak
in commits 044ff51 and 49b89d9 that renders the broken test case
pointless.
2021-04-08 14:39:38 +02:00
Nick Clifton
7453caeb33 Add an explicit dependency upon autoconf 2.69.
Resolves: #1942991
2021-03-25 13:39:49 +00:00
Nick Clifton
ac55f50329 Extend vulnerability fix yet again.
Resolves: #1925779
2021-03-11 14:30:48 +00:00
Nick Clifton
0b119dd9d5 Unretire the CVE 2021-20197 patch.
Fix merging ppc64le notes (again).  (#1928936)
2021-02-22 16:49:04 +00:00
Nick Clifton
e184e98697 Add support for the Z extensions to the s390x architecture. 2021-02-19 13:32:41 +00:00
Nick Clifton
2f53574f32 Fix merging ppc64le notes. 2021-02-18 12:42:56 +00:00
Nick Clifton
e5b60c3bbb Fix some unexpected failures in the linker testsuite which are triggered by the locally applied patches 2021-02-12 14:27:01 +00:00
Nick Clifton
2e8b4af2b9 Re-add output-format.sed source file 2021-02-11 13:40:22 +00:00
Nick Clifton
e1785a2a4b Rebase to GNU Binutils 2.36.1. 2021-02-11 13:36:12 +00:00
Nick Clifton
bbafdb8775 Extend vulnerability fix again.
Resolves: #1925779
2021-02-08 13:07:23 +00:00
Nick Clifton
c014d04d53 Preserve debug information in libbfd.a and libopcodes.a.
Resolves: #1924068
2021-02-04 20:29:52 +00:00
Nick Clifton
5cef9601f1 Extend vulnerability fix again.
Resolves: #1913744
2021-02-04 11:18:37 +00:00
Nick Clifton
34f3e5e618 Enable PEP support for all targets.
Resolves: #1920373
2021-02-03 11:57:16 +00:00
Nicholas Clifton
84771fa58a Merge #8 Introduce kernel rebuild CI test. 2021-02-03 09:52:28 +00:00
Nick Clifton
8bb6c79408 Extend vulnerability fix.
Re4solves: #1913744
2021-02-02 15:42:25 +00:00
Martin Cermak
49b89d94ef Use baseos-qe.koji-build.scratch-build.validation as gating.
Replace fedora-ci.koji-build.tier0.functional with
baseos-qe.koji-build.scratch-build.validation.

The former testcase, fedora-ci.koji-build.tier0.functional, aims to
perform the kernel rebuild on a fedora CI test system, not in koji.

The latter, baseos-qe.koji-build.scratch-build.validation is supposed
to run a kernel rebuild in a side-tag koji buildroot, which is closer
to a real kernel rebuild.

This commit sets baseos-qe.koji-build.scratch-build.validation as
the default kernel rebuild gating test for binutils.
2021-02-01 17:41:51 +01:00
Martin Cermak
044ff519e9 Introduce kernel rebuild CI test.
Introduce baseos-qe.koji-build.scratch-build.validation as a new
gating test for binutils.  The test makes sure that the binutils
update under test doesn't break the kernel build process.  The
testing kernel build happens in koji in a side-tag buildroot
containing the binutils build under test.

The source code of this new testcase lives here:
https://github.com/fedora-ci/scratch-build-test

In case of a failure that is considered a false positive, the test
result can be waived using Bodhi this way:
https://docs.fedoraproject.org/en-US/ci/gating/#_waive
2021-02-01 16:38:26 +01:00
Nick Clifton
94c52a6c76 Add support for DWARF-5 sections to the bfd linker's scripts.
Resolves: #1922707
2021-02-01 11:03:26 +00:00
Nick Clifton
1c9437f634 Fix a vulnerability in the smart_rename function.
Resolves: #1913744
2021-01-29 14:55:39 +00:00
Nick Clifton
da81b23637 Fix failures is gas and ld testsuites. 2021-01-28 10:27:32 +00:00
Fedora Release Engineering
90ca16a5d6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 01:09:07 +00:00
Nick Clifton
88880dcb05 Update the BFD library to handle DWARF-5 line number ranges. 2021-01-25 11:53:12 +00:00
Václav Kadlčík
1171dfa950 Disk space tuning in CI test code 2021-01-22 12:54:58 +01:00
Václav Kadlčík
7294ce61bc Make some CI test code optional
The only present test case rebuilt, installed and booted the kernel.
Now let's make the install and boot steps optional, just on explicit
request. Skipping these steps will be the default behaviour, at least
for now.

You can override the default by setting variable "JUST_BUILD" in the
environment the test runs in. The variable defaults to "yes" which
means the test will just build the kernel. If you use JUST_BUILD=no
(or JUST_BUILD=false or JUST_BUILD=0) then the test will not only
build but install and boot the kernel, too.

Note that the acceptable values of JUST_BUILD are case insensitive.
2021-01-22 12:22:21 +01:00
Václav Kadlčík
4db8f84f7e Improve CI test code - remove bloat
* Remove code related to RHEL versions and not interesting in Fedora.
* Remove or simplify some architecture-specific code because Fedora CI
  aims at x86_64 only.
* Remove some older and commented out experiments.
2021-01-22 12:15:53 +01:00
Václav Kadlčík
c29a5d4751 Introduce CI with one test imported form RHEL
Sanity/rebuild-kernel-and-reboot is imported from RHEL's
tests/binutils/Sanity/rebuild-kernel-and-reboot (as of commit c5bc77c).
It needs some adaptations first before running in Fedora.
2021-01-22 12:13:50 +01:00
Nick Clifton
433c9b01d4 Update the GOLD linker to handle x86 .note.gnu.property sections.
Resolves: #1916925
2021-01-21 19:23:49 +00:00
Nick Clifton
d5e63f6505 Add a fix to gas to automatically enable DWARF-5 style file name tables. 2021-01-18 16:28:08 +00:00
Nick Clifton
0960a4713d Add an option (currently disabled) to build a linker which generates new dtags. 2021-01-15 13:11:49 +00:00
Nick Clifton
c3a1a4ef17 Ensure that bfd.h is the same for i686- and x86_64 versions of the devel rpm.
Resolves: #1915317
2021-01-12 16:34:38 +00:00
Nick Clifton
eeeb57f8ed Fix bug running readelf on an empty file. (#1903448) 2021-01-08 17:48:06 +00:00
Nick Clifton
e056abea7e Fix bug running readelf on a file that cannot be read.
Resolves: #1913589
2021-01-07 14:20:35 +00:00
Nick Clifton
5aee897b5c Fix linking with multiple same-name sections. (PR 27100) 2021-01-04 16:31:41 +00:00
Nick Clifton
4b3b7c0eda Fix linking mixed SHF_LINK_ORDER and non-SHF_LINK_ORDER sections. (#1907945) 2021-01-04 14:24:14 +00:00
Tom Stellard
1c6ed47920 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-17 22:56:04 +00:00
Florian Weimer
05722a7935 NVR bump for toolchain rebuild 2020-11-26 13:58:42 +01:00
Nick Clifton
0781ec435c Import latest fixes on 2.35 branch 2020-11-25 15:49:04 +00:00
Nick Clifton
b69788edf8 Tweaks for building cross binutils rpms. 2020-11-25 15:00:22 +00:00
Nick Clifton
c9f1c0ef4c rename spec.cross to spec.binutils.cross 2020-11-18 14:10:35 +00:00
Nick Clifton
2040d52e17 Add spec.cross file which can be used to create a meta cross binutils rpm 2020-11-12 14:58:34 +00:00
Nick Clifton
540feda45b Tweaks to improve cross building 2020-11-10 14:31:42 +00:00
Nick Clifton
7c556a22c9 Add support for DW_FORM_ref8 when parsing DWARF types. 2020-11-10 12:01:43 +00:00
Nick Clifton
9138ef7327 Fix dwarf type handling - again! 2020-11-03 20:03:31 +00:00
Nick Clifton
a4573e9c3e Another correction for plugin as-needed patch. (#1889763) 2020-11-03 13:16:50 +00:00