Subject: Re: pkg/28858: security/openssl build fails on Sparc64 with ASM errors
To: Gert Doering <gert@greenie.muc.de>
From: Johnny C. Lam <jlam@NetBSD.org>
List: pkgsrc-bugs
Date: 01/13/2005 13:40:05
Gert Doering wrote:
  >
> The OpenSSL people say "this is a known issue with gcc on (some) sparc64
> platforms, it's a compiler optimization issue".
> 
> http://www.aet.tu-cottbus.de/rt2/Ticket/Display.html?id=1000
> is the OpenSSL ticket I opened.
> 
> If one compiles the two .o files in crypto/ripemd/ without "-O3", the
> ripemd tests pass.  Maybe this would be doable in an automated way for 
> the pkgsrc version?

I've just committed a tested fix to pkgsrc/security/openssl that passes
-DMD32_REG_T=int to the compiler on NetBSD/sparc64.  Please let me know
if this also works for you.

	Thanks,

	-- Johnny Lam <jlam@NetBSD.org>