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

Re: [PATCH] Fix linking for not-so-clever linkers.

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 10, 2006, 23:01 UTC
Message-ID
<Pine.LNX.4.63.0607110059020.29667@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7v64i5b1am.fsf@assigned-by-dhcp.cox.net>
Hi,
On Mon, 10 Jul 2006, Junio C Hamano wrote:
Show 9 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 
> > On one of my systems, the linker is not intelligent enough to link with
> > pager.o (in libgit.a) when only the variable pager_in_use is needed. The
> > consequence is that the linker complains about an undefined
> > variable.
> 
> I do not understand this quite yet -- which executable is your
> linker building when it does this?

The problem arises for the first time with git-blame. (Have not checked which other executables might be affected.)

> Maybe we need ranlib?

Does not help. pager.o is in libgit.a. Still, Darwin's linker does not want to link to pager.o (probably because no function from pager.o is called, so this is a real bug in the Darwin linker -- but being easy to fix, I think it is worthwhile to fix it).

Ciao, Dscho

Previous: Junio C Hamano
Message 5 of 5 in “Fix linking for not-so-clever linkers.”
  1. Fix linking for not-so-clever linkers.Johannes Schindelin, Jul 10, 2006
  2. Junio C HamanoJul 10, 2006
  3. Linus TorvaldsJul 10, 2006
  4. Junio C HamanoJul 10, 2006
  5. Johannes SchindelinJul 10, 2006

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.