I have 512 MB RAM. I created a 1 GB swap file and got the same error. Then with the swap still on I ran 'SAGE_INSTALL_GCC=yes make' and again got the same error. I haven't looked into ulimit because I am less familiar with it but I will try it today.
Thanks for the suggestions. On Tuesday, June 4, 2013 11:05:00 AM UTC-4, Jean-Pierre Flori wrote: > > > > On Tuesday, June 4, 2013 4:59:31 PM UTC+2, leif wrote: >> >> Jean-Pierre Flori wrote: >> > On Tuesday, June 4, 2013 4:39:56 PM UTC+2, leif wrote: >> > >> > Volker Braun wrote: >> > > Your compiler is buggy. >> > >> > Likely, but since this is conversion.c, and it's an old machine, he >> may >> > have just run out of available memory... (Or maybe the process was >> > ulimited, since it got /killed/.) >> > >> > Quite possible. >> > FYI, I was able to build all of Sage 5.10.stg except for Linbox (and >> the >> > doc) on a Raspberry Pi with 256 MB of RAM and no swap! >> >> Yes, M4RIE got upgraded in Sage 5.10.beta1 ... B) >> > yup > > In fact I just remembered I had some ICE as well with the raspbian > provided gcc. > Lowering the optimization flags let libmarie compile. > >> >> >> > I then allocated 512MB of swap and that was sufficient for Linbox(maybe >> > 512 RAM + swap together would have been sufficient), and for the doc. >> >> (The memory consumption of course also depends on the compiler version, >> flags, and the platform.) >> >> >> -leif >> >> > (If it's yet another bug in Ubuntu's GCC, we at least haven't seen >> it >> > until now, although we have a buildbot for 13.04.) >> > >> > >> > Jeff, how much RAM do you have, and have you set up swap space? >> Did >> > you >> > use 'ulimit' (see above)? >> > >> > FWIW, you can always resume the build by typing 'make' again. >> > >> > >> > -leif >> > >> > > Try "SAGE_INSTALL_GCC=yes make" >> > > >> > > On Tuesday, June 4, 2013 11:45:28 AM UTC+1, Jeff wrote: >> > > >> > > Hello, >> > > I recently tried to make sage 5.9 from source and I got the >> > error >> > > below. I am running xubuntu 13.04 on a rather old Dell >> Dimension >> > > 4500. I installed all the prerequisites here: >> > > http://www.sagemath.org/doc/installation/ >> > <http://www.sagemath.org/doc/installation/> >> > > <http://www.sagemath.org/doc/installation/ >> > <http://www.sagemath.org/doc/installation/>>. Thanks for your >> help. >> > > >> > > >> > > libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. >> -I./m4rie >> > > -I/home/jeff/sage-5.9/local/include -I/include -mmmx -msse >> > -msse2 >> > > -O2 -fPIC -Wall -pedantic -g >> > -I/home/jeff/sage-5.9/local/include -MT >> > > trsm.lo -MD -MP -MF .deps/trsm.Tpo -c m4rie/trsm.c -fPIC >> > -DPIC -o >> > > .libs/trsm.o >> > > libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. >> -I./m4rie >> > > -I/home/jeff/sage-5.9/local/include -I/include -mmmx -msse >> > -msse2 >> > > -O2 -fPIC -Wall -pedantic -g >> > -I/home/jeff/sage-5.9/local/include -MT >> > > trsm.lo -MD -MP -MF .deps/trsm.Tpo -c m4rie/trsm.c -o trsm.o >> > > >/dev/null 2>&1 >> > > mv -f .deps/trsm.Tpo .deps/trsm.Plo >> > > /bin/bash ./libtool --tag=CC --mode=compile gcc >> -std=gnu99 >> > > -DHAVE_CONFIG_H -I. -I./m4rie >> > > -I/home/jeff/sage-5.9/local/include -I/include -mmmx >> -msse >> > > -msse2 -O2 -fPIC -Wall -pedantic -g >> > > -I/home/jeff/sage-5.9/local/include -MT ple.lo -MD -MP -MF >> > > .deps/ple.Tpo -c -o ple.lo `test -f 'm4rie/ple.c' || echo >> > > './'`m4rie/ple.c >> > > libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. >> -I./m4rie >> > > -I/home/jeff/sage-5.9/local/include -I/include -mmmx -msse >> > -msse2 >> > > -O2 -fPIC -Wall -pedantic -g >> > -I/home/jeff/sage-5.9/local/include -MT >> > > ple.lo -MD -MP -MF .deps/ple.Tpo -c m4rie/ple.c -fPIC -DPIC >> -o >> > > .libs/ple.o >> > > libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. >> -I./m4rie >> > > -I/home/jeff/sage-5.9/local/include -I/include -mmmx -msse >> > -msse2 >> > > -O2 -fPIC -Wall -pedantic -g >> > -I/home/jeff/sage-5.9/local/include -MT >> > > ple.lo -MD -MP -MF .deps/ple.Tpo -c m4rie/ple.c -o ple.o >> > >/dev/null 2>&1 >> > > mv -f .deps/ple.Tpo .deps/ple.Plo >> > > /bin/bash ./libtool --tag=CC --mode=compile gcc >> -std=gnu99 >> > > -DHAVE_CONFIG_H -I. -I./m4rie >> > > -I/home/jeff/sage-5.9/local/include -I/include -mmmx >> -msse >> > > -msse2 -O2 -fPIC -Wall -pedantic -g >> > > -I/home/jeff/sage-5.9/local/include -MT conversion.lo -MD >> -MP >> > -MF >> > > .deps/conversion.Tpo -c -o conversion.lo `test -f >> > > 'm4rie/conversion.c' || echo './'`m4rie/conversion.c >> > > libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. >> -I./m4rie >> > > -I/home/jeff/sage-5.9/local/include -I/include -mmmx -msse >> > -msse2 >> > > -O2 -fPIC -Wall -pedantic -g >> > -I/home/jeff/sage-5.9/local/include -MT >> > > conversion.lo -MD -MP -MF .deps/conversion.Tpo -c >> > > m4rie/conversion.c -fPIC -DPIC -o .libs/conversion.o >> > > gcc: internal compiler error: Killed (program cc1) >> > > Please submit a full bug report, >> > > with preprocessed source if appropriate. >> > > See <file:///usr/share/doc/gcc-4.7/README.Bugs> for >> > instructions. >> > > make[4]: *** [conversion.lo] Error 1 >> > > make[4]: Leaving directory >> > > `/home/jeff/sage-5.9/spkg/build/libm4rie-20120613/src' >> > > make[3]: *** [all-recursive] Error 1 >> > > make[3]: Leaving directory >> > > `/home/jeff/sage-5.9/spkg/build/libm4rie-20120613/src' >> > > Error building libm4rie >> > > >> > > real 13m10.021s >> > > user 2m58.068s >> > > sys 0m14.048s >> >> -- >> () The ASCII Ribbon Campaign >> /\ Help Cure HTML E-Mail >> >> -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
