patchGNU Autoconf Archive - Patches: patch #8321, Fix ax_ext.m4 when...

 
 

patch #8321: Fix ax_ext.m4 when AX_GCC_X86_CPUID(0x00000001) returns 'unknown'

Submitted by:  None
Submitted on:  Sat 22 Feb 2014 04:06:29 PM UTC  
 
Priority: 5 - NormalStatus: 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 24 Feb 2014 08:53:40 PM UTC, comment #3:

Your patch has been pushed in commit e318eaa. Thank you very much for the patch!

Peter Simons <simons>
Project AdministratorIn charge of this item.
Mon 24 Feb 2014 04:07:45 PM UTC, comment #2:

sorry. Here's a new patch that applies cleanly against the latest version of that macro, using 'patch -p0'.

(file #30687)

Reinhard Prix <repr>
Mon 24 Feb 2014 03:38:27 PM UTC, comment #1:

I am sorry, but the patch does not apply to the latest version of the macro (#serial 12) from <http://www.gnu.org/software/autoconf-archive/ax_ext.html>. Could you please check that you've used the latest version of the file to generate that patch?

Peter Simons <simons>
Project AdministratorIn charge of this item.
Sat 22 Feb 2014 04:06:29 PM UTC, original submission:

On platforms where
AX_GCC_X86_CPUID(0x00000001)
returns 'unknown', the AX_EXT macro would currently break configure with an error:

[eg see https://pm.bsc.es/projects/mcxx/ticket/1201]
checking for x86 cpuid output... unknown
checking for x86 cpuid 0x00000001 output... unknown
checking whether mmx is supported... ../mcxx/configure: 0xunknown: value too great for base (error token is "0xunknown")

The fix is trivial, simply handle the special return value 'unknown' properly.

The attached patch implements this [taken from
https://pm.bsc.es/projects/mcxx/ticket/1201
https://pm.bsc.es/projects/mcxx/changeset/12fd7dc2ac9336fdd296e117165daba4bb2dcdac]

I have verified that this patch fixes the problem.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 08 Mar 2014 10:31:32 AM UTCsimonsStatusReady For Test=>Done
      Open/ClosedOpen=>Closed
    Mon 24 Feb 2014 08:53:40 PM UTCsimonsStatusNeed Info=>Ready For Test
      Carbon-Copy-=>Added christophe tournayre
      Carbon-Copy-=>Added michael petch
    Mon 24 Feb 2014 04:07:45 PM UTCreprAttached File-=>Added ax_ext_m4-AX_GCC_X86_CPUID.patch, #30687
    Mon 24 Feb 2014 03:38:27 PM UTCsimonsStatusNone=>Need Info
      Assigned toNone=>simons
    Sat 22 Feb 2014 04:06:29 PM UTCNoneAttached File-=>Added changeset_12fd7dc2ac9336fdd296e117165daba4bb2dcdac.diff, #30638

    Back to the top


    Powered by Savane 3.1-cleanup