httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ਜਤਿੰਦਰ ਸਿੰਘ <jatindersing...@gmail.com>
Subject Re: [users@httpd] Compile apache 2.4 on solaris 10 sparc with 64 bit openssl issue
Date Fri, 03 Apr 2015 15:10:20 GMT
Thanks for having a look. I have tried
export CC="gcc -m64"

it didnt help and failed elsewhere.

Interestingly only openssl/libs are coming out as 32 bits. openssl
executable is 64 bit.

Logs snippet from openssl make

*gcc* -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H *-m64
-mcpu=ultrasparc* -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W
-DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM
-DGHASH_ASM  -c  md4_one.c
ar  r ../../libcrypto.a md4_dgst.o md4_one.o
/usr/ccs/bin/ranlib ../../libcrypto.a || echo Never mind.
making all in crypto/md5...
gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64
-mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W
-DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM
-DGHASH_ASM  -c  md5_dgst.c
gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64
-mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W
-DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM
-DGHASH_ASM  -c  md5_one.c
ar  r ../../libcrypto.a md5_dgst.o md5_one.o

it shows it is using gcc and -m64 for all the components, but still those
libs are 32 bits.


On Fri, Apr 3, 2015 at 10:00 AM, Eric Covener <covener@gmail.com> wrote:

> On Fri, Apr 3, 2015 at 10:53 AM, ਜਤਿੰਦਰ ਸਿੰਘ <jatindersingh84@gmail.com>
> wrote:
> > export CFLAGS="-m64"
>
> Generally, export CC="gcc -m64" at the top level sems to help these
> problems
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
KRegards || Jatinder Singh

Mime
View raw message