Re: [openssl-dev] [openssl.org #4667] Issue with OpenSSL v1.1.0 on AIX with XLC and GCC and -O

2016-09-06 Thread REIX, Tony via RT
Hi Andy, Your patch DOES work fine with GCC 6.2.0 and -O, both for 32 & 64bits. It also works fine with XLC v12.1.0.14 and -O in 64bits (was OK in 32bits). Thanks for your help ! Regards, Tony Le 03/09/2016 00:42, Andy Polyakov via RT a écrit : - GCC 6.1.0 is: KO, 64 & 32 bits: # Failed tes

Re: [openssl-dev] [openssl.org #4667] Issue with OpenSSL v1.1.0 on AIX with XLC and GCC and -O

2016-09-02 Thread Andy Polyakov via RT
> - GCC 6.1.0 is: KO, 64 & 32 bits: > # Failed test 'running evp_test evptests.txt' > # at ../test/recipes/30-test_evp.t line 18. > # Looks like you failed 1 test of 1. > ../test/recipes/30-test_evp.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/1 subtests Phew! Myst

Re: [openssl-dev] [openssl.org #4667] Issue with OpenSSL v1.1.0 on AIX with XLC and GCC and -O

2016-09-01 Thread REIX, Tony via RT
On my AIX 7.1 machine, building/testing evp test of openssl 1.1.0 with: - GCC 4.8.5 is: OK, 64 & 32 bits: ../test/recipes/30-test_evp.t .. ok - GCC 5.4.0 is: OK, 64 & 32 bits: ../test/recipes/30-test_evp.t .. ok - GCC 6.1.0 is: KO, 64 & 32 bits: # Failed t

Re: [openssl-dev] [openssl.org #4667] Issue with OpenSSL v1.1.0 on AIX with XLC and GCC and -O

2016-09-01 Thread Andy Polyakov via RT
> About openssl built/tested on AIX 7.1 , I have an AIX 7.1 machine. > Would you mind saying me which compiler was used ? GCC I guess. Which version > ? The reason for why I said "I'll look at it a bit later today" is that accessing that system is problematic for me for this very moment. And sinc

Re: [openssl-dev] [openssl.org #4667] Issue with OpenSSL v1.1.0 on AIX with XLC and GCC and -O

2016-09-01 Thread REIX, Tony via RT
Hi Andy, We need bugs ! Without bugs, no more job !! ;) About openssl built/tested on AIX 7.1 , I have an AIX 7.1 machine. Would you mind saying me which compiler was used ? GCC I guess. Which version ? Thanks, Tony Le 01/09/2016 15:45, Andy Polyakov via RT a écrit : About the possible "li

Re: [openssl-dev] [openssl.org #4667] Issue with OpenSSL v1.1.0 on AIX with XLC and GCC and -O

2016-09-01 Thread Andy Polyakov via RT
> About the possible "linker quirk", the same linker is used also for version > 1.0.2h which runs perferctly. Yes, but 1.0.2 and 1.1 ppccap's are different. > Also, that does not explain why simply compiling ppccap.c only with -O0 makes > the issue to dispappear. Bugs seldom make sense. If the

Re: [openssl-dev] [openssl.org #4667] Issue with OpenSSL v1.1.0 on AIX with XLC and GCC and -O

2016-09-01 Thread REIX, Tony via RT
About the possible "linker quirk", the same linker is used also for version 1.0.2h which runs perferctly. Also, that does not explain why simply compiling ppccap.c only with -O0 makes the issue to dispappear. I also tried to repeat the failing test several times: failure is consistent. Here

Re: [openssl-dev] [openssl.org #4667] Issue with OpenSSL v1.1.0 on AIX with XLC and GCC and -O

2016-09-01 Thread Andy Polyakov via RT
> Results: > > > In short: > - no issue with v1.0.2h on both machines > - issue appears with: > - XLC -O but only for 64bits > - GCC -O for both 64bits and 32bits > - issue disappears when building ppccap.c with -O0 . > > So, I think that the probability that both XLC and GCC have

Re: [openssl-dev] [openssl.org #4667] Issue with OpenSSL v1.1.0 on AIX with XLC and GCC and -O

2016-09-01 Thread REIX, Tony via RT
Hi Richard, Here are more information. I'm using two AIX 6.1 machines. I built openssl 1.0.1* and 1.0.2* on first machine, compiled with GCC & -O . I moved to second machine for 1.1.0 . I have rebuilt/tested 1.0.2h , still with GCC & -O (same .spec file), on the second machine and I got the sam

[openssl-dev] [openssl.org #4667] Issue with OpenSSL v1.1.0 on AIX with XLC and GCC and -O

2016-08-31 Thread Richard Levitte via RT
Curious. The diverse flags for the aix config targets' information in 1.1.0 are exact copies from the 1.0.x series... The best way you can help out here is to show us the build command lines you got for building crypto/ppccap.o in both 1.1.0 and 1.0.2, so we can see what actually differs. Cheers,

[openssl-dev] [openssl.org #4667] Issue with OpenSSL v1.1.0 on AIX with XLC and GCC and -O

2016-08-31 Thread REIX, Tony via RT
Hi, I do ports of OpenSSL on AIX 6.1 for one year. I had no issue with 1.0.1* and 1.0.2* versions, compiled with XLC. With version 1.1.0, I am encountering an issue with -O, both with XLC and GCC . 30-test_evp.t fails because using -O when compiling crypto/ppccap.c generates something wrong.