Rebuild with new RPM_LD_FLAGS
redhat-rpm-config added annobin flags to build_ldflags (bug #1983727): $ rpm --eval '%{build_ldflags}' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 perl needs to be rebuilt to pass them to XS modules: $ perl -e 'use Config; print $Config{ldflags}, qq{\n}' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -L/usr/local/lib Without that annocheck reports on i686: Hardened: /usr/lib/perl5/vendor_perl/auto/JavaScript/Minifier/XS/XS.so: FAIL: stack-realign test because stack realign See <https://bugzilla.redhat.com/show_bug.cgi?id=2013694#c10> and the next comment.
This commit is contained in:
parent
1a70288d2e
commit
551de2548e
@ -100,7 +100,7 @@ License: GPL+ or Artistic
|
||||
Epoch: %{perl_epoch}
|
||||
Version: %{perl_version}
|
||||
# release number must be even higher, because dual-lived modules will be broken otherwise
|
||||
Release: 481%{?dist}
|
||||
Release: 482%{?dist}
|
||||
Summary: Practical Extraction and Report Language
|
||||
Url: https://www.perl.org/
|
||||
Source0: https://www.cpan.org/src/5.0/perl-%{perl_version}.tar.xz
|
||||
@ -6996,6 +6996,9 @@ popd
|
||||
|
||||
# Old changelog entries are preserved in CVS.
|
||||
%changelog
|
||||
* Mon Oct 18 2021 Petr Pisar <ppisar@redhat.com> - 4:5.34.0-482
|
||||
- Rebuild with new RPM_LD_FLAGS
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4:5.34.0-481
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user