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
FFFabio Frumento <frumento.fabio@gmail.com>
Date
Jul 1, 2020, 16:14 UTC
Message-ID
<C72555F0-4CAE-4488-B32E-FD06D1204935@gmail.com>
In-Reply-To
<20200701161018.GD6726@coredump.intra.peff.net>
You got it!

++ test_must_be_empty err ++ test_path_is_file err ++ test -f err ++ test -s err ++ echo ''\''err'\'' is not empty, it contains:' 'err' is not empty, it contains: ++ cat err 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. 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. 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. ++ return 1 error: last command exited with $?=1 not ok 5 - pretend we have a fully passing test suite

Ok now I know I have to solve the LLVM generating this issue.
Thanks a lot
Fabio
Show 24 quoted lines
> Il giorno 1 lug 2020, alle ore 18:10, Jeff King <peff@peff.net> ha scritto:
> 
> 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: Jeff King
Message 5 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.