You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Felipe Tocchetto <to...@gmail.com> on 2006/05/23 17:11:34 UTC

[users@httpd] httpd: fatal: hardware capability unsupported

Hi

I Installed openssl-0.9.8b and httpd-2.0.58 in a Solaris 10 box.

the flags I used:

openssl
./config --prefix=/usr/local/openssl-0.9.8b

httpd
./configure --prefix=/usr/local/httpd-2.0.58 --enable-ssl
--with-ssl=/usr/local/openssl-0.9.8b

I am using gcc version 3.3.2:

bash-3.00# gcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.3.2

When I try to run the apache web server I get this message:

bash-3.00# ./httpd -k start
ld.so.1: httpd: fatal: hardware capability unsupported: 0x1000  [ SSE2 ]
Killed

I searched Google, but I didn´t find anything useful.

Does anybody knows how to fix it?

-- 
Felipe L. Tocchetto
msn ftocchetto@hotmail.com
icq 163263160
felipe@tocchetto.com
http://www.felipe.tocchetto.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] httpd: fatal: hardware capability unsupported

Posted by "Luc I. Suryo" <lu...@suryo.com>.
> I checked those things:
> 
> bash-3.00# isainfo
> i386
ok so 32 bits only!

> 
> Apr 28 14:51:36  unix: [ID 950921 kern.info] cpu0: x86 (GenuineIntel
> family 6 model 8 step 3 clock 867 MHz)
> Apr 28 14:51:36 unix: [ID 950921 kern.info] cpu0: Intel(r) Pentium(r) III
ok a PIII and seems not MMX nor SSE

> 
> bash-3.00# ldd /usr/local/httpd-2.0.58/bin/httpd
> /usr/local/httpd-2.0.58/bin/httpd: warning: hardware capability
> unsupported: 0x1000  [ SSE2 ]
>        libaprutil-0.so.0 =>     
>        /usr/local/httpd-2.0.58/lib/libaprutil-0.so.0
>        libexpat.so.0 =>         /usr/local/httpd-2.0.58/lib/libexpat.so.0
>        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
>        libapr-0.so.0 =>         /usr/local/httpd-2.0.58/lib/libapr-0.so.0
>        libsendfile.so.1 =>      /usr/lib/libsendfile.so.1
>        librt.so.1 =>    /usr/lib/librt.so.1
>        libm.so.2 =>     /usr/lib/libm.so.2
>        libsocket.so.1 =>        /usr/lib/libsocket.so.1
>        libnsl.so.1 =>   /usr/lib/libnsl.so.1
>        libresolv.so.2 =>        /usr/lib/libresolv.so.2
>        libpthread.so.1 =>       /usr/lib/libpthread.so.1
>        libc.so.1 =>     /usr/lib/libc.so.1
>        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
>        libaio.so.1 =>   /usr/lib/libaio.so.1
>        libmd5.so.1 =>   /usr/lib/libmd5.so.1
>        libmp.so.2 =>    /usr/lib/libmp.so.2
>        libscf.so.1 =>   /usr/lib/libscf.so.1
>        libdoor.so.1 =>  /usr/lib/libdoor.so.1
>        libuutil.so.1 =>         /usr/lib/libuutil.so.1
> 
> bash-3.00# file /usr/local/httpd-2.0.58/bin/httpd
> /usr/local/httpd-2.0.58/bin/httpd:      ELF 32-bit LSB executable
> 80386 Version 1 [SSE2 MMX FPU], dynamically linked, not stripped
> 
> I tried to compile the 2.2.2 and it compiled ok, but I get the same error.

ok please do this

create a hello.c file with the following content:

	#include <stdio.h>
	void main(void) {
   	printf("Hello World\n");
   	exit(0);
	}

then do this
	gcc -o hello hello.c
	file hello  < i need the output

	gcc -m32 -o hello hello.c
	file hello  < i need the ouput

	
	gcc -m32 -march=i686 -mcpu=i686 -o hello hello.c
	file hello < i need the output

I need to knwo what code is generate depends on the given flags
and do GET Studio-11, it produce better code!

-ls


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] httpd: fatal: hardware capability unsupported

Posted by Felipe Tocchetto <fe...@tocchetto.com>.
Thanks for your help Luc.

I checked those things:

bash-3.00# isainfo
i386

Apr 28 14:51:36  unix: [ID 950921 kern.info] cpu0: x86 (GenuineIntel
family 6 model 8 step 3 clock 867 MHz)
Apr 28 14:51:36 unix: [ID 950921 kern.info] cpu0: Intel(r) Pentium(r) III

bash-3.00# ldd /usr/local/httpd-2.0.58/bin/httpd
/usr/local/httpd-2.0.58/bin/httpd: warning: hardware capability
unsupported: 0x1000  [ SSE2 ]
        libaprutil-0.so.0 =>     /usr/local/httpd-2.0.58/lib/libaprutil-0.so.0
        libexpat.so.0 =>         /usr/local/httpd-2.0.58/lib/libexpat.so.0
        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
        libapr-0.so.0 =>         /usr/local/httpd-2.0.58/lib/libapr-0.so.0
        libsendfile.so.1 =>      /usr/lib/libsendfile.so.1
        librt.so.1 =>    /usr/lib/librt.so.1
        libm.so.2 =>     /usr/lib/libm.so.2
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        libaio.so.1 =>   /usr/lib/libaio.so.1
        libmd5.so.1 =>   /usr/lib/libmd5.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libscf.so.1 =>   /usr/lib/libscf.so.1
        libdoor.so.1 =>  /usr/lib/libdoor.so.1
        libuutil.so.1 =>         /usr/lib/libuutil.so.1

bash-3.00# file /usr/local/httpd-2.0.58/bin/httpd
/usr/local/httpd-2.0.58/bin/httpd:      ELF 32-bit LSB executable
80386 Version 1 [SSE2 MMX FPU], dynamically linked, not stripped

I tried to compile the 2.2.2 and it compiled ok, but I get the same error.


On 5/23/06, Luc I. Suryo <lu...@suryo.com> wrote:
>
> ok teh compiler seems to have generate code not compatible for your
> system/cpu...
>
> i would advice to get Sun's compiler (studio-11) it's free..
>
> couple things to check
>         output of : isainfo
>         output of : dmesg  < see if reports soem CPU settings
>         your CC/CFLAGS env. settings
>         ldd /usr/local/httpd-2.0.58/bin/httpd
>         file /usr/local/httpd-2.0.58/bin/httpd
>
> I have a Solaris 10 (studio-10), with apache 2.2.2, openssl 0.9.8b and
> php 5.1.4 no problem....
>
> >
> > I Installed openssl-0.9.8b and httpd-2.0.58 in a Solaris 10 box.
> >
> > the flags I used:
> >
> > openssl
> > ./config --prefix=/usr/local/openssl-0.9.8b
> >
> > httpd
> > ./configure --prefix=/usr/local/httpd-2.0.58 --enable-ssl
> > --with-ssl=/usr/local/openssl-0.9.8b
> >
> > I am using gcc version 3.3.2:
> >
> > bash-3.00# gcc -v
> > Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/specs
> > Configured with: ../configure --with-as=/usr/ccs/bin/as
> > --with-ld=/usr/ccs/bin/ld --disable-nls
> > Thread model: posix
> > gcc version 3.3.2
> >
> > When I try to run the apache web server I get this message:
> >
> > bash-3.00# ./httpd -k start
> > ld.so.1: httpd: fatal: hardware capability unsupported: 0x1000  [ SSE2 ]
> > Killed
> >
> > I searched Google, but I didn´t find anything useful.
> > Does anybody knows how to fix it?
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Felipe L. Tocchetto
msn ftocchetto@hotmail.com
icq 163263160
felipe@tocchetto.com
http://www.felipe.tocchetto.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] httpd: fatal: hardware capability unsupported

Posted by "Luc I. Suryo" <lu...@suryo.com>.
ok teh compiler seems to have generate code not compatible for your
system/cpu...

i would advice to get Sun's compiler (studio-11) it's free..

couple things to check
	output of : isainfo
	output of : dmesg  < see if reports soem CPU settings
	your CC/CFLAGS env. settings
	ldd /usr/local/httpd-2.0.58/bin/httpd
	file /usr/local/httpd-2.0.58/bin/httpd

I have a Solaris 10 (studio-10), with apache 2.2.2, openssl 0.9.8b and
php 5.1.4 no problem....

> 
> I Installed openssl-0.9.8b and httpd-2.0.58 in a Solaris 10 box.
> 
> the flags I used:
> 
> openssl
> ./config --prefix=/usr/local/openssl-0.9.8b
> 
> httpd
> ./configure --prefix=/usr/local/httpd-2.0.58 --enable-ssl
> --with-ssl=/usr/local/openssl-0.9.8b
> 
> I am using gcc version 3.3.2:
> 
> bash-3.00# gcc -v
> Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/specs
> Configured with: ../configure --with-as=/usr/ccs/bin/as
> --with-ld=/usr/ccs/bin/ld --disable-nls
> Thread model: posix
> gcc version 3.3.2
> 
> When I try to run the apache web server I get this message:
> 
> bash-3.00# ./httpd -k start
> ld.so.1: httpd: fatal: hardware capability unsupported: 0x1000  [ SSE2 ]
> Killed
> 
> I searched Google, but I didn�t find anything useful.
> Does anybody knows how to fix it?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] httpd: fatal: hardware capability unsupported

Posted by Joe Orton <jo...@redhat.com>.
On Tue, May 23, 2006 at 12:11:34PM -0300, Felipe Tocchetto wrote:
> 
> httpd
> ./configure --prefix=/usr/local/httpd-2.0.58 --enable-ssl
> --with-ssl=/usr/local/openssl-0.9.8b
...
> bash-3.00# ./httpd -k start
> ld.so.1: httpd: fatal: hardware capability unsupported: 0x1000  [ SSE2 ]
> Killed

It's possible this is due to use of assembler in OpenSSL, if you build 
httpd without mod_ssl enabled does it work?  If so you can then try and 
narrow the problem down; pass "noasm" to the OpenSSL Configure script, 
check you are using the right Configure target to build OpenSSL; mail 
openssl-users@openssl.org for more help.

joe

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org