patchGNU Autoconf Archive - Patches: patch #7978, AX_GCC_ARCHFLAG: fix wrong CPU...

 
 

patch #7978: AX_GCC_ARCHFLAG: fix wrong CPU detection

Submitted by:  None
Submitted on:  Mon 25 Mar 2013 02:29:57 AM UTC  
 
Priority: 7 - HighStatus: Done
Assigned to: Peter Simons <simons>Originator Email: -unavailable-
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.

 

Mon 25 Mar 2013 11:33:49 AM UTC, comment #1:

Pushed in 97fcecaa79ceacbd2c37cf594bdbe44d10309c85. Thank you very much for the patch.

Peter Simons <simons>
Project AdministratorIn charge of this item.
Mon 25 Mar 2013 02:29:57 AM UTC, original submission:

https://savannah.gnu.org/patch/index.php?7707

When I wrote the patch above, I didn't know that AX_GCC_X86_CPUID macro does not guarantee that its result is always 4*8-digit. Actually, result of AX_GCC_X86_CPUID does not contain leading zeroes and number of digits may vary.
As a result, I broke AX_GCC_ARCHFLAG for most of AMD processors and older Intel processors.
This patch will fix this issue by changing case patterns.

To make sure this issue is fixed correctly, I tested the script using CPUID dumps available at http://users.atw.hu/instlatx64/.

Sorry for breaking a macro and I hope this fix will be helpful.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #27672:  0001-AX_GCC_ARCHFLAG-fix-wrong-CPU-detection.patch added by None (4kB - application/octet-stream)

 

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)
  •  

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

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 04 Apr 2013 10:11:26 AM UTCsimonsStatusReady For Test=>Done
      Open/ClosedOpen=>Closed
    Mon 25 Mar 2013 11:33:49 AM UTCsimonsStatusNone=>Ready For Test
      Assigned toNone=>simons
    Mon 25 Mar 2013 02:29:57 AM UTCNoneAttached File-=>Added 0001-AX_GCC_ARCHFLAG-fix-wrong-CPU-detection.patch, #27672

    Back to the top


    Powered by Savane 3.1-cleanup