Dears,

After several research, i have removed the problematic part.

You can find the new version here:

http://people.freebsd.org/~fabient/patch-head20110222-openssl1.0.0d

Regards,

-- 
Alexandre Martins
Research engineer
NETASQ

On Monday 14 February 2011 17:18:24 Alexandre Martins wrote:
> Dear,
> 
> Thank you for your feed-back.
> 
> I'll look for this issu, and i hope deliver a better patch quickly.
> 
> Regards,
> 
> > Alexandre Martins <alexandre.mart...@netasq.com> writes:
> > > For those interested in testing, you can find a patch that add OpenSSL
> > > 1.0d to head.
> > 
> > [...]
> > 
> > Hmm, doesn't build with ld(1) from /projects/binutils-2.17.
> > 
> >   $ make -dl all
> >   as  -o rc4-amd64.o /usr/src/secure/lib/libcrypto/amd64/rc4-amd64.s
> >   [ -z "ctfconvert" -o -n "1" ] ||  (echo ctfconvert -L VERSION
> >   rc4-amd64.o
> > 
> > &&  ctfconvert -L VERSION rc4-amd64.o) echo building static crypto
> > library
> > 
> >   building static crypto library
> >   rm -f libcrypto.a
> >   ar cq libcrypto.a `lorder ...`
> >   ranlib libcrypto.a
> >   as  -o rc4-amd64.po /usr/src/secure/lib/libcrypto/amd64/rc4-amd64.s
> >   [ -z "ctfconvert" -o -n "1" ] ||  (echo ctfconvert -L VERSION
> > 
> > rc4-amd64.po &&  ctfconvert -L VERSION rc4-amd64.po) echo building
> > profiled crypto library
> > 
> >   building profiled crypto library
> >   rm -f libcrypto_p.a
> >   ar cq libcrypto_p.a `lorder ...`
> >   ranlib libcrypto_p.a
> >   as  -o rc4-amd64.So /usr/src/secure/lib/libcrypto/amd64/rc4-amd64.s
> >   [ -z "ctfconvert" -o -n "1" ] ||  (echo ctfconvert -L VERSION
> > 
> > rc4-amd64.So &&  ctfconvert -L VERSION rc4-amd64.So) echo building shared
> > library libcrypto.so.7
> > 
> >   building shared library libcrypto.so.7
> >   rm -f libcrypto.so.7 libcrypto.so
> >   ln -fs libcrypto.so.7 libcrypto.so
> >   cc  -fstack-protector -shared -Wl,-x  -o libcrypto.so.7
> > 
> > -Wl,-soname,libcrypto.so.7  `lorder ...` /usr/bin/ld: rc4-amd64.So:
> > relocation R_X86_64_PC32 against `OPENSSL_ia32cap_P' can not be used when
> > making a shared object; recompile with -fPIC /usr/bin/ld: final link
> > failed: Bad value
> > 
> >   *** Error code 1
> > 
> > Reverting back to binutils-2.15 makes build fail with another error.
> > libcrypto builds fine but linking against it always fails
> > 
> >   $ cc foo.c -lcrypto
> >   /usr/lib/libcrypto.so: undefined reference to
> >   `_x86_64_Camellia_decrypt' /usr/lib/libcrypto.so: undefined reference
> >   to `.Ldloop'
> > 
> > Indeed, some parts are missing
> > 
> > %% diff against output from cmll-x86_64.pl
> > --- secure/lib/libcrypto/amd64/cmll_amd64.s
> > +++ crypto/openssl/crypto/camellia/asm/cmll-x86_64.pl.out
> > 
> > @@ -312,6 +312,170 @@ Camellia_DecryptBlock_Rounds:
> >     call    _x86_64_Camellia_decrypt
> > 

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to