Hello, 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. x86cpuid.pl receives full set of C compiler flags, including OPENSS_IA32_SSE2 flag, which is set only if SSE2 instructions are enabled. Attached patch fixes this problem by adding check for OPENSSL_IA32_SSE2 command line flag to x86cpuid.pl and skipping section between runtime SSE2 check and label no_sse2, if this flag is not found. Patch is made against 20050516 CVS snapshot. Sincerely yours, Victor Wagner ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]