#5847: Update GMP-ECM to 6.3
--------------------------------------------+-------------------------------
   Reporter:  mabshoff                      |       Owner:  leif      
       Type:  enhancement                   |      Status:  needs_work
   Priority:  major                         |   Milestone:  sage-4.6.1
  Component:  packages                      |    Keywords:            
     Author:  Mike Hansen, Leif Leonhardy   |    Upstream:  N/A       
   Reviewer:  Leif Leonhardy                |      Merged:            
Work_issues:  include patch for 32-bit ppc  |  
--------------------------------------------+-------------------------------
Changes (by dimpase):

  * status:  needs_info => needs_work


Comment:

 Replying to [comment:36 dimpase]:

 > more details - it looks like "-g" flag does not work here:
 {{{

  $ cat conftes1.c
  #ifdef __cplusplus
  extern "C" { void underscore_test(); }
  #endif
  main () { underscore_test(); }
  $
  $ cat conftes2.s
         .text
         .globl _underscore_test
  _underscore_test:
  $
  $ gcc -g -o x conftes1.c conftes2.s
  collect2: ld terminated with signal 10 [Bus error]
 ld warning: can't find atom for stabs FUN at 00000000 in
 /var/folders/wg/wghOV5z8H7Ox9E0VSGnzm++++TM/-Tmp-//cc5M42pV.o
 $ gcc -o x conftes1.c conftes2.s
 $ ./x
 $
 }}}
 > could it be due to "empty" conftes2.s ?

 Indeed:
 {{{
 $ cat c2.s
 .text
 .globl _underscore_test
 _underscore_test:
         mflr r0
 $ gcc -g -o x conftes1.c c2.s
 $ ./x
 $ gcc -g -O2 -o x conftes1.c c2.s
 $ ./x
 $ gcc -o x conftes1.c c2.s
 $ ./x
 $
 }}}

 So, one (not me :-( )needs to explain this to the autoconf, I suppose

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