bugGNU Octave - Bugs: bug #30214, inconsistent FFLAGS treatment in...

 
 

bug #30214: inconsistent FFLAGS treatment in --enable-64

Submitter:  Jaroslav Hajek <highegg>
Submitted:  Tue 22 Jun 2010 12:15:06 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  highegg
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
   

Wed 23 Jun 2010 09:30:54 AM UTC, comment #3: 

I've made the relevant changes. Closing.

Jaroslav Hajek <highegg>
Wed 23 Jun 2010 06:39:56 AM UTC, comment #2: 

Yes, I did, I agree with everything; as I said, I'm just moving it here so that I won't forget about it again.

Jaroslav Hajek <highegg>
Tue 22 Jun 2010 02:08:10 PM UTC, comment #1: 

Did you see my reply on the mailing list?

https://www-old.cae.wisc.edu/pipermail/octave-maintainers/2010-May/016014.html

The -fdefault-integer-8 option should not go in FFLAGS, but if it is not being used everywhere needed, it should be added to those commands that require it.

If you change the mkoctfile script, then please also remember to change the mkoctfile.cc program.  Or, we should be using the compiled program on all systems so we can avoid the extra work caused by having to maintain two programs that do the same job.

John W. Eaton <jwe>
Group administrator
Tue 22 Jun 2010 12:15:06 PM UTC, original submission:  

Just moving the bug here from the mailing list.

Although configure --enable-64 correctly
discovers that Fortran doesn't have -fdefault-integer-8, it doesn't
add it to FFLAGS, but only stores it into a variable called
F77_INTEGER_8_FLAG. Is there any reason for this? I think it used to
be added to FFLAGS in past (probably prior to libtool changes).
Because of this, ACX_BLAS_F77_FUNC fails to detect an incompatible
BLAS library (it uses just FFLAGS). Worse yet, mkoctfile compiles
Fortran files with wrong flags (i.e. again without the
-fdefault-integer-8). libcruft, on the contrary, uses
F77_INTEGER_8_FLAG explicitly in libcruft/Makefile.am.

We should fix configure to temporarily add F77_INTEGER_8_FLAG to FFLAGS prior to BLAS checking, and we should also fix mkoctfile to include F77_INTEGER_8_FLAG in ALL_FLAGS.

Jaroslav Hajek <highegg>

 

(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 highegg (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
    2010-06-23 highegg StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code