#11883: fix boehm-gc so it builds on OS X Lion
------------------------------+---------------------------------------------
    Reporter:  jhpalmieri     |         Owner:  tbd            
        Type:  defect         |        Status:  closed         
    Priority:  major          |     Milestone:  sage-4.8       
   Component:  packages       |    Resolution:  fixed          
    Keywords:  boehm-bc lion  |   Work_issues:                 
    Upstream:  N/A            |      Reviewer:  William Stein  
      Author:  John Palmieri  |        Merged:  sage-4.8.alpha0
Dependencies:                 |  
------------------------------+---------------------------------------------

Comment(by jdemeyer):

 Under some circumstances, this fails to install on ''older'' versions of
 Sage, which is a problem for upgrading.  I will investigate, but it is
 possible that this spkg will need to be unmerged.  It happens for example
 on sage-4.5.3 using gcc 4.5.1 on sage.math:
 {{{
 /bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
 -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src  -
 fexceptions -g -O2 -MT mach_dep.lo -MD -MP -MF .deps/mach_dep.Tpo -c -o
 mach_dep.lo mach_dep.c
 rm: cannot remove `mach_dep.o': No such file or directory
 rm: cannot remove `.libs/mach_dep.o': No such file or directory
 rm: cannot remove `mach_dep.lo': No such file or directory
 rm: cannot remove `mach_dep.loT': No such file or directory
 libtool: compile:  gcc -DHAVE_CONFIG_H -I./include -I./include
 -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -g -O2 -MT
 mach_de
 p.lo -MD -MP -MF .deps/mach_dep.Tpo -c mach_dep.c  -fPIC -DPIC -o
 .libs/mach_dep.o
 libtool: compile:  gcc -DHAVE_CONFIG_H -I./include -I./include
 -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -g -O2 -MT
 mach_de
 p.lo -MD -MP -MF .deps/mach_dep.Tpo -c mach_dep.c -o mach_dep.o >/dev/null
 2>&1
 mv -f .deps/mach_dep.Tpo .deps/mach_dep.Plo
 /bin/bash ./libtool --tag=CC   --mode=link gcc -fexceptions -g -O2
 -version-info 1:3:0 -no-undefined  -o libgc.la -rpath /mnt/usb1/scratc
 h/jdemeyer/sage-4.5.3/local/lib allchblk.lo alloc.lo blacklst.lo
 checksums.lo dbg_mlc.lo dyn_load.lo finalize.lo gc_dlopen.lo gcj_mlc.lo h
 eaders.lo malloc.lo mallocx.lo mark.lo mark_rts.lo misc.lo new_hblk.lo
 obj_map.lo os_dep.lo pcr_interface.lo ptr_chck.lo real_malloc.lo re
 claim.lo specific.lo stubborn.lo typd_mlc.lo backgraph.lo
 thread_local_alloc.lo pthread_start.lo pthread_support.lo
 pthread_stop_world.lo
   atomic_ops.lo mach_dep.lo -lpthread -ldl
 libtool: link: gcc -shared  -fPIC -DPIC  .libs/allchblk.o .libs/alloc.o
 .libs/blacklst.o .libs/checksums.o .libs/dbg_mlc.o .libs/dyn_load.
 o .libs/finalize.o .libs/gc_dlopen.o .libs/gcj_mlc.o .libs/headers.o
 .libs/malloc.o .libs/mallocx.o .libs/mark.o .libs/mark_rts.o .libs/mi
 sc.o .libs/new_hblk.o .libs/obj_map.o .libs/os_dep.o .libs/pcr_interface.o
 .libs/ptr_chck.o .libs/real_malloc.o .libs/reclaim.o .libs/spec
 ific.o .libs/stubborn.o .libs/typd_mlc.o .libs/backgraph.o
 .libs/thread_local_alloc.o .libs/pthread_start.o .libs/pthread_support.o
 .libs/
 pthread_stop_world.o .libs/atomic_ops.o .libs/mach_dep.o   -lpthread -ldl
 -O2   -Wl,-soname -Wl,libgc.so.1 -o .libs/libgc.so.1.0.3
 libtool: link: (cd ".libs" && rm "libgc.so.1" && ln -s "libgc.so.1.0.3"
 "libgc.so.1")
 rm: cannot remove `libgc.so.1': No such file or directory
 make[1]: *** [libgc.la] Error 1
 make[1]: Leaving directory
 `/mnt/usb1/scratch/jdemeyer/sage-4.5.3/spkg/build/boehm_gc-7.2.alpha6.p0/src'
 make: *** [all-recursive] Error 1
 Error building BoehmGC.
 }}}

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