bug-libtool
[Top][All Lists]
Advanced

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

RE: Bug in config.guess on AIX


From: David Murphy
Subject: RE: Bug in config.guess on AIX
Date: Wed, 21 Aug 2002 13:22:40 -0600

 
 
 address@hidden


>>> "Boehne, Robert" <address@hidden> 8/21/02 12:50:20 PM >>>
config.guess is not part of Libtool, read config.guess to find where to submit support requests.
 
HTH,
 
Robert
-----Original Message-----
From: David Murphy [mailto:address@hidden
Sent: Wednesday, August 21, 2002 1:03 PM
To: address@hidden
Subject: Bug in config.guess on AIX


In config.guess GNU config.guess (2001-09-04) there is a simple problem with identification of IBM's POWER processors.  I have checked and the problem exists in the current working archive too.

The problem is due to an extra space in a grep statement, that is grep ' POWER' instead of grep 'POWER' when determining the result of a test for which processor.

review line 510 of above config.guess

The test for processor   /usr/sbin/lsattr -El ${IBM_CPU_ID}  returns

state     enable         Processor state False
type      PowerPC_POWER3 Processor type  False
frequency 333000000      Processor Speed False

but the test
  if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1;
then
      IBM_ARCH=rs6000
   else
      IBM_ARCH=powerpc

will return powerpc rather than rs6000.

Older version of config.guess performed grep POWER

Hence this is a simple fix to make (remove the space), with the test being easily demonstrated  by the /usr/sbin/lsattr command and running config.guess itself.

The corrected config.guess should return

rs6000-ibm-aix5.0.0.0

on the current AIX 5L platform running on a RS6000 and not the currently incorrect

powerpc-ibm-aix5.0.0.0

Please contact me if you need further details or assistance.

David Murphy address@hidden
 

reply via email to

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