patchGNU Autoconf Archive - Patches: patch #8085, ax_gcc_archflag.m4 and ax_ext.m4...

 
 

patch #8085: ax_gcc_archflag.m4 and ax_ext.m4 don't function as expected on $cpu_host that match amd64*

Submitter:  Michael Petch <mdpetch>
Submitted:  Thu 20 Jun 2013 11:31:02 PM UTC
   
 
Priority:  5 - Normal Status:  Done
Assigned to:  simons Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 05 Jul 2013 11:18:26 AM UTC, comment #3: 
Peter Simons <simons>
Group administrator
Fri 21 Jun 2013 01:32:01 PM UTC, comment #2: 

For me patches are OK for ax_ext.m4 and ax_gcc_archflag.m4

Christophe Tournayre <ctournayre>
Thu 20 Jun 2013 11:35:43 PM UTC, comment #1: 

All references to $cpu_host were meant to be $host_cpu

Michael Petch <mdpetch>
Thu 20 Jun 2013 11:31:02 PM UTC, original submission:  

I was using ax_gcc_archflag.m4 and  ax_ext.m4 on a 64-bit FreeBSD system using GNUC (and clang). The $cpu_host variable in that environment uses a string of 'amd64'. Any cpu_host that starts with amd64 should be compatible for purposes of cpuinfo usage as it is equivalent with x86_64. No such check is done in these two macros.

64bit FreeBSD returned on my system:

host_cpu='amd64'
host_os='freebsd8.2'
host_vendor='unknown'

See attached patches


Michael Petch <mdpetch>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #28367:  ax_ext.m4.patch added by mdpetch (237B - application/octet-stream)
file #28368:  ax_gcc_archflag.m4.patch added by mdpetch (396B - 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)
  • -email is unavailable- added by ctournayre (Posted a comment)
  • -email is unavailable- added by mdpetch (Submitted the item)
  •  

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-07-10 simons StatusReady For Test Done
        Open/ClosedOpen Closed
    2013-07-05 simons StatusNone Ready For Test
        Assigned toNone simons
    2013-06-20 mdpetch Attached File- Added ax_ext.m4.patch, #28367
        Attached File- Added ax_gcc_archflag.m4.patch, #28368

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code