I'm trying to build for Mac OS X 64 bit PowerPC from latest stable
source. I've done ./Configure Darwin64-ppc-cc but when I try to build
I get:

$ make
making all in crypto...
( echo "#ifndef MK1MF_BUILD"; \
echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c
*/'; \
echo ' #define CFLAGS "cc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -arch ppc64 -O3 -DB_ENDIAN -DSHA1_ASM -DSHA256_ASM -
DSHA512_ASM"'; \
echo ' #define PLATFORM "darwin64-ppc-cc"'; \
echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
cc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -
DHAVE_DLFCN_H -arch ppc64 -O3 -DB_ENDIAN -DSHA1_ASM -DSHA256_ASM -
DSHA512_ASM -c -o cryptlib.o cryptlib.c
cc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -
DHAVE_DLFCN_H -arch ppc64 -O3 -DB_ENDIAN -DSHA1_ASM -DSHA256_ASM -
DSHA512_ASM -c -o mem.o mem.c
cc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -
DHAVE_DLFCN_H -arch ppc64 -O3 -DB_ENDIAN -DSHA1_ASM -DSHA256_ASM -
DSHA512_ASM -c -o mem_clr.o mem_clr.c
cc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -
DHAVE_DLFCN_H -arch ppc64 -O3 -DB_ENDIAN -DSHA1_ASM -DSHA256_ASM -
DSHA512_ASM -c -o mem_dbg.o mem_dbg.c
cc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -
DHAVE_DLFCN_H -arch ppc64 -O3 -DB_ENDIAN -DSHA1_ASM -DSHA256_ASM -
DSHA512_ASM -c -o cversion.o cversion.c
cc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -
DHAVE_DLFCN_H -arch ppc64 -O3 -DB_ENDIAN -DSHA1_ASM -DSHA256_ASM -
DSHA512_ASM -c -o ex_data.o ex_data.c
cc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -
DHAVE_DLFCN_H -arch ppc64 -O3 -DB_ENDIAN -DSHA1_ASM -DSHA256_ASM -
DSHA512_ASM -c -o tmdiff.o tmdiff.c
cc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -
DHAVE_DLFCN_H -arch ppc64 -O3 -DB_ENDIAN -DSHA1_ASM -DSHA256_ASM -
DSHA512_ASM -c -o cpt_err.o cpt_err.c
cc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -
DHAVE_DLFCN_H -arch ppc64 -O3 -DB_ENDIAN -DSHA1_ASM -DSHA256_ASM -
DSHA512_ASM -c -o ebcdic.o ebcdic.c
cc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -
DHAVE_DLFCN_H -arch ppc64 -O3 -DB_ENDIAN -DSHA1_ASM -DSHA256_ASM -
DSHA512_ASM -c -o uid.o uid.c
cc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -
DHAVE_DLFCN_H -arch ppc64 -O3 -DB_ENDIAN -DSHA1_ASM -DSHA256_ASM -
DSHA512_ASM -c -o o_time.o o_time.c
cc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -
DHAVE_DLFCN_H -arch ppc64 -O3 -DB_ENDIAN -DSHA1_ASM -DSHA256_ASM -
DSHA512_ASM -c -o o_str.o o_str.c
cc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -
DHAVE_DLFCN_H -arch ppc64 -O3 -DB_ENDIAN -DSHA1_ASM -DSHA256_ASM -
DSHA512_ASM -c -o o_dir.o o_dir.c
make[1]: *** No rule to make target `ppccpuid_osx64.o', needed by `../
libcrypto.a'. Stop.
make: *** [build_crypto] Error 1

I've applied the following patch that I thought might be relevant, but
no change.

--- Configure 2007-09-16 14:24:17.000000000 +0200
+++ Configure 2007-12-12 14:12:25.000000000 +0100
@@ -500,7 +500,7 @@
##### MacOS X (a.k.a. Rhapsody or Darwin) setup
"rhapsody-ppc-cc","cc:-O3 -DB_ENDIAN::
(unknown):MACOSX_RHAPSODY::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL
BF_PTR:${no_asm}::",
"darwin-ppc-cc","cc:-arch ppc -O3 -DB_ENDIAN::-D_REENTRANT:MACOSX:-
Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL
BF_PTR:sx_ppc32.o::::::::::dlfcn:darwin-shared:-fPIC -fno-common:-
arch ppc -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
-"darwin64-ppc-cc","cc:-arch ppc64 -O3 -DB_ENDIAN::-
D_REENTRANT:MACOSX:-Wl,-search_paths_first%:SIXTY_FOUR_BIT_LONG
RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTRpccpuid_osx64.osx_ppc64.o
osx_ppc64-mont.o:::::sha1-ppc_osx64.o sha256-ppc_osx64.o sha512-
ppc_osx64.o:::::::dlfcn:darwin-shared:-fPIC -fno-common:-arch ppc64 -
dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
+"darwin64-ppc-cc","cc:-arch ppc64 -O3 -DB_ENDIAN::-
D_REENTRANT:MACOSX:-Wl,-search_paths_first%:SIXTY_FOUR_BIT_LONG
RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTRpccpuid_osx64.osx_ppc64.o
osx_ppc64-mont.o:::::sha1-ppc_osx64.o sha256-ppc_osx64.o sha512-
ppc_osx64.o:::::dlfcn:darwin-shared:-fPIC -fno-common:-arch ppc64 -
dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
"darwin-i386-cc","cc:-arch i386 -O3 -fomit-frame-pointer -fno-
common::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR
RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-
common:-arch i386 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
"darwin64-x86_64-cc","cc:-arch x86_64 -O3 -fomit-frame-pointer -
DL_ENDIAN -DMD32_REG_T=int -Wall::-D_REENTRANT:MACOSX:-Wl,-
search_paths_first%:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK BF_PTR2
DES_INT DES_UNROLL:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-
arch x86_64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
"debug-darwin-ppc-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -
DCRYPTO_MDEBUG -DB_ENDIAN -g -Wall -O::-D_REENTRANT:MACOSX::BN_LLONG
RC4_CHAR RC4_CHUNK DES_UNROLL
BF_PTR:sx_ppc32.o::::::::::dlfcn:darwin-shared:-fPIC -fno-common:-
dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",

I am building on Leopard 10.5.1 with XCode 3.0 running on Intel
hardware - is this the problem? I can build 32 bit powerpc fine on
Intel. If needed I can setup Leopard on a G5 system to do the build.

Thanks
Mark
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org