We've seen this before and if memory serves correctly it is due to an old assembler or compiler version. I can only recommend upgrading them.
On Mar 1, 3:16 pm, Jan Raasch <jan.raa...@googlemail.com> wrote: > Hi there, > > so I'm running Mac OS X 10.6 (Snow Leopard) on a first generation > MacBook (Yeah, the one with the old 32bit Intel Core Duo processor). > Now obviously I cannot run the precompiled > sage-4.6.1-OSX-64bit-10.6-i386-Darwin binary, which is why I chose to > build sage from source. During the build process (of sage-4.6.1) I ran > into the following error: > > Making all in mpn > /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 > -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo > fib_table | sed 's/_$//'` -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -c -o fib_table.lo fib_table.c > mkdir .libs > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. > -DOPERATION_fib_table -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro > -march=pentiumpro -c fib_table.c -fno-common -DPIC -o > .libs/fib_table.o > /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 > -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo > mp_bases | sed 's/_$//'` -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -c -o mp_bases.lo mp_bases.c > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. > -DOPERATION_mp_bases -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro > -march=pentiumpro -c mp_bases.c -fno-common -DPIC -o .libs/mp_bases.o > /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 > -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo > add | sed 's/_$//'` -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro > -march=pentiumpro -c -o add.lo add.c > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. > -DOPERATION_add -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro > -march=pentiumpro -c add.c -fno-common -DPIC -o .libs/add.o > /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 > -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo > add_1 | sed 's/_$//'` -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -c -o add_1.lo add_1.c > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. > -DOPERATION_add_1 -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro > -march=pentiumpro -c add_1.c -fno-common -DPIC -o .libs/add_1.o > /bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_`echo add_n | sed 's/_$//'` -I. -I. -I.. `test -f > 'add_n.asm' || echo './'`add_n.asm > ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 > -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro > -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n -I. -I. -I.. add_n.asm > -fno-common -DPIC -o .libs/add_n.o > m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n -DPIC > add_n.asm >tmp-add_n.s > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_add_n -I. -I. -I.. tmp-add_n.s -fno-common -DPIC -o > .libs/add_n.o > /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 > -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo > sub | sed 's/_$//'` -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro > -march=pentiumpro -c -o sub.lo sub.c > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. > -DOPERATION_sub -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro > -march=pentiumpro -c sub.c -fno-common -DPIC -o .libs/sub.o > /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 > -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo > sub_1 | sed 's/_$//'` -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -c -o sub_1.lo sub_1.c > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. > -DOPERATION_sub_1 -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro > -march=pentiumpro -c sub_1.c -fno-common -DPIC -o .libs/sub_1.o > /bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_`echo sub_n | sed 's/_$//'` -I. -I. -I.. `test -f > 'sub_n.asm' || echo './'`sub_n.asm > ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 > -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro > -D__GMP_WITHIN_GMP -I.. -DOPERATION_sub_n -I. -I. -I.. sub_n.asm > -fno-common -DPIC -o .libs/sub_n.o > m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_sub_n -DPIC > sub_n.asm >tmp-sub_n.s > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_sub_n -I. -I. -I.. tmp-sub_n.s -fno-common -DPIC -o > .libs/sub_n.o > /bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_`echo mul_1 | sed 's/_$//'` -I. -I. -I.. `test -f > 'mul_1.asm' || echo './'`mul_1.asm > ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 > -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro > -D__GMP_WITHIN_GMP -I.. -DOPERATION_mul_1 -I. -I. -I.. mul_1.asm > -fno-common -DPIC -o .libs/mul_1.o > m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_mul_1 -DPIC > mul_1.asm >tmp-mul_1.s > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_mul_1 -I. -I. -I.. tmp-mul_1.s -fno-common -DPIC -o > .libs/mul_1.o > /bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_`echo addmul_1 | sed 's/_$//'` -I. -I. -I.. `test -f > 'addmul_1.asm' || echo './'`addmul_1.asm > ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 > -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro > -D__GMP_WITHIN_GMP -I.. -DOPERATION_addmul_1 -I. -I. -I.. addmul_1.asm > -fno-common -DPIC -o .libs/addmul_1.o > m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_addmul_1 -DPIC > addmul_1.asm >tmp-addmul_1.s > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_addmul_1 -I. -I. -I.. tmp-addmul_1.s -fno-common -DPIC -o > .libs/addmul_1.o > /bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_`echo submul_1 | sed 's/_$//'` -I. -I. -I.. `test -f > 'submul_1.asm' || echo './'`submul_1.asm > ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 > -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro > -D__GMP_WITHIN_GMP -I.. -DOPERATION_submul_1 -I. -I. -I.. submul_1.asm > -fno-common -DPIC -o .libs/submul_1.o > m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_submul_1 -DPIC > submul_1.asm >tmp-submul_1.s > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_submul_1 -I. -I. -I.. tmp-submul_1.s -fno-common -DPIC -o > .libs/submul_1.o > /bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_`echo lshift | sed 's/_$//'` -I. -I. -I.. `test -f > 'lshift.asm' || echo './'`lshift.asm > ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 > -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro > -D__GMP_WITHIN_GMP -I.. -DOPERATION_lshift -I. -I. -I.. lshift.asm > -fno-common -DPIC -o .libs/lshift.o > m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_lshift -DPIC > lshift.asm >tmp-lshift.s > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_lshift -I. -I. -I.. tmp-lshift.s -fno-common -DPIC -o > .libs/lshift.o > /bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_`echo rshift | sed 's/_$//'` -I. -I. -I.. `test -f > 'rshift.asm' || echo './'`rshift.asm > ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 > -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro > -D__GMP_WITHIN_GMP -I.. -DOPERATION_rshift -I. -I. -I.. rshift.asm > -fno-common -DPIC -o .libs/rshift.o > m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_rshift -DPIC > rshift.asm >tmp-rshift.s > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_rshift -I. -I. -I.. tmp-rshift.s -fno-common -DPIC -o > .libs/rshift.o > /bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_`echo dive_1 | sed 's/_$//'` -I. -I. -I.. `test -f > 'dive_1.asm' || echo './'`dive_1.asm > ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 > -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro > -D__GMP_WITHIN_GMP -I.. -DOPERATION_dive_1 -I. -I. -I.. dive_1.asm > -fno-common -DPIC -o .libs/dive_1.o > m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_dive_1 -DPIC > dive_1.asm >tmp-dive_1.s > gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer > -mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. > -DOPERATION_dive_1 -I. -I. -I.. tmp-dive_1.s -fno-common -DPIC -o > .libs/dive_1.o > tmp-dive_1.s:108:junk `@GOT' after expression > make[4]: *** [dive_1.lo] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all] Error 2 > Error building MPIR. > > real 1m38.303s > user 0m53.539s > sys 0m31.898s > sage: An error occurred while installing mpir-1.2.2.p2 > Please email sage-develhttp://groups.google.com/group/sage-devel > explaining the problem and send the relevant part of > of /Users/username/sage-4.6.1/install.log. Describe your computer, > operating system, etc. > If you want to try to fix the problem yourself, *don't* just cd to > /Users/username/sage-4.6.1/spkg/build/mpir-1.2.2.p2 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 '/Users/username/sage-4.6.1/spkg/build/mpir-1.2.2.p2' && > '/Users/username/sage-4.6.1/sage' -sh) > When you are done debugging, you can type "exit" to leave the > subshell. > make[1]: *** [installed/mpir-1.2.2.p2] Error 1 > > real 22m4.995s > user 13m25.955s > sys 5m50.007s > Error building Sage. > > I hope this is the relevant part of my install.log. I get the same > error, when trying to build sage-4.6.2 from source. I tried it without > setting any environment variables and with setting MAKE='make -j2'. I > keep getting the same error. > > What seems to be working however is running the precompiled > sage-4.6.1-OSX-32bit-10.5-i386-Darwin binary, but I am not sure, if > that is a good choice, since I am running 10.6 instead of 10.5 as I > mentioned at the beginning. > > Any help would be most welcome. > > -- > Jan Raaschhttp://janraasch.com -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org