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

Re: Re: Re: Re: Segmentation fault with latest git (070c57df)

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Feb 1, 2013, 22:38 UTC
Message-ID
<20130201223851.GH12368@google.com>
In-Reply-To
<27376267.797831359716377823.JavaMail.weblogic@epml01>
Jongman Heo wrote:
>> But it doesn't stimulate any prerequisites in make, which is weird.
>> What's in builtin/.depend/fetch.o.d?
[...]
> please see below~.
>
> $ cat builtin/.depend/fetch.o.d            
> fetch.o: builtin/fetch.c cache.h git-compat-util.h compat/bswap.h \
That's the problem.  See the following thread:
  http://thread.gmane.org/gmane.comp.version-control.git/185625/focus=185680

Currently when COMPUTE_HEADER_DEPENDENCIES=auto git tests for dependency generation support by checking the output and exit status from the following command:

	$(CC) $(ALL_CFLAGS) -c -MF /dev/null -MMD -MP \
		-x c /dev/null -o /dev/null 2>&1

Perhaps this can be improved? Even something as simple as a ccache version test could presumably help a lot.

Hope that helps, Jonathan

Previous: Jongman HeoNext: Jonathan Nieder
Message 2 of 4 in “Re: Re: Re: Re: Segmentation fault with latest git (070c57df)”
  1. Jongman HeoFeb 1, 2013
  2. Jonathan NiederFeb 1, 2013
  3. Makefile: explicitly set target name for autogenerated dependenciesJonathan Nieder, Feb 1, 2013
  4. Jeff KingFeb 2, 2013

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.