[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 
/shared/build/autobuild/install/openssl-1.1.0pre3sp1-1.solaris10.sparc/lib/libcrypto.a(ecp_nistz256-sparcv9.o)
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 
|ecp_nistz256_point_add_vis3

I will happily test any suggested changes.

Regards,

Rainer


More information about the openssl-dev mailing list