Re: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

2016-02-22 Thread Richard Levitte
In message <20160222180008.ga31...@calimero.vinschen.de> on Mon, 22 Feb 2016 
19:00:08 +0100, Corinna Vinschen  said:

vinschen> OTOH, is it much of a problem to apply the patches used for the Cygwin
vinschen> distro into the 1.0.2 branch so we can get rid of them entirely?  That
vinschen> would be extremly cool.  I attached them for your review.

I can at least look at them and make a judgement.

-- 
Richard Levitte levi...@openssl.org
OpenSSL Project http://www.openssl.org/~levitte/
-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

2016-02-22 Thread Corinna Vinschen
On Feb 22 18:43, Richard Levitte wrote:
> In message <20160222173404.gb11...@calimero.vinschen.de> on Mon, 22 Feb 2016 
> 18:34:04 +0100, Corinna Vinschen  said:
> 
> vinschen> On Feb 21 06:27, Richard Levitte via RT wrote:
> vinschen> > I believe that the auto-detecting script, ./config, is lacking 
> detection of
> vinschen> > architecture for Cygwin. Does one preferably recognise a x86_64 
> Cygwin from
> vinschen> > `uname -m` or is there something in `uname -s` that should be 
> used as an
> vinschen> > indicator?
> vinschen> 
> vinschen> Uh oh, is there a chance that the configury for 1.0.2 is NOT changed
> vinschen> anymore?  We have a set of local patches in the Cygwin distro which
> vinschen> works around the missing pieces in 1.0.2 in a certain way, and 
> changing
> vinschen> the 1.0.2 branch now would break the build scripts for the Cygwin 
> distro.
> 
> A patch that fixes ./config was merged to the 1.0.2 branch earlier
> today.  Commit 5c57fbb8ca991e8db7ce23174613898a27ca3fcb.  It's a
> backport of the corresponding patch in master.  It's a very small
> change, I'd be surprised if you can't edit that particular one from
> your scripts.

This one's no problem since the build script runs ./Configure directly.

> 1.0.2 is on long term support, see
> http://openssl.org/policies/releasestrat.html.  That means that
> reasonable fixes might very well go in.  Sorry if that becomes a
> bother.

It's not a bother per se, only changes in the build system are
potentially disruptive, that's why I really dread them for the branch.

OTOH, is it much of a problem to apply the patches used for the Cygwin
distro into the 1.0.2 branch so we can get rid of them entirely?  That
would be extremly cool.  I attached them for your review.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
--- origsrc/openssl-1.0.2a/Configure2015-03-19 16:08:33.952761607 +0100
+++ src/openssl-1.0.2a/Configure2015-03-19 16:14:46.061816093 +0100
@@ -588,8 +588,8 @@ my %table=(
 "UWIN", "cc:-DTERMIOS -DL_ENDIAN -O -Wall:::UWIN::BN_LLONG ${x86_gcc_des} 
${x86_gcc_opts}:${no_asm}:win32",
 
 # Cygwin
-"Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 
-Wall:::CYGWIN::BN_LLONG ${x86_gcc_des} 
${x86_gcc_opts}:${x86_asm}:coff:dlfcn:cygwin-shared:-D_WINDLL:-shared:.dll.a",
-"Cygwin-x86_64", "gcc:-DTERMIOS -DL_ENDIAN -O3 
-Wall:::CYGWIN::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT 
DES_UNROLL:${x86_64_asm}:mingw64:dlfcn:cygwin-shared:-D_WINDLL:-shared:.dll.a",
+"Cygwin", "gcc:\$(OPT_CFLAGS) -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 
-march=i686 -Wall:::CYGWIN::BN_LLONG ${x86_gcc_des} 
${x86_gcc_opts}:${x86_asm}:coff:dlfcn:cygwin-shared:-D_WINDLL:-shared:.dll.a",
+"Cygwin-x86_64", "gcc:\$(OPT_CFLAGS) -DTERMIOS -DL_ENDIAN -O3 
-Wall:::CYGWIN::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT 
DES_UNROLL:${x86_64_asm}:mingw64:dlfcn:cygwin-shared:-D_WINDLL:-shared:.dll.a",
 
 # NetWare from David Ward (dsw...@novell.com)
 # requires either MetroWerks NLM development tools, or gcc / nlmconv
--- origsrc/openssl-1.0.2a/Makefile.shared  2015-03-19 16:14:57.245727560 
+0100
+++ src/openssl-1.0.2a/Makefile.shared  2015-03-19 16:15:45.514345456 +0100
@@ -272,7 +272,7 @@ link_o.cygwin:
SHLIB_SOVER=${LIBVERSION:+"-$(LIBVERSION)"}; \
ALLSYMSFLAGS='-Wl,--whole-archive'; \
NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
-   SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared $$base $$deffile 
-Wl,-s,-Bsymbolic"; \
+   SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared $$base $$deffile 
-Wl,-Bsymbolic"; \
$(LINK_SO_O)
 #for mingw target if def-file is in use dll-name should match library-name
 link_a.cygwin:
@@ -297,7 +297,7 @@ link_a.cygwin:
extras="$$extras rc.o"; \
ALLSYMSFLAGS='-Wl,--whole-archive'; \
NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
-   SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared $$base 
-Wl,-s,-Bsymbolic -Wl,--out-implib,lib$(LIBNAME).dll.a $$extras"; \
+   SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared $$base -Wl,-Bsymbolic 
-Wl,--out-implib,lib$(LIBNAME).dll.a $$extras"; \
[ -f apps/$$dll_name ] && rm apps/$$dll_name; \
[ -f test/$$dll_name ] && rm test/$$dll_name; \
$(LINK_SO_A) || exit 1; \
diff -up openssl-1.0.2a/Configure.enginesdir openssl-1.0.2a/Configure
--- openssl-1.0.2a/Configure.enginesdir 2015-04-20 14:37:58.13739 +0200
+++ openssl-1.0.2a/Configure2015-04-20 14:37:58.140392292 +0200
@@ -702,6 +702,7 @@ my $idx_multilib = $idx++;
 my $prefix="";
 my $libdir="";
 my $openssldir="";
+my $enginesdir="";
 my $exe_ext="";
 my $install_prefix= "$ENV{'INSTALL_PREFIX'}";
 my $cross_compile_prefix="";
@@ -929,6 +930,10 @@ PROCESS_ARGS:
{
$openssldir=$1;
}
+   elsif (/^--enginesdir=(.*)$/)
+   {
+   $enginesdir=$1;

Re: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

2016-02-22 Thread Richard Levitte
In message <20160222173404.gb11...@calimero.vinschen.de> on Mon, 22 Feb 2016 
18:34:04 +0100, Corinna Vinschen  said:

vinschen> On Feb 21 06:27, Richard Levitte via RT wrote:
vinschen> > I believe that the auto-detecting script, ./config, is lacking 
detection of
vinschen> > architecture for Cygwin. Does one preferably recognise a x86_64 
Cygwin from
vinschen> > `uname -m` or is there something in `uname -s` that should be used 
as an
vinschen> > indicator?
vinschen> 
vinschen> Uh oh, is there a chance that the configury for 1.0.2 is NOT changed
vinschen> anymore?  We have a set of local patches in the Cygwin distro which
vinschen> works around the missing pieces in 1.0.2 in a certain way, and 
changing
vinschen> the 1.0.2 branch now would break the build scripts for the Cygwin 
distro.

A patch that fixes ./config was merged to the 1.0.2 branch earlier
today.  Commit 5c57fbb8ca991e8db7ce23174613898a27ca3fcb.  It's a
backport of the corresponding patch in master.  It's a very small
change, I'd be surprised if you can't edit that particular one from
your scripts.

1.0.2 is on long term support, see
http://openssl.org/policies/releasestrat.html.  That means that
reasonable fixes might very well go in.  Sorry if that becomes a
bother.

-- 
Richard Levitte levi...@openssl.org
OpenSSL Project http://www.openssl.org/~levitte/
-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

2016-02-22 Thread Corinna Vinschen
On Feb 21 06:27, Richard Levitte via RT wrote:
> I believe that the auto-detecting script, ./config, is lacking detection of
> architecture for Cygwin. Does one preferably recognise a x86_64 Cygwin from
> `uname -m` or is there something in `uname -s` that should be used as an
> indicator?

Uh oh, is there a chance that the configury for 1.0.2 is NOT changed
anymore?  We have a set of local patches in the Cygwin distro which
works around the missing pieces in 1.0.2 in a certain way, and changing
the 1.0.2 branch now would break the build scripts for the Cygwin distro.

I would very much prefer if people interested in OpenSSL 1.0.2 for Cygwin
would use the openssl-1.0.2 source archive, which cotains all patches
required for Cygwin, as well as the cygport build script to build openssl
exactly the same way as in the Cygwin distro.

Please let's not break that and stick to the master branch for the
build system changes.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat


signature.asc
Description: PGP signature
-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

2016-02-22 Thread Lee, Ju via RT
9e04edf2f309e7edc3f4c9a09d444b2fd23a1e46 fixed

-Original Message-
From: openssl-dev [mailto:openssl-dev-boun...@openssl.org] On Behalf Of Lee, Ju 
via RT
Sent: Monday, February 22, 2016 9:57 AM
To: noloa...@gmail.com
Cc: openssl-dev@openssl.org
Subject: Re: [openssl-dev] [openssl.org #4326] Failed to configure for 
Cygwin-x64

It failed to 'make test' at d784bcffa3dcd7ac4a0c77bfac4e686dcb771bd9 this 
morning.

Test Summary Report
---
../../openssl/test/recipes/70-test_sslcertstatus.t (Wstat: 28416 Tests: 0 
Failed: 0)
  Non-zero exit status: 111
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=68, Tests=386, 23 wallclock secs ( 0.41 usr  0.07 sys + 14.88 cusr  0.66 
csys = 16.02 CPU)
Result: FAIL
Failed 1/68 test programs. 0/386 subtests failed.
Makefile:118: recipe for target 'test' failed
make: *** [test] Error 255
user@washinro1:~/_openssl-build_linux-x86_64$

BTW, 'make test' passed like below. Somehow the make rule in test fails.

user@washinro1:~/openssl$ cat testlog
OpenSSL self-test report:

OpenSSL version:  1.1.0-pre4-dev
Last change:  Configuration change; it's now possible to build dynami...
Options:  -Wa,--noexecstack no-crypto-mdebug no-crypto-mdebug-backtrace 
no-ec_nistp_64_gcc_128 no-egd no-heartbeats no-md2 no-rc5 no-sctp no-shared 
no-ssl-trace no-static-engine no-unit-test no-zlib no-zlib-dynamic
OS (uname):   Linux washinro1 3.16.0-4-amd64 #1 SMP Debian 
3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
OS (config):  x86_64-whatever-linux2
Target (default): linux-x86_64
Target:   linux-x86_64
Compiler: Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' 
--with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs 
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.9 --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls 
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify 
--enable-plugin --with-system-zlib --disable-browser-plugin 
--enable-java-awt=gtk --enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home 
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
--enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64
  --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic 
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
--target=x86_64-linux-gnu Thread model: posix gcc version 4.9.2 (Debian 
4.9.2-10)

Test passed.
user@washinro1:~/openssl$

Ju


-Original Message-
From: openssl-dev [mailto:openssl-dev-boun...@openssl.org] On Behalf Of Richard 
Levitte via RT
Sent: Monday, February 22, 2016 8:49 AM
To: noloa...@gmail.com
Cc: openssl-dev@openssl.org
Subject: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

Sorry, wrong commit cited here, the correct one is 
5c57fbb8ca991e8db7ce23174613898a27ca3fcb

Vid Mon, 22 Feb 2016 kl. 14.46.52, skrev levitte:
> Issue fixed in commit e80381e1a3309f5d4a783bcaa508a90187a48882
>
> --
> Richard Levitte
> levi...@openssl.org


--
Richard Levitte
levi...@openssl.org

--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

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


--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

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


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

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


Re: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

2016-02-22 Thread Lee, Ju (Converged Systems)
9e04edf2f309e7edc3f4c9a09d444b2fd23a1e46 fixed

-Original Message-
From: openssl-dev [mailto:openssl-dev-boun...@openssl.org] On Behalf Of Lee, Ju 
via RT
Sent: Monday, February 22, 2016 9:57 AM
To: noloa...@gmail.com
Cc: openssl-dev@openssl.org
Subject: Re: [openssl-dev] [openssl.org #4326] Failed to configure for 
Cygwin-x64

It failed to 'make test' at d784bcffa3dcd7ac4a0c77bfac4e686dcb771bd9 this 
morning.

Test Summary Report
---
../../openssl/test/recipes/70-test_sslcertstatus.t (Wstat: 28416 Tests: 0 
Failed: 0)
  Non-zero exit status: 111
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=68, Tests=386, 23 wallclock secs ( 0.41 usr  0.07 sys + 14.88 cusr  0.66 
csys = 16.02 CPU)
Result: FAIL
Failed 1/68 test programs. 0/386 subtests failed.
Makefile:118: recipe for target 'test' failed
make: *** [test] Error 255
user@washinro1:~/_openssl-build_linux-x86_64$

BTW, 'make test' passed like below. Somehow the make rule in test fails.

user@washinro1:~/openssl$ cat testlog
OpenSSL self-test report:

OpenSSL version:  1.1.0-pre4-dev
Last change:  Configuration change; it's now possible to build dynami...
Options:  -Wa,--noexecstack no-crypto-mdebug no-crypto-mdebug-backtrace 
no-ec_nistp_64_gcc_128 no-egd no-heartbeats no-md2 no-rc5 no-sctp no-shared 
no-ssl-trace no-static-engine no-unit-test no-zlib no-zlib-dynamic
OS (uname):   Linux washinro1 3.16.0-4-amd64 #1 SMP Debian 
3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
OS (config):  x86_64-whatever-linux2
Target (default): linux-x86_64
Target:   linux-x86_64
Compiler: Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' 
--with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs 
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.9 --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls 
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify 
--enable-plugin --with-system-zlib --disable-browser-plugin 
--enable-java-awt=gtk --enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home 
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
--enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64
  --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic 
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
--target=x86_64-linux-gnu Thread model: posix gcc version 4.9.2 (Debian 
4.9.2-10)

Test passed.
user@washinro1:~/openssl$

Ju


-Original Message-
From: openssl-dev [mailto:openssl-dev-boun...@openssl.org] On Behalf Of Richard 
Levitte via RT
Sent: Monday, February 22, 2016 8:49 AM
To: noloa...@gmail.com
Cc: openssl-dev@openssl.org
Subject: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

Sorry, wrong commit cited here, the correct one is 
5c57fbb8ca991e8db7ce23174613898a27ca3fcb

Vid Mon, 22 Feb 2016 kl. 14.46.52, skrev levitte:
> Issue fixed in commit e80381e1a3309f5d4a783bcaa508a90187a48882
>
> --
> Richard Levitte
> levi...@openssl.org


--
Richard Levitte
levi...@openssl.org

--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

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


--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

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


Re: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

2016-02-22 Thread Lee, Ju via RT
It failed to 'make test' at d784bcffa3dcd7ac4a0c77bfac4e686dcb771bd9 this 
morning.

Test Summary Report
---
../../openssl/test/recipes/70-test_sslcertstatus.t (Wstat: 28416 Tests: 0 
Failed: 0)
  Non-zero exit status: 111
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=68, Tests=386, 23 wallclock secs ( 0.41 usr  0.07 sys + 14.88 cusr  0.66 
csys = 16.02 CPU)
Result: FAIL
Failed 1/68 test programs. 0/386 subtests failed.
Makefile:118: recipe for target 'test' failed
make: *** [test] Error 255
user@washinro1:~/_openssl-build_linux-x86_64$

BTW, 'make test' passed like below. Somehow the make rule in test fails.

user@washinro1:~/openssl$ cat testlog
OpenSSL self-test report:

OpenSSL version:  1.1.0-pre4-dev
Last change:  Configuration change; it's now possible to build dynami...
Options:  -Wa,--noexecstack no-crypto-mdebug no-crypto-mdebug-backtrace 
no-ec_nistp_64_gcc_128 no-egd no-heartbeats no-md2 no-rc5 no-sctp no-shared 
no-ssl-trace no-static-engine no-unit-test no-zlib no-zlib-dynamic
OS (uname):   Linux washinro1 3.16.0-4-amd64 #1 SMP Debian 
3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
OS (config):  x86_64-whatever-linux2
Target (default): linux-x86_64
Target:   linux-x86_64
Compiler: Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' 
--with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs 
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.9 --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls 
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify 
--enable-plugin --with-system-zlib --disable-browser-plugin 
--enable-java-awt=gtk --enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home 
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
--enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64
  --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic 
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)

Test passed.
user@washinro1:~/openssl$

Ju


-Original Message-
From: openssl-dev [mailto:openssl-dev-boun...@openssl.org] On Behalf Of Richard 
Levitte via RT
Sent: Monday, February 22, 2016 8:49 AM
To: noloa...@gmail.com
Cc: openssl-dev@openssl.org
Subject: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

Sorry, wrong commit cited here, the correct one is 
5c57fbb8ca991e8db7ce23174613898a27ca3fcb

Vid Mon, 22 Feb 2016 kl. 14.46.52, skrev levitte:
> Issue fixed in commit e80381e1a3309f5d4a783bcaa508a90187a48882
>
> --
> Richard Levitte
> levi...@openssl.org


--
Richard Levitte
levi...@openssl.org

--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

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


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

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


Re: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

2016-02-22 Thread Lee, Ju (Converged Systems)
It failed to 'make test' at d784bcffa3dcd7ac4a0c77bfac4e686dcb771bd9 this 
morning.

Test Summary Report
---
../../openssl/test/recipes/70-test_sslcertstatus.t (Wstat: 28416 Tests: 0 
Failed: 0)
  Non-zero exit status: 111
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=68, Tests=386, 23 wallclock secs ( 0.41 usr  0.07 sys + 14.88 cusr  0.66 
csys = 16.02 CPU)
Result: FAIL
Failed 1/68 test programs. 0/386 subtests failed.
Makefile:118: recipe for target 'test' failed
make: *** [test] Error 255
user@washinro1:~/_openssl-build_linux-x86_64$

BTW, 'make test' passed like below. Somehow the make rule in test fails.

user@washinro1:~/openssl$ cat testlog
OpenSSL self-test report:

OpenSSL version:  1.1.0-pre4-dev
Last change:  Configuration change; it's now possible to build dynami...
Options:  -Wa,--noexecstack no-crypto-mdebug no-crypto-mdebug-backtrace 
no-ec_nistp_64_gcc_128 no-egd no-heartbeats no-md2 no-rc5 no-sctp no-shared 
no-ssl-trace no-static-engine no-unit-test no-zlib no-zlib-dynamic
OS (uname):   Linux washinro1 3.16.0-4-amd64 #1 SMP Debian 
3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
OS (config):  x86_64-whatever-linux2
Target (default): linux-x86_64
Target:   linux-x86_64
Compiler: Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' 
--with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs 
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.9 --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls 
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify 
--enable-plugin --with-system-zlib --disable-browser-plugin 
--enable-java-awt=gtk --enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home 
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
--enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64
  --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic 
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)

Test passed.
user@washinro1:~/openssl$

Ju


-Original Message-
From: openssl-dev [mailto:openssl-dev-boun...@openssl.org] On Behalf Of Richard 
Levitte via RT
Sent: Monday, February 22, 2016 8:49 AM
To: noloa...@gmail.com
Cc: openssl-dev@openssl.org
Subject: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

Sorry, wrong commit cited here, the correct one is 
5c57fbb8ca991e8db7ce23174613898a27ca3fcb

Vid Mon, 22 Feb 2016 kl. 14.46.52, skrev levitte:
> Issue fixed in commit e80381e1a3309f5d4a783bcaa508a90187a48882
>
> --
> Richard Levitte
> levi...@openssl.org


--
Richard Levitte
levi...@openssl.org

--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

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


Re: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

2016-02-21 Thread noloa...@gmail.com via RT
On Sun, Feb 21, 2016 at 2:50 AM, Richard Levitte via RT  
wrote:
> Would you try the attached patch, please?
>

Looks good for both 1.0.2 and Master.

Its also nice to see CHACHA_ENC and POLY1305_OBJ in the list below.

=

openssl-git $ ./config
Operating system: x86_64-pc-cygwin
Configuring for Cygwin-x86_64
Configuring OpenSSL version 1.1.0-pre4-dev (0x0x1014L)
no-crypto-mdebug [default]  OPENSSL_NO_CRYPTO_MDEBUG (skip dir)
no-crypto-mdebug-backtrace [forced]
OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE (skip dir)
no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)
no-egd  [default]  OPENSSL_NO_EGD (skip dir)
no-heartbeats   [default]  OPENSSL_NO_HEARTBEATS (skip dir)
no-md2  [default]  OPENSSL_NO_MD2 (skip dir)
no-rc5  [default]  OPENSSL_NO_RC5 (skip dir)
no-sctp [default]  OPENSSL_NO_SCTP (skip dir)
no-shared   [default]
no-ssl-trace[default]  OPENSSL_NO_SSL_TRACE (skip dir)
no-static-engine [default]
no-unit-test[default]  OPENSSL_NO_UNIT_TEST (skip dir)
no-zlib [default]
no-zlib-dynamic [forced]
Configuring for Cygwin-x86_64
IsMK1MF   =no
CC=gcc
CFLAG =  -DTERMIOS -DL_ENDIAN -Wall -O3
DEFINES   =DSO_DLFCN HAVE_DLFCN_H OPENSSL_THREADS
OPENSSL_NO_STATIC_ENGINE OPENSSL_IA32_SSE2 OPENSSL_BN_ASM_MONT
OPENSSL_BN_ASM_MONT5 OPENSSL_BN_ASM_GF2m SHA1_ASM SHA256_ASM
SHA512_ASM MD5_ASM AES_ASM VPAES_ASM BSAES_ASM GHASH_ASM
ECP_NISTZ256_ASM POLY1305_ASM
LFLAG =
PLIB_LFLAG=
EX_LIBS   =
CPUID_OBJ =x86_64cpuid.o
BN_ASM=asm/x86_64-gcc.o x86_64-mont.o x86_64-mont5.o
x86_64-gf2m.o rsaz_exp.o rsaz-x86_64.o rsaz-avx2.o
EC_ASM=ecp_nistz256.o ecp_nistz256-x86_64.o
DES_ENC   =des_enc.o fcrypt_b.o
AES_ENC   =aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o
aesni-x86_64.o aesni-sha1-x86_64.o aesni-sha256-x86_64.o
aesni-mb-x86_64.o
BF_ENC=bf_enc.o
CAST_ENC  =c_enc.o
RC4_ENC   =rc4-x86_64.o rc4-md5-x86_64.o
RC5_ENC   =rc5_enc.o
MD5_OBJ_ASM   =md5-x86_64.o
SHA1_OBJ_ASM  =sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o
sha1-mb-x86_64.o sha256-mb-x86_64.o
RMD160_OBJ_ASM=
CMLL_ENC  =cmll-x86_64.o cmll_misc.o
MODES_OBJ =ghash-x86_64.o aesni-gcm-x86_64.o
PADLOCK_OBJ   =e_padlock-x86_64.o
CHACHA_ENC=chacha-x86_64.o
POLY1305_OBJ  =poly1305-x86_64.o
PROCESSOR =
RANLIB=/usr/bin/ranlib.exe
ARFLAGS   =
PERL  =/usr/bin/perl.exe
SIXTY_FOUR_BIT_LONG mode
Configured for Cygwin-x86_64.


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

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


Re: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

2016-02-21 Thread Jeffrey Walton
On Sun, Feb 21, 2016 at 2:50 AM, Richard Levitte via RT  
wrote:
> Would you try the attached patch, please?
>

Looks good for both 1.0.2 and Master.

Its also nice to see CHACHA_ENC and POLY1305_OBJ in the list below.

=

openssl-git $ ./config
Operating system: x86_64-pc-cygwin
Configuring for Cygwin-x86_64
Configuring OpenSSL version 1.1.0-pre4-dev (0x0x1014L)
no-crypto-mdebug [default]  OPENSSL_NO_CRYPTO_MDEBUG (skip dir)
no-crypto-mdebug-backtrace [forced]
OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE (skip dir)
no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)
no-egd  [default]  OPENSSL_NO_EGD (skip dir)
no-heartbeats   [default]  OPENSSL_NO_HEARTBEATS (skip dir)
no-md2  [default]  OPENSSL_NO_MD2 (skip dir)
no-rc5  [default]  OPENSSL_NO_RC5 (skip dir)
no-sctp [default]  OPENSSL_NO_SCTP (skip dir)
no-shared   [default]
no-ssl-trace[default]  OPENSSL_NO_SSL_TRACE (skip dir)
no-static-engine [default]
no-unit-test[default]  OPENSSL_NO_UNIT_TEST (skip dir)
no-zlib [default]
no-zlib-dynamic [forced]
Configuring for Cygwin-x86_64
IsMK1MF   =no
CC=gcc
CFLAG =  -DTERMIOS -DL_ENDIAN -Wall -O3
DEFINES   =DSO_DLFCN HAVE_DLFCN_H OPENSSL_THREADS
OPENSSL_NO_STATIC_ENGINE OPENSSL_IA32_SSE2 OPENSSL_BN_ASM_MONT
OPENSSL_BN_ASM_MONT5 OPENSSL_BN_ASM_GF2m SHA1_ASM SHA256_ASM
SHA512_ASM MD5_ASM AES_ASM VPAES_ASM BSAES_ASM GHASH_ASM
ECP_NISTZ256_ASM POLY1305_ASM
LFLAG =
PLIB_LFLAG=
EX_LIBS   =
CPUID_OBJ =x86_64cpuid.o
BN_ASM=asm/x86_64-gcc.o x86_64-mont.o x86_64-mont5.o
x86_64-gf2m.o rsaz_exp.o rsaz-x86_64.o rsaz-avx2.o
EC_ASM=ecp_nistz256.o ecp_nistz256-x86_64.o
DES_ENC   =des_enc.o fcrypt_b.o
AES_ENC   =aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o
aesni-x86_64.o aesni-sha1-x86_64.o aesni-sha256-x86_64.o
aesni-mb-x86_64.o
BF_ENC=bf_enc.o
CAST_ENC  =c_enc.o
RC4_ENC   =rc4-x86_64.o rc4-md5-x86_64.o
RC5_ENC   =rc5_enc.o
MD5_OBJ_ASM   =md5-x86_64.o
SHA1_OBJ_ASM  =sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o
sha1-mb-x86_64.o sha256-mb-x86_64.o
RMD160_OBJ_ASM=
CMLL_ENC  =cmll-x86_64.o cmll_misc.o
MODES_OBJ =ghash-x86_64.o aesni-gcm-x86_64.o
PADLOCK_OBJ   =e_padlock-x86_64.o
CHACHA_ENC=chacha-x86_64.o
POLY1305_OBJ  =poly1305-x86_64.o
PROCESSOR =
RANLIB=/usr/bin/ranlib.exe
ARFLAGS   =
PERL  =/usr/bin/perl.exe
SIXTY_FOUR_BIT_LONG mode
Configured for Cygwin-x86_64.
-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

2016-02-20 Thread noloa...@gmail.com via RT
> I believe that the auto-detecting script, ./config, is lacking detection of
> architecture for Cygwin. Does one preferably recognise a x86_64 Cygwin from
> `uname -m` or is there something in `uname -s` that should be used as an
> indicator?

Yes, that seems to be the issue at hand for OpenSSL 1.0.2. Using the
following works:

  $ export KERNEL_BITS=64
  $ ./Configure Cygwin-x86_64 ...

KERNEL_BITS=64 may not be needed. Its old habit for OS X, where config
wants to select 32-bit builds for modern 64-bit machines.

Uname (for x86_64 installation):

  $ uname -m
  x86_64

  $ uname -a
  CYGWIN_NT-6.3 asus-windows8 2.4.1(0.293/5/3)
2016-01-24 11:26 x86_64 Cygwin

  $ uname -s
  CYGWIN_NT-6.3

You can also go to the preprocessor, if interested (for x86_64 installation):

  $ cpp -dM - http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

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


Re: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

2016-02-20 Thread Jeffrey Walton
> I believe that the auto-detecting script, ./config, is lacking detection of
> architecture for Cygwin. Does one preferably recognise a x86_64 Cygwin from
> `uname -m` or is there something in `uname -s` that should be used as an
> indicator?

Yes, that seems to be the issue at hand for OpenSSL 1.0.2. Using the
following works:

  $ export KERNEL_BITS=64
  $ ./Configure Cygwin-x86_64 ...

KERNEL_BITS=64 may not be needed. Its old habit for OS X, where config
wants to select 32-bit builds for modern 64-bit machines.

Uname (for x86_64 installation):

  $ uname -m
  x86_64

  $ uname -a
  CYGWIN_NT-6.3 asus-windows8 2.4.1(0.293/5/3)
2016-01-24 11:26 x86_64 Cygwin

  $ uname -s
  CYGWIN_NT-6.3

You can also go to the preprocessor, if interested (for x86_64 installation):

  $ cpp -dM - https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

2016-02-20 Thread noloa...@gmail.com via RT
On Sun, Feb 21, 2016 at 1:27 AM, Richard Levitte via RT  
wrote:
> I believe that the auto-detecting script, ./config, is lacking detection of
> architecture for Cygwin. Does one preferably recognise a x86_64 Cygwin from
> `uname -m` or is there something in `uname -s` that should be used as an
> indicator?

Yes, that seems to be the issue at hand for OpenSSL 1.0.2. Using the
following works:

  $ export KERNEL_BITS=64
  $ ./Configure Cygwin-x86_64 ...

KERNEL_BITS=64 may not be needed. Its old habit for OS X, where config
wants to select 32-bit builds for modern 64-bit machines.

Uname (for x86_64 installation):

  $ uname -m
  x86_64

  $ uname -a
  CYGWIN_NT-6.3 asus-windows8 2.4.1(0.293/5/3)
2016-01-24 11:26 x86_64 Cygwin

  $ uname -s
  CYGWIN_NT-6.3

You can also go to the preprocessor, if interested (for x86_64 installation):

  $ cpp -dM - http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

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