IMHO you are the 1st one reporting about building Sage with gcc 7.0.0. It's not surprising - most probably the corresponding upstream packages, gsl and R in this case, have not yet been ported to gcc 7.
On Monday, May 1, 2017 at 12:58:49 AM UTC+1, Tae Lim Kook wrote: > > Sorry if a similar message previously appeared on this group. I'm assuming > that it didn't get posted for some reason. > > OS: Linux (kernel 4.10.0 / distro: Ubuntu 17.10) > GCC version: 7.0.0 20161202 experimental (built from source) > > error message for gsl: > > checking host system type... x86_64-unknown-linux-gnu > checking for gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... configure: error: in > `/home/uruwi/sage-7.6/local/var/tmp/sage/build/gsl-2.1.p1/src': > configure: error: cannot run C compiled programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details > Error configuring GSL. > > real 0m0.460s > user 0m0.204s > sys 0m0.056s > > for R: > > checking size of int... 4 > checking size of long... 8 > checking size of long long... 8 > checking size of double... 8 > checking size of size_t... 8 > checking size of long double... 16 > checking whether we can compute C Make dependencies... yes, using $(CC) - > MM > checking whether gcc supports -c -o FILE.lo... yes > checking for gcc option to support OpenMP... -fopenmp > checking how to get verbose linking output from gfortran... -### > checking for Fortran 77 libraries of gfortran... -L/home/uruwi/sage-7.6/ > local/lib -L/home/uruwi/sage-7.6/local/lib/../lib64 -L/usr/local/lib/gcc/ > x86_64-pc-linux-gnu/7.0.0 -L/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.0.0 > /../../../x86_64-linux-gnu -L/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.0.0 > /../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/ > x86_64-linux-gnu -L/usr/lib/../lib64 -L/usr/local/lib/gcc/x86_64-pc-linux- > gnu/7.0.0/../../.. -lgfortran -lm -lquadmath > checking how to get verbose linking output from gcc... -### > checking for C libraries of gcc... -L/home/uruwi/sage-7.6/local/lib -L/ > home/uruwi/sage-7.6/local/lib/../lib64 -L/usr/local/lib/gcc/x86_64-pc- > linux-gnu/7.0.0 -L/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.0.0/../../../ > x86_64-linux-gnu -L/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.0.0 > /../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/ > x86_64-linux-gnu -L/usr/lib/../lib64 -L/usr/local/lib/gcc/x86_64-pc-linux- > gnu/7.0.0/../../.. -lgcc_s > checking for dummy main to link with Fortran 77 libraries... none > checking for Fortran 77 name-mangling scheme... lower case, underscore, no > extra underscore > checking whether gfortran appends underscores to external names... yes > checking whether gfortran appends extra underscores to external names... > no > checking whether mixed C/Fortran code can be run... configure: WARNING: > cannot run mixed C/Fortran code > configure: error: Maybe check LDFLAGS for paths to Fortran libraries? > Error configuring R. > > real 0m33.667s > user 0m13.640s > sys 0m2.900s > > > -- 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 https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.