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

Re: [PATCH v3] config.mak.uname: avoid macOS dup-library warning

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 22, 2026, 12:57 UTC
Message-ID
<xmqqldc63f8g.fsf@gitster.g>
In-Reply-To
<ajjspU7lJ01GgrBw@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 26 quoted lines
>> Yeah, this looks like what I expected.
>> 
>> A few things to note.
>> 
>>  * Can folks with different versions of Xcode (or is 15 sufficiently
>>    old that practically nobody is expected to have anything older?)
>>    test this patch?
>> 
>>  * We only patch Makefile here; can folks who use meson report how
>>    well your build goes?
>
> When using Meson we also see a warning. This got partially fixed in
> Meson itself though via [1], where it started to disable the warning
> when compiling with "--fatal-warnings" so that it doesn't cause builds
> to break. So starting with that commit it really only is a harmless
> (albeit annoying) warning.
>
> Arguably, it might make sense to unconditionally disable this warning,
> as it doesn't seem to add anything of value. I've Cc'd Paolo, one of the
> Meson maintainers.
>
> Thanks!
>
> Patrick
>
> [1]: https://github.com/mesonbuild/meson/commit/17d1cc60ed8246b8e7f0786421bf1cdf5cb19254

I took my inspiration for -Wl,-no-whatever from Paolo's other attempt, referenced in

    https://github.com/mesonbuild/meson/issues/15553
which is
    https://github.com/mesonbuild/meson/commit/7c901d7a8af214e31788eb6d1a1edd5b75124e66
Previous: Patrick SteinhardtNext: Paolo Bonzini
Message 15 of 18 in “Makefile: drop duplicate %.a from link recipes”
  1. Makefile: drop duplicate %.a from link recipesHarald Nordgren via GitGitGadget, May 31, 2026
  2. Junio C HamanoJun 4, 2026
  3. Harald NordgrenJun 4, 2026
  4. Harald NordgrenJun 4, 2026
  5. Makefile: dedup archives in $(LIBS) so link recipes don't repeat themHarald Nordgren via GitGitGadget, Jun 4, 2026
  6. Harald NordgrenJun 10, 2026
  7. Harald NordgrenJun 19, 2026
  8. Junio C HamanoJun 19, 2026
  9. Harald NordgrenJun 19, 2026
  10. config.mak.uname: avoid macOS dup-library warningHarald Nordgren via GitGitGadget, Jun 19, 2026
  11. Junio C HamanoJun 19, 2026
  12. D. Ben KnobleJun 20, 2026
  13. D. Ben KnobleJun 22, 2026
  14. Patrick SteinhardtJun 22, 2026
  15. Junio C HamanoJun 22, 2026
  16. Paolo BonziniJun 22, 2026
  17. Patrick SteinhardtJun 22, 2026
  18. Paolo BonziniJun 22, 2026

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.