ppc64 build

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ppc64 build

shpedoikal (Bugzilla)
Hi, on RHEL4 ppc64 I am getting the same message while building both
0.9.7g and 0.9.8:

 [root@willies openssl-0.9.7g]#./Configure linux-ppc64 shared
...

Configured for linux-ppc64.
[root@willies openssl-0.9.7g]# make
making all in crypto...
make[1]: Entering directory `/root/openssl-0.9.7g/crypto'
( echo "#ifndef MK1MF_BUILD"; \
echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
echo '  #define CFLAGS "gcc -fPIC -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -bpowerpc64-linux
-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall"'; \
echo '  #define PLATFORM "linux-ppc64"'; \
echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
gcc -I. -I.. -I../include -fPIC -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -bpowerpc64-linux
-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall   -c -o cryptlib.o
cryptlib.c
gcc: `-b' must come at the start of the command line
make[1]: *** [cryptlib.o] Error 1
make[1]: Leaving directory `/root/openssl-0.9.7g/crypto'
make: *** [sub_all] Error 1


Any ideas?  After doing a ./config, it advised me to use ./Configure
for a 64bit build...

Thanks,
Kent
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: ppc64 build

shpedoikal (Bugzilla)
One thing that seems to work after running Configure is to swap
"-bpowerpc64-linux" with "-m64" in the toplevel Makefile.

Kent

On 7/14/05, Kent Yoder <[hidden email]> wrote:

> Hi, on RHEL4 ppc64 I am getting the same message while building both
> 0.9.7g and 0.9.8:
>
>  [root@willies openssl-0.9.7g]#./Configure linux-ppc64 shared
> ...
>
> Configured for linux-ppc64.
> [root@willies openssl-0.9.7g]# make
> making all in crypto...
> make[1]: Entering directory `/root/openssl-0.9.7g/crypto'
> ( echo "#ifndef MK1MF_BUILD"; \
> echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
> echo '  #define CFLAGS "gcc -fPIC -DOPENSSL_THREADS -D_REENTRANT
> -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -bpowerpc64-linux
> -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall"'; \
> echo '  #define PLATFORM "linux-ppc64"'; \
> echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
> echo '#endif' ) >buildinf.h
> gcc -I. -I.. -I../include -fPIC -DOPENSSL_THREADS -D_REENTRANT
> -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -bpowerpc64-linux
> -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall   -c -o cryptlib.o
> cryptlib.c
> gcc: `-b' must come at the start of the command line
> make[1]: *** [cryptlib.o] Error 1
> make[1]: Leaving directory `/root/openssl-0.9.7g/crypto'
> make: *** [sub_all] Error 1
>
>
> Any ideas?  After doing a ./config, it advised me to use ./Configure
> for a 64bit build...
>
> Thanks,
> Kent
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]