Hello, if requires a patch or some special flags for cpu VIA Nehemiah?

> For clarity, could you please add the following info:
> 1. Actual 12 hex code bytes from 0xb76bc1f3 to 0xb76bc1ff
> inclusive.

root@gatto:/tmp# gdb -c core /usr/bin/openssl
GNU gdb (GDB) 7.4.1
Program terminated with signal 4, Illegal instruction.
#0  0xb761d1f3 in _init () from /usr/lib/libcrypto.so.0
(gdb) disassemble
Dump of assembler code for function _init:
   0xb761d1d0 <+0>:     push   %ebx
   0xb761d1d1 <+1>:     sub    $0x8,%esp
   0xb761d1d4 <+4>:     call   0xb761d840
   0xb761d1d9 <+9>:     add    $0x12c6b7,%ebx
   0xb761d1df <+15>:    mov    -0x220(%ebx),%eax
   0xb761d1e5 <+21>:    test   %eax,%eax
   0xb761d1e7 <+23>:    je     0xb761d1ee <_init+30>
   0xb761d1e9 <+25>:    call   0xb761d4d0 <__gmon_start__@plt>
   0xb761d1ee <+30>:    call   0xb761d970
=> 0xb761d1f3 <+35>:    nopw   %cs:0x0(%eax,%eax,1)
   0xb761d1fd <+45>:    nopl   (%eax)
   0xb761d200 <+48>:    call   0xb761dc10 <OPENSSL_cpuid_setup>
   0xb761d205 <+53>:    jmp    0xb761d210 <_init+64>
   0xb761d207 <+55>:    mov    %esi,%esi
   0xb761d209 <+57>:    lea    0x0(%edi,%eiz,1),%edi
   0xb761d210 <+64>:    call   0xb76f8140
   0xb761d215 <+69>:    add    $0x8,%esp
   0xb761d218 <+72>:    pop    %ebx
   0xb761d219 <+73>:    ret
End of assembler dump.
(gdb) x/24bx 0xb759b1f3
0xb759b1f3:     0xff    0x5c    0xae    0x02    0x00    0x3c    0x66 
  0xfc
0xb759b1fb:     0xff    0x8c    0xae    0x02    0x00    0xac    0x66 
  0xfc
0xb759b203:     0xff    0xc4    0xae    0x02    0x00    0x5c    0x67 
  0xfc
(gdb)


> 2. Arguments passed to the openssl build scripts, including any 
> environment variables

VERSION=0.9.8w
MAJOR=0
MINOR=9.8
SHLIB_VERSION_NUMBER=0.9.8
SHLIB_VERSION_HISTORY=
SHLIB_MAJOR=0
SHLIB_MINOR=9.8
SHLIB_EXT=.so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
PLATFORM=linux-elf
OPTIONS=--prefix=/usr --openssldir=/etc/ssl enable-shared
- -Wa,--noexecstack no-camellia no-capieng no-cms no-gmp no-idea
no-jpake no-krb5 no-mdc2 no-montasm no-rc5 no-rfc3779 no-
seed no-sse2 no-zlib no-zlib-dynamic
CONFIGURE_ARGS=linux-elf --prefix=/usr --openssldir=/etc/ssl no-idea
no-rc5 no-sse2 shared -Wa,--noexecstack
SHLIB_TARGET=linux-shared
HERE=.
INSTALL_PREFIX=
INSTALLTOP=/usr
OPENSSLDIR=/etc/ssl
CC= gcc
CFLAG= -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
- -DHAVE_DLFCN_H -Wa,--noexecstack -DL_ENDIAN -DTERMIO -O3
- -fomit-frame-pointer -march=i486 -mtune=i686 -Wall
- -DOPENSSL_BN_ASM_PART_WORDS -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
- -DAES_ASM
DEPFLAG= -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_CAPIENG -DOPENSSL_NO_CMS
- -DOPENSSL_NO_GMP -DOPENSSL_NO_IDEA -DOPENSSL_NO_JPAKE
- -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779
 -DOPENSSL_NO_SEED
PEX_LIBS=
EX_LIBS= -ldl
EXE_EXT=
ARFLAGS=
AR= ar $(ARFLAGS) r
ARD=ar $(ARFLAGS) d
RANLIB= /usr/bin/ranlib
PERL= /usr/bin/perl
TAR= tar
TARFLAGS= --no-recursion
MAKEDEPPROG= gcc
LIBDIR=lib

> 3. The versions of gcc and libc used when building the failing copy
> of openssl.
gcc (GCC) 4.7.0, glibc-2.15

> 4. If any of those were different for your compile of 0.9.8t
> I think it's the same version

> As this failure happens in compiler/libc init code, I strongly
> suspect  #4 is the problem.

Thanks for the support! 
Roberto Corrado

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

Reply via email to