[PATCH] configure.ac: Avoid empty subexpression in grep

Alexey Neyman stilor@att.net
Thu Mar 9 16:16:00 GMT 2017


Hi all,

The test for "-z combreloc" fails when cross-compiling on a machine
that uses BSD grep (e.g. on macos). grep complains about empty
subexpression and exits with non-zero status, which is interpreted
by configure as "not found". As a result, support for "-z combreloc"
(HAVE_Z_COMBRELOC) is not detected, leading to link failure on SPARC.

Trivial patch attached.

Regards,
Alexey.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-combreloc-test-with-BSD-grep.patch
Type: text/x-patch
Size: 1715 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170309/3014651b/attachment.bin>


More information about the Libc-alpha mailing list