On Wed, 26 Feb 2014, Andy Polyakov via RT wrote:
> > --- Xopenssl-1.0.1f/crypto/aes/aes-586.s 2014-02-24 23:09:12.771751012
> > -0800
> > +++ openssl-1.0.2-beta1/crypto/aes/aes-586.s 2014-02-24
> > 22:07:47.869751012 -0800
> > @@ -994,8 +1000,7 @@
> > call .L004pic_point
> > .L004pic_point:
> > popl %ebp
> > - leal _GLOBAL_OFFSET_TABLE_+[.-.L004pic_point](%ebp),%eax
> > - movl OPENSSL_ia32cap_P@GOT(%eax),%eax
> > + leal OPENSSL_ia32cap_P-.L004pic_point(%ebp),%eax
> > leal .LAES_Te-.L004pic_point(%ebp),%ebp
> > leal 764(%esp),%ebx
> > subl %ebp,%ebx
>
> Aha! Try following. In crypto/perlasm/x86gas.pl you'll find ::picmeup,
> which starts with
>
> if (defined($base) && $sym eq "OPENSSL_ia32cap_P" && !$::macosx)
> { &::lea($dst,&::DWP("$sym-$reflabel",$base)); }
> elsif (($::pic && ($::elf || $::aout)) || $::macosx)
> { if (!defined($base))
>
> Comment first two line and replace elsif with if, i.e.
>
> #if (defined($base) && $sym eq "OPENSSL_ia32cap_P" && !$::macosx)
> #{ &::lea($dst,&::DWP("$sym-$reflabel",$base)); }
> if (($::pic && ($::elf || $::aout)) || $::macosx)
> { if (!defined($base))
>
> What happens?
The build continues.
Now to track down the next error.
I took a couple @'s out of Makefile to get more info
......
making all in crypto/cmac...
if [ -n "libcrypto.so.1.0.0 libssl.so.1.0.0" ]; then \
(cd ..; make libcrypto.so.1.0.0); \
fi
[ -z "" ] || cc -Kpic -DOPENSSL_PIC -DZLIB_SHARED -DZLIB
-DOPENSSL_THREADS -Kthread -DDSO_DLFCN -DHAVE_DLFCN_H -Kpentium_pro -D__i386__
-O -DFILIO_H -Kalloca -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT
-DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM
-DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -Iinclude \
-DFINGERPRINT_PREMAIN_DSO_LOAD -o fips_premain_dso \
fips_premain.c fipscanister.o \
libcrypto.a -lsocket -lnsl
if [ "svr5-shared" != "" ]; then \
if [ "" = "libcrypto" ]; then \
FIPSLD_LIBCRYPTO=libcrypto.a ; \
FIPSLD_CC="cc"; CC=/usr/local/ssl/fips-2.0/bin/fipsld; \
export CC FIPSLD_CC FIPSLD_LIBCRYPTO; \
fi; \
make -e SHLIBDIRS=crypto CC="${CC:-cc}" build-shared; \
touch -c fips_premain_dso; \
else \
echo "There's no support for shared libraries on this platform"
>&2; \
exit 1; \
fi
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
......
Still looking.
--
Tim Rice Multitalents (707) 456-1146
[email protected]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]