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

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

From
Junio C Hamano <junkio@cox.net>
Date
Jul 10, 2006, 21:48 UTC
Message-ID
<7vlkr19lmr.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0607101429460.5623@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 11 quoted lines
> On Mon, 10 Jul 2006, Junio C Hamano wrote:
>>
>> 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?
Show 5 quoted lines
>> Maybe we need ranlib?
>
> Shouldn't be needed, since we use "$(AR) rcs",...
> ... After all, that was the 
> whole reason environment.c ended up existing in the first place..
Understood and agreed to everything you said.

But I still wonder why/how it happens in Johannes's environment...

Previous: Linus TorvaldsNext: Johannes Schindelin
Message 4 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.