[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-users
Subject:    RE: Help with error - hardware capability unsupported SSE2
From:       "Jeremy Farrell" <jfarrell () pillardata ! com>
Date:       2009-11-26 22:14:33
Message-ID: 6C5E0D5C96C6EF44822ED8E2770EEAF40EAD48C6 () caex02 ! trans ! corp
[Download RAW message or body]

________________________________

	From: Jeremy Farrell


________________________________

		From: Chris Copeland
		
		

		I am building and packaging the following on one machine
(the "build"
		machine) and attempting to install and use on other
machines ("target"
		machines) some of which have different processors.
		
		* OpenSSL 0.9.8l
		* Apache 2.2.14
		* Tomcat Connectors 1.2.28
		
		The problem, as far as I can tell, is that the build
machine has more
		CPU capabilities than the target machine resulting in
binaries that
		are not executable on the target machine.  I have
attempted to use
		configure and compiler flags to disable use of the
offending
		instructions without luck.
		
		Ultimately I get this error:
		
		$ ./apachectl start httpd: Syntax error on line 58 of
		/usr/local/apache-2.2.14/conf/httpd.conf: Cannot load
		/usr/local/apache2/modules/mod_ssl.so into server:
ld.so.1: httpd:
		fatal: /usr/local/openssl/lib/libssl.so.0.9.8: hardware
capability
		unsupported: 0x1000 [ SSE2 ]
		
		 ...

	According to the message, your problem is that mod_ssl.so
requires SSE2. You'd be best to ask the community responsible for that
library how to build a version of it which doesn't require SSE2. I don't
know for sure, but I think I recall mention that it's part of Apache.
	 
	On the surface your OpenSSL build looks fit for purpose.  

Grrr ... Apologies, that's nonsense. It always pays to read all the
message before commenting. I've no idea what's going on here; I'll leave
it to someone who actually has a clue to say something useful.

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16915" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Verdana color=#000080 
size=2></FONT>&nbsp;</DIV><BR>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> Jeremy Farrell</FONT></DIV><BR>
  <BLOCKQUOTE 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
    <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
    <HR tabIndex=-1>
    <FONT face=Tahoma size=2><B>From:</B> Chris Copeland<BR></FONT></DIV>
    <DIV class=gmail_quote><FONT face=Verdana color=#000080 size=2></FONT>
    <DIV><BR>I am building and packaging the following on one machine (the 
    "build"<BR>machine) and attempting to install and use on other machines 
    ("target"<BR>machines) some of which have different processors.<BR><BR>* 
    OpenSSL 0.9.8l<BR>* Apache 2.2.14<BR>* Tomcat Connectors 1.2.28<BR><BR>The 
    problem, as far as I can tell, is that the build machine has more<BR>CPU 
    capabilities than the target machine resulting in binaries that<BR>are not 
    executable on the target machine. &nbsp;I have attempted to use<BR>configure 
    and compiler flags to disable use of the offending<BR>instructions without 
    luck.<BR><BR>Ultimately I get this error:<BR><BR>$ ./apachectl start httpd: 
    Syntax error on line 58 of<BR>/usr/local/apache-2.2.14/conf/httpd.conf: 
    Cannot load<BR>/usr/local/apache2/modules/mod_ssl.so into server: ld.so.1: 
    httpd:<BR>fatal: /usr/local/openssl/lib/libssl.so.0.9.8: hardware 
    capability<BR>unsupported: 0x1000 [ SSE2 ]<BR><BR><SPAN 
    class=053180722-26112009><FONT face=Verdana color=#000080 
    size=2>&nbsp;...</FONT></SPAN></DIV></DIV></BLOCKQUOTE>
  <DIV class=gmail_quote><SPAN class=053180722-26112009><FONT face=Verdana 
  color=#000080 size=2>According to the message, your problem is that mod_ssl.so 
  requires SSE2. You'd be best to ask the community responsible for that library 
  how to build a version of it which doesn't require SSE2. I don't know for 
  sure, but I think I recall mention that it's part of 
  Apache.</FONT></SPAN></DIV>
  <DIV class=gmail_quote><SPAN class=053180722-26112009></SPAN>&nbsp;</DIV>
  <DIV class=gmail_quote><SPAN class=053180722-26112009><FONT face=Verdana 
  color=#000080 size=2>On the&nbsp;surface your OpenSSL build looks fit for 
  purpose.</FONT>&nbsp;<SPAN class=476221222-26112009><FONT face=Verdana 
  color=#000080 size=2>&nbsp;</FONT></SPAN></SPAN></DIV></BLOCKQUOTE>
<DIV class=gmail_quote dir=ltr style="MARGIN-RIGHT: 0px"><SPAN 
class=053180722-26112009><SPAN class=476221222-26112009><FONT face=Verdana 
color=#000080 size=2>Grrr ... Apologies, that's nonsense. It always pays to read 
all the message before commenting.</FONT>&nbsp;<FONT face=Verdana color=#000080 
size=2>I've no idea what's going on here; I'll leave it to someone who actually 
has a clue to say something useful.</FONT></SPAN></SPAN></DIV></BODY></HTML>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majordomo@openssl.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic