#11743: Improve `make micro_release`
---------------------------+------------------------------------------------
   Reporter:  kini         |          Owner:  kini      
       Type:  enhancement  |         Status:  needs_info
   Priority:  major        |      Milestone:  sage-4.8  
  Component:  packages     |       Keywords:            
Work_issues:               |       Upstream:  N/A       
   Reviewer:               |         Author:            
     Merged:               |   Dependencies:  #10801    
---------------------------+------------------------------------------------
Changes (by emil):

 * cc: emil (added)


Comment:

 I get this error if I execute make micro_release of sage 4.7.2 on a fresh
 debian_live install:

 root@meow:/media/sda6/sage-4.7.2# make micro_release
 . local/bin/sage-env && local/bin/sage-micro_release
 Stripping .so files in local/lib
 strip "/media/sda6/sage-4.7.2/local/lib/libz.so"
 Bus error
 Error executing command.  Failed with exit status 34560.
 make: *** [micro_release] Error 1

 I don't know if this may help with anything, but these are the strip
 commands on the whole sage tree I already successfully used (executed in
 $SAGE_HOME):

 # Step 1) for executables
  find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : |
 xargs strip --strip-unneeded 2> /dev/null
 # Step 2) for shared libraries
  find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : |
 xargs strip --strip-unneeded 2> /dev/null

 Comparison:
 Step 1 got -50 MB
 Step 2 got -250 MB

 In the sage-micro_relase script stripping is performed only for selected
 libraries with 'strip "%s"'%filename (.i.e without the flag --strip-
 unneeded. This can lead to problems for libraries - I *think* the --strip-
 unneeded flag is recommended).

 Just for the record, info about my manual "stripping" experience here
 http://boxen.math.washington.edu/home/emil/sagelithe/strippingI.txt
 http://boxen.math.washington.edu/home/emil/sagelithe/strippingII.txt

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