From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id C8DF33858416 for ; Fri, 17 Mar 2023 00:50:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C8DF33858416 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTP id ct6mpIu0ruZMScyJ1p2IJk; Fri, 17 Mar 2023 00:50:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1679014251; bh=qbwqlfvVDTWebTFfIODXv3eJI00rU3ukKjvPp50pcTk=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To; b=fYD9086r+N/BnAU68ETxkA7Px3zBhCVgTvmaiH6nsuabkjqqUzEtYWcJyJAPOxSkW z9axYljYg1diu+/bpc6shjOJyV5jOpL/KvJgAd797rgZ6E7ftUUc34w95bLNajDyd6 kUwpvZSsc7NxklIyH6RBGUANnAPLcZpGxhofERqgdRDvXJVKAH14ORTQ2wK9lYEJ/0 43eibFfxVjS5l5tGDcOfuqukZ3Dr3+jMhcOoFgxoo0PnTFY0FY/uaER8kQPhpR4f1S aZkxQF9ujlEUhHPP4xG5adEyGZnv3+V7qUMGy0CaBmPauhrzStVo2wfWFEEiCXFIYA nbELFsIr0gc+Q== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id cyJ0pjUOo3fOScyJ0ph1If; Fri, 17 Mar 2023 00:50:51 +0000 X-Authority-Analysis: v=2.4 cv=J8G5USrS c=1 sm=1 tr=0 ts=6413b96b a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=yuJ0Uhft01uisukBEcoA:9 a=QEXdDO2ut3YA:10 Message-ID: <3ad3d9ce-3569-91f9-7f80-0d3fc8fbe237@Shaw.ca> Date: Thu, 16 Mar 2023 18:50:50 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Reply-To: cygwin-apps@cygwin.com Subject: Re: grep rebuild? Content-Language: en-CA To: cygwin-apps@cygwin.com References: From: Brian Inglis Organization: Inglis In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfPQmU4F4ulPhGa/h4LTGGERRSHiyKRh33oEIJKQ9IaDQf56pViOINVp7p0NEiTCOBfkJ7LsQLElu5A5H4ljwIxg91ULSjLgZxKmqC5Tg6/Z9SnIpFQTd sq5vbj8o/KdzvK3Q8XhaPqK951Q6lAVuxREFU20JR1277/R4nYcmGmIFAQNKtAAC4AvORZdiyd+5Fw== X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-03-16 10:50, Brian Inglis via Cygwin-apps wrote: > On 2023-03-16 06:08, Corinna Vinschen via Cygwin-apps wrote: >> Hi Brian, >> >> there's a problem with the grep package.  It uses the internally >> provided GNULIB regex library. >> >> Unfortunately, that's the default if the system doesn't provide a more >> recent GLibc.  Which we'll never do.  The problem is this: Native >> language support in GNULIB's regex is *only* available, if it's built as >> part of GLibc. >> >> I'd like to ask you to rebuild grep 3.9 with the >> --without-included-regex option. >> >> That will allow grep to use Cygwin's own regex, which already comes with >> basic native language support, and which I'm working on to sbetter >> support equivalence class and collation symbol expressions. > > Hi Corinna, > > We discussed this and I was going to release grep 3.8 test release 3, for > testing with snapshots or when Cygwin 3.5.0 is released, then grep 3.9 came out, > and I realized grep is updated every few months, so that went on the back > burner. I can do a test release for 3.9-2 with that configuration change. > > The current release passes all the class tests and works for me and Andrey. > Are there any other implications of language support affecting grep? Config option --without-included-regex no longer seems to build with grep 3.9 on Cygwin - may require glibc regex - or may now autoconfig depending on [g]libc? /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: dfasearch.o: in function `regex_compile': /usr/src/debug/grep-3.9-2/src/dfasearch.c:159: undefined reference to `re_set_syntax' /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/grep-3.9-2/src/dfasearch.c:163: undefined reference to `re_compile_pattern' /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/grep-3.9-2/src/dfasearch.c:161: undefined reference to `re_set_syntax' /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/grep-3.9-2/src/dfasearch.c:163: undefined reference to `re_compile_pattern' /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: dfasearch.o: in function `EGexecute': /usr/src/debug/grep-3.9-2/src/dfasearch.c:555: undefined reference to `re_search' /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/grep-3.9-2/src/dfasearch.c:502: undefined reference to `re_search' /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/grep-3.9-2/src/dfasearch.c:540: undefined reference to `re_match' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:1834: grep.exe] Error 1 -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry