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

Re: linux-next: stackprotector tree build failure

From
SRStephen Rothwell <sfr@canb.auug.org.au>
Date
Oct 22, 2008, 08:27 UTC
Message-ID
<20081022192725.5f5de711.sfr@canb.auug.org.au>
In-Reply-To
<20081022072923.GC27637@elte.hu>
On Wed, 22 Oct 2008 09:29:23 +0200 Ingo Molnar <mingo@elte.hu> wrote:
Show 18 quoted lines
>
> I've Cc:-ed Junio and the Git list as a general FYI - but it must be 
> frustrating to get such a bugreport, because i have no reproducer.
> 
> git-rerere sometimes seems to be picking up the wrong resolution. VERY 
> rarely.
> 
> It seems random and content dependent. Once it happened to 
> arch/x86/kernel/traps_32.c and now to kernel/fork.c. Along the ~170 
> successful resolutions i have in my tree right now. And i do many 
> conflict resolutions every day - and it happened only once every 6 
> months or so.
> 
> (the arch/x86/kernel/traps_32.c one happened regularly, that's why i 
> thought it's content sha1 dependent, and not some corruption.)
> 
> Next time it happens i'll be on the watchout and will save the complete 
> tree.

I think rerere matches preimages on the SHA1 of the conflict (or its reverse), so sufficiently similar pieces of code will match. I would expect things like ext2/3/4 to be candidates. Did the traps_32.c one match one for traps_64.c?

I may be mistaken, but I once followed the code in rerere to try to figure out how to fix a resolution.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
Previous: Ingo MolnarNext: Stephen Rothwell
Message 2 of 6 in “Re: linux-next: stackprotector tree build failure”
  1. Ingo MolnarOct 22, 2008
  2. Stephen RothwellOct 22, 2008
  3. Stephen RothwellOct 22, 2008
  4. Ingo MolnarOct 22, 2008
  5. Johannes SchindelinOct 22, 2008
  6. Stephen RothwellOct 22, 2008

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.