#11216: Metaticket - make Sage work with gcc 4.6.0
-----------------------------+----------------------------------------------
    Reporter:  drkirkby      |         Owner:  GeorgSWeber      
        Type:  task          |        Status:  closed           
    Priority:  blocker       |     Milestone:  sage-4.7.1       
   Component:  build         |    Resolution:  fixed            
    Keywords:  gcc           |   Work_issues:                   
    Upstream:  N/A           |      Reviewer:  Jeroen Demeyer   
      Author:  Mariah Lenox  |        Merged:  sage-4.7.1.alpha4
Dependencies:                |  
-----------------------------+----------------------------------------------

Comment(by ryan):

 sage-4.7.1-alpha4 still fails to build on archlinux with gcc-4.6.0

 {{{
 running build_ext
 building 'Crypto.PublicKey._fastmath' extension
 creating build/temp.linux-i686-2.6
 creating build/temp.linux-i686-2.6/src
 gcc -Wall -Wstrict-prototypes -I/opt/sage-
 build/sage-4.7.1.alpha4/local/include -L/opt/sage-
 build/sage-4.7.1.alpha4/local/lib -march=native -mtune=native -pipe
 -fomit-frame-pointer -fPIC -O3 -fomit-frame-pointer -Isrc/ -I/opt/sage-
 build/sage-4.7.1.alpha4/local/include/python2.6 -c src/_fastmath.c -o
 build/temp.linux-i686-2.6/src/_fastmath.o
 /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/cc1: symbol lookup error:
 /usr/lib/libppl_c.so.4: undefined symbol:
 _ZN23Parma_Polyhedra_Library13have_sse_unitE
 error: command 'gcc' failed with exit status 1
 Error installing PyCrypto... exiting

 real    0m0.198s
 user    0m0.117s
 sys     0m0.060s
 sage: An error occurred while installing pycrypto-2.1.0
 Please email sage-devel http://groups.google.com/group/sage-devel
 explaining the problem and send the relevant part of
 of /opt/sage-build/sage-4.7.1.alpha4/install.log.  Describe your computer,
 operating system, etc.
 If you want to try to fix the problem yourself, *don't* just cd to
 /opt/sage-build/sage-4.7.1.alpha4/spkg/build/pycrypto-2.1.0 and type 'make
 check' or whatever is appropriate.
 Instead, the following commands setup all environment variables
 correctly and load a subshell for you to debug the error:
 (cd '/opt/sage-build/sage-4.7.1.alpha4/spkg/build/pycrypto-2.1.0' && '/opt
 /sage-build/sage-4.7.1.alpha4/sage' -sh)
 When you are done debugging, you can type "exit" to leave the
 subshell.
 make[1]: *** [installed/pycrypto-2.1.0] Error 1
 make[1]: Leaving directory `/opt/sage-build/sage-4.7.1.alpha4/spkg'

 real    119m10.612s
 user    101m4.015s
 sys     8m34.880s
 Error building Sage.
 }}}

 I had the same issue when building sage-4.7.0 with gcc-4.6.0.
 http://groups.google.com/group/sage-
 devel/browse_thread/thread/1fbbc05ae9837c96/80cd305a6e908bf9?lnk=raot&pli=1
 https://groups.google.com/forum/#!topic/sage-devel/hLL02U1Q5zU

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