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

Re: Git v2.46.0 and --allow-multiple-definition linker flag

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 22, 2024, 02:30 UTC
Message-ID
<xmqqbjx4bgae.fsf@gitster.g>
In-Reply-To
<CALGqR9+bH3nMrGqPQ18aqs-epSHRFQOtnd6Da55=KrtSu+Jrkg@mail.gmail.com>
James Mills <prologic@shortcircuit.net.au> writes:
Show 8 quoted lines
> tcc: error: unsupported linker option '--allow-multiple-definition'
>
> I bisected the Git releases and traced the introduction of this new
> flag to v2.46.0
>
> I can't find any details of this flag really or when this was
> introduced in the GNU binutils and so far I haven't asked if the Tiny
> C devs intend to support this option (yet).
Would
    $ make LINK_FUZZ_PROGRAMS=""
help?

The platform-specific tweak defined in config.mak.uname file assumes that you have glibc plus gcc or clang with usual binutils niceties once you claim that you are Linux. It lumps all different variants of Linux into a single ball of wax and defines LINK_FUZZ_PROGRAMS Makefile macro, which is a bit unfortunate.

Previous: James MillsNext: Junio C Hamano
Message 2 of 5 in “Git v2.46.0 and --allow-multiple-definition linker flag”
  1. James MillsDec 21, 2024
  2. Junio C HamanoDec 22, 2024
  3. Junio C HamanoDec 22, 2024
  4. Josh SteadmonJan 13, 2025
  5. Jeff KingJan 14, 2025

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.