[openssl-users] Solaris 64 bit build of 1.0.2 fails fbe internal error
John Unsworth
John.Unsworth at owmessaging.com
Fri Mar 13 07:57:37 UTC 2015
I am trying to build 1.0.2 on Solaris 10 64 bit with Studio 12.4 (12.3 failed too).
./Configure solaris64-sparcv9-cc no-shared -m64 -xcode=pic32 -xldscope=hidden
./make
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -xcode=pic32 -xldscope=hidden -xtarget=ultra -xarch=v9 -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c -c -o md5-sparcv9.o md5-sparcv9.S
cc: Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs
/opt/solarisstudio12.4/bin/fbe: "/tmp/cpp.1426232079.27660.01.s": , approx line 1041: internal error: pic_relocs(): hh reltype?
Reading around, it seems to be caused by setting -xcode=pic32 but I need to set that because I am building a static library that will be linked into a shared library and that requires relocation.
Changing the makefile so that the -xcode=pic32 flag is not passed when compiling .s files solves the problem but I am unsure if I will have an invalid build.
Previous OpenSSL versions have compiled cleanly with this flag set.
Can anyone advise please?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150313/b748ebe0/attachment-0001.html>
More information about the openssl-users
mailing list