- I'm using Debian 8 (jessie)
   - have instsalled GCC 6.2
   - git cloned the source from today and just ran make (after installing 
   some prerequisites).
   - After some minutes I arrived at this issue:

[gcc-4.9.3.p1] In file included from ../../src/gcc/cp/except.c:1013:0:
[gcc-4.9.3.p1] cfns.gperf: In function 'const char* libc_name_p(const 
char*, unsigned int)':
[gcc-4.9.3.p1] cfns.gperf:101:1: error: 'const char* libc_name_p(const 
char*, unsigned int)' redeclared inline with 'gnu_inline' attribute
[gcc-4.9.3.p1] cfns.gperf:26:14: note: 'const char* libc_name_p(const 
char*, unsigned int)' previously declared here


   - Similar errors can be seen on Internet and they are not related to 
   Sage.
   - https://gcc.gnu.org/ml/gcc/2013-03/msg00299.html
      - https://github.com/mxe/mxe/issues/1361
      - Wherever...
   - My solution so far
      - vim ./local/var/tmp/sage/build/gcc-4.9.3.p1/src/gcc/cp/cfns.h
      - And commented out the inline attribute at line 365
      - Then went to the GCC build and 'make' (I read the error banner 
      saying it is not advised, but I was unable to re-make Sage with my fix 
      kept, well maybe if I had patched the GCC tar instead...)
      - Later it failed again: unable to compute suffix of object using the 
      built compiler. I got pissed off and:
      - 'make distclean', installed gfortran and 'SAGE_INSTALL_GCC=no make' 
      - voila
   

   

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to