patchGNU Autoconf Archive - Patches: patch #7320, AX_BLAS: AC_CHECK_FUNC autocaching...

 
 

patch #7320: AX_BLAS: AC_CHECK_FUNC autocaching makes problems

Submitted by:  Jaroslav Hajek <highegg>
Submitted on:  Mon 20 Sep 2010 06:31:45 AM UTC  
 
Priority: 5 - NormalStatus: Done
Assigned to: Peter Simons <simons>Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri 24 Sep 2010 07:13:02 PM UTC, comment #2:

Applied in f4fa3496237868e4a27506d226803afb0d45d7e2. Thank you very much!

Peter Simons <simons>
Project AdministratorIn charge of this item.
Tue 21 Sep 2010 05:27:13 AM UTC, comment #1:

Thanks for Steven's suggestion. Here's an updated version that also calls AC_MSG_RESULT after the tests.

(file #21513)

Jaroslav Hajek <highegg>
Mon 20 Sep 2010 06:31:45 AM UTC, original submission:

Hello,

In AX_BLAS, AC_CHECK_FUNC is used to check for SGEMM. The problem is that AC_CHECK_FUNC autocaches its result, but the LIBS are being manipulated, so the cache is not valid after the test and can fool subsequent tests. For a real occurrence of the problem, see https://savannah.gnu.org/bugs/index.php?31046

The attached patch replaces AC_CHECK_FUNC calls by AC_TRY_LINK_FUNC, which does not autocache.

Jaroslav Hajek <highegg>

 

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

Attach File(s):
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 24 Sep 2010 07:13:02 PM UTCsimonsStatusNone=>Done
      Assigned toNone=>simons
      Open/ClosedOpen=>Closed
    Tue 21 Sep 2010 05:27:13 AM UTChigheggAttached File-=>Added 0002-avoid-caching-issues-in-ax_blas.m4.patch, #21513
    Mon 20 Sep 2010 06:31:45 AM UTChigheggAttached File-=>Added 0001-avoid-caching-issues-in-ax_blas.m4.patch, #21505
      Carbon-Copy-=>Added steven g. johnson

    Back to the top


    Powered by Savane 3.1-cleanup