git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Gerhard Grimm <gerhard.grimm@detec.com>
Cc: git@vger.kernel.org
Subject: Re: Problems with git 1.8.5.3 on HP-UX 11.11
Date: Fri, 28 Mar 2014 15:01:56 -0400	[thread overview]
Message-ID: <20140328190156.GA30739@sigill.intra.peff.net> (raw)
In-Reply-To: <8FDD21D28EC16844948E2A773083574A03363EBC@m4ukex08.intranet.macro4.com>

On Fri, Mar 28, 2014 at 11:09:14AM -0000, Gerhard Grimm wrote:

> So I examined the git source package and found that the author of the
> HP-UX port forgot to set
> 
> PTHREAD_CFLAGS=-mt
> 
> in config.mak.autogen to enable threading.

You probably want to place such manual settings in config.mak. If you
use the "./configure" script, it will overwrite config.mak.autogen.

> git submodule init
> 
> fails with the output
> 
>     Assertion failed: err == REG_ESPACE, file compat/regex/regexec.c, line 1096
>     No submodule mapping found in .gitmodules for path 'module'
> 
> and the stacktrace of the resulting core dump is
> 
> #0  0xc020ced0 in kill+0x10 () from /usr/lib/libc.2
> #1  0xc01a7f84 in raise+0x24 () from /usr/lib/libc.2
> #2  0xc01e9308 in abort_C+0x160 () from /usr/lib/libc.2
> #3  0xc01e9364 in abort+0x1c () from /usr/lib/libc.2
> #4  0xc0176998 in _assert+0x178 () from /usr/lib/libc.2
> #5  0x205fa0 in check_matching+0x290 ()
> #6  0x2053b8 in re_search_internal+0x128 ()
> #7  0x204ac0 in regexec+0xc8 ()
> #8  0x4da40 in collect_config+0x60 ()
> #9  0x108b30 in get_value+0xd8 ()
> [...]

The regexes we use here are not particularly complicated. So either
there is a bug (but nobody else has reported anything on any other
platform) or your system regex library has some problem with what we are
feeding it. The simplest solution may be to compile with:

  NO_REGEX=YesPlease

which will build and use the glibc implementation in compat/regex
instead.

-Peff

  parent reply	other threads:[~2014-03-28 19:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9D24AD27564FAE4CB8D0C15D080DEFCB0106A89226@m4ukex08.intranet.macro4.com>
2014-03-28 11:09 ` Problems with git 1.8.5.3 on HP-UX 11.11 Gerhard Grimm
2014-03-28 11:48   ` Thomas Ackermann
2014-03-28 19:01   ` Jeff King [this message]
2014-03-28 19:43     ` Eric Sunshine
2014-03-28 20:02       ` Jeff King

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=20140328190156.GA30739@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=gerhard.grimm@detec.com \
    --cc=git@vger.kernel.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.
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).