#10993: Update eclib to latest upstream release
-----------------------------------+----------------------------------------
       Reporter:  cremona          |         Owner:  cremona                    
     
           Type:  enhancement      |        Status:  needs_work                 
     
       Priority:  major            |     Milestone:  sage-5.0                   
     
      Component:  packages         |    Resolution:                             
     
       Keywords:  elliptic curves  |   Work issues:  ldconfig in spkg-install   
     
Report Upstream:  N/A              |     Reviewers:  Frithjof Schulze, Jeroen 
Demeyer
        Authors:  John Cremona     |     Merged in:                             
     
   Dependencies:  #11354           |      Stopgaps:                             
     
-----------------------------------+----------------------------------------

Comment (by leif):

 For the record: I get the same build error with the new upstream tarball
 (outside Sage) as with our "current" eclib spkg '''with GCC 4.7.0 on
 Solaris''' [SPARC, 32-bit]:
 {{{
 ...
 Making all in libsrc
 make[1]: Entering directory
 
`/home/leif/Sage/release/build/mark2/sage-5.0.beta13-gcc-4.7.0/tmp/eclib-2012-04-14/libsrc'
 /bin/bash ../libtool --tag=CXX   --mode=compile g++
 -DPACKAGE_NAME=\"eclib\" -DPACKAGE_TARNAME=\"eclib\"
 -DPACKAGE_VERSION=\"2012-04-14\" -DPACKAGE_STRING=\"eclib\ 2012-04-14\"
 -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\"
 -DPACKAGE=\"eclib\" -DVERSION=\"2012-04-14\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
 -DLT_OBJDIR=\".libs/\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1
 -Drestrict=__restrict -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_STRCHR=1 -I.
 -O3 -g -DHONORS_CPPFLAGS
 -I/home/leif/Sage/release/build/mark2/sage-5.0.beta13-gcc-4.7.0/local/include
 -I/home/leif/Sage/release/build/mark2/sage-5.0.beta13-gcc-4.7.0/local/include
 -DNTL_ALL -DUSE_PARI_FACTORING -DMETHOD=2 -DNEW_OP_ORDER -O3 -g -fno-
 strict-aliasing -DHONORS_CXXFLAGS -MT unimod.lo -MD -MP -MF
 .deps/unimod.Tpo -c -o unimod.lo unimod.cc
 libtool: compile:  g++ -DPACKAGE_NAME=\"eclib\"
 -DPACKAGE_TARNAME=\"eclib\" -DPACKAGE_VERSION=\"2012-04-14\"
 "-DPACKAGE_STRING=\"eclib 2012-04-14\""
 -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\"
 -DPACKAGE=\"eclib\" -DVERSION=\"2012-04-14\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
 -DLT_OBJDIR=\".libs/\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1
 -Drestrict=__restrict -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_STRCHR=1 -I.
 -O3 -g -DHONORS_CPPFLAGS
 -I/home/leif/Sage/release/build/mark2/sage-5.0.beta13-gcc-4.7.0/local/include
 -I/home/leif/Sage/release/build/mark2/sage-5.0.beta13-gcc-4.7.0/local/include
 -DNTL_ALL -DUSE_PARI_FACTORING -DMETHOD=2 -DNEW_OP_ORDER -O3 -g -fno-
 strict-aliasing -DHONORS_CXXFLAGS -MT unimod.lo -MD -MP -MF
 .deps/unimod.Tpo -c unimod.cc  -fPIC -DPIC -o .libs/unimod.o
 In file included from ./eclib/marith.h:27:0,
                  from unimod.cc:25:
 ./eclib/arith.h: In function 'int div(long int, long int)':
 ./eclib/arith.h:182:39: error: 'int div(long int, long int)' conflicts
 with previous using declaration 'std::ldiv_t std::div(long int, long int)'
 make[1]: *** [unimod.lo] Error 1
 make[1]: Leaving directory
 
`/home/leif/Sage/release/build/mark2/sage-5.0.beta13-gcc-4.7.0/tmp/eclib-2012-04-14/libsrc'
 make: *** [all-recursive] Error 1
 }}}
 (Cf. [comment:ticket:12751:21 my comment at #12751], the ticket which
 deals with GCC 4.7.0 issues.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10993#comment:64>
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