[Pkg-openssl-devel] Bug#532336: openssl: FTBFS on kfreebsd-amd64

Petr Salinger Petr.Salinger at seznam.cz
Tue Jun 9 09:10:04 UTC 2009


found 532336 0.9.8k-2
thanks

Hi,

currently, there are two issues on kfreebsd-amd64.

1) build fails with "/usr/bin/perl asm/md5-x86_64.pl md5-x86_64.s" error.
2) the crypto/rc4/asm/rc4-x86_64.pl is not PIC/non-PIC ready.

ad 1)

The command "dpkg-buildpackage -b -uc" works,
the command "dpkg-buildpackage -b -uc | tee aaa" fails.

The command "make -C crypto/md5 clean md5-x86_64.s" works
the command "make -C crypto/md5 clean md5-x86_64.s | cat" fails.

It looks like there is problem with distinguish between two pipes.
Please, could you apply:

--- crypto/perlasm/x86_64-xlate.pl
+++ crypto/perlasm/x86_64-xlate.pl
@@ -62,7 +62,7 @@
    my ($outdev,$outino, at junk)=stat($output);

      open STDOUT,">$output" || die "can't open $output: $!"
-       if ($stddev!=$outdev || $stdino!=$outino);
+#      if ($stddev!=$outdev || $stdino!=$outino);
  }

  my $masmref=8 + 50727*2**-32;  # 8.00.50727 shipped with VS2005


ad 2)

The crypto/rc4/asm/rc4-x86_64.pl contains:

.extern OPENSSL_ia32cap_P

         mov     OPENSSL_ia32cap_P(%rip),$idx#d
         mov     OPENSSL_ia32cap_P(%rip),%edx

I do not know how to write it in the right way.


Thanks

 		Petr






More information about the Pkg-openssl-devel mailing list