Re: [openssl-dev] OpenSSL-1.1 make depend

2016-01-21 Thread Erik Forsberg
No, same thing happens here too >-- Original Message -- > >Hmm, something is wrong with this new approach (or just on my machine?) >Several targets have been removed from Makefile and hence broke it: > >--- crypto/Makefile- Thu Jan 21 08:48:08 2016 >+++ crypto/MakefileThu Jan 21 08:48:14 201

Re: [openssl-dev] OpenSSL-1.1 make depend

2016-01-21 Thread Salz, Rich
Yes the script is wrong. Thanks for trying. Working on a real fix :( ___ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Re: [openssl-dev] OpenSSL-1.1 make depend

2016-01-21 Thread Claus Assmann
Hmm, something is wrong with this new approach (or just on my machine?) Several targets have been removed from Makefile and hence broke it: --- crypto/Makefile-Thu Jan 21 08:48:08 2016 +++ crypto/Makefile Thu Jan 21 08:48:14 2016 @@ -1,4 +1,3 @@ -# Generated from Makefile.in, do not edit

Re: [openssl-dev] OpenSSL-1.1 make depend

2016-01-21 Thread Claus Assmann
On Thu, Jan 21, 2016, Salz, Rich wrote: > Try this patch do util/domd ... > else > ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND $@ && \ > -${PERL} $TOP/util/clean-depend.pl < Makefile > Makefile.new > +sed -e 's# /\(\\.\|[^ ]\)*##g' -e '/: *$/d' -e '/^\(#.*\| *\)$/d' \ > +>Makef

Re: [openssl-dev] OpenSSL-1.1 make depend

2016-01-21 Thread Salz, Rich
Try this patch do util/domd ; g diff util/domd diff --git a/util/domd b/util/domd index 16de5c7..f0532ad 100755 --- a/util/domd +++ b/util/domd @@ -26,12 +26,13 @@ if ${MAKEDEPEND} --version 2>&1 | grep "clang" > /dev/null || sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp ec

Re: [openssl-dev] OpenSSL-1.1 make depend

2016-01-21 Thread Salz, Rich
> In case its not clear, the difference in the input to clean-depend.pl is that > when using Solaris cc, /usr/openwin/bin/makedepend is used instead of gcc Yup, got it. Thanks. ___ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailma

Re: [openssl-dev] OpenSSL-1.1 make depend

2016-01-21 Thread Richard Levitte
Actually, we can now throw away clean-depend.pl and make a much simpler variant. Its intent was to make sure that the list of dependencies would look the same for everyone, regardless of program used, to avoid commit wars. That isn't necessary any more. Something like this should suffice sed -e

Re: [openssl-dev] OpenSSL-1.1 make depend

2016-01-20 Thread Viktor Dukhovni
> On Jan 21, 2016, at 2:45 AM, Erik Forsberg wrote: > > In case its not clear, the difference in the input to clean-depend.pl > is that when using Solaris cc, /usr/openwin/bin/makedepend is used > instead of gcc -M > > Still, considering that, the problem is elsewhere, as I tried > various styl

Re: [openssl-dev] OpenSSL-1.1 make depend

2016-01-20 Thread Erik Forsberg
In case its not clear, the difference in the input to clean-depend.pl is that when using Solaris cc, /usr/openwin/bin/makedepend is used instead of gcc -M Still, considering that, the problem is elsewhere, as I tried various styles of input and could not see any correlation >-- Original Message

Re: [openssl-dev] OpenSSL-1.1 make depend

2016-01-20 Thread Erik Forsberg
No, doesnt help. Still no valid dependencies. The warnings can of course be silenced by inserting a no warnings "uninitialized"; but that doesnt fix the absence if valid dependencies in the generated Makefile >-- Original Message -- > > >> Just a confirmation that this isn't specific to that set

Re: [openssl-dev] OpenSSL-1.1 make depend

2016-01-20 Thread Salz, Rich
> Not for me: Oh well. That script has way too much perl magic in it for me to try more. :( ___ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Re: [openssl-dev] OpenSSL-1.1 make depend

2016-01-20 Thread Claus Assmann
On Thu, Jan 21, 2016, Salz, Rich wrote: > --- a/util/clean-depend.pl > -while() { > -my ($dummy, $file,$deps)=/^((.*):)? (.*)$/; > +while(my $line = ) { > +while ($line =~ /\\$/) { chop($line); chop($line); $line .= ; } > +my ($dummy, $file,$deps)=$line =~ m/^((.*):)? (.*)$/; Not for

Re: [openssl-dev] OpenSSL-1.1 make depend

2016-01-20 Thread Salz, Rich
> Just a confirmation that this isn't specific to that setup: > the same happens on OpenBSD (e.g., 5.3) with gcc. Does something like this fix it? ; g diff util/clean-depend.pl diff --git a/util/clean-depend.pl b/util/clean-depend.pl index f29192f..1ace994 100755 --- a/util/clean-depend.pl +++

Re: [openssl-dev] OpenSSL-1.1 make depend

2016-01-20 Thread Claus Assmann
On Wed, Jan 20, 2016, Erik Forsberg wrote: > seems util/clean-depend.pl is now broken if using Solaris cc compiler. Just a confirmation that this isn't specific to that setup: the same happens on OpenBSD (e.g., 5.3) with gcc. > I get gazillions of 'Use of uninitialized variable in ' when run

[openssl-dev] OpenSSL-1.1 make depend

2016-01-20 Thread Erik Forsberg
seems util/clean-depend.pl is now broken if using Solaris cc compiler. Looks like its working if gcc is used, the difference seems to be that if gcc is used the input to clean-depend.pl looks like object.o: dep1.h dep2.h \ dep3.h dep4.h if Solaris cc is used it looks like object.o: dep1.h obje