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/.)

(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/>. 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
    ************************************************************************
    Error installing package libm4rie-20120613
    ************************************************************************
    Please email sage-devel (http://groups.google.com/group/sage-devel
    <http://groups.google.com/group/sage-devel>)
    explaining the problem and including the relevant part of the log file
       /home/jeff/sage-5.9/logs/pkgs/libm4rie-20120613.log
    Describe your computer, operating system, etc.
    If you want to try to fix the problem yourself, *don't* just cd to
    /home/jeff/sage-5.9/spkg/build/libm4rie-20120613 and type 'make' or
    whatever is appropriate.
    Instead, the following commands setup all environment variables
    correctly and load a subshell for you to debug the error:
       (cd '/home/jeff/sage-5.9/spkg/build/libm4rie-20120613' &&
    '/home/jeff/sage-5.9/sage' --sh)
    When you are done debugging, you can type "exit" to leave the subshell.
    ************************************************************************

--
() 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.


Reply via email to