git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Built Git 2.27.0 from sources on macOS Catalina fails on "make profile"

From
Jeff King <peff@peff.net>
Date
Jul 1, 2020, 16:10 UTC
Message-ID
<20200701161018.GD6726@coredump.intra.peff.net>
In-Reply-To
<E9210645-66F4-4B76-BB26-C8282AE23B3D@gmail.com>
On Wed, Jul 01, 2020 at 06:00:49PM +0200, Fabio Frumento wrote:
> I get several messages like this
> 
> LLVM Profile Warning: Unable to track new values: Running out of static counters.  Consider using option -mllvm -vp-counters-per-site=<n> to allocate more value profile counters at compile time.

That could be related. I don't know enough about llvm's profiling to say. If it's just a warning and not terminating the process, that might be OK. But some of the tests check the stderr from Git. If the profiled binaries are producing extra messages, that could cause a problem (and it looks like t0410.15 that you posted does make sure stderr is empty, so this seems a likely culprit).

> I’ve checked the scripts in the t folder, they use #!/bin/sh while
> I’m using zsh could  it be of some relevance? Which shell are they
> supposed to be run?

They're generally run with whatever $SHELL_PATH is set by the Makefile knobs, which defaults to /bin/sh. The interactive shell you're using shouldn't be relevant.

-Peff
Previous: Fabio FrumentoNext: Fabio Frumento
Message 4 of 5 in “Built Git 2.27.0 from sources on macOS Catalina fails on "make profile"”
  1. Fabio FrumentoJul 1, 2020
  2. Jeff KingJul 1, 2020
  3. Fabio FrumentoJul 1, 2020
  4. Jeff KingJul 1, 2020
  5. Fabio FrumentoJul 1, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.