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'

Submitter:  None
Submitted:  Sat 22 Feb 2014 04:06:29 PM UTC
Priority:  5 - Normal Status:  Done
Assigned to:  simons Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup

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>
Group administrator
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 <>. Could you please check that you've used the latest version of the file to generate that patch?

Peter Simons <simons>
Group administrator
Sat 22 Feb 2014 04:06:29 PM UTC, original submission:  

On platforms where
returns 'unknown', the AX_EXT macro would currently break configure with an error:

[eg see]
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]

I have verified that this patch fixes the problem.



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

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


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

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-08 simons StatusReady For Test Done
        Open/ClosedOpen Closed
    2014-02-24 simons StatusNeed Info Ready For Test
        Carbon-Copy- Added christophe tournayre <>
        Carbon-Copy- Added michael petch <>
    2014-02-24 repr Attached File- Added ax_ext_m4-AX_GCC_X86_CPUID.patch, #30687
    2014-02-24 simons StatusNone Need Info
        Assigned toNone simons
    2014-02-22 None Attached File- Added changeset_12fd7dc2ac9336fdd296e117165daba4bb2dcdac.diff, #30638

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code