config-patches
[Top][All Lists]
Advanced

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

RE: error in config.guess


From: joshua.taylor
Subject: RE: error in config.guess
Date: Mon, 15 Apr 2013 13:30:33 +0200

Um - this is embarrassing. Please ignore the below remarks and the email before 
this one.

It works as designed. Sorry to bother.



        Joshua Taylor
        UBS AG
        Corporate Center / IT Infrastructure (ITI)
        Distributed Systems and Storage (DSS)
        AIX SYSTEM SERVICE ENGINEERING (GQVX)

        Flurstrasse 55, P.O. Box, CH-8098 Zurich
      Phone:   +41-44-236 46 57

      Mailbox AIX Engineering: mailto:Sh-Dss-Wmbb-Aix-System-Engineering
>P Please consider the environment before printing this email or its attachments
-----Original Message-----
From: Taylor, Joshua
Sent: Monday, April 15, 2013 1:24 PM
To: 'address@hidden'
Subject: error in config.guess

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.

reply via email to

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