patchGNU Autoconf Archive - Patches: patch #8235, ax_gcc_archflag.m4 recognizes...

 
 

patch #8235: ax_gcc_archflag.m4 recognizes ultrasparc IIi as ultrasparc3, which is wrong

Submitted by:  None
Submitted on:  Sat 09 Nov 2013 11:01:20 AM 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.

 

Tue 10 Dec 2013 08:56:34 PM UTC, comment #2:

Pushed commit c7d7dedf0402b260c15c175f66a9273494aca2f3. Thank you very much for the patch!

Peter Simons <simons>
Project AdministratorIn charge of this item.
Mon 11 Nov 2013 07:40:54 PM UTC, comment #1:

This patch adds a dependency on "sed", so I guess that AC_REQUIRE([AC_PROG_SED]) should be added, too.

Steven, how do you feel about this change?

(file #29597)

Peter Simons <simons>
Project AdministratorIn charge of this item.
Sat 09 Nov 2013 11:01:20 AM UTC, original submission:

This problem was reported to the libffi project, along with a proposed patch.

https://sourceware.org/ml/libffi-discuss/2013/msg00196.html

Shigeharu TAKENO -unavailable- via sourceware.org

1:49 AM (4 hours ago)

to libffi-discuss
shige 11/09 2013
----------------

I use Solaris 10 on an UltraSPARC-IIi machine. The configure
script of libffi-3.0.13 recognizes the cpu to ultrasparc3, but it
is not correct because "UltraSPARC-IIi" should be identified as
ultrasparc (IIi is not III). The following patch may fix the
problem.

----- From here -----
diff -uN libffi-3.0.13/configure.ORG libffi-3.0.13/configure
--- libffi-3.0.13/configure.ORG 2013-03-18 07:36:19.000000000 +0900
+++ libffi-3.0.13/configure 2013-11-08 18:55:24.797500000 +0900
@@ -12811,7 +12811,7 @@

cputype=`(((grep cpu /proc/cpuinfo | cut -d: -f2) ; ($PRTDIAG -v |grep -i sparc) ; grep -i cpu /var/run/dmesg.boot ) | head -n 1) 2> /dev/null`
- cputype=`echo "$cputype" | tr -d ' -' |tr $as_cr_LETTERS $as_cr_letters`
+ cputype=`echo "$cputype" | tr -d ' -' | sed 's/SPARCIIi/SPARCII/' |tr $as_cr_LETTERS $as_cr_letters`
case $cputype in
ultrasparciv) ax_gcc_arch="ultrasparc4 ultrasparc3 ultrasparc v9" ;;
ultrasparciii) ax_gcc_arch="ultrasparc3 ultrasparc v9" ;;
----- To here -----

+========================================================+
Shigeharu TAKENO NIigata Institute of Technology
kashiwazaki,Niigata 945-1195 JAPAN
-unavailable- TEL(&FAX): +81-257-22-8161
+========================================================+

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #29597:  ax_gcc_archflag.patch added by simons (1kB - application/octet-stream - Cleaned-up patch file.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 07 Feb 2014 10:29:27 AM UTCsimonsStatusReady For Test=>Done
      Open/ClosedOpen=>Closed
    Mon 11 Nov 2013 07:40:54 PM UTCsimonsAttached File-=>Added ax_gcc_archflag.patch, #29597
      StatusNone=>Ready For Test
      Assigned toNone=>simons
    Mon 11 Nov 2013 07:34:57 PM UTCsimonsCarbon-Copy-=>Added steven g. johnson

    Back to the top


    Powered by Savane 3.1-cleanup