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

Re: Building git 2.4.5 on AIX 6.1 problems

From
Jeff King <peff@peff.net>
Date
Jul 12, 2015, 04:18 UTC
Message-ID
<20150712041818.GA17595@peff.net>
In-Reply-To
<CAPc5daWJ7T9UFi_457MvTBN7hoxAD0mEwwbQE1R076=Z+BWu7w@mail.gmail.com>
On Fri, Jul 10, 2015 at 11:57:28PM -0700, Junio C Hamano wrote:
Show 9 quoted lines
> > So it is obviously a structure or variable that is being used so does anyone
> > know the library that this is defined in?
> 
> Most of our objects should be found in libgit.a (you can see it on your
> command line) that our Makefile builds.
> 
> Now, it has been more than a decade since I last had to deal with a
> system that needs this the last time, but perhaps AIX linker needs the
> archives explicitly prepared with ranlib(1)? Just a shot in the dark...
Ugh, you are giving me flashbacks. ;)

We use the "s" flag to "ar", which is supposed to do the same thing as ranlib. But I guess it is possible that the system ar does not respect that flag. Certainly running ranlib manually would be an interesting experiment.

If the system has GNU ar on it as well as an AIX ar, it might be interesting to point $(AR) at the former. E.g.:

  make clean
  make AR=gar
(where "gar" is whatever GNU ar is called on the system).
-Peff
Previous: Junio C HamanoNext: norricorp
Message 8 of 10 in “Building git 2.4.5 on AIX 6.1 problems”
  1. John NorrisJul 9, 2015
  2. Junio C HamanoJul 9, 2015
  3. John NorrisJul 10, 2015
  4. Jeff KingJul 10, 2015
  5. Junio C HamanoJul 10, 2015
  6. norricorpJul 11, 2015
  7. Junio C HamanoJul 11, 2015
  8. Jeff KingJul 12, 2015
  9. norricorpJul 13, 2015
  10. norricorpJul 16, 2015

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.