bugGNU Octave - Bugs: bug #35257, Octave does not build using GCC 4.7

 
 

bug #35257: Octave does not build using GCC 4.7

Submitter:  Susi Lehtola <jussilehtola>
Submitted:  Fri 06 Jan 2012 11:14:07 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 07 Jan 2012 06:24:14 PM UTC, comment #2: 

Yes, the 3.5.92 tarball built fine with your patch.

Susi Lehtola <jussilehtola>
Sat 07 Jan 2012 05:45:44 PM UTC, comment #1: 

I checked in the following change.  Does it fix the problem for you?

http://hg.savannah.gnu.org/hgweb/octave/rev/7ffd2a0791ef

John W. Eaton <jwe>
Group administrator
Fri 06 Jan 2012 11:14:07 PM UTC, original submission:  

Build of octave-3.5.92 with GCC 4.7 fails with

oct-inttypes.h:370:53: error: 'truncate_int' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

This and possible other build errors should be fixed before the release of octave 3.6.0.

Furthermore, Fedora 17 ships with GCC 4.7 and all packages have to be built using the new GCC by the end of the month. The build of the current stable version of octave also fails in Fedora 17, which might be due to the same error.

Susi Lehtola <jussilehtola>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #24753:  build.log.gz added by jussilehtola (41KiB - application/x-gzip)

 

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 jussilehtola (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-01-08 jwe StatusNone Fixed
        Open/ClosedOpen Closed
    2012-01-06 jussilehtola Attached File- Added build.log.gz, #24753

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code