gmp 4.2.1 version

Hi
My name is Orit Harel, Amdocs.
We have upgraded from 4.1.4 to 4.2.1 version.
During our link time when gmp library is an input to this link command,
we got the following:
ld: fatal: relocation error: R_SPARC_H44: file
/usr/local64/gmp-4.2.1/lib/libgmp.a(mp_set_fns.o): symbol
__gmp_default_allocate: relocations
based on the ABS44 coding model can not be used in building a shared
object
Adding the -K PIC flag to gmp library build has solved the problem.
My question is:
Is this the correct solution? How it will affect on the gmp usage ?
Thanks in advance!!!
Thanks and regards,
Orit Harel
972-9-7767513
OritG at Amdocs.com
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gmplib.org/list-archives/gmp-bugs/attachments/20070730/34a7b1c5/attachment.html