Ticket #13118 (closed defect: fixed)

Opened 11 months ago

Last modified 7 months ago

Support GCC version "4.7" in LinBox

Reported by: jdemeyer Owned by: tbd
Priority: blocker Milestone: sage-5.1
Component: packages: standard Keywords:
Cc: Work issues:
Report Upstream: N/A Reviewers: R. Andrew Ohana
Authors: Jeroen Demeyer Merged in: sage-5.1.beta6
Dependencies: Stopgaps:

Description (last modified by jdemeyer) (diff)

It seems Debian ships a version of gcc where

gcc -dumpversion

outputs "4.7" instead of the expected "4.7.0".

This causes a build failure in LinBox? (and only in LinBox? according to the bug report).

spkg:  http://boxen.math.washington.edu/home/jdemeyer/spkg/linbox-1.1.6.p11.spkg

Attachments

linbox-1.1.6.p11.diff Download (1.6 KB) - added by jdemeyer 11 months ago.
Diff for the linbox spkg. For reference / review only.
here.txt Download (54.6 KB) - added by startakovsky 7 months ago.
linbox error on rackspace.com virtual machine, ubuntu 12

Change History

comment:1 Changed 11 months ago by jdemeyer

  • Status changed from new to needs_review
  • Description modified (diff)
  • Authors set to Jeroen Demeyer

Changed 11 months ago by jdemeyer

Diff for the linbox spkg. For reference / review only.

comment:2 Changed 11 months ago by jdemeyer

  • Summary changed from Support GCC version "4.7" to Support GCC version "4.7" in LinBox

comment:3 Changed 11 months ago by rohana

  • Status changed from needs_review to positive_review
  • Reviewers set to R. Andrew Ohana

Looks good to me.

comment:4 Changed 11 months ago by jdemeyer

  • Status changed from positive_review to closed
  • Resolution set to fixed
  • Merged in set to sage-5.1.beta6

comment:5 follow-up: ↓ 6 Changed 7 months ago by startakovsky

I am experiencing an issue with linbox during an installation. I have inquired on ask.sagemath.org about this. Here are the details. Is this related, should I open a separate ticket?  http://ask.sagemath.org/question/1914/error-installing-sage-because-of-package-linbox

comment:6 in reply to: ↑ 5 ; follow-up: ↓ 7 Changed 7 months ago by jdemeyer

Replying to startakovsky:

I am experiencing an issue with linbox during an installation. I have inquired on ask.sagemath.org about this. Here are the details. Is this related, should I open a separate ticket?  http://ask.sagemath.org/question/1914/error-installing-sage-because-of-package-linbox

Please try sage-5.4.rc2: http://www.sagemath.org/download-latest.html

comment:7 in reply to: ↑ 6 Changed 7 months ago by startakovsky

Replying to jdemeyer:

Replying to startakovsky:

I am experiencing an issue with linbox during an installation. I have inquired on ask.sagemath.org about this. Here are the details. Is this related, should I open a separate ticket?  http://ask.sagemath.org/question/1914/error-installing-sage-because-of-package-linbox

Please try sage-5.4.rc2: http://www.sagemath.org/download-latest.html

I downloaded sage-5.4.rc2 as instructed onto my rackspace.com 64-bit vm and got the same error because GCC failed. Then I typed export INSTALL_SAGE_GCC=yes then make and received another error, one I've seen before, where it stalled on linbox-sage.o. I've attached the log to this ticket.

Changed 7 months ago by startakovsky

linbox error on rackspace.com virtual machine, ubuntu 12

comment:8 Changed 7 months ago by jdemeyer

Could you please bring this discussion to the sage-devel mailing list instead of this ticket (which has nothing to do with it). Also, is there any chance of getting access to that machine for easier debugging?

comment:9 Changed 7 months ago by jdemeyer

And to be very clear, please post:

  1. the failed install.log from building sage-5.4.rc2 from scratch without any special environment variables set (no MAKE, no SAGE_INSTALL_GCC).
  2. the failed install.log from building sage-5.4.rc2 from scratch with SAGE_INSTALL_GCC=yes (i.e. not a build started without and continued with SAGE_INSTALL_GCC=yes)

comment:10 Changed 7 months ago by jdemeyer

And how is the resource usage on that machine, are you constrained in memory/CPU usage? Sage requires 2.5GB of memory to build (some of this may be swap space).

Note: See TracTickets for help on using tickets.