I sent the following report/fix to [email protected] (following the comment
in the script being patched) and got a response indicating I probably
should have sent it to [email protected].

I was attempting to do a build of OpenSSL 1.0.2e under 64-bit Cygwin.  The
attachment is a context diff for the build script 'config' that enables
such a build to succeed.

---------- Forwarded message ----------
From: S. Robert Elman <[email protected]>
Date: Wed, Dec 23, 2015 at 4:02 PM
Subject: OpenSSL build for 64-bit Cygwin using "config" script
To: [email protected]
Cc: [email protected]
​

To do a 64-bit Cygwin build of OpenSSL using the 'config' script, we need
to add an appropriate line.  Here's a context diff showing the fix as an
addition:

*** 853,856 ****
--- 853,857 ----
    mips-sony-newsos4) OUT="newsos4-gcc" ;;
    *-*-cygwin_pre1.3) OUT="Cygwin-pre1.3" ;;
+   x86_64-*-cygwin) OUT="Cygwin-x86_64" ;;
    *-*-cygwin) OUT="Cygwin" ;;
    t3e-cray-unicosmk) OUT="cray-t3e" ;;

Without this fix, it tries to do a "Cygwin", i.e., 32-bit, build in which
gcc complains that the -march=i486 option is incompatible with a 64-bit
build.  The build works fine with this one-line addition to file config.

Bob Elman
Principal Engineer
Elcadom, Ltd.

*** 853,856 ****
--- 853,857 ----
    mips-sony-newsos4) OUT="newsos4-gcc" ;;
    *-*-cygwin_pre1.3) OUT="Cygwin-pre1.3" ;;
+   x86_64-*-cygwin) OUT="Cygwin-x86_64" ;;
    *-*-cygwin) OUT="Cygwin" ;;
    t3e-cray-unicosmk) OUT="cray-t3e" ;;
_______________________________________________
openssl-bugs-mod mailing list
[email protected]
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to