The new openssl-0.9.8h and the openssl-0.9.8-stable-SNAP-20080604 both  
break while trying to compile them for OS X, 10.5.3, on a PowerMac G5  
when using the 64-bit version, failing with the error: "No rule to  
make target `ppccpuid_osx64.o', needed by `../libcrypto.a'".


built using

LDFLAGS="-arch ppc64 -L/usr/local/lib" CPPFLAGS="-arch ppc64 -I/usr/ 
local/include" \
./Configure darwin64-ppc-cc --prefix=/usr/local --openssldir=/usr/ 
local/openssl --with-zlib-lib=/usr/local/lib --with-zlib-include=/usr/ 
local/include enable-zlib enable-threads enable-gmp -lgmp enable- 
rfc3779 enable-shared enable-rc5 enable-mdc2 \
enable-tlsext enable-montasm enable-camellia enable-cms enable-seed \

It does not matter whether you use all of the options or just the  
bare ./Configure darwin64-ppc-cc option.


Any help would be greatly appreciated!



notes:

1)      The 32 bit version, i.e. darwin-ppc-cc, seems to be fine, that is  
to say it configures, compiles and when running 'make test', says it  
passes all of the tests.

2)      The 0.9.9.9 development version snapshot builds and runs fine for  
both 64-bit and 32-bit versions.



The output from 'make report' follows:

OpenSSL self-test report:

OpenSSL version:  0.9.8i-dev
Last change:      Fix flaw if 'Server Key exchange message' is omitted  
fr...
Options:          --prefix=/usr/local --openssldir=/usr/local/openssl  
--with-zlib-lib=/usr/local/lib --with-zlib-include=/usr/local/include  
enable-zlib enable-threads enable-gmp -lgmp enable-rfc3779 enable- 
shared enable-rc5 enable-mdc2 enable-tlsext enable-montasm enable- 
camellia enable-cms enable-seed no-capieng no-krb5 no-zlib-dynamic
OS (uname):       Darwin ns1.scene-naturally.dyndns.org 9.3.0 Darwin  
Kernel Version 9.3.0: Fri May 23 00:51:20 PDT 2008;  
root:xnu-1228.5.18~1/RELEASE_PPC Power Macintosh
OS (config):      ppc-apple-darwinDarwin Kernel Version 9.3.0: Fri May  
23 00:51:20 PDT 2008; root:xnu-1228.5.18~1/RELEASE_PPC
Target (default): darwin-ppc-cc
Target:           darwin64-ppc-cc
Compiler:         Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable- 
checking -enable-werror --prefix=/usr --mandir=/share/man --enable- 
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ 
$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ 
lib --build=i686-apple-darwin9 --program-prefix= --host=powerpc-apple- 
darwin9 --target=powerpc-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)

Failure!
-----------------------------------------------------------------------------
making all in crypto...
make[2]: *** No rule to make target `ppccpuid_osx64.o', needed by `../ 
libcrypto.a'.  Stop.
make[1]: *** [build_crypto] Error 1
-----------------------------------------------------------------------------
Doing certs
touch rehash.time
testing...
cc -I.. -I../include  -fPIC -fno-common -DOPENSSL_PIC -DZLIB - 
DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch ppc64 - 
O3 -DB_ENDIAN -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM - 
DSHA512_ASM   -c -o bntest.o bntest.c
(cd ..; make DIRS=crypto all)
making all in crypto...
make[4]: *** No rule to make target `ppccpuid_osx64.o', needed by `../ 
libcrypto.a'.  Stop.
make[3]: *** [build_crypto] Error 1
make[2]: *** [../libcrypto.a] Error 2
make[1]: *** [tests] Error 2
-----------------------------------------------------------------------------

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to