#18580: gf2x fails to build with GCC 5.1
--------------------------------------+------------------------
       Reporter:  vbraun              |        Owner:
           Type:  defect              |       Status:  new
       Priority:  major               |    Milestone:  sage-6.8
      Component:  packages: standard  |   Resolution:
       Keywords:                      |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+------------------------

Old description:

> I get
> {{{
> libtool: link: gcc -O2 -g -Wall -W -mpclmul -o update-thresholds update-
> thresholds.o replace.o
> ./tunetoom -s 1.05 100 -o tunetoom.res
> 10 TC2:1.42e-07 TC3:0.00e+00 TC3W:2.72e-07 TC4:0.00e+00 best:1.42e-07 TC2
> 11 TC2:1.53e-07 TC3:0.00e+00 TC3W:3.74e-07 TC4:0.00e+00 best:1.53e-07 TC2
> 12 TC2:1.72e-07 TC3:0.00e+00 TC3W:4.30e-07 TC4:0.00e+00 best:1.72e-07 TC2
> 13 TC2:2.39e-07 TC3:0.00e+00 TC3W:4.25e-07 TC4:0.00e+00 best:2.39e-07 TC2
> 14 TC2:2.59e-07 TC3:0.00e+00 TC3W:4.86e-07 TC4:0.00e+00 best:2.59e-07 TC2
> 15 TC2:3.12e-07 TC3:0.00e+00 TC3W:4.81e-07 TC4:0.00e+00 best:3.12e-07 TC2
> 16 TC2:3.45e-07 TC3:0.00e+00 TC3W:5.69e-07 TC4:0.00e+00 best:3.45e-07 TC2
> 17 Error: Kara and TC3 differ for 17x17 at word 10
> failed:=[[1804289383, 846930886, 1681692777, 1714636915, 1957747793,
> 424238335, 719885386, 1649760492, 596516649, 1189641421, 1025202362,
> 1350490027, 783368690, 1102520059, 2044897763, 1967513926,
> 1365180540],[1540383426, 304089172, 1303455736, 35005211, 521595368,
> 294702567, 1726956429, 336465782, 861021530, 278722862, 233665123,
> 2145174067, 468703135, 1101513929, 1801979802, 1315634022,
> 635723058],[2275208724440845966, 578835738574109472, 570907324271046658,
> 1721997420105918243, 47478187739472868, 2305068767181959844,
> 490632590654943332, 1648018861384150968, 1872486827742044477,
> 1811960975040491224, 2038303057396306481, 1812554215605348157,
> 586551633139081423, 2265129573793559332, 1265216569049212830,
> 231022760417897247, 879627083851098905, 1484277262406484998,
> 1032241803148982813, 97066198695746088, 1537851430801362415,
> 532335089721381249, 974274190033416458, 1428585459552938882,
> 2120216175782401425, 421032103174243316, 2187544794608990614,
> 1837540120186350729, 2233724571656724210, 1225084381300543628,
> 955860066683444378, 1731325861233837476, 794963405273605304,
> 0],[2275208724440845966, 578835738574109472, 570907324271046658,
> 1721997420105918243, 47478187739472868, 2305068767181959844,
> 490632590654943332, 1648018861384150968, 1872486827742044477,
> 1811960975040491224, 11261675094251082289, 16634189858104203458,
> 8636820403715694384, 2265129573793559332, 10488588605903988638,
> 18215721313291654368, 8343744953003676902, 1484277262406484998,
> 8191130233705792994, 97066198695746088, 10761223467656138223,
> 17914408983988170366, 17472469883676135157, 17018158614156612733,
> 2120216175782401425, 421032103174243316, 2187544794608990614,
> 1837540120186350729, 2233724571656724210, 1225084381300543628,
> 955860066683444378, 1731325861233837476, 794963405273605304, 0]];
> Makefile:2202: recipe for target 'tunetoom.res' failed
> make[4]: *** [tunetoom.res] Aborted (core dumped)
> make[4]: *** Deleting file 'tunetoom.res'
> make[4]: Leaving directory
> '/mnt/disk/home/release/Sage/local/var/tmp/sage/build/gf2x-1.1.p1/src/src'
> Makefile:976: recipe for target 'tune-toom' failed
> make[3]: *** [tune-toom] Error 2
> make[3]: Leaving directory
> '/mnt/disk/home/release/Sage/local/var/tmp/sage/build/gf2x-1.1.p1/src'
> Error: Failed to tune gf2x.
> }}}
> when building with the default compiler on Fedora 22:
> {{{
> $ gcc --version
> gcc (GCC) 5.1.1 20150422 (Red Hat 5.1.1-1)
> Copyright (C) 2015 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is
> NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
> }}}

New description:

 I get
 {{{
 libtool: link: gcc -O2 -g -Wall -W -mpclmul -o update-thresholds update-
 thresholds.o replace.o
 ./tunetoom -s 1.05 100 -o tunetoom.res
 10 TC2:1.42e-07 TC3:0.00e+00 TC3W:2.72e-07 TC4:0.00e+00 best:1.42e-07 TC2
 11 TC2:1.53e-07 TC3:0.00e+00 TC3W:3.74e-07 TC4:0.00e+00 best:1.53e-07 TC2
 12 TC2:1.72e-07 TC3:0.00e+00 TC3W:4.30e-07 TC4:0.00e+00 best:1.72e-07 TC2
 13 TC2:2.39e-07 TC3:0.00e+00 TC3W:4.25e-07 TC4:0.00e+00 best:2.39e-07 TC2
 14 TC2:2.59e-07 TC3:0.00e+00 TC3W:4.86e-07 TC4:0.00e+00 best:2.59e-07 TC2
 15 TC2:3.12e-07 TC3:0.00e+00 TC3W:4.81e-07 TC4:0.00e+00 best:3.12e-07 TC2
 16 TC2:3.45e-07 TC3:0.00e+00 TC3W:5.69e-07 TC4:0.00e+00 best:3.45e-07 TC2
 17 Error: Kara and TC3 differ for 17x17 at word 10
 failed:=[[1804289383, 846930886, 1681692777, 1714636915, 1957747793,
 424238335, 719885386, 1649760492, 596516649, 1189641421, 1025202362,
 1350490027, 783368690, 1102520059, 2044897763, 1967513926,
 1365180540],[1540383426, 304089172, 1303455736, 35005211, 521595368,
 294702567, 1726956429, 336465782, 861021530, 278722862, 233665123,
 2145174067, 468703135, 1101513929, 1801979802, 1315634022,
 635723058],[2275208724440845966, 578835738574109472, 570907324271046658,
 1721997420105918243, 47478187739472868, 2305068767181959844,
 490632590654943332, 1648018861384150968, 1872486827742044477,
 1811960975040491224, 2038303057396306481, 1812554215605348157,
 586551633139081423, 2265129573793559332, 1265216569049212830,
 231022760417897247, 879627083851098905, 1484277262406484998,
 1032241803148982813, 97066198695746088, 1537851430801362415,
 532335089721381249, 974274190033416458, 1428585459552938882,
 2120216175782401425, 421032103174243316, 2187544794608990614,
 1837540120186350729, 2233724571656724210, 1225084381300543628,
 955860066683444378, 1731325861233837476, 794963405273605304,
 0],[2275208724440845966, 578835738574109472, 570907324271046658,
 1721997420105918243, 47478187739472868, 2305068767181959844,
 490632590654943332, 1648018861384150968, 1872486827742044477,
 1811960975040491224, 11261675094251082289, 16634189858104203458,
 8636820403715694384, 2265129573793559332, 10488588605903988638,
 18215721313291654368, 8343744953003676902, 1484277262406484998,
 8191130233705792994, 97066198695746088, 10761223467656138223,
 17914408983988170366, 17472469883676135157, 17018158614156612733,
 2120216175782401425, 421032103174243316, 2187544794608990614,
 1837540120186350729, 2233724571656724210, 1225084381300543628,
 955860066683444378, 1731325861233837476, 794963405273605304, 0]];
 Makefile:2202: recipe for target 'tunetoom.res' failed
 make[4]: *** [tunetoom.res] Aborted (core dumped)
 make[4]: *** Deleting file 'tunetoom.res'
 make[4]: Leaving directory
 '/mnt/disk/home/release/Sage/local/var/tmp/sage/build/gf2x-1.1.p1/src/src'
 Makefile:976: recipe for target 'tune-toom' failed
 make[3]: *** [tune-toom] Error 2
 make[3]: Leaving directory
 '/mnt/disk/home/release/Sage/local/var/tmp/sage/build/gf2x-1.1.p1/src'
 Error: Failed to tune gf2x.
 }}}
 when building with
 {{{
 (sage-sh) jdemeyer@tamiyo:sage-config$ gcc --version
 gcc (GCC) 5.1.0
 Copyright (C) 2015 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.
 }}}
 or with the default compiler on Fedora 22:
 {{{
 $ gcc --version
 gcc (GCC) 5.1.1 20150422 (Red Hat 5.1.1-1)
 Copyright (C) 2015 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.
 }}}

--

Comment (by jdemeyer):

 Confirmed with vanilla GCC 5.1.0

--
Ticket URL: <http://trac.sagemath.org/ticket/18580#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to