> My solution was to add support for assembly modules.
Why do you want to add more rules? Well, I actually fail to understand
why can't we have a unified rule? I mean something like this:
asm/dx86-elf.o: asm/dx86unix.cpp
$(CPP) -DELF asm/sx86unix.cpp | \
sed -e 's/\. /./g' -e 's/@ /@/' -e 's/ :/:/' -e 's/^#.*//' \
> /tmp/dx86$$$$.s && \
as -o asm/dx86-elf.o /tmp/dx86$$$$.s; \
rm -f /tmp/dx86$$$$.s
which would compensate for all observed stupid things. And even for
Solaris... The only thing that would justify a new rule should be
another -D to be passed to $(CPP). BTW, could you comment on where are
those extra spaces you have to get rid of coming from? Is it $(CPP) in
question which adds them?
> But now with the latest changes, without my patch same as before
> (SCO OpenServer build was broken, UnixWare is OK)
So nothing has changed:-)
> 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"
I don't think so! It must be complaining about "leal
.LXXXcbc_jmp_table-.LXXXPIC_point(%edx),%ecx." Could you examine these
lines closer? Attach dx86coff.s if you have to.
> 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
Well, this only means that it failed to build corresponding
./crypto/des/asm/*x86*.o and you should look up the build log to figure
out why it actually failed.
A.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]