[sage-devel] Re: build sage-6.6 R fail
John Foster wrote: Just a suggestion: Try a different make, as you know there are several. You mean a different 'make' program? There's nothing wrong with 'make' here; the R binary crashed: $ printf '#includestdlib.h\nint main(){abort();}' | gcc -o dump_core -x c - $ printf 'all:\n\t@echo | ./dump_core' | make -f - SHELL=/bin/bash /bin/bash: line 1: 25600 Doneecho 25601 Aborted | ./dump_core make: *** [all] Error 134 $ ulimit -c unlimited $ printf 'all:\n\t@echo | ./dump_core' | make -f - SHELL=/bin/bash /bin/bash: line 1: 25607 Doneecho 25608 Aborted (core dumped) | ./dump_core make: *** [all] Error 134 I see at the bottom there is a core dump but no justification. Could be a memory addressing issue. best wishes. Memory addressing errors usually give SIGSEGV. The justification for dumping a core file is SIGABRT, since that's the default action for it. -leif On 05/04/2015 01:43 AM, William Stein wrote: Hi, I'm trying to build Sage-6.6 on the latest Ubuntu 14.10 (SageMathCloud). The first problem was with libgd, which another patch somebody posted May 1 got past. Now there is some mysterious error/crash when building R which means nothing to me. See attached log. I'm building with MAKE not set and a very high RAM/cpu quota... gcc -std=gnu99 -shared -L../../../../lib -L/projects/8111fd7e-e470-49ed-996d-8bba01a6cd3e/sage-6.6/local/lib/ -o tools.so text.o init.o Rmd5.o md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd.o -L../../../../lib -lR make[9]: Entering directory '/projects/8111fd7e-e470-49ed-996d-8bba01a6cd3e/sage-6.6/local/var/tmp/sage/build/r-3.1.2.p0/src/src/library/tools/src' mkdir -p -- ../../../../library/tools/libs make[9]: Leaving directory '/projects/8111fd7e-e470-49ed-996d-8bba01a6cd3e/sage-6.6/local/var/tmp/sage/build/r-3.1.2.p0/src/src/library/tools/src' make[8]: Leaving directory '/projects/8111fd7e-e470-49ed-996d-8bba01a6cd3e/sage-6.6/local/var/tmp/sage/build/r-3.1.2.p0/src/src/library/tools/src' make[7]: Leaving directory '/projects/8111fd7e-e470-49ed-996d-8bba01a6cd3e/sage-6.6/local/var/tmp/sage/build/r-3.1.2.p0/src/src/library/tools' /bin/bash: line 1: 11246 Doneecho tools:::.install_package_description('.', '../../../library/tools') 11247 Aborted (core dumped) | R_DEFAULT_PACKAGES=NULL ../../../bin/R --vanilla --slave /dev/null Makefile:30: recipe for target 'all' failed -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: build sage-6.6 R fail
William Stein wrote: I'm trying to build Sage-6.6 on the latest Ubuntu 14.10 (SageMathCloud). The first problem was with libgd, which another patch somebody posted May 1 got past. Now there is some mysterious error/crash when building R which means nothing to me. See attached log. I'm building with MAKE not set and a very high RAM/cpu quota... 14.10 is not an LTS release... ;-) Looks like Ubuntu's GCC is broken; I've seen such (the R binary crashing) in the past when experimenting with LTO. I'd play a little with CFLAGS. There's btw. a new R package at #18229 you could perhaps try; no idea whether that will make a difference. -leif /bin/bash: line 1: 11246 Doneecho tools:::.install_package_description('.', '../../../library/tools') 11247 Aborted (core dumped) | R_DEFAULT_PACKAGES=NULL ../../../bin/R --vanilla --slave /dev/null Makefile:30: recipe for target 'all' failed -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: build sage-6.6 R fail
leif wrote: William Stein wrote: I'm trying to build Sage-6.6 on the latest Ubuntu 14.10 (SageMathCloud). The first problem was with libgd, which another patch somebody posted May 1 got past. Now there is some mysterious error/crash when building R which means nothing to me. See attached log. I'm building with MAKE not set and a very high RAM/cpu quota... 14.10 is not an LTS release... ;-) Looks like Ubuntu's GCC is broken; I've seen such (the R binary crashing) in the past when experimenting with LTO. I'd play a little with CFLAGS. There's btw. a new R package at #18229 you could perhaps try; no idea whether that will make a difference. P.S.: Another option is of course trying to build with SAGE_INSTALL_GCC=yes (vanilla FSF GCC 4.9.2). -leif /bin/bash: line 1: 11246 Doneecho tools:::.install_package_description('.', '../../../library/tools') 11247 Aborted (core dumped) | R_DEFAULT_PACKAGES=NULL ../../../bin/R --vanilla --slave /dev/null Makefile:30: recipe for target 'all' failed -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Re: build sage-6.6 R fail
On 2015-05-04 09:05, leif wrote: William Stein wrote: I'm trying to build Sage-6.6 on the latest Ubuntu 14.10 (SageMathCloud). The first problem was with libgd, which another patch somebody posted May 1 got past. Now there is some mysterious error/crash when building R which means nothing to me. See attached log. I'm building with MAKE not set and a very high RAM/cpu quota... 14.10 is not an LTS release... ;-) Looks like Ubuntu's GCC is broken; I've seen such (the R binary crashing) in the past when experimenting with LTO. I cannot comment on this specific case, but I know from experience that Debian has a history of shipping broken compilers... -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: build sage-6.6 R fail
The libgd issue is fixed in #18293 On Monday, May 4, 2015 at 8:43:49 AM UTC+2, William wrote: Hi, I'm trying to build Sage-6.6 on the latest Ubuntu 14.10 (SageMathCloud). The first problem was with libgd, which another patch somebody posted May 1 got past. Now there is some mysterious error/crash when building R which means nothing to me. See attached log. I'm building with MAKE not set and a very high RAM/cpu quota... gcc -std=gnu99 -shared -L../../../../lib -L/projects/8111fd7e-e470-49ed-996d-8bba01a6cd3e/sage-6.6/local/lib/ -o tools.so text.o init.o Rmd5.o md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd.o -L../../../../lib -lR make[9]: Entering directory '/projects/8111fd7e-e470-49ed-996d-8bba01a6cd3e/sage-6.6/local/var/tmp/sage/build/r-3.1.2.p0/src/src/library/tools/src' mkdir -p -- ../../../../library/tools/libs make[9]: Leaving directory '/projects/8111fd7e-e470-49ed-996d-8bba01a6cd3e/sage-6.6/local/var/tmp/sage/build/r-3.1.2.p0/src/src/library/tools/src' make[8]: Leaving directory '/projects/8111fd7e-e470-49ed-996d-8bba01a6cd3e/sage-6.6/local/var/tmp/sage/build/r-3.1.2.p0/src/src/library/tools/src' make[7]: Leaving directory '/projects/8111fd7e-e470-49ed-996d-8bba01a6cd3e/sage-6.6/local/var/tmp/sage/build/r-3.1.2.p0/src/src/library/tools' /bin/bash: line 1: 11246 Doneecho tools:::.install_package_description('.', '../../../library/tools') 11247 Aborted (core dumped) | R_DEFAULT_PACKAGES=NULL ../../../bin/R --vanilla --slave /dev/null Makefile:30: recipe for target 'all' failed -- William (http://wstein.org) -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.