autoconf-archive-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #8321] Fix ax_ext.m4 when AX_GCC_X86_CPUID(0x00000001) returns 'u


From: anonymous
Subject: [patch #8321] Fix ax_ext.m4 when AX_GCC_X86_CPUID(0x00000001) returns 'unknown'
Date: Sat, 22 Feb 2014 16:06:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0

URL:
  <http://savannah.gnu.org/patch/?8321>

                 Summary: Fix ax_ext.m4 when AX_GCC_X86_CPUID(0x00000001)
returns 'unknown'
                 Project: GNU Autoconf Archive
            Submitted by: None
            Submitted on: Sat 22 Feb 2014 04:06:29 PM UTC
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 22 Feb 2014 04:06:29 PM UTC  Name:
changeset_12fd7dc2ac9336fdd296e117165daba4bb2dcdac.diff  Size: 722B   By: None

<http://savannah.gnu.org/patch/download.php?file_id=30638>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8321>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]