In regard to: Re: Problems Compiling ssh-1.2.27 on AIX 4.3.2, Vicki Lonell...:

>I was able to compile 1.2.27 successfully on AIX 4.1.5.    We have one
>new machine with 4.3.2 and have had trouble installing various pieces of
>software and servers because they weren't compatible with 4.3.

That's probably because 4.3 has some of the new stuff from C9X, including
the size prototypes, and 4.3 also is 64 bit capable on the right hardware.

>  The doc
>sayss that ssh 1.2.27 is known to work on AIX 4.1 and 4.2, but nothing
>said about 4.3.  --So just throwing out the possiblity of version
>incompatibility.

The output shown below points more toward a problem with egcs or possibly
a problem in the gmp assembly code.  On the right processors 4.3 and later
is a 64 bit OS, so we may have new 32 vs. 64 bit issues in the assembly.  It
looks like Hans-Dieter is on a machine with 4 byte ints, though, so I wouldn't
think that this is the problem.

I can tell you that I can successfully compile 1.2.27 with the AIX compiler
on an rs6000 (power2 architecture).

What happens if you specify `-mcpu=common' as one of the CFLAGS
to egcs when you configure, e.g.

        CFLAGS="-O2 -g -Wall -mcpu=common" ./configure ...<whatever>...

Tim

>Hans-Dieter Kutz wrote:
>> 
>> I'am trying to compile ssh 1.2.27 on AIX 4.3.2 with egcs-2.91.66. I got
>> this message on the screen:
>> 
>> make[1]: Entering directory `/usr/local/src/ssh-1.2.27/gmp-2.0.2-ssh-2'
>> Making all in mpn
>> make[2]: Entering directory
>> `/usr/local/src/ssh-1.2.27/gmp-2.0.2-ssh-2/mpn'
>> Making all in tests
>> make[3]: Entering directory
>> `/usr/local/src/ssh-1.2.27/gmp-2.0.2-ssh-2/mpn/tests'
>> make[3]: Nothing to be done for `all'.
>> make[3]: Leaving directory
>> `/usr/local/src/ssh-1.2.27/gmp-2.0.2-ssh-2/mpn/tests'
>> gcc -DPACKAGE=\"gmp\" -DVERSION=\"2.0.2-ssh-2\" -DSTDC_HEADERS=1
>> -DHAVE_RANDOM=1 -DSIZEOF_INT=4 -DHAVE_ALLOCA=1  -I. -I.  -I.. -I./..  -g
>> -O2  -c divmod_1.c
>> divmod_1.c: In function `__mpn_divmod_1':
>> divmod_1.c:208: fixed or forbidden register 64 (mq) was spilled for
>> class MQ_REGS.
>> This may be due to a compiler bug or to impossible asm
>> statements or clauses.
>> make[2]: *** [divmod_1.o] Error 1
>> make[2]: Leaving directory
>> `/usr/local/src/ssh-1.2.27/gmp-2.0.2-ssh-2/mpn'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/usr/local/src/ssh-1.2.27/gmp-2.0.2-ssh-2'
>> make: *** [gmp-2.0.2-ssh-2/libgmp.a] Error 2
>> 
>> Any ideas are welcome.
>> 
>> ku
>> 
>> --
>>  Hans-Dieter Kutz           media support group GmbH
>>  phone +49 221 3091-565     Bonner Strasse 172 - 176
>>  fax   +49 221 3091-566     D-50968 Koeln
>>  [EMAIL PROTECTED]    Germany
>
>

-- 
Tim Mooney                              [EMAIL PROTECTED]
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J1, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

Reply via email to