Compile errors on Solaris 10/SPARC

Torbjorn Granlund tege at swox.com
Tue Nov 22 09:22:10 CET 2005


Ido Dubrawsky <idubraws at siliconsec.com> writes:

  I'm trying to compile GMP 4.1.4 under Solaris 10 SPARC with the following 
  configuration:
  
  SunOS elrond 5.10 Generic sun4u sparc SUNW,Ultra-5_10
  320MB memory
  GCC : gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
  9GB disk
  
  configure ABI=64
  
  and that's it.  Everything appears to compile just fine until the very end when
  I get the following errors as it tries to create the shared library 
  .libs/libgmp.so.3.3.3.  I'd appreciate any help or suggestions as to how to get
  the compilation to complete and succeed
  
  The errors are :
  
  ld: fatal: relocation error: R_SPARC_32: file mpn/.libs/add_n.o: symbol <unknown>: offset 0xffffffff67e7186d is non-aligned
  
Could you please send us the output from the configure command?
Also, what does the command "file mpn/.libs/add_n.o" say?

-- 
Torbjörn


More information about the gmp-bugs mailing list