#12110: [ARM] Singular 3-1-3-3.p1 doesn't compile as-is
----------------------+-----------------------------------------------------
   Reporter:  Snark   |          Owner:  GeorgSWeber
       Type:  defect  |         Status:  needs_info 
   Priority:  major   |      Milestone:  sage-4.8   
  Component:  build   |       Keywords:             
Work_issues:          |       Upstream:  N/A        
   Reviewer:          |         Author:             
     Merged:          |   Dependencies:             
----------------------+-----------------------------------------------------

Comment(by Snark):

 Hmmmm... it tries to use omalloc_ndebug, which doesn't have the right
 symbols:
 {{{
 jpuydt@hecke:~/sage-4.8.alpha5/local/lib$ nm libomalloc.a |grep
 omSetCustomOfTrackAddr
 000006f8 T omSetCustomOfTrackAddr
 jpuydt@hecke:~/sage-4.8.alpha5/local/lib$ nm libomalloc_ndebug.a |grep
 omSetCustomOfTrackAddr
 jpuydt@hecke:~/sage-4.8.alpha5/local/lib$
 }}}
 and:
 {{{
 jpuydt@hecke:~/sage-4.8.alpha5/local/lib$ nm libomalloc.a |grep
 _omDebugAlloc
 00000000 t __omDebugAlloc
 000003cc T _omDebugAlloc
 jpuydt@hecke:~/sage-4.8.alpha5/local/lib$ nm libomalloc_ndebug.a |grep
 _omDebugAlloc
 jpuydt@hecke:~/sage-4.8.alpha5/local/lib$
 }}}
 Sigh. Here is how omDebug.c (where those are defined) is compiled for
 libomalloc.a:
 {{{
 gcc -O2 -g -fPIC -I. -I.. -I. -I/home/jpuydt/sage-4.8.alpha5/local -I..
 -DHAVE_CONFIG_H -c omDebug.c
 }}}
 and here is how it is compiled for libomalloc_ndebug.a:
 {{{
 gcc -O2 -g -fPIC -I. -I.. -I. -I/home/jpuydt/sage-4.8.alpha5/local -I..
 -DHAVE_CONFIG_H -DOM_NDEBUG -c omDebug.c -o omDebug.o_ndebug
 }}}
 and of course, almost all of omDebug.c is in a #ifndef OM_NDEBUG. That
 explains the break, but doesn't explain why it would compile on other
 platforms and not here!

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