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

 
 

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

Submitter:  None
Submitted:  Tue 10 Jan 2012 12:22:52 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Karim Sumun Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.4.3
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-01-10 jwe StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code