#5240: [with spkg; needs work] Update FLINT to 1.2.3 (latest upstream)
----------------------+-----------------------------------------------------
 Reporter:  mabshoff  |       Owner:  mabshoff  
     Type:  defect    |      Status:  assigned  
 Priority:  critical  |   Milestone:  sage-3.4.1
Component:  packages  |    Keywords:            
----------------------+-----------------------------------------------------

Comment(by mabshoff):

 I update to FLINT 1.2.3, but there is some issue with {{{__thread}}} on
 OSX:
 {{{
 gcc -std=c99 -I/Users/mabshoff/sage-3.3.rc3/local/include/
 -I/Users/mabshoff/sage-
 3.3.rc3/local/include  -fPIC -funroll-loops   -O3 -c memory-manager.c -o
 memory-
 manager.o
 memory-manager.c:165: error: thread-local storage not supported for this
 target
 memory-manager.c:166: error: thread-local storage not supported for this
 target
 memory-manager.c:167: error: thread-local storage not supported for this
 target
 memory-manager.c:168: error: thread-local storage not supported for this
 target
 memory-manager.c:169: error: thread-local storage not supported for this
 target
 memory-manager.c: In function ‘flint_stack_alloc’:
 memory-manager.c:175: error: thread-local storage not supported for this
 target
 memory-manager.c:176: error: thread-local storage not supported for this
 target
 memory-manager.c:177: error: thread-local storage not supported for this
 target
 memory-manager.c:178: error: thread-local storage not supported for this
 target
 memory-manager.c:179: error: thread-local storage not supported for this
 target
 memory-manager.c:180: error: thread-local storage not supported for this
 target
 memory-manager.c: At top level:
 memory-manager.c:329: error: thread-local storage not supported for this
 target
 memory-manager.c:330: error: thread-local storage not supported for this
 target
 make: *** [memory-manager.o] Error 1
 Failed to build FLINT dylib.
 }}}

 Bill recommended removing {{{__thread}}} for now in Sage since we are not
 using any threading. There is a workaround for OSX - see
 http://lists.apple.com/archives/xcode-users/2006/Jun/msg00551.html
 {{{
 __thread is not supported. The specification is somewhat ELF- specific,
 which makes it a bit of a challenge.

 Thread-local storage is supported, however. Take a look at the man page
 for pthread_getspecific, for example.
 }}}

 The latest spkg is at

   http://sage.math.washington.edu/home/mabshoff/SPKG/flint-1.2.3.spkg

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5240#comment:15>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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