I gather I'm not alone... For what it's worth:
[r...@ares sage-4.3.1]# gcc -v Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specsConfigured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix gcc version 3.4.6 20060404 (Red Hat 3.4.6-11) I'm in a situation where I can't change the compilers, but I'm testing installation on a machine where gcc is v4.1.2 (RHEL5). Albert -------- Original Message -------- Subject: installation failing at 'ratpoints' Date: Tue, 26 Jan 2010 14:33:27 -0600 From: Albert Everett <[email protected]> Reply-To: [email protected] Organization: UALR GIT To: [email protected] Using gcc4 and g++4, e.g. # cd sage-4.3.1 # CC=gcc4 CXX=g++4 make ... Finished installing ecm-6.2.1.p1.spkg sage-spkg ratpoints-2.1.3 2>&1 Warning: Attempted to overwrite SAGE_ROOT environment variable ratpoints-2.1.3 Machine: Linux ares.ualr.edu 2.6.9-89.0.19.ELsmp #1 SMP Wed Dec 30 12:52:55 EST 2009 x86_64 x86_64 x86_64 GNU/Linux Deleting directories from past builds of previous/current versions of ratpoints-2.1.3 Extracting package /opt/sage/sage-4.3.1/spkg/standard/ratpoints-2.1.3.spkg ... -rw-r--r-- 1 aeeverett aeeverett 208117 Jan 13 21:30 /opt/sage/sage-4.3.1/spkg/standard/ratpoints-2.1.3.spkg ratpoints-2.1.3/ ratpoints-2.1.3/.hg/ ratpoints-2.1.3/.hg/00changelog.i ratpoints-2.1.3/.hg/branch.cache ratpoints-2.1.3/.hg/dirstate ratpoints-2.1.3/.hg/requires ratpoints-2.1.3/.hg/store/ ratpoints-2.1.3/.hg/store/00changelog.i ratpoints-2.1.3/.hg/store/00manifest.i ratpoints-2.1.3/.hg/store/data/ ratpoints-2.1.3/.hg/store/data/.hgignore.i ratpoints-2.1.3/.hg/store/data/_s_p_k_g.txt.i ratpoints-2.1.3/.hg/store/data/spkg-install.i ratpoints-2.1.3/.hg/store/data/src/ ratpoints-2.1.3/.hg/store/data/src/_makefile.i ratpoints-2.1.3/.hg/store/fncache ratpoints-2.1.3/.hg/store/undo ratpoints-2.1.3/.hg/undo.branch ratpoints-2.1.3/.hg/undo.dirstate ratpoints-2.1.3/.hgignore ratpoints-2.1.3/spkg-install ratpoints-2.1.3/SPKG.txt ratpoints-2.1.3/src/ ratpoints-2.1.3/src/find_points.c ratpoints-2.1.3/src/gen_find_points_h.c ratpoints-2.1.3/src/gen_init_sieve_h.c ratpoints-2.1.3/src/gpl-2.0.txt ratpoints-2.1.3/src/init.c ratpoints-2.1.3/src/main.c ratpoints-2.1.3/src/Makefile ratpoints-2.1.3/src/primes.h ratpoints-2.1.3/src/ratpoints-doc.pdf ratpoints-2.1.3/src/ratpoints.h ratpoints-2.1.3/src/rp-private.h ratpoints-2.1.3/src/rptest.c ratpoints-2.1.3/src/sift.c ratpoints-2.1.3/src/sturm.c ratpoints-2.1.3/src/testbase ratpoints-2.1.3/src/testdata.h Finished extraction **************************************************** Host system uname -a: Linux ares.ualr.edu 2.6.9-89.0.19.ELsmp #1 SMP Wed Dec 30 12:52:55 EST 2009 x86_64 x86_64 x86_64 GNU/Linux **************************************************** **************************************************** CC Version gcc4 -v Using built-in specs. Target: x86_64-redhat-linux5E Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --with-gxx-include-dir=/usr/include/c++/3.4.3 --enable-libgcj-multifile --enable-languages=c,c++,java,f95 --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux5E Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-44) **************************************************** make[2]: Entering directory `/opt/sage/sage-4.3.1/spkg/build/ratpoints-2.1.3/src' gcc sift.c -c -o sift.o -I/opt/sage/sage-4.3.1/local/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -funroll-loops sift.c: In function `_ratpoints_sift0': sift.c:229: warning: implicit declaration of function `__builtin_ia32_vec_ext_v2di' gcc gen_init_sieve_h.c -o gen_init_sieve_h -I/opt/sage/sage-4.3.1/local/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -L/opt/sage/sage-4.3.1/local/lib -lgmp -lm ./gen_init_sieve_h > init_sieve.h gcc init.c -c -o init.o -I/opt/sage/sage-4.3.1/local/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -funroll-loops -O3 gcc sturm.c -c -o sturm.o -I/opt/sage/sage-4.3.1/local/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE gcc gen_find_points_h.c -o gen_find_points_h -I/opt/sage/sage-4.3.1/local/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -L/opt/sage/sage-4.3.1/local/lib -lgmp -lm ./gen_find_points_h > find_points.h gcc find_points.c -c -o find_points.o -I/opt/sage/sage-4.3.1/local/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE find_points.c: In function `find_points_work': find_points.c:1705: warning: implicit declaration of function `__builtin_ia32_vec_ext_v2di' ar rs libratpoints.a sift.o init.o sturm.o find_points.o ar: creating libratpoints.a gcc main.c -o ratpoints -I/opt/sage/sage-4.3.1/local/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -L/opt/sage/sage-4.3.1/local/lib -lgmp -lm -L. -lratpoints ./libratpoints.a(find_points.o)(.text+0x2a8d): In function `find_points_work': : undefined reference to `__builtin_ia32_vec_ext_v2di' ./libratpoints.a(find_points.o)(.text+0x2ce7): In function `find_points_work': : undefined reference to `__builtin_ia32_vec_ext_v2di' ./libratpoints.a(find_points.o)(.text+0x304f): In function `find_points_work': : undefined reference to `__builtin_ia32_vec_ext_v2di' ./libratpoints.a(find_points.o)(.text+0x3272): In function `find_points_work': : undefined reference to `__builtin_ia32_vec_ext_v2di' ./libratpoints.a(find_points.o)(.text+0x3790): In function `find_points_work': : undefined reference to `__builtin_ia32_vec_ext_v2di' ./libratpoints.a(sift.o)(.text+0x633): more undefined references to `__builtin_ia32_vec_ext_v2di' follow collect2: ld returned 1 exit status make[2]: *** [ratpoints] Error 1 make[2]: Leaving directory `/opt/sage/sage-4.3.1/spkg/build/ratpoints-2.1.3/src' Build failed. Trying without SSE2 instructions. make[2]: Entering directory `/opt/sage/sage-4.3.1/spkg/build/ratpoints-2.1.3/src' gcc main.c -o ratpoints -I/opt/sage/sage-4.3.1/local/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -L/opt/sage/sage-4.3.1/local/lib -lgmp -lm -L. -lratpoints ./libratpoints.a(find_points.o)(.text+0x2a8d): In function `find_points_work': : undefined reference to `__builtin_ia32_vec_ext_v2di' ./libratpoints.a(find_points.o)(.text+0x2ce7): In function `find_points_work': : undefined reference to `__builtin_ia32_vec_ext_v2di' ./libratpoints.a(find_points.o)(.text+0x304f): In function `find_points_work': : undefined reference to `__builtin_ia32_vec_ext_v2di' ./libratpoints.a(find_points.o)(.text+0x3272): In function `find_points_work': : undefined reference to `__builtin_ia32_vec_ext_v2di' ./libratpoints.a(find_points.o)(.text+0x3790): In function `find_points_work': : undefined reference to `__builtin_ia32_vec_ext_v2di' ./libratpoints.a(sift.o)(.text+0x633): more undefined references to `__builtin_ia32_vec_ext_v2di' follow collect2: ld returned 1 exit status make[2]: *** [ratpoints] Error 1 make[2]: Leaving directory `/opt/sage/sage-4.3.1/spkg/build/ratpoints-2.1.3/src' Error building ratpoints real 0m2.014s user 0m1.760s sys 0m0.244s sage: An error occurred while installing ratpoints-2.1.3 Please email sage-devel http://groups.google.com/group/sage-devel explaining the problem and send the relevant part of of /opt/sage/sage-4.3.1/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/sage-4.3.1/spkg/build/ratpoints-2.1.3 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/sage-4.3.1/spkg/build/ratpoints-2.1.3' && '/opt/sage/sage-4.3.1/sage' -sh) When you are done debugging, you can type "exit" to leave the subshell. make[1]: *** [installed/ratpoints-2.1.3] Error 1 make[1]: Leaving directory `/opt/sage/sage-4.3.1/spkg' real 77m31.624s user 65m35.344s sys 11m26.665s Error building Sage. -- 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-support URL: http://www.sagemath.org
<<attachment: aeeverett.vcf>>
