On 7/17/2012 6:22 PM, Barone, Philip wrote:
Hi,
I am having issues make’ing openssl-1.0.0j, f fails as well, on Solaris Patch level “5.10 Generic_147440-13 sparc”. It works fine at OS patch level “5.10 Generic_125100-10 sparc”.
I am compiling this using “solaris64-sparcv9-cc” like I have always done.
It fails trying to create libcrypto.a,
I notice that libcrypto.a is over 11GB when the make finally quits. This is what it looks like when it quits:
/apps/sun_studio_10_p2/SUNWspro/bin/cc -I.. -I../.. -I../asn1 -I../evp -I../../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -xtarget=ultra -xarch=v9 -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -c -o sha512-sparcv9.o sha512-sparcv9.s ar r ../../libcrypto.a sha_dgst.o sha1dgst.o sha_one.o sha1_one.o sha256.o sha512.o sha1-sparcv9.o sha256-sparcv9.o sha512-sparcv9.o
ar: ../../libcrypto.a: cannot write: Bad address
make[2]: *** [lib] Error 2
make[2]: Leaving directory `/vobs/IAS_Software_3/COTS/openssl/openssl-1.0.0j/crypto/sha'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/vobs/IAS_Software_3/COTS/openssl/openssl-1.0.0j/crypto'
make: *** [build_crypto] Error 1
I was wondering if there are any other Solaris guys out there that may have input on this?

Not a Solaris guy, but here are two things to check with this
set of error messages:

1. Is the disk full due to this unreasonably large .a file?

2. Does the 11GB .a file contain multiple copies of each .o
file, perhaps every version you ever compiled? (You can test
this with the command $ ar -t libcrypto.a

If the second is true, then there is a bug in how make
invokes ar when an .o file has been recompiled. The
workaround would then be to do a clean build every time.

Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. http://www.wisemo.com
Transformervej 29, 2730 Herlev, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to