You get the same error in /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libffi.a? Can you check your log to verify that sage compiled its own gcc?
Which Debian version is this anyways? Its weird that you don't have a libffi shared library, if you have root you can try apt-get install libffi-dev On Wednesday, November 5, 2014 11:19:09 AM UTC, criceto11 wrote: > > I tried > make distclean > SAGE_INSTALL_GCC=yes make > > but I get the same error > > > On Tuesday, November 4, 2014 7:08:51 PM UTC+1, Volker Braun wrote: >> >> try compiling with Sage's own gcc: >> >> make distclean >> SAGE_INSTALL_GCC=yes make >> >> >> On Tuesday, November 4, 2014 6:02:49 PM UTC, criceto11 wrote: >>> >>> I cannot anymore compile Sage; I have 3.10-3-amd64 #1 SMP Debian >>> 3.10.11-1 (2013-09-10) x86_64 GNU/Linux >>> To work on a ticket I tried compiling from source Sage-6.3 and >>> sage-6.3-x86_64-Linux; in both cases there is an error compiling ecl >>> >>> ;;; Note: >>> ;;; Invoking external command: >>> ;;; gcc -o libecl.so >>> -L/home/pernici/packages/sage/sage-6.3-x86_64-Linux/local/var/tmp/sage/build/ecl-13.5.1.p0/src/build/ >>> >>> c/main.o c/all_symbols2.o liblsp.a libeclmin.a >>> -Wl,--rpath,/home/pernici/packages/sage/sage-6.3-x86_64-Linux/local/lib/ >>> -shared -L/home/pernici/packages/sage/sage-6.3-x86_64-Linux/local/lib >>> -L/home/pernici/packages/sage/sage-6.3-x86_64-Linux/local/lib >>> -Wl,--rpath,/home/pernici/packages/sage/sage-6.3-x86_64-Linux/local/lib >>> -L/home/pernici/packages/sage/sage-6.3-x86_64-Linux/local/lib >>> -Wl,-soname,libecl.so.13.5 -lgmp -lgc -lffi -ldl -lm /usr/bin/ld: >>> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libffi.a(closures.o): >>> >>> relocation R_X86_64_32S against `.rodata' can not be used when making a >>> shared object; recompile with -fPIC >>> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libffi.a: >>> error adding symbols: Bad value >>> collect2: error: ld returned 1 exit status >>> >>> Condition of type: SIMPLE-ERROR >>> Error code 1 when executing >>> (RUN-PROGRAM "gcc" ("-o" "libecl.so" ...)) >>> >>> -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.