From: Phil Pennock <zsh-workers+phil.pennock@spodhuis.org>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: "Vadim A. Misbakh-Soloviov" <mva@mva.name>,
Zsh Users <zsh-users@zsh.org>
Subject: Re: zsh/pcre module breakage when static build enabled
Date: Mon, 26 Mar 2018 01:37:15 -0400 [thread overview]
Message-ID: <20180326053715.GA37203@tower.spodhuis.org> (raw)
In-Reply-To: <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
next prev parent reply other threads:[~2018-03-26 5:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-19 17:33 Vadim A. Misbakh-Soloviov
2018-03-19 23:42 ` Phil Pennock
2018-03-20 5:02 ` Vadim A. Misbakh-Soloviov
2018-03-20 5:16 ` Vadim A. Misbakh-Soloviov
2018-03-21 2:15 ` Phil Pennock
2018-03-25 6:04 ` Vadim A. Misbakh-Soloviov
2018-03-25 6:25 ` Vadim A. Misbakh-Soloviov
2018-03-25 19:50 ` Bart Schaefer
2018-03-26 2:53 ` Vadim A. Misbakh-Soloviov
2018-03-26 5:37 ` Phil Pennock [this message]
2018-03-26 8:16 ` Vadim A. Misbakh-Soloviov
2018-03-26 9:41 ` Vadim A. Misbakh-Soloviov
2018-03-19 18:13 Vadim A. Misbakh-Soloviov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180326053715.GA37203@tower.spodhuis.org \
--to=zsh-workers+phil.pennock@spodhuis.org \
--cc=mva@mva.name \
--cc=schaefer@brasslantern.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).