This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: AIX + gmp bug
- To: job at piquin dot uchicago dot edu
- Subject: Re: AIX + gmp bug
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Tue, 17 Nov 1998 18:12:42 -0500
- Cc: egcs at cygnus dot com
>>>>> job bogan writes:
job> while compiling ssh-1.2.26, i'm hitting this:
job> same thing w/ 1.1b or 2.8.1. with the system as or gas (from binutils
job> 2.9.1). i'm not sure if this is gcc/egcs or gmp/ssh. any ideas on
job> things to check?
This is a bug in gmp-2.0.2 distributed with SSH. It does not
properly detect the architecture and is using POWER- and/or
PowerPC-specific implementations of low-level functions when compiling in
"common-mode". I think it tests for POWER or PowerPC and *assumes* the
other if the test fails instead of realizing that "none" is a valid
option.
If you only are going to run on one architecture, you will get
better performance to compile SSH (including GMP) targeted to that
architecture and use the accompanying assembly. Otherwise, you need to
disable the assembly and use the generic C versions.
David