Hello, 


   I'm getting the following error on my new macbook pro (OS Sierra 
10.12.5) when trying to compile sage from source code:



asdf


[gcc-5.4.0] In file included from ../../src/gcc/c-family/cppspec.c:25:

[gcc-5.4.0] In file included from ../../src/gcc/opts.h:24:

[gcc-5.4.0] In file included from ../../src/gcc/vec.h:44:

[gcc-5.4.0] ../../src/gcc/ggc.h:281:11: warning: struct 'rtx_def' was 
previously declared as a class [-Wmismatched-tags]

[gcc-5.4.0]   return (struct rtx_def *) ggc_internal_alloc (s 
PASS_MEM_STAT);

[gcc-5.4.0]           ^

[gcc-5.4.0] ../../src/gcc/coretypes.h:62:7: note: previous use is here

[gcc-5.4.0] class rtx_def;

[gcc-5.4.0]       ^

[gcc-5.4.0] 3 warnings generated.

[gcc-5.4.0] /usr/bin/clang++   -g  -DIN_GCC    -fno-exceptions -fno-rtti 
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings 
-Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual 
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings 
-fno-common  -DHAVE_CONFIG_H -Wl,-no_pie 
-L/Users/colin/Sage/sage-7.5.1/local/lib 
-Wl,-rpath,/Users/colin/Sage/sage-7.5.1/local/lib  -o cpp gcc.o gcc-main.o 
ggc-none.o \

[gcc-5.4.0]   c-family/cppspec.o driver-i386.o darwin-driver.o 
libcommon-target.a \

[gcc-5.4.0]    libcommon.a ../libcpp/libcpp.a  -liconv 
../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a 
../libdecnumber/libdecnumber.a 

[gcc-5.4.0] 
/Users/colin/Sage/sage-7.5.1/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/./gcc/xgcc
 
-B/Users/colin/Sage/sage-7.5.1/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/./gcc/
 
-dumpspecs > tmp-specs

[gcc-5.4.0] mv tmp-specs specs

[gcc-5.4.0] : > tmp-libgcc.mvars

[gcc-5.4.0] echo GCC_CFLAGS = '-g -O2 -DIN_GCC    -W -Wall -Wno-narrowing 
-Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes 
-Wmissing-prototypes -Wold-style-definition  -isystem ./include ' >> 
tmp-libgcc.mvars

[gcc-5.4.0] echo INHIBIT_LIBC_CFLAGS = '' >> tmp-libgcc.mvars

[gcc-5.4.0] echo TARGET_SYSTEM_ROOT = '' >> tmp-libgcc.mvars

[gcc-5.4.0] mv tmp-libgcc.mvars libgcc.mvars

[gcc-5.4.0] echo | 
/Users/colin/Sage/sage-7.5.1/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/./gcc/xgcc
 
-B/Users/colin/Sage/sage-7.5.1/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/./gcc/
 
-E -dM - | \

[gcc-5.4.0]   sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \

[gcc-5.4.0]  -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \

[gcc-5.4.0]   sort -u > tmp-macro_list

[gcc-5.4.0] /bin/sh ../../src/gcc/../move-if-change tmp-macro_list 
macro_list

[gcc-5.4.0] echo timestamp > s-macro_list

[gcc-5.4.0] if 
/Users/colin/Sage/sage-7.5.1/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/./gcc/xgcc
 
-B/Users/colin/Sage/sage-7.5.1/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/./gcc/
 
-print-sysroot-headers-suffix > /dev/null 2>&1; then \

[gcc-5.4.0]   set -e; for ml in 
`/Users/colin/Sage/sage-7.5.1/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/./gcc/xgcc
 
-B/Users/colin/Sage/sage-7.5.1/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/./gcc/
 
-print-multi-lib`; do \

[gcc-5.4.0]     multi_dir=`echo ${ml} | sed -e 's/;.*$//'`; \

[gcc-5.4.0]     flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \

[gcc-5.4.0]     
sfx=`/Users/colin/Sage/sage-7.5.1/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/./gcc/xgcc
 
-B/Users/colin/Sage/sage-7.5.1/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/./gcc/
 
${flags} -print-sysroot-headers-suffix`; \

[gcc-5.4.0]     if [ "${multi_dir}" = "." ]; \

[gcc-5.4.0]       then multi_dir=""; \

[gcc-5.4.0]     else \

[gcc-5.4.0]       multi_dir=/${multi_dir}; \

[gcc-5.4.0]     fi; \

[gcc-5.4.0]     echo "${sfx};${multi_dir}"; \

[gcc-5.4.0]   done; \

[gcc-5.4.0] else \

[gcc-5.4.0]   echo ";"; \

[gcc-5.4.0] fi > tmp-fixinc_list

[gcc-5.4.0] /bin/sh ../../src/gcc/../move-if-change tmp-fixinc_list 
fixinc_list

[gcc-5.4.0] echo timestamp > s-fixinc_list

[gcc-5.4.0] rm -rf include-fixed; mkdir include-fixed

[gcc-5.4.0] chmod a+rx include-fixed

[gcc-5.4.0] if [ -d ../prev-gcc ]; then \

[gcc-5.4.0]   cd ../prev-gcc && \

[gcc-5.4.0]   make real-install-headers-tar DESTDIR=`pwd`/../gcc/ \

[gcc-5.4.0]     libsubdir=. ; \

[gcc-5.4.0] else \

[gcc-5.4.0]   set -e; for ml in `cat fixinc_list`; do \

[gcc-5.4.0]     sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \

[gcc-5.4.0]     multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \

[gcc-5.4.0]     fix_dir=include-fixed${multi_dir}; \

[gcc-5.4.0]     if ! false && test ! -d `echo /usr/include | sed -e :a -e 
's,[^/]*/\.\.\/,,' -e ta`; then \

[gcc-5.4.0]       echo The directory that should contain system headers 
does not exist: >&2 ; \

[gcc-5.4.0]       echo "  `echo /usr/include | sed -e :a -e 
's,[^/]*/\.\.\/,,' -e ta`" >&2 ; \

[gcc-5.4.0]       tooldir_sysinc=`echo 
"/Users/colin/Sage/sage-7.5.1/local/lib/gcc/x86_64-apple-darwin16.6.0/5.4.0/../../../../x86_64-apple-darwin16.6.0/sys-include"
 
| sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`; \

[gcc-5.4.0]       if test "x`echo /usr/include | sed -e :a -e 
's,[^/]*/\.\.\/,,' -e ta`" = "x${tooldir_sysinc}"; \

[gcc-5.4.0]       then sleep 1; else exit 1; fi; \

[gcc-5.4.0]     fi; \

[gcc-5.4.0]     /bin/sh ../../src/gcc/../mkinstalldirs ${fix_dir}; \

[gcc-5.4.0]     chmod a+rx ${fix_dir} || true; \

[gcc-5.4.0]     (TARGET_MACHINE='x86_64-apple-darwin16.6.0'; srcdir=`cd 
../../src/gcc; ${PWDCMD-pwd}`; \

[gcc-5.4.0]       SHELL='/bin/sh'; MACRO_LIST=`${PWDCMD-pwd}`/macro_list ; \

[gcc-5.4.0]       gcc_dir=`${PWDCMD-pwd}` ; \

[gcc-5.4.0]       export TARGET_MACHINE srcdir SHELL MACRO_LIST && \

[gcc-5.4.0]       cd ../build-x86_64-apple-darwin16.6.0/fixincludes && \

[gcc-5.4.0]       /bin/sh ./fixinc.sh "${gcc_dir}/${fix_dir}" \

[gcc-5.4.0]         `echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e 
ta`  ); \

[gcc-5.4.0]     rm -f ${fix_dir}/syslimits.h; \

[gcc-5.4.0]     if [ -f ${fix_dir}/limits.h ]; then \

[gcc-5.4.0]       mv ${fix_dir}/limits.h ${fix_dir}/syslimits.h; \

[gcc-5.4.0]     else \

[gcc-5.4.0]       cp ../../src/gcc/gsyslimits.h ${fix_dir}/syslimits.h; \

[gcc-5.4.0]     fi; \

[gcc-5.4.0]     chmod a+r ${fix_dir}/syslimits.h; \

[gcc-5.4.0]   done; \

[gcc-5.4.0] fi

[gcc-5.4.0] The directory that should contain system headers does not exist:

[gcc-5.4.0]   /usr/include

[gcc-5.4.0] make[6]: *** [stmp-fixinc] Error 1

[gcc-5.4.0] make[5]: *** [all-stage1-gcc] Error 2

[gcc-5.4.0] make[4]: *** [stage1-bubble] Error 2

[gcc-5.4.0] make[3]: *** [all] Error 2

[gcc-5.4.0] 

[gcc-5.4.0] real 8m28.649s

[gcc-5.4.0] user 6m30.719s

[gcc-5.4.0] sys 1m17.482s

[gcc-5.4.0] 
************************************************************************

[gcc-5.4.0] Error installing package gcc-5.4.0

[gcc-5.4.0] 
************************************************************************





This is the end of a very very long spew of warnings before it finally 
halts on the error. 

Any and all help would be appreciated.  Thanks. 

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to