On Fri, 13 Dec 2002, Richard Levitte - VMS Whacker wrote:
> It will be available tomorrow.
>
> The crucial thing to test is that things are still working properly in
> Windows, especially the DES assembler modules. They been changed to
> generate PIC code on Unix, and it's important that we get tests on how
> that affects Windows, if it does.
The changes affect some UNIX platforms too.
Before the changes SCO OpenServer build was broken. (UnixWare was OK)
sco3-gcc & sco5-cc-pentium would get this error when building apps/openssl
...
undefined first referenced
symbol in file
bn_sub_part_words ../libcrypto.a
...
sco5-gcc would bomb in crypto/md5 with
...
making all in crypto/md5...
gcc -I.. -I../.. -I../../include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5
-DOPENSSL_NO_IDEA -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_MD2 -O3
-fomit-frame-pointer -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c md5_dgst.c
gcc -I.. -I../.. -I../../include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5
-DOPENSSL_NO_IDEA -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_MD2 -O3
-fomit-frame-pointer -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c md5_one.c
(cd asm; /usr/bin/perl md5-586.pl cpp >mx86unix.cpp)
gcc -E -DELF -x c asm/mx86unix.cpp | as -o asm/mx86-elf.o
Nonexistent file
cpp: output pipe has been closed
*** Error code 1 (bu21)
...
My solution was to add support for assembly modules.
And while I was at it, I added assembly support for UnixWare.
See e-mail to openssl-dev@
Date: Mon, 9 Dec 2002 16:19:00 -0800 (PST)
From: Tim Rice <[EMAIL PROTECTED]>
To: Cryptography notification <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: TSU NOTIFICATION - encryption
That patch wokrked fine and didn't break anything else.
But now with the latest changes, without my patch same as before
(SCO OpenServer build was broken, UnixWare is OK)
When I add my patch updating for the PIC stuff in des/Makefile.ssl,
Both OpenServer and UnixWare are broken.
Here are the errors. Perhaps someone can point me in the right direction.
(I'll figure it out sooner or later but pointer are allways welcome)
sco3-gcc (in crypto/des)
(cd asm; /usr/local/bin/perl des-586.pl cpp >dx86unix.cpp)
gcc -E -DCOFF asm/dx86unix.cpp | sed 's/ :/:/' > asm/dx86coff.s
as -o asm/dx86coff.o asm/dx86coff.s
Assembler: des-586.s
aline 2460 : Illegal subtraction
aline 2647 : Illegal subtraction
*** Error code 127
Looks like is doesn't like "sall $8, %ecx"
The unixware-2.1-pentium, unixware-7-pentium, sco5-cc-pentium, & sco5-gcc
builds all get this error when linking apps/openssl
Undefined first referenced
symbol in file
fcrypt_body ../libcrypto.a(fcrypt.o)
DES_ede3_cbc_encrypt speed.o
DES_ncbc_encrypt speed.o
DES_encrypt1 ../libcrypto.a(ecb_enc.o)
DES_encrypt3 ../libcrypto.a(ecb3_enc.o)
DES_decrypt3 ../libcrypto.a(ecb3_enc.o)
openssl: fatal error: Symbol referencing errors. No output written to openssl
*** Error code 1 (bu21)
gmake: *** [sub_all] Error 1
I'm out of time today (friday). I'll try and get back to it Sunday.
--
Tim Rice Multitalents (707) 887-1469
[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]