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

Re: [PATCH] Makefile: remove the NO_R_TO_GCC_LINKER flag

From
Jeff King <peff@peff.net>
Date
May 16, 2019, 22:25 UTC
Message-ID
<20190516222525.GC11784@sigill.intra.peff.net>
In-Reply-To
<20190516180521.1933-1-avarab@gmail.com>
On Thu, May 16, 2019 at 08:05:21PM +0200, Ævar Arnfjörð Bjarmason wrote:
Show 14 quoted lines
> From what I can tell we should, with the benefit of hindsight, have
> made this change back in 2006. GCC & ld supported this type of
> invocation back then, or since at least binutils-gdb.git's[1]
> a1ad915dc4 ("[...]Add support for -rpath[...]", 1994-07-20). Most
> people compiling git with a custom LIBDIR are going to be on a GNU-ish
> system, and having to provide this NO_R_TO_GCC_LINKER flag on top of a
> custom LIBDIR is annoying.
> 
> There are some OS's that don't support -rpath, e.g. AIX ld just
> supports "-R". Perhaps we should follow this up with some
> config.mak.uname changes, but as noted it's quite possible that nobody
> on these platforms uses this (instead libraries in the system's search
> path). We *could* also use "-Wl,-R", but let's not introduce something
> new.

So...does this mean with just your patch that the build is now broken on AIX if you use CURLDIR?

Far be it from me to care about AIX, but it seems like this is ripe for regressions, because we don't know which platforms were relying on "-R" instead of "-Wl,-rpath", and now everybody will be using the latter by default.

-Peff
Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 12 of 19 in “Improving HP-UX support”
  1. Improving HP-UX supportOsipov, Michael, May 8, 2019
  2. Ævar Arnfjörð BjarmasonMay 9, 2019
  3. Osipov, MichaelMay 9, 2019
  4. sha1dc: update from upstreamÆvar Arnfjörð Bjarmason, May 13, 2019
  5. Osipov, MichaelMay 14, 2019
  6. Ævar Arnfjörð BjarmasonMay 15, 2019
  7. Osipov, MichaelMay 16, 2019
  8. Ævar Arnfjörð BjarmasonMay 16, 2019
  9. Osipov, MichaelMay 16, 2019
  10. configure: Detect linking style for HP aCC on HP-UXÆvar Arnfjörð Bjarmason, May 16, 2019
  11. Makefile: remove the NO_R_TO_GCC_LINKER flagÆvar Arnfjörð Bjarmason, May 16, 2019
  12. Jeff KingMay 16, 2019
  13. Junio C HamanoMay 16, 2019
  14. Jeff KingMay 17, 2019
  15. Makefile: remove the NO_R_TO_GCC_LINKER flagÆvar Arnfjörð Bjarmason, May 17, 2019
  16. Junio C HamanoMay 19, 2019
  17. Jeff KingMay 19, 2019
  18. Osipov, MichaelJun 7, 2019
  19. Junio C HamanoJun 7, 2019

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.