Hello,

I'm getting an error when trying to compile Sage 7.6. The problem is with 
gcc-5.4.0. 

I'm running Ubuntu 17.04 on a Vaio laptop.

I appreciate any help.

Thanks,
Bernardo.

Here's the last part of the gcc-5.4.0 log file:

/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/./prev-gcc/xg++
 
-B/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/./prev-gcc/
 
-B/home/bernardo/sage/sage-7.6/local/x86_64-unknown-linux-gnu/bin/ 
-nostdinc++ 
-B/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
 
-B/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
  
-I/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
  
-I/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
  
-I/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0/src/libstdc++-v3/libsupc++
 
-L/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
 
-L/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
 
-c  -DIN_GCC_FRONTEND -g -O2 -gtoggle -DIN_GCC    -fno-exceptions -fno-rtti 
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings 
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic 
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   
-DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp 
-I../../src/gcc/../include -I../../src/gcc/../libcpp/include 
-I/home/bernardo/sage/sage-7.6/local/include 
-I/home/bernardo/sage/sage-7.6/local/include 
-I/home/bernardo/sage/sage-7.6/local/include  
-I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/bid 
-I../libdecnumber -I../../src/gcc/../libbacktrace   -o cp/decl2.o -MT 
cp/decl2.o -MMD -MP -MF cp/.deps/decl2.TPo ../../src/gcc/cp/decl2.c
../../src/gcc/cp/decl2.c: In function 'void cp_write_global_declarations()':
../../src/gcc/cp/decl2.c:4474:1: internal compiler error: Segmentation fault
 cp_write_global_declarations (void)
 ^
0x56253d0827ec crash_signal
    ../../src/gcc/toplev.c:383
0x56253ca79523 lookup_page_table_entry
    ../../src/gcc/ggc-page.c:659
0x56253ca7a763 ggc_set_mark(void const*)
    ../../src/gcc/ggc-page.c:1540
0x56253c95c6fb gt_ggc_mx_lang_tree_node(void*)
    ./gt-cp-tree.h:236
0x56253c95e5fc gt_ggc_mx_lang_tree_node(void*)
    ./gt-cp-tree.h:602
0x56253c95dc81 gt_ggc_mx_lang_tree_node(void*)
    ./gt-cp-tree.h:468
0x56253cdbcb80 gt_ggc_mx_dw_fde_node(void*)
    
/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/gcc/gtype-desc.c:1381
0x56253cbd6d72 gt_ggc_mx(dw_fde_node*&)
    ./gt-dwarf2out.h:458
0x56253cbd6d34 gt_ggc_mx_vec_dw_fde_ref_va_gc_(void*)
    ./gt-dwarf2out.h:450
0x56253cccea2f ggc_mark_root_tab
    ../../src/gcc/ggc-common.c:81
0x56253cccead5 ggc_mark_roots()
    ../../src/gcc/ggc-common.c:98
0x56253ca7bb43 ggc_collect()
    ../../src/gcc/ggc-page.c:2199
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
Makefile:1065: recipe for target 'cp/decl2.o' failed
make[6]: *** [cp/decl2.o] Error 1
make[6]: Leaving directory 
'/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0/gcc-build/gcc'
Makefile:4410: recipe for target 'all-stage2-gcc' failed
make[5]: *** [all-stage2-gcc] Error 2
make[5]: Leaving directory 
'/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0/gcc-build'
Makefile:19822: recipe for target 'stage2-bubble' failed
make[4]: *** [stage2-bubble] Error 2
make[4]: Leaving directory 
'/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0/gcc-build'
Makefile:901: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory 
'/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0/gcc-build'

real    182m0.423s
user    175m25.120s
sys    3m11.876s
************************************************************************
Error installing package gcc-5.4.0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/bernardo/sage/sage-7.6/logs/pkgs/gcc-5.4.0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0 and type 
'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/home/bernardo/sage/sage-7.6/local/var/tmp/sage/build/gcc-5.4.0' && 
'/home/bernardo/sage/sage-7.6/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

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

Reply via email to