> I've found following problem with compilation of OpenSSL on Solaris x86
> platform:
> 
> I use gcc 3.3 from www.sunfreeware.com, which is configured to use Sun
> native assembler. 
> 
> It seems that Sun assembler doesn't know anything about SSE2
> instruction, and compilation of assembler file x86cpuid_elf.s fails on
> PXOR sse instruction.

> There is configuration option no-sse2 of openssl Configure script, but
> it doesn't prevent x86cpuid.pl from generating SSE2 pxor instruction.
> 
> These pxor instructions are skipped anyway if absense of SSE2 is detected
> run-time.

Well, Sun has added *kernel* support for SSE2 only recently, so that if 
you run on SSE2-capable CPU, but elder kernel, the code will cause 
invalid instruction exception. Well, the function is question isn't 
called from anywhere for now, but it doesn't disqualifies mentioned 
behaviour as bug. Fixed now.

On a side note. As mentioned kernel SSE2 support was added recently, 
which means that it's more than appropriate to configure with no-sse2 
for Solaris x86 if you intend to target broader "audience" with a binary 
package or equivalent. A.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to