#13060: Update Valgrind spkg to version 3.8.1
----------------------------------------------------------------+-----------
       Reporter:  jpflori                                       |         
Owner:  tbd         
           Type:  defect                                        |        
Status:  needs_review
       Priority:  major                                         |     
Milestone:  sage-5.6    
      Component:  optional packages                             |    
Resolution:              
       Keywords:  valgrind spkg                                 |   Work 
issues:  Test on OSX 
Report Upstream:  Fixed upstream, but not in a stable release.  |     
Reviewers:              
        Authors:  Jean-Pierre Flori                             |     Merged 
in:              
   Dependencies:                                                |      
Stopgaps:              
----------------------------------------------------------------+-----------

Comment (by jpflori):

 Replying to [comment:22 iandrus]:
 > It looks like the diffs checking for `-arch` support are not included in
 the new spkg.  I'm running OS X 10.8.2 and it doesn't build without them.
 If I apply those changes manually, then it chokes on `__private_extern__`.
 Changing those to `extern`, it builds.  However, the "impossible" happens
 and it doesn't work:
 Yup I did not include the patch we wrote before because it seemed too much
 of a hassle and did not lead to a successful build of Valgrind.
 Sorry about that but I did not have much time to spend on this one.
 > For the record, the exact way that I made the "fixes" was to add
 > {{{
 > perl -pi.bak -e 's/[-]arch x86_64/\@FLAG_M64@/;' -e 's/[-]arch
 i386/\@FLAG_M32@/' configure.in Makefile.all.am
 > ./autogen.sh
 > export CFLAGS="$CFLAGS -D__private_extern__=extern"
 > }}}
 > to `spkg-install` just before calling configure.  I don't suggest this
 method of "fixing" it.
 >
 > Perhaps we should ask the maintainers of valgrind the best way to
 proceed.
 I think the best way to proceed is unfortunately to use Apple's GCC.
 Valgrind build system seems completely thought for it...
 That would mean an additional check in spkg-install and would be much
 easier than fixing upstream build system to work with an FSF GCC.

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