|
From: | David Murphy |
Subject: | Bug in config.guess on AIX |
Date: | Wed, 21 Aug 2002 12:02:41 -0600 |
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 |
[Prev in Thread] | Current Thread | [Next in Thread] |