Re: [openssl-dev] Build issue
Possibly. The original errors and hanging perl process have been replaced with an enormous number of "undefined reference" errors. For example: libssl.a(tls_srp.o):tls_srp.c:(.text+0xc4c): undefined reference to `BN_ucmp' libssl.a(tls_srp.o):tls_srp.c:(.text+0xd45): undefined reference to `OPENSSL_cleanse' libssl.a(tls_srp.o):tls_srp.c:(.text+0xd5f): undefined reference to `SRP_Calc_A' collect2.exe: error: ld returned 1 exit status I don't know enough about the build system to know whether the mkdef.pl change might be responsible for this, or whether this is a separate issue. To follow up on my previous post, the configure line was indeed "./config", and this is commit 1843787173. Any other data that I should collect? -Matt Stickney -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] Build issue
Could it be that this patch fixes the issue? diff --git a/util/mkdef.pl b/util/mkdef.pl index b3eb6b3d9d..1f214dbb8b 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -876,7 +876,7 @@ sub do_defs # Reduce argument lists to empty () # fold round brackets recursively: (t(*v)(t),t) -> (t{}{},t) -> {} while(/\(.*\)/s) { - s/\([^\(\)]+\)/\{\}/gs; + s/\([^\(\)]*\)/\{\}/gs; s/\(\s*\*\s*(\w+)\s*\{\}\s*\)/$1/gs;#(*f{}) -> f } # pretend as we didn't use curly braces: {} -> () In messageon Tue, 25 Jul 2017 15:18:35 -0400, Matthew Stickney said: mtstickney> I'm away from the machine in question right now, but: mtstickney> mtstickney> > Also, presumably the perl is the msys perl, but please confirm -- it must be "matching" in order for things to work. mtstickney> mtstickney> It's definitely the msys perl. I'll check the config line tonight, but mtstickney> I'm virtually certain that it was "./config" in it's entirety. mtstickney> mtstickney> > Can you state what OpenSSL version this is mtstickney> mtstickney> I'll get the commit hash tonight, but this was the tip of master as of mtstickney> about 9pm EDT last night, so I'd imagine that util/mkdef.pl in master mtstickney> still has whatever the issue is. mtstickney> mtstickney> -Matt Stickney mtstickney> mtstickney> On Tue, Jul 25, 2017 at 2:59 PM, Richard Levitte wrote: mtstickney> > In message
Re: [openssl-dev] Build issue
I'm away from the machine in question right now, but: > Also, presumably the perl is the msys perl, but please confirm -- it must be > "matching" in order for things to work. It's definitely the msys perl. I'll check the config line tonight, but I'm virtually certain that it was "./config" in it's entirety. > Can you state what OpenSSL version this is I'll get the commit hash tonight, but this was the tip of master as of about 9pm EDT last night, so I'd imagine that util/mkdef.pl in master still has whatever the issue is. -Matt Stickney On Tue, Jul 25, 2017 at 2:59 PM, Richard Levittewrote: > In message >
Re: [openssl-dev] Build issue
In message
Re: [openssl-dev] Build issue
On 07/25/2017 01:52 PM, Matthew Stickney wrote: > I've been trying to build OpenSSL to work on a new feature, but I've > had problems with the build hanging. I'm building on Windows 10 with > mingw-w64 under msys2; perl is v5.24, and I installed the > Text::Template module from CPAN. > You did not show the config line used, which is perhaps relevant. Also, presumably the perl is the msys perl, but please confirm -- it must be "matching" in order for things to work. -Ben -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
[openssl-dev] Build issue
I've been trying to build OpenSSL to work on a new feature, but I've had problems with the build hanging. I'm building on Windows 10 with mingw-w64 under msys2; perl is v5.24, and I installed the Text::Template module from CPAN. I'm not sure what's relevant, but the hang is definitely in a perl script of some sort, because there's a perl.exe process uses a constant chunk of CPU (I suspect this might be a busy-wait, but I don't know for sure). There are some odd errors before the hang; I've pasted the log below. Any ideas? I'm happy to provide more information if that's needed. -Matt Stickney make[2]: Entering directory '/c/Users/mts/Desktop/openssl' File include/openssl/ssl.h: cannot parse: ()())) #INFO::; File include/openssl/ssl.h: cannot parse: ()())) #INFO::DEPRECATEDIN_1_1_0; File include/openssl/ssl.h: cannot parse: () #INFO::; File include/openssl/ssl.h: cannot parse: () enum; File include/openssl/tls1.h: cannot parse: () #INFO::; File include/openssl/tls1.h: cannot parse: () #INFO::; File include/openssl/asn1.h: cannot parse: () #INFO::; File include/openssl/asn1.h: cannot parse: () #INFO::; File include/openssl/asn1.h: cannot parse: () #INFO::; File include/openssl/asn1.h: cannot parse: () #INFO::; File include/openssl/asn1.h: cannot parse: () #INFO::; File include/openssl/asn1.h: cannot parse: () #INFO::; File include/openssl/asn1.h: cannot parse: () #INFO::; File include/openssl/asn1.h: cannot parse: () #INFO::; File include/openssl/asn1.h: cannot parse: () #INFO::; File include/openssl/bio.h: cannot parse: ()()) #INFO::; File include/openssl/bio.h: cannot parse: ()()) #INFO::; File include/openssl/bio.h: cannot parse: ()()) #INFO::; File include/openssl/bio.h: cannot parse: ()()) #INFO::; File include/openssl/bio.h: cannot parse: ()()) #INFO::; File include/openssl/bio.h: cannot parse: ()()) #INFO::; File include/openssl/bio.h: cannot parse: BIO_CLOSE|BIO_FP_READ,()()) #INFO::; File include/openssl/bio.h: cannot parse: ()()) #INFO::; File include/openssl/cms.h: cannot parse: () #INFO::; <-- hang happens here --> make[2]: *** [Makefile.shared:260: link_shlib.mingw] Interrupt make[1]: *** [Makefile:655: libcrypto.dll.a] Interrupt make: *** [Makefile:136: all] Interrupt -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev