ALT Linux Bugzilla
– Attachment 8167 Details for
Bug 35523
[e2k] regexec.c, ext/re/re_exec.c надо собирать с -O1 во избежание некорректной работы
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
perl.spec: ALT #35523 workaround (-O1 for regexec, re_exec)
0001-1-5.28.2-alt2.patch (text/plain), 2.66 KB, created by
Michael Shigorin
on 2019-06-14 17:12:35 MSK
(
hide
)
Description:
perl.spec: ALT #35523 workaround (-O1 for regexec, re_exec)
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2019-06-14 17:12:35 MSK
Size:
2.66 KB
patch
obsolete
>From 88ec6b85339b788271f67048027fe07b78c484e9 Mon Sep 17 00:00:00 2001 >From: Michael Shigorin <mike@altlinux.org> >Date: Fri, 14 Jun 2019 15:21:38 +0300 >Subject: [PATCH] 1:5.28.2-alt2 > >- E2K: > + ALT #35523 workaround (-O1 for regexec, re_exec) > + drop obsolete kludges instead >- added note regarding "SMP-incompatible" build >--- > perl.spec | 33 +++++++++++++++++++-------------- > 1 file changed, 19 insertions(+), 14 deletions(-) > >diff --git a/perl.spec b/perl.spec >index 47697b1fad..b93354c96e 100644 >--- a/perl.spec >+++ b/perl.spec >@@ -1,14 +1,14 @@ > Name: perl > Version: 5.28.2 >-Release: alt1 >+Release: alt2 > Epoch: 1 > > Summary: Practical Extraction and Report Language > License: GPL or Artistic > Group: Development/Perl >-URL: http://www.perl.org >-Packager: Perl Maintainers Team <cpan@packages.altlinux.org> > >+Url: http://www.perl.org >+Packager: Perl Maintainers Team <cpan@packages.altlinux.org> > Source: perl-%version.tar > > Patch01: perl-5.28.0-alt-644-at-ExtUtils-Install.patch >@@ -414,11 +414,6 @@ find -name '*.orig' -delete > %define site_privlib %site_prefix/share/perl/%ver > %define site_archlib %site_prefix/%_lib/perl/%ver > >-%ifarch %e2k >-# mcst#2279 >-%add_optflags -D_FORTIFY_SOURCE=0 >-%endif >- > sh Configure -ders \ > -Duse64bitint \ > -Dusethreads -Duseithreads -Duselargefiles \ >@@ -434,11 +429,6 @@ sh Configure -ders \ > -Dcf_by='%vendor' -Dcf_email='%packager' \ > -Dmyhostname=localhost -Dperladmin=root@localhost > >-%ifarch %e2k >-# before lcc-1.23 >-cc --version | grep -q '^lcc:1.21' && echo '-lcxa' >> ./ext.libs >-%endif >- > # kill rpath > sed -i 's@ -Wl,-rpath,%archlib/CORE@@g' config.sh [Mm]akefile myconfig > >@@ -449,9 +439,18 @@ sed -i '/man3ext/{s/0/3pm/}' config.sh [Mm]akefile > # make -lperl symlink > ln -snf libperl-%ver.so libperl.so > >-# build the rest (SMP incompatible) >+# build the rest (SMP incompatible on: sparc64 %%arm, according to fedora) > make > >+%ifarch %e2k >+# http://bugzilla.altlinux.org/35523 workaround >+rm -f regexec.o libperl-%ver.so ext/re/re_exec.o >+make OPTIMIZE+='%optflags -O1' regexec.o >+make libperl-%ver.so >+make -C ext/re OPTIMIZE+='%optflags -O1' re_exec.o >+make -C ext/re all >+%endif >+ > %check > export LD_LIBRARY_PATH=$PWD LD_BIND_NOW=1 PERL_DL_NONLAZY=1 > # for perl 5.26.2; hack around t/porting/regen.t >@@ -1069,6 +1068,12 @@ echo perl >%buildroot%_sysconfdir/buildreqs/packages/substitute.d/perl-base > %autolib/Unicode > > %changelog >+* Fri Jun 14 2019 Michael Shigorin <mike@altlinux.org> 1:5.28.2-alt2 >+- E2K: >+ + ALT #35523 workaround (-O1 for regexec, re_exec) >+ + drop obsolete kludges instead >+- added note regarding "SMP-incompatible" build >+ > * Sat May 25 2019 Igor Vlasenko <viy@altlinux.ru> 1:5.28.2-alt1 > - 5.28.1 -> 5.28.2 > >-- >2.21.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 35523
:
7922
|
7923
|
7924
|
7925
|
8165
|
8166
| 8167