[openssl-dev] Solaris Sparc: Text relocation remains against symbol ecp_nistz256_point_add_vis3

Rainer Jung rainer.jung at kippdata.de
Fri Mar 4 21:01:05 UTC 2016

OpenSSl 1.1.0 pre 3 on Solaris 10 Sparc using GCC 4.9.3 but Solaris 
linker and assembler

% /usr/ccs/bin/as -V
/usr/ccs/bin/as: SunOS 5.10 118683-08 Patch 07/05/2012

% /usr/ccs/bin/ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.497

When linking other software against libcrypto.a (static lib) I get:

Text relocation remains                         referenced
     against symbol                  offset      in file
ecp_nistz256_point_add_vis3         0x25f0c 
ld: fatal: relocations remain against allocatable but non-writable sections

I know that I can work around this using -Bsymbolic for the linker, but 
since over the years the need for -Bsymbolic in the stable branches has 
gone away, I thought I let you know that there's now a new symbol 
(ecp_nistz256_point_add_vis3) with that problem.

elfdump show the symbol as:

[Index]   Value      Size    Type  Bind  Other Shndx   Name
[19]    |    161184|    1720|NOTY |GLOB |0    |2 

I will happily test any suggested changes.



More information about the openssl-dev mailing list