On Sun, 24 Jan 2010, The default queue via RT wrote:

> 
> CVS OpenSSL_1_0_0-stable pulled 20 Jan 2010
> 
> On UnixWare 7.1.4 w/ MP4, If I build OpenSSL without static libs it
> builds and tests fine.
> .....
> ALL TESTS SUCCESSFUL.
>       OPENSSL_CONF=apps/openssl.cnf util/opensslwrap.sh version -a
> OpenSSL 1.0.0-beta6-dev 20 Jan 2010
> built on: Sat Jan 23 11:10:13 PST 2010
> platform: unixware-7
> options:  bn(64,32) rc4(1x,char) des(ptr,risc1,16,long) idea(int) 
> blowfish(idx) 
> compiler: cc -DZLIB -DOPENSSL_THREADS -Kthread -DDSO_DLFCN -DHAVE_DLFCN_H 
> -Kpentium_pro -D__i386__ -O -DFILIO_H -Kalloca -DOPENSSL_BN_ASM_PART_WORDS 
> -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM 
> -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM
> OPENSSLDIR: "/etc/ssl"
> .....
> 
> If I add the shared option to config it will build but tests fail.
> .....
> enveloped content test streaming S/MIME format, 3 recipients, keyid: OK
> enveloped content test streaming PEM format, KEK: verify error
> *** Error code 1 (bu21)
> UX:make: ERROR: fatal error.
> .....

It looks like I've uncovered a compiler optimization bug.
If I remove the -Kpentium_pro option all test pass.
......
ALL TESTS SUCCESSFUL.
        OPENSSL_CONF=apps/openssl.cnf util/opensslwrap.sh version -a
OpenSSL 1.0.0-beta6-dev 20 Jan 2010
built on: Mon Jan 25 09:09:25 PST 2010
platform: unixware-7
options:  bn(64,32) rc4(1x,char) des(ptr,risc1,16,long) idea(int) blowfish(idx) 
compiler: cc -Kpic -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -Kthread -DDSO_DLFCN 
-DHAVE_DLFCN_H -D__i386__ -O -DFILIO_H -Kalloca -DOPENSSL_BN_ASM_PART_WORDS 
-DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM 
-DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM
OPENSSLDIR: "/etc/ssl"
......
For reference
   Optimizing C Compilation System  (CCS) 4.2  05/13/08 (uw714mp4.bl3h)

Now I need to come up with a small reproducable test case and report it
to the vendor.

-- 
Tim Rice                                Multitalents    (707) 887-1469
t...@multitalents.net



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to