So...

I have just launched

   sudo apt-get install gfortran

and there was no problem.

And then, i launched

   make

again for Sage.

Same problem...............;

[gfortran-7.2.0] ../../../src/libgcc/libgcc2.c: In function '__mulxc3':
[gfortran-7.2.0] ../../../src/libgcc/libgcc2.c:1998:6: internal compiler
error: Illegal instruction
[gfortran-7.2.0]     a = COPYSIGN (isinf (a) ? 1 : 0, a);
[gfortran-7.2.0]     ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[gfortran-7.2.0] 0x9eb7bf crash_signal
[gfortran-7.2.0]     ../../src/gcc/toplev.c:337
[gfortran-7.2.0] 0x7f7dd5620d3e ???
[gfortran-7.2.0]
/home/m/Bureau/sage-8.3/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868/src/mpn/tmp-mul_1.s:113
[gfortran-7.2.0] Please submit a full bug report,
[gfortran-7.2.0] with preprocessed source if appropriate.
[gfortran-7.2.0] Please include the complete backtrace with any bug report.
[gfortran-7.2.0] See <https://gcc.gnu.org/bugs/> for instructions.
[gfortran-7.2.0] Makefile:491: recipe for target '_mulxc3.o' failed
[gfortran-7.2.0] make[6]: *** [_mulxc3.o] Error 1
[gfortran-7.2.0] make[6]: Leaving directory
'/home/m/Bureau/sage-8.3/local/var/tmp/sage/build/gfortran-7.2.0/gcc-build/x86_64-pc-linux-gnu/libgcc'
[gfortran-7.2.0] Makefile:11907: recipe for target 'all-target-libgcc'
failed
[gfortran-7.2.0] make[5]: *** [all-target-libgcc] Error 2
[gfortran-7.2.0] make[5]: Leaving directory
'/home/m/Bureau/sage-8.3/local/var/tmp/sage/build/gfortran-7.2.0/gcc-build'
[gfortran-7.2.0] Makefile:877: recipe for target 'all' failed
[gfortran-7.2.0] make[4]: *** [all] Error 2
[gfortran-7.2.0] make[4]: Leaving directory
'/home/m/Bureau/sage-8.3/local/var/tmp/sage/build/gfortran-7.2.0/gcc-build'
[gfortran-7.2.0]
*************************************************************************************************************************************************************************
[gfortran-7.2.0] Error building gfortran-7.2.0
[gfortran-7.2.0]
*************************************************************************************************************************************************************************
[gfortran-7.2.0]
[gfortran-7.2.0] real    28m53.846s
[gfortran-7.2.0] user    26m8.463s
[gfortran-7.2.0] sys    1m41.679s
[gfortran-7.2.0]
************************************************************************
[gfortran-7.2.0] Error installing package gfortran-7.2.0
[gfortran-7.2.0]
************************************************************************
[gfortran-7.2.0] Please email sage-devel (
http://groups.google.com/group/sage-devel)
[gfortran-7.2.0] explaining the problem and including the log file
[gfortran-7.2.0]   /home/m/Bureau/sage-8.3/logs/pkgs/gfortran-7.2.0.log
[gfortran-7.2.0] Describe your computer, operating system, etc.
[gfortran-7.2.0] If you want to try to fix the problem yourself, *don't*
just cd to
[gfortran-7.2.0]
/home/m/Bureau/sage-8.3/local/var/tmp/sage/build/gfortran-7.2.0 and type
'make' or whatever is appropriate.
[gfortran-7.2.0] Instead, the following commands setup all environment
variables
[gfortran-7.2.0] correctly and load a subshell for you to debug the error:
[gfortran-7.2.0]   (cd
'/home/m/Bureau/sage-8.3/local/var/tmp/sage/build/gfortran-7.2.0' &&
'/home/m/Bureau/sage-8.3/sage' --sh)
[gfortran-7.2.0] When you are done debugging, you can type "exit" to leave
the subshell.
[gfortran-7.2.0]
************************************************************************
Makefile:2058: recipe for target
'/home/m/Bureau/sage-8.3/local/var/lib/sage/installed/gfortran-7.2.0' failed
make[3]: ***
[/home/m/Bureau/sage-8.3/local/var/lib/sage/installed/gfortran-7.2.0] Error
1
make[3]: Leaving directory '/home/m/Bureau/sage-8.3/build/make'
Makefile:1766: recipe for target 'all-start' failed
make[2]: *** [all-start] Error 2
make[2]: Leaving directory '/home/m/Bureau/sage-8.3/build/make'

real    29m39,624s
user    26m35,994s
sys    1m49,738s
***************************************************************
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):

* package: gfortran-7.2.0
  log file: /home/m/Bureau/sage-8.3/logs/pkgs/gfortran-7.2.0.log
  build directory:
/home/m/Bureau/sage-8.3/local/var/tmp/sage/build/gfortran-7.2.0

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

Makefile:31: recipe for target 'all-start' failed
make[1]: *** [all-start] Error 1
make[1]: Leaving directory '/home/m/Bureau/sage-8.3'
Makefile:13: recipe for target 'all' failed
make: *** [all] Error 2



2018-08-19 11:02 GMT+02:00 Mathieu Roux <mthr...@gmail.com>:

> Here is the file gfortran-7.2.0.log.
>
> Thanks
>
> 2018-08-16 12:38 GMT+02:00 Dima Pasechnik <dimp...@gmail.com>:
>
>> to see what's wrong, look in
>> /home/m/Bureau/sage-8.3/logs/pkgs/gfortran-7.2.0.log
>> (or post it here)
>>
>> but the easiest would be to install the system's  gfortran.
>>
>> --
>> 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.
>>
>
>

-- 
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