Hi, the file config.guess suggests I send a ChangeLog entry and a patch, however, I don't know how to do that. Anyway, I've discovered this small bug in the latest (and some older versions as well) of config.guess:
Starting at line 554: *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; the " grep ' POWER' " will always fail. Here is the output from lsattr El proc0 [which is usually the first processor it finds] FROM AIX 7.1 on Power7: frequency 3108000000 Processor Speed False smt_enabled true Processor SMT enabled False smt_threads 4 Processor SMT threads False state enable Processor state False type PowerPC_POWER7 Processor type False FROM AIX 6.1 on Power6: $ lsattr -El proc0 frequency 4204000000 Processor Speed False smt_enabled true Processor SMT enabled False smt_threads 2 Processor SMT threads False state enable Processor state False type PowerPC_POWER6 Processor type False the grep will always fail to find a '<space>POWER' string, resulting in an inappropriate architecture. So, since I don't know how to send these changes, perhaps I can offer to be a keyboard on an AIX system. I can send any output that is needed to help out. Thanks, Josh Joshua G. Taylor UBS AG Group Technology Infrastructure Services (HYZF) Compute Product MGMT & Engineering (GVW9) Integration & Midrange Services (GTB4) Custom Infra Solution Integration (I2DJ) Midrange Engineering (NDJJ) Flurstrasse 55, P.O. Box, CH-8098 Zurich Phone: +41-44-236 46 57 Please consider the environment before printing this email or its attachments
UBS reserves the right to retain all messages. Messages are protected and accessed only in legally justified cases. Deutsch/Francais/Italiano: http://www.ubs.com/1/e/index/legalinfo2/privacy.html.
_______________________________________________ config-patches mailing list config-patches@gnu.org https://lists.gnu.org/mailman/listinfo/config-patches