Re: [openssl-users] make test failed on HPUX parisc

2016-05-25 Thread Michael Wojcik
This is probably not very useful, but just as another data point: 32-bit 
OpenSSL 1.0.2g passes "make test" on HP-UX 11.31 for ia64 (Itanium). I have no 
idea whether the difference is in the OpenSSL version, the HP-UX version, the 
CPU type, or some configuration option.

Unfortunately we no longer regularly build OpenSSL on HP-UX for PA-RISC, so I 
can't easily test 1.0.2g there.

If I get a chance, I'll poke around to see if we still have a PA-RISC machine I 
could use to try to reproduce the problem with 1.0.2h.

-- 
Michael Wojcik
Technology Specialist, Micro Focus


-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


Re: [openssl-users] make test failed on HPUX parisc

2016-05-25 Thread Alexandre Klein
Thanks Viktor for your reply.

I forgot to mention that I can compile 1.0.2h 64-bit version on the same
machine. The only problem is when building the 32-bit version of OpenSSL.

Here is full line:
"hpux-parisc2-cc","cc:+DAportable +O3 +Optrs_strongly_typed -Ae +ESlit
-DB_ENDIAN -DMD32_XARRAY -D_REENTRANT-Wl,+s -ldld:SIXTY_FOUR_BIT
MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_
RISC1 DES_INT:".eval{my
$asm=$parisc20_asm;$asm=~s/2W\./2\./;$asm=~s/:64/:32/;$asm}.":dl:hpux-shared:+Z:-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/pa20_32",

The only difference is:
- I removed "+DA2.0 +DS2.0"
- I added "+DAportable"

If I use the original line, then I have the same error.

Alexandre Klein
Tanuki Software, Ltd.
6-18-10-4F Nishi-Kasai, Edogawa-ku
Tokyo 134-0088 Japan
Tel: +81-3-3878-3211
Fax: +81-3-3878-0313
http://www.tanukisoftware.com

On Wed, May 25, 2016 at 12:19 AM, Viktor Dukhovni <
openssl-us...@dukhovni.org> wrote:

> On Tue, May 24, 2016 at 06:05:34PM +0900, Alexandre Klein wrote:
>
> >
> > I'm using "hpux-parisc2-cc". I modified Configure to use +DAportable:
> > "hpux-parisc2-cc","cc:+DAportable   +O3 ...
> > "hpux-parisc2-cc","cc:+DA2.0 +DS2.0 +O3 ...
>
> For meaningful help, post an unedited "diff" between the original
> and your version.
>
> The original Configure file has:
>
> "hpux-parisc2-cc","cc:+DA2.0 +DS2.0 +O3 +Optrs_strongly_typed -Ae
> +ESlit -DB_ENDIAN -DMD32_XARRAY -D_REENTRANT-Wl,+s -ldld:SIXTY_FOUR_BIT
> MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT:".eval{my
> $asm=$parisc20_asm;$asm=~s/2W\./2\./;$asm=~s/:64/:32/;$asm}.":dl:hpux-shared:+Z:-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/pa20_32",
> "hpux64-parisc2-cc","cc:+DD64 +O3 +Optrs_strongly_typed -Ae +ESlit
> -DB_ENDIAN -DMD32_XARRAY -D_REENTRANT-ldl:SIXTY_FOUR_BIT_LONG MD2_CHAR
> RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1
> DES_INT:${parisc20_asm}:dlfcn:hpux-shared:+Z:+DD64
> -b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/pa20_64",
>
> > $ ./Configure hpux-parisc2-cc --prefix=path/to/folder no-shared no-zlib
> > no-zlib-dynamic no-rc5 no-idea no-ec no-ecdh no-ecdsa no-asm no-mdc2
> no-bf
> > no-cast no-md2 no-rc4 no-jpake no-gmp
>
> In particular you sure you want "no-asm" and "no-shared"?  Those
> targets seem to be designed for shared builds with asm.
>
> --
> Viktor.
> --
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


Re: [openssl-users] make test failed on HPUX parisc

2016-05-24 Thread Viktor Dukhovni
On Tue, May 24, 2016 at 06:05:34PM +0900, Alexandre Klein wrote:

> 
> I'm using "hpux-parisc2-cc". I modified Configure to use +DAportable:
> "hpux-parisc2-cc","cc:+DAportable   +O3 ...
> "hpux-parisc2-cc","cc:+DA2.0 +DS2.0 +O3 ...

For meaningful help, post an unedited "diff" between the original
and your version.

The original Configure file has:

"hpux-parisc2-cc","cc:+DA2.0 +DS2.0 +O3 +Optrs_strongly_typed -Ae +ESlit 
-DB_ENDIAN -DMD32_XARRAY -D_REENTRANT-Wl,+s -ldld:SIXTY_FOUR_BIT MD2_CHAR 
RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT:".eval{my 
$asm=$parisc20_asm;$asm=~s/2W\./2\./;$asm=~s/:64/:32/;$asm}.":dl:hpux-shared:+Z:-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/pa20_32",
"hpux64-parisc2-cc","cc:+DD64 +O3 +Optrs_strongly_typed -Ae +ESlit 
-DB_ENDIAN -DMD32_XARRAY -D_REENTRANT-ldl:SIXTY_FOUR_BIT_LONG MD2_CHAR 
RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 
DES_INT:${parisc20_asm}:dlfcn:hpux-shared:+Z:+DD64 
-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/pa20_64",

> $ ./Configure hpux-parisc2-cc --prefix=path/to/folder no-shared no-zlib
> no-zlib-dynamic no-rc5 no-idea no-ec no-ecdh no-ecdsa no-asm no-mdc2 no-bf
> no-cast no-md2 no-rc4 no-jpake no-gmp

In particular you sure you want "no-asm" and "no-shared"?  Those
targets seem to be designed for shared builds with asm.

-- 
Viktor.
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


[openssl-users] make test failed on HPUX parisc

2016-05-24 Thread Alexandre Klein
Hi,

I would like to build openssl 1.0.2h on my HPUX but it failed when running
the tests (v3nametest).

My machine: HPUX PARISC B11.11
B9007AAB.11.11.20 HP C/aC++ Developer's Bundle


I'm using "hpux-parisc2-cc". I modified Configure to use +DAportable:
"hpux-parisc2-cc","cc:+DAportable   +O3 ...
"hpux-parisc2-cc","cc:+DA2.0 +DS2.0 +O3 ...

$ ./Configure hpux-parisc2-cc --prefix=path/to/folder no-shared no-zlib
no-zlib-dynamic no-rc5 no-idea no-ec no-ecdh no-ecdsa no-asm no-mdc2 no-bf
no-cast no-md2 no-rc4 no-jpake no-gmp
$ make depend
$ make
$ make test

Then it is failing when running:
../util/shlib_wrap.sh ./v3nametest
set CN: host: [a] does not match [a]
set CN: host-no-wildcards: [a] does not match [a]
set CN: host: [b] does not match [b]
set CN: host-no-wildcards: [b] does not match [b]
...
set rfc822Name: email: [postmas...@example.com] does not match [
postmas...@example.com]
set rfc822Name: email: [postmas...@example.com] does not match [
postmas...@example.com]
set rfc822Name: email: [postmas...@example.com] does not match [
postmas...@example.com]
Makefile:347: recipe for target 'test_v3name' failed
make[1]: Leaving directory '/home/alex/workspace/openssl/temp/test'
Makefile:460: recipe for target 'tests' failed
make[1]: *** [test_v3name] Error 1
make: *** [tests] Error 2

As far as I remember, it was no problem when building 1.0.1f on this
machine.

Is there something that I am missing?

Please let me know if you would like to see the full log file (or some
parts).

Alex
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users