This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: AIX + gmp bug


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]