Compare commits

..

9 commits

Author SHA1 Message Date
Nick Clifton
bde5ff11df Only check major version numbers when verifying gcc builder and runner. (#16329224) 2018-10-15 12:13:25 +01:00
Nick Clifton
92892c9437 Version bump in order to allow a rebuild with the latest version of gcc. 2018-05-10 11:22:26 +01:00
Nick Clifton
ac8ccbb812 Fix script bug in hardended.sh. (Thanks to: Stefan S?rensen <stefan.sorensen@spectralink.com>) 2018-05-08 13:46:13 +01:00
Nick Clifton
672036adc1 Import latest changes from rawhide, including hard requirement on the version of gcc used. 2018-05-04 14:28:25 +01:00
Nick Clifton
8ee25de178 Release number bumped in order to allow a rebuild with the latest version of GCC. 2018-05-03 12:54:01 +01:00
Nick Clifton
b14031d3bc Rebuild the plugin with the newly created plugin enabled.
Resolves: #1573082
2018-04-30 16:47:15 +01:00
Nick Clifton
62be14152c Do not record a stack protection setting of -1.
Resolves: #1563141
2018-04-03 16:18:30 +01:00
Nick Clifton
7a8ada7437 Do not complain about a dwarf_version value of -1.
Relates: #1557511
2018-03-20 11:35:02 +00:00
Nick Clifton
3124e01563 Sync with rawhide, since that seems to fix #1557511.
Bias file start symbols by 2 in order to avoid them confused with function symbols.  (#1554332)
Version jump is to sync the version number with the annobin plugins internal version number.
2018-03-19 10:14:51 +00:00
8 changed files with 168 additions and 2089 deletions

View file

@ -1 +0,0 @@
1

20
.gitignore vendored
View file

@ -1,2 +1,18 @@
/annobin-*.tar.xz
/annobin-9.51-1.fc34.src.rpm
/annobin-2.0.tar.xz
/annobin-2.1.tar.xz
/annobin-2.2.tar.xz
/annobin-2.3.tar.lz
/annobin-2.3.tar.xz
/annobin-2.4.tar.xz
/annobin-2.5.tar.xz
/annobin-2.5.1.tar.xz
/annobin-3.0.tar.xz
/annobin-3.1.tar.xz
/annobin-3.2.tar.xz
/annobin-3.3.tar.xz
/annobin-3.4.tar.xz
/annobin-5.0.tar.xz
/annobin-5.1.tar.xz
/annobin-5.2.tar.xz
/annobin-5.6.tar.xz
/annobin-5.7.tar.xz

View file

@ -0,0 +1,24 @@
diff -rup annobin.orig/tests/Makefile.am annobin-5.6/tests/Makefile.am
--- annobin.orig/tests/Makefile.am 2018-05-04 14:23:33.303562575 +0100
+++ annobin-5.6/tests/Makefile.am 2018-05-04 14:23:52.212354792 +0100
@@ -12,7 +12,7 @@ TESTS=compile-test \
abi-test \
missing-notes-test \
function-sections-test \
- assembler-gap-test
+
XFAIL_TESTS=hardening-fail-test
diff -rup annobin.orig/tests/Makefile.in annobin-5.6/tests/Makefile.in
--- annobin.orig/tests/Makefile.in 2018-05-04 14:23:33.304562564 +0100
+++ annobin-5.6/tests/Makefile.in 2018-05-04 14:23:59.205277949 +0100
@@ -217,7 +217,7 @@ TESTS = compile-test \
abi-test \
missing-notes-test \
function-sections-test \
- assembler-gap-test
+
XFAIL_TESTS = hardening-fail-test
all: all-am

View file

@ -0,0 +1,20 @@
diff -rup annobin.orig/plugin/annobin.cc annobin-5.7/plugin/annobin.cc
--- annobin.orig/plugin/annobin.cc 2018-10-15 11:57:59.263140156 +0100
+++ annobin-5.7/plugin/annobin.cc 2018-10-15 12:00:17.358170612 +0100
@@ -1158,10 +1158,14 @@ plugin_init (struct plugin_name_args *
{
bool fail = false;
- if (strcmp (version->basever, gcc_version.basever))
+ /* plugin_default_version_check is very strict and requires that the
+ major, minor and revision numbers all match. Since annobin only
+ lightly touches gcc we assume that major number compatibility will
+ be sufficient... */
+ if (strncmp (version->basever, gcc_version.basever, strchr (version->basever, '.') - version->basever))
{
annobin_inform (0, _("Error: plugin built for compiler version (%s) but run with compiler version (%s)"),
- version->basever, gcc_version.basever);
+ gcc_version.basever, version->basever);
fail = true;
}

File diff suppressed because it is too large Load diff

View file

@ -1,20 +0,0 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: baseos-qe.koji-build.scratch-build.validation}
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

View file

@ -1,6 +0,0 @@
summary: CI Gating Plan
discover:
how: fmf
url: https://src.fedoraproject.org/tests/annobin.git
execute:
how: tmt

View file

@ -1 +1 @@
SHA512 (annobin-13.05.tar.xz) = 07bc023018e3f456fae470b271915bde2e1ff367ee8bb58adb74255023ae59e8c45ced8e4bd2130bf8a496966d986bca9866e054019f6ca4660d78c129b6532f
SHA512 (annobin-5.7.tar.xz) = 9f0ff5d4ce0d3028e79cf4b9ebe8adf328962100d805a7faa4cd9b3fd239f11dc4178290a755c61ce2d73aeaa3aa794af0de7151922cfabeb18b3048d5073d87