#11084: Singular 3-1-1-4.p4 fails to build with gcc 4.6.0.
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  GeorgSWeber                             
 
       Type:  defect    |      Status:  new                                     
 
   Priority:  critical  |   Milestone:  sage-4.7                                
 
  Component:  build     |    Keywords:                                          
 
     Author:            |    Upstream:  Reported upstream. Little or no 
feedback.
   Reviewer:            |      Merged:                                          
 
Work_issues:            |  
------------------------+---------------------------------------------------

Old description:

> After trying to build Sage with the latest gcc (4.6.0) on !OpenSolaris, I
> find it fails when building Singular, despite Singular (and all of Sage)
> builds with gcc-4.5.0.
>
> {{{
> In file included from ../kernel/ring.h:13:0,
>                  from ../kernel/ideals.h:11,
>                  from ipshell.h:12,
>                  from tesths.cc:20:
> ../kernel/polys-impl.h:177:0: warning: "pPolyAssumeReturn" redefined
> [enabled by default]
> ../kernel/polys-impl.h:176:0: note: this is the location of the previous
> definition
> mpsr_Tok.cc: In function 'void mpsr_ttGen()':
> mpsr_Tok.cc:551:29: warning: deprecated conversion from string constant
> to 'char*' [-Wwrite-strings]
> Undefined                       first referenced
>  symbol                             in file
> uniFactorizer(CanonicalForm const&, Variable const&, bool const&)
> /export/home/drkirkby/sage-new-
> gcc/sage-4.7.alpha2/local/lib/libsingcf.a(facFqFactorize.o)
> ld: fatal: symbol referencing errors. No output written to gentable1
> collect2: ld returned 1 exit status
> make[4]: *** [iparith.inc] Error 1
> Undefined                       first referenced
>  symbol                             in file
> uniFactorizer(CanonicalForm const&, Variable const&, bool const&)
> /export/home/drkirkby/sage-new-
> gcc/sage-4.7.alpha2/local/lib/libsingcf.a(facFqFactorize.o)
> ld: fatal: symbol referencing errors. No output written to gentable2
> collect2: ld returned 1 exit status
> make[4]: *** [mpsr_Tok.inc] Error 1
> make[4]: Target `install' not remade because of errors.
> make[4]: Leaving directory `/export/home/drkirkby/sage-new-
> gcc/sage-4.7.alpha2/spkg/build/singular-3-1-1-4.p4/src/Singular'
> make[3]: *** [install] Error 1
> make[3]: Leaving directory `/export/home/drkirkby/sage-new-
> gcc/sage-4.7.alpha2/spkg/build/singular-3-1-1-4.p4/src'
> make[2]: *** [/export/home/drkirkby/sage-new-
> gcc/sage-4.7.alpha2/local/bin/Singular-3-1-1] Error 2
> make[2]: Leaving directory `/export/home/drkirkby/sage-new-
> gcc/sage-4.7.alpha2/spkg/build/singular-3-1-1-4.p4/src'
> Unable to build Singular.
>
> real    3m22.783s
> user    6m14.242s
> sys     0m22.671s
> sage: An error occurred while installing singular-3-1-1-4.p4
> }}}
>
> A full log is attached.

New description:

 After trying to build Sage with the latest gcc (4.6.0) on !OpenSolaris, I
 find it fails when building Singular, despite Singular (and all of Sage)
 builds with gcc-4.5.0.

 {{{
 In file included from ../kernel/ring.h:13:0,
                  from ../kernel/ideals.h:11,
                  from ipshell.h:12,
                  from tesths.cc:20:
 ../kernel/polys-impl.h:177:0: warning: "pPolyAssumeReturn" redefined
 [enabled by default]
 ../kernel/polys-impl.h:176:0: note: this is the location of the previous
 definition
 mpsr_Tok.cc: In function 'void mpsr_ttGen()':
 mpsr_Tok.cc:551:29: warning: deprecated conversion from string constant to
 'char*' [-Wwrite-strings]
 Undefined                       first referenced
  symbol                             in file
 uniFactorizer(CanonicalForm const&, Variable const&, bool const&)
 /export/home/drkirkby/sage-new-
 gcc/sage-4.7.alpha2/local/lib/libsingcf.a(facFqFactorize.o)
 ld: fatal: symbol referencing errors. No output written to gentable1
 collect2: ld returned 1 exit status
 make[4]: *** [iparith.inc] Error 1
 Undefined                       first referenced
  symbol                             in file
 uniFactorizer(CanonicalForm const&, Variable const&, bool const&)
 /export/home/drkirkby/sage-new-
 gcc/sage-4.7.alpha2/local/lib/libsingcf.a(facFqFactorize.o)
 ld: fatal: symbol referencing errors. No output written to gentable2
 collect2: ld returned 1 exit status
 make[4]: *** [mpsr_Tok.inc] Error 1
 make[4]: Target `install' not remade because of errors.
 make[4]: Leaving directory `/export/home/drkirkby/sage-new-
 gcc/sage-4.7.alpha2/spkg/build/singular-3-1-1-4.p4/src/Singular'
 make[3]: *** [install] Error 1
 make[3]: Leaving directory `/export/home/drkirkby/sage-new-
 gcc/sage-4.7.alpha2/spkg/build/singular-3-1-1-4.p4/src'
 make[2]: *** [/export/home/drkirkby/sage-new-
 gcc/sage-4.7.alpha2/local/bin/Singular-3-1-1] Error 2
 make[2]: Leaving directory `/export/home/drkirkby/sage-new-
 gcc/sage-4.7.alpha2/spkg/build/singular-3-1-1-4.p4/src'
 Unable to build Singular.

 real    3m22.783s
 user    6m14.242s
 sys     0m22.671s
 sage: An error occurred while installing singular-3-1-1-4.p4
 }}}

 A full log is attached.

 The same issue has been reported on Linux - see below.

--

Comment(by drkirkby):

 I've removed the "''on !OpenSolaris''" from the title, as this is not
 specific to that platform, so the ticket title should reflect this.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11084#comment:14>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to