This is the mail archive of the
cygwin
mailing list for the Cygwin project.
grep-3.0-2 issues within Makefile
- From: Daniel Fort <dan at digiola dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 28 May 2017 23:34:36 -0700
- Subject: grep-3.0-2 issues within Makefile
- Authentication-results: sourceware.org; auth=none
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 previous version.
The discussion and instructions on how to prepare Cygwin to compile
Magic Lantern are in this forum topic:
http://www.magiclantern.fm/forum/index.php?topic=15894.msg154435#msg154435
Using a Cygwin install that includes the default grep-3.0-1 will
result in errors when running the follow Makefile code:
localsyms: libtcctmp.o
@$(READELF) $< -Ws | $(AWK) "{print \$$8}" | sort | uniq \
| grep -v "^tcc_new$$" \
| grep -v "^tcc_delete$$" \
| grep -v "^tcc_add_file$$" \
| grep -v "^tcc_relocate$$" \
| grep -v "^tcc_get_symbol$$" \
| grep -v "^tcc_add_symbol$$" \
| grep -v "^tcc_set_options$$" \
| grep -v "^tcc_load_offline_section$$" \
> $@
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple