#5310: [with spkg; needs work] addition to Sage for Msieve factoring program
-------------------------+--------------------------------------------------
 Reporter:  jblakeslee   |       Owner:  mabshoff             
     Type:  enhancement  |      Status:  new                  
 Priority:  major        |   Milestone:  sage-3.4.2           
Component:  interfaces   |    Keywords:  msieve, factorization
-------------------------+--------------------------------------------------

Comment(by was):

 I tried on sage.math (our x86_64 server with ubuntu 8.04.LTS):
 {{{
 ****************************************************
 Host system
 uname -a:
 Linux sage.math.washington.edu 2.6.24-23-server #1 SMP Mon Jan 26 01:36:05
 UTC 2009 x86_64 GNU/Linux
 ****************************************************
 ****************************************************
 GCC Version
 gcc -v
 Using built-in specs.
 Target: x86_64-linux-gnu
 Configured with: ../src/configure -v --enable-
 languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-
 shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
 --enable-threads=posix --enable-nls --with-gxx-include-
 dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu
 --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-
 checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
 --target=x86_64-linux-gnu
 Thread model: posix
 gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
 ****************************************************
 gcc -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -march=athlon-xp
 -DNDEBUG  -Wall -W -Wconversion -Iinclude -Ignfs/poly -c -o
 common/lanczos/lanczos.o common/lanczos/lanczos.c
 common/lanczos/lanczos.c:1: error: CPU you selected does not support
 x86-64 instruction set
 common/lanczos/lanczos.c:1: error: CPU you selected does not support
 x86-64 instruction set
 make: *** [common/lanczos/lanczos.o] Error 1
 Error building M-Sieve

 real    0m0.040s
 user    0m0.010s
 sys     0m0.010s
 sage: An error occurred while installing msieve-1.39
 Please email sage-devel http://groups.google.com/group/sage-devel
 explaining the problem and send the relevant part of
 of /scratch/wstein/build/sage-3.4.1.rc2-ref2/install.log.  Describe your
 computer, operating system, etc.
 If you want to try to fix the problem, yourself *don't* just cd to
 /scratch/wstein/build/sage-3.4.1.rc2-ref2/spkg/build/msieve-1.39 and type
 'make'.
 Instead type "/scratch/wstein/build/sage-3.4.1.rc2-ref2/sage -sh"
 in order to set all environment variables correctly, then cd to
 /scratch/wstein/build/sage-3.4.1.rc2-ref2/spkg/build/msieve-1.39
 (When you are done debugging, you can type "exit" to leave the
 subshell.)
 wst...@sage:~/build/sage-3.4.1.rc2-ref2$
 }}}


 I also tried building on 32-bit OS X 10.5 (my laptop):
 {{{
 Wall -W -Wconversion -Iinclude -Ignfs/poly -c -o common/ap.o common/ap.c
 common/ap.c: In function ‘ap_mul’:
 common/ap.c:339: error: can't find a register in class ‘GENERAL_REGS’
 while reloading ‘asm’
 common/ap.c:339: error: can't find a register in class ‘GENERAL_REGS’
 while reloading ‘asm’
 common/ap.c:339: error: can't find a register in class ‘GENERAL_REGS’
 while reloading ‘asm’
 common/ap.c:339: error: can't find a register in class ‘GENERAL_REGS’
 while reloading ‘asm’
 make: *** [common/ap.o] Error 1
 Error building M-Sieve

 real    0m5.432s
 user    0m1.786s
 sys     0m0.348s
 sage: An error occurred while installing msieve-1.39
 Please email sage-devel http://groups.google.com/group/sage-devel
 explaining the problem and send the relevant part of
 of /Users/wstein/build/sage-3.4.1.rc2/install.log.  Describe your
 computer, operating system, etc.
 If you want to try to fix the problem, yourself *don't* just cd to
 /Users/wstein/build/sage-3.4.1.rc2/spkg/build/msieve-1.39 and type 'make'.
 Instead type "/Users/wstein/build/sage-3.4.1.rc2/sage -sh"
 in order to set all environment variables correctly, then cd to
 /Users/wstein/build/sage-3.4.1.rc2/spkg/build/msieve-1.39
 (When you are done debugging, you can type "exit" to leave the
 subshell.)
 teragon:~ wstein$
 }}}

 So I can't build this on either of my main devel machines, so it's hard to
 go anywhere with.

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