From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10581 invoked by alias); 26 Mar 2018 05:55:12 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23281 Received: (qmail 2057 invoked by uid 1010); 26 Mar 2018 05:55:11 -0000 X-Qmail-Scanner-Diagnostics: from mx.spodhuis.org by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(94.142.241.89):SA:0(-4.2/5.0):. Processed in 2.619723 secs); 26 Mar 2018 05:55:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: zsh-workers+phil.pennock@spodhuis.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d201802; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Kb12SynDvUe7w/k+Cds0ZY4P4rZCHN3n2YCHExm/tD4=; b=phub3MdaP1cBB2GkS+Jpaz8H1o dw9eO79KuOAYjbw0otdmeUpdyucYFSHBcZbHQz0hiIaHRqSGBIjLKD93o3p+8aOpP87aC5MQSfbeg BmU2dwCkDwVS8If6qXroKFNyVmb7XcvXSVlDwO6PmSFcgb+culp+gMR1cHmdf0qsCBIFEIaAiLeW5 +n66N0EaT9V1LnJvanphaitPbPko; Date: Mon, 26 Mar 2018 01:37:15 -0400 From: Phil Pennock To: Bart Schaefer Cc: "Vadim A. Misbakh-Soloviov" , Zsh Users Subject: Re: zsh/pcre module breakage when static build enabled Message-ID: <20180326053715.GA37203@tower.spodhuis.org> References: <3073701.qdQlh9y6XZ@note> <20180321021551.GA5797@tower.spodhuis.org> <1773846.yRQG0ivYf1@note> <29268448.1ttGRCcLCz@note> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: OpenPGP: url=https://www.security.spodhuis.org/PGP/keys/0x4D1E900E14C1CC04.asc On 2018-03-25 at 12:50 -0700, Bart Schaefer wrote: > Why is pcre linking to this? If pcre is actually starting threads, > there may be unexpected side-effects. With PCRE1, it means that the JIT was enabled, and that requires threads. With PCRE2, I'm less sure. > At the very least we'd need an additional configure test to detect > this pcre dependency. The PCRE ChangeLog includes: -------------------------8< PCRE1 ChangeLog >8-------------------------- Version 8.37 28-April-2015 -------------------------- [ ... ] 40. Static linking against the PCRE library using the pkg-config module was failing on missing pthread symbols. -------------------------8< PCRE1 ChangeLog >8-------------------------- The same ChangeLog text is in PCRE2 as item 25 for version 10.20 released 30-June-2015. Vadim has `pcre-config --version` reporting 8.42 though. Perhaps a regression, perhaps a system mismatch between libraries and tools. Regardless, all the relevant errors from Vadim's post are in compiling JIT stuff, which we're not using. So it's bloat for unused functionality but shouldn't be affecting our operation. -Phil