ld fails under Solaris/i386

Torbjorn Granlund tg at gmplib.org
Fri Nov 20 13:32:02 CET 2009


Vincent Lefevre <vincent at vinc17.net> writes:

  Thanks for the information. GMP builds fine now.
  
  On 2009-11-20 11:42:39 +0100, Marc Glisse wrote:
  > Get /usr/ucb out of your PATH, or at least after /usr/ccs/bin,
  > /usr/xpg*/bin and /usr/bin. Although I don't know why gmp would call
  > ld directly instead of cc, and I believe cc hardcodes the PATH to
  > ld.
  
  Well, I'm using the system $PATH here. So, I won't change it.
  GMP should do the necessary to work with it.
  
Eh, I don't think that's realistic.  If somebody installs a broken cc,
as, ld, make, m4 in /bin, should GMP be able to cope?

"The system path" does not contain /usr/ucb when Slowlaris ships, I
think.  A local sysadmin probably edited /etc/profile, or something like
that.

-- 
Torbjörn


More information about the gmp-bugs mailing list