I'm running FC9 on a Phenom platform, and I'm trying to cross-compile 
openssl as part of the Astlinux distro for a GeodeLX platform (-march=k6-2).

However, there seem to be some issues with doing this.  I get the following:


gunzip -c /home/philipp/trunk2/dl/openssl-0.9.8i.tar.gz | tar -C 
/home/philipp/trunk2/build_i586   -xf -
toolchain/patch-kernel.sh /home/philipp/trunk2/build_i586/openssl-0.9.8i 
package/openssl/ openssl\*.patch

Applying openssl-0.9.8i.patch using plaintext: 
patching file Configure
patching file INSTALL
patching file Makefile.org
patching file Makefile.shared
patching file config
patching file makefile-uclinuxdist
patching file apps/apps.h
patching file apps/progs.h
patching file apps/speed.c
patching file crypto/cryptlib.h
patching file crypto/engine/eng_all.c
patching file crypto/engine/eng_cryptodev.c
patching file crypto/engine/engine.h
patching file crypto/evp/c_all.c
patching file crypto/evp/c_alld.c
patching file engines/Makefile
patching file util/domd

Applying openssl-configure.patch using plaintext: 
patching file Configure
/usr/bin/install -D -m 0644 
/home/philipp/trunk2/build_i586/linux-2.6.26.8-astlinux/crypto/ocf/cryptodev.h 
/home/philipp/trunk2/build_i586/staging_dir/include/crypto/cryptodev.h
toolchain/patch-kernel.sh /home/philipp/trunk2/build_i586/openssl-0.9.8i 
package/openssl/ ocf\*.patch
# sigh... we have to resort to this just to set a gcc flag.
/home/philipp/trunk2/toolchain_build_i586/bin/sed -i -r -e 's,/CFLAG=,/CFLAG=  
,g' \
             -e '/CFLAG=/s^/;^ -Os -pipe -fomit-frame-pointer -march=k6-2 
-fno-align-functions -fno-align-loops -fno-align-jumps -fno-align-labels /;^' \
                /home/philipp/trunk2/build_i586/openssl-0.9.8i/Configure
touch /home/philipp/trunk2/build_i586/openssl-0.9.8i/.unpacked
(cd /home/philipp/trunk2/build_i586/openssl-0.9.8i; \
        CFLAGS="-DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 
-DOPENSSL_NO_RC5 -Os -pipe -fomit-frame-pointer -march=k6-2 
-fno-align-functions -fno-align-loops -fno-align-jumps -fno-align-labels " \
        
PATH=/home/philipp/trunk2/build_i586/staging_dir/bin:/home/philipp/trunk2/toolchain_build_i586/bin:/bin:/sbin:/usr/bin:/usr/sbin
 ./Configure linux-generic32 \
                --prefix=/ \
                --openssldir=/usr/lib/ssl 
-L/home/philipp/trunk2/build_i586/staging_dir/lib -ldl \
                -I/home/philipp/trunk2/build_i586/staging_dir/include  
--with-cryptodev \
                shared no-idea no-mdc2 no-rc5)
Configuring for linux-generic32
    no-camellia     [default]  OPENSSL_NO_CAMELLIA (skip dir)
    no-capieng      [default]  OPENSSL_NO_CAPIENG (skip dir)
    no-cms          [default]  OPENSSL_NO_CMS (skip dir)
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
    no-idea         [option]   OPENSSL_NO_IDEA (skip dir)
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-mdc2         [option]   OPENSSL_NO_MDC2 (skip dir)
    no-montasm      [default] 
    no-rc5          [option]   OPENSSL_NO_RC5 (skip dir)
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
    no-seed         [default]  OPENSSL_NO_SEED (skip dir)
    no-tlsext       [default]  OPENSSL_NO_TLSEXT (skip dir)
    no-zlib         [default] 
    no-zlib-dynamic [default] 
IsMK1MF=0
CC            =gcc
CFLAG         =-fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN 
-DHAVE_DLFCN_H -DHAVE_CRYPTODEV 
-I/home/philipp/trunk2/build_i586/staging_dir/include -DTERMIO -O3 
-fomit-frame-pointer -Wall
EX_LIBS       =-L/home/philipp/trunk2/build_i586/staging_dir/lib -ldl -ldl
CPUID_OBJ     =
BN_ASM        =bn_asm.o
DES_ENC       =des_enc.o fcrypt_b.o
AES_ASM_OBJ   =aes_core.o aes_cbc.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4_enc.o rc4_skey.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =
SHA1_OBJ_ASM  =
RMD160_OBJ_ASM=
PROCESSOR     =
RANLIB        =/usr/bin/ranlib
ARFLAGS       =
PERL          =/usr/bin/perl
THIRTY_TWO_BIT mode
DES_UNROLL used
DES_INT used
BN_LLONG mode
RC4 uses uchar
RC4_CHUNK is unsigned long
BF_PTR used
make[1]: Entering directory `/home/philipp/trunk2/build_i586/openssl-0.9.8i'
e_os.h => include/openssl/e_os.h
e_os2.h => include/openssl/e_os2.h
making links in crypto...
make[2]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto'
crypto.h => ../include/openssl/crypto.h
tmdiff.h => ../include/openssl/tmdiff.h
opensslv.h => ../include/openssl/opensslv.h
opensslconf.h => ../include/openssl/opensslconf.h
ebcdic.h => ../include/openssl/ebcdic.h
symhacks.h => ../include/openssl/symhacks.h
ossl_typ.h => ../include/openssl/ossl_typ.h
making links in crypto/objects...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/objects'
objects.h => ../../include/openssl/objects.h
obj_mac.h => ../../include/openssl/obj_mac.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/objects'
making links in crypto/md2...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/md2'
md2.h => ../../include/openssl/md2.h
md2test.c => ../../test/md2test.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/md2'
making links in crypto/md4...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/md4'
md4.h => ../../include/openssl/md4.h
md4test.c => ../../test/md4test.c
md4.c => ../../apps/md4.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/md4'
making links in crypto/md5...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/md5'
md5.h => ../../include/openssl/md5.h
md5test.c => ../../test/md5test.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/md5'
making links in crypto/sha...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/sha'
sha.h => ../../include/openssl/sha.h
shatest.c => ../../test/shatest.c
sha1test.c => ../../test/sha1test.c
sha256t.c => ../../test/sha256t.c
sha512t.c => ../../test/sha512t.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/sha'
making links in crypto/hmac...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/hmac'
hmac.h => ../../include/openssl/hmac.h
hmactest.c => ../../test/hmactest.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/hmac'
making links in crypto/ripemd...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/ripemd'
ripemd.h => ../../include/openssl/ripemd.h
rmdtest.c => ../../test/rmdtest.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/ripemd'
making links in crypto/des...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/des'
des.h => ../../include/openssl/des.h
des_old.h => ../../include/openssl/des_old.h
destest.c => ../../test/destest.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/des'
making links in crypto/aes...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/aes'
aes.h => ../../include/openssl/aes.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/aes'
making links in crypto/rc2...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/rc2'
rc2.h => ../../include/openssl/rc2.h
rc2test.c => ../../test/rc2test.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/rc2'
making links in crypto/rc4...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/rc4'
rc4.h => ../../include/openssl/rc4.h
rc4test.c => ../../test/rc4test.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/rc4'
making links in crypto/bf...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/bf'
blowfish.h => ../../include/openssl/blowfish.h
bftest.c => ../../test/bftest.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/bf'
making links in crypto/cast...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/cast'
cast.h => ../../include/openssl/cast.h
casttest.c => ../../test/casttest.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/cast'
making links in crypto/bn...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/bn'
bn.h => ../../include/openssl/bn.h
bntest.c => ../../test/bntest.c
exptest.c => ../../test/exptest.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/bn'
making links in crypto/ec...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/ec'
ec.h => ../../include/openssl/ec.h
ectest.c => ../../test/ectest.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/ec'
making links in crypto/rsa...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/rsa'
rsa.h => ../../include/openssl/rsa.h
rsa_test.c => ../../test/rsa_test.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/rsa'
making links in crypto/dsa...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/dsa'
dsa.h => ../../include/openssl/dsa.h
dsatest.c => ../../test/dsatest.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/dsa'
making links in crypto/ecdsa...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/ecdsa'
ecdsa.h => ../../include/openssl/ecdsa.h
ecdsatest.c => ../../test/ecdsatest.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/ecdsa'
making links in crypto/dh...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/dh'
dh.h => ../../include/openssl/dh.h
dhtest.c => ../../test/dhtest.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/dh'
making links in crypto/ecdh...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/ecdh'
ecdh.h => ../../include/openssl/ecdh.h
ecdhtest.c => ../../test/ecdhtest.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/ecdh'
making links in crypto/dso...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/dso'
dso.h => ../../include/openssl/dso.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/dso'
making links in crypto/engine...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/engine'
engine.h => ../../include/openssl/engine.h
enginetest.c => ../../test/enginetest.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/engine'
making links in crypto/buffer...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/buffer'
buffer.h => ../../include/openssl/buffer.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/buffer'
making links in crypto/bio...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/bio'
bio.h => ../../include/openssl/bio.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/bio'
making links in crypto/stack...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/stack'
stack.h => ../../include/openssl/stack.h
safestack.h => ../../include/openssl/safestack.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/stack'
making links in crypto/lhash...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/lhash'
lhash.h => ../../include/openssl/lhash.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/lhash'
making links in crypto/rand...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/rand'
rand.h => ../../include/openssl/rand.h
randtest.c => ../../test/randtest.c
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/rand'
making links in crypto/err...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/err'
err.h => ../../include/openssl/err.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/err'
making links in crypto/evp...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/evp'
evp.h => ../../include/openssl/evp.h
evp_test.c => ../../test/evp_test.c
cp evptests.txt ../../test
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/evp'
making links in crypto/asn1...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/asn1'
asn1.h => ../../include/openssl/asn1.h
asn1_mac.h => ../../include/openssl/asn1_mac.h
asn1t.h => ../../include/openssl/asn1t.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/asn1'
making links in crypto/pem...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/pem'
pem.h => ../../include/openssl/pem.h
pem2.h => ../../include/openssl/pem2.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/pem'
making links in crypto/x509...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/x509'
x509.h => ../../include/openssl/x509.h
x509_vfy.h => ../../include/openssl/x509_vfy.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/x509'
making links in crypto/x509v3...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/x509v3'
x509v3.h => ../../include/openssl/x509v3.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/x509v3'
making links in crypto/conf...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/conf'
conf.h => ../../include/openssl/conf.h
conf_api.h => ../../include/openssl/conf_api.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/conf'
making links in crypto/txt_db...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/txt_db'
txt_db.h => ../../include/openssl/txt_db.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/txt_db'
making links in crypto/pkcs7...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/pkcs7'
pkcs7.h => ../../include/openssl/pkcs7.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/pkcs7'
making links in crypto/pkcs12...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/pkcs12'
pkcs12.h => ../../include/openssl/pkcs12.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/pkcs12'
making links in crypto/comp...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/comp'
comp.h => ../../include/openssl/comp.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/comp'
making links in crypto/ocsp...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/ocsp'
ocsp.h => ../../include/openssl/ocsp.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/ocsp'
making links in crypto/ui...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/ui'
ui.h => ../../include/openssl/ui.h
ui_compat.h => ../../include/openssl/ui_compat.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/ui'
making links in crypto/krb5...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/krb5'
krb5_asn.h => ../../include/openssl/krb5_asn.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/krb5'
making links in crypto/store...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/store'
store.h => ../../include/openssl/store.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/store'
making links in crypto/pqueue...
make[3]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/pqueue'
pqueue.h => ../../include/openssl/pqueue.h
pq_compat.h => ../../include/openssl/pq_compat.h
make[3]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto/pqueue'
make[2]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto'
making links in ssl...
make[2]: Entering directory `/home/philipp/trunk2/build_i586/openssl-0.9.8i/ssl'
ssl.h => ../include/openssl/ssl.h
ssl2.h => ../include/openssl/ssl2.h
ssl3.h => ../include/openssl/ssl3.h
ssl23.h => ../include/openssl/ssl23.h
tls1.h => ../include/openssl/tls1.h
dtls1.h => ../include/openssl/dtls1.h
kssl.h => ../include/openssl/kssl.h
ssltest.c => ../test/ssltest.c
make[2]: Leaving directory `/home/philipp/trunk2/build_i586/openssl-0.9.8i/ssl'
making links in engines...
make[2]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/engines'
make[2]: Nothing to be done for `links'.
make[2]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/engines'
making links in apps...
make[2]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/apps'
make[2]: Nothing to be done for `links'.
make[2]: Leaving directory `/home/philipp/trunk2/build_i586/openssl-0.9.8i/apps'
making links in test...
make[2]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/test'
make[2]: Nothing to be done for `links'.
make[2]: Leaving directory `/home/philipp/trunk2/build_i586/openssl-0.9.8i/test'
making links in tools...
make[2]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/tools'
make[2]: Nothing to be done for `links'.
make[2]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/tools'
generating dummy tests (if needed)...
make[2]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/test'
make[2]: Nothing to be done for `generate'.
make[2]: Leaving directory `/home/philipp/trunk2/build_i586/openssl-0.9.8i/test'
make[1]: Leaving directory `/home/philipp/trunk2/build_i586/openssl-0.9.8i'

Since you've disabled or enabled at least one algorithm, you need to do
the following before building:

        make depend

Configured for linux-generic32.
make -j1 
CC=/home/philipp/trunk2/build_i586/staging_dir/bin/i586-linux-uclibc-gcc -C 
/home/philipp/trunk2/build_i586/openssl-0.9.8i depend
make[1]: Entering directory `/home/philipp/trunk2/build_i586/openssl-0.9.8i'
making depend in crypto...
make[2]: Entering directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto'
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
mv: cannot stat `Makefile.new': No such file or directory
make[2]: *** [depend] Error 1
make[2]: Leaving directory 
`/home/philipp/trunk2/build_i586/openssl-0.9.8i/crypto'
make[1]: *** [depend] Error 1
make[1]: Leaving directory `/home/philipp/trunk2/build_i586/openssl-0.9.8i'
make: *** [/home/philipp/trunk2/build_i586/openssl-0.9.8i/Makefile] Error 2



Is this a known issue?  And should I be posting to -dev?

Looks like util/dmod is calling "gcc" in-the-raw, instead of as ${CC:-gcc}...

Thanks,

-Philip

Here's a patch:

--- openssl-0.9.8i/util/domd.orig       2009-01-03 16:53:22.000000000 -0800
+++ openssl-0.9.8i/util/domd    2009-01-03 17:22:40.000000000 -0800
@@ -22,7 +22,7 @@
     done
     sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp
     echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> 
Makefile.tmp
-    gcc -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp &&
+    ${CC:-gcc} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp &&
     ${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new
        RC=$?
     rm -f Makefile.tmp


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to