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

 
 

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

Submitted by:  Jaroslav Hajek <highegg>
Submitted on:  Tue 22 Jun 2010 12:15:06 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: FixedAssigned to: Jaroslav Hajek <highegg>
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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

I've made the relevant changes. Closing.

Jaroslav Hajek <highegg>In charge of this item.
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>In charge of this item.
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>
Project 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>In charge of this item.

 

(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 highegg (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
    Wed 23 Jun 2010 09:30:54 AM UTChigheggStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1