Re: grep-3.0-2 issues within Makefile

2017-05-29 Thread Daniel Fort
Wow, fantastic help on this list. > Most likely, $(READELF) is producing \r\n-terminated output. The > solution, then, is to rewrite the line to: > > $(READELF) $< -Ws | tr -d '\r' | $(AWK) ... > >> >> and what is the error ? > > Most likely, grep is not filtering as expected, because now that it

Re: grep-3.0-2 issues within Makefile

2017-05-29 Thread Brian Inglis
On 2017-05-29 05:44, Eric Blake wrote: > On 05/29/2017 06:39 AM, Eric Blake wrote: localsyms: libtcctmp.o @$(READELF) $< -Ws | $(AWK) "{print \$$8}" | sort | uniq \ >> Most likely, $(READELF) is producing \r\n-terminated output. > That said, WHAT is $(READELF) actually expanding to? I

Re: grep-3.0-2 issues within Makefile

2017-05-29 Thread Eric Blake
On 05/29/2017 06:39 AM, Eric Blake wrote: >>> localsyms: libtcctmp.o >>> @$(READELF) $< -Ws | $(AWK) "{print \$$8}" | sort | uniq \ > > Most likely, $(READELF) is producing \r\n-terminated output. That said, WHAT is $(READELF) actually expanding to? If it is the cygwin binutils version, it s

Re: grep-3.0-2 issues within Makefile

2017-05-29 Thread Eric Blake
On 05/29/2017 03:52 AM, Marco Atzeri wrote: > On 29/05/2017 08:34, Daniel Fort wrote: >> grep-3.0-2 binary will not function as expected when the -v option is >> used in a Makefile. > > Please note the last grep announcement > https://sourceware.org/ml/cygwin-announce/2017-02/msg00035.html > > an

Re: grep-3.0-2 issues within Makefile

2017-05-29 Thread Marco Atzeri
On 29/05/2017 08:34, Daniel Fort wrote: grep-3.0-2 binary will not function as expected when the -v option is used in a Makefile. Please note the last grep announcement https://sourceware.org/ml/cygwin-announce/2017-02/msg00035.html and the changes between text and binary mounts. Resolution

grep-3.0-2 issues within Makefile

2017-05-28 Thread Daniel Fort
grep-3.0-2 binary will not function as expected when the -v option is used in a Makefile. Resolution - downgrade to grep-3.0-1. When using Cygwin to build Magic Lantern users stated reporting a build errors on new Cygwin installs around November 2016. The resolution was to downgrade grep to the p