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 - High Status:  Done
Assigned to:  Peter Simons <simons> Originator Email:  -email is unavailable-
Open/Closed:  Closed

Add a New Comment(Rich 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 Files:
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by simons (Posted a comment)
  •  

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-04-04 simons StatusReady For Test => Done
        Open/ClosedOpen => Closed
    2013-03-25 simons StatusNone => Ready For Test
        Assigned toNone => simons
    2013-03-25 None Attached File- => Added 0001-AX_GCC_ARCHFLAG-fix-wrong-CPU-detection.patch, #27672

    Back to the top


    Powered by Savane 3.3