bugGNU Octave - Bugs: bug #35276, Test suite failure fixed by...

 
 

bug #35276: Test suite failure fixed by selecting correct Fortran compiler

Submitted by:  None
Submitted on:  Tue 10 Jan 2012 12:22:52 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: None
Originator Name: Karim SumunOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.4.3
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 10 Jan 2012 07:35:42 PM UTC, comment #1:

Since g77 is obsolete and doesn't mix well with modern GCC, I checked in the following change:

http://hg.savannah.gnu.org/hgweb/octave/rev/d584f90d2c47

A better fix would be to fix autoconf so that it prefers gfortran over g77, even when searching for a Fortran 77 compiler.

But since I think the change to Octave should avoid the problem, I'm closing this report.

John W. Eaton <jwe>
Project Administrator
Tue 10 Jan 2012 12:22:52 PM UTC, original submission:

I have both the gcc-4.5.1 and compat-gcc-34-3.4.6 packages installed. The configure script chose the C compiler from the 4.5.1 suite and the fortran compiler from the 3.4.6 suite - looking at the configure script (line 31368), it chooses from a list where g77 is in first place, before gfortran.

Running the test suite with 'make check' resulted in a segfault for certain tests.

Fixed by specifying the environment variable F77=gfortran before running configure. All expected tests now pass.

uname -a: Linux fedfat.localdomain 2.6.35.14-106.fc14.i686 #1 SMP Wed Nov 23 13:57:33 UTC 2011 i686 i686 i386 GNU/Linux

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 10 Jan 2012 07:35:41 PM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1