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

Re: Patch for NO_R_TO_GCC_LINKER

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Aug 13, 2008, 11:32 UTC
Message-ID
<vpqtzdpcfpw.fsf@bauges.imag.fr>
In-Reply-To
<c475e2e60808130342r452fae1cm7d08d8d2206d0468@mail.gmail.com>
"Giovanni Funchal" <gafunchal@gmail.com> writes:
> Hi,
Hi Giovanni, glad to see you here ;-).
> I'm proposing the patch below
Please, read Documentation/SubmittingPatches.

I advise you to use git send-email to send your patches, this one has (gmail-related) whitespace damage. Read about Signed-Off-By too.

Show 7 quoted lines
> @@ -226,7 +226,8 @@ INSTALL = install
>  RPMBUILD = rpmbuild
>  TCL_PATH = tclsh
>  TCLTK_PATH = wish
> -
> +LD_RUNPATH_SWITCH = -Wl,-rpath,
> +

Whitespace damage: the - and the + are equal (I suppose you added a trailing whitespace, which you shouldn't have, and gmail stripped it).

> -		CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl
> +		CURL_LIBCURL = -L$(CURLDIR)/$(lib)
> $(LD_RUNPATH_SWITCH)$(CURLDIR)/$(lib) -lcurl
Whitespace damage again.
> +      AC_MSG_ERROR([no linker support for runtime path to dynamic libraries])

I don't think you should error out here: Git can still be compiled and can still run without this support (just use $LD_LIBRARY_PATH if needed). Keeping -R with a big warning would avoid having a regression in this case.

Thanks,
-- 
Matthieu
Previous: Giovanni FunchalNext: Junio C Hamano
Message 2 of 6 in “Patch for NO_R_TO_GCC_LINKER”
  1. Giovanni FunchalAug 13, 2008
  2. Matthieu MoyAug 13, 2008
  3. Junio C HamanoAug 13, 2008
  4. Giovanni FunchalAug 13, 2008
  5. Junio C HamanoAug 13, 2008
  6. Junio C HamanoAug 13, 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.