Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh/pcre module breakage when static build enabled
- X-seq: zsh-users 23281
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: zsh/pcre module breakage when static build enabled
- Date: Mon, 26 Mar 2018 01:37:15 -0400
- Cc: "Vadim A. Misbakh-Soloviov" <mva@xxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- 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;
- In-reply-to: <CAH+w=7Y6E5r4W9VdermWM8pEVtR45POLbGvNCMq-JfAsb2OyZQ@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Openpgp: url=https://www.security.spodhuis.org/PGP/keys/0x4D1E900E14C1CC04.asc
- References: <3073701.qdQlh9y6XZ@note> <20180321021551.GA5797@tower.spodhuis.org> <1773846.yRQG0ivYf1@note> <29268448.1ttGRCcLCz@note> <CAH+w=7Y6E5r4W9VdermWM8pEVtR45POLbGvNCMq-JfAsb2OyZQ@mail.gmail.com>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author