Re: [PATCH] tests: ignore $__CF_USER_TEXT_ENCODING in env during commandtest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/3/23 8:41 AM, Andrea Bolognani wrote:
On Fri, Nov 03, 2023 at 11:17:03AM +0000, Daniel P. Berrangé wrote:
On Fri, Nov 03, 2023 at 04:13:12AM -0700, Andrea Bolognani wrote:
On Fri, Nov 03, 2023 at 10:47:11AM +0000, Daniel P. Berrangé wrote:
On Fri, Nov 03, 2023 at 10:41:51AM +0000, Daniel P. Berrangé wrote:
On Fri, Nov 03, 2023 at 03:19:17AM -0700, Andrea Bolognani wrote:
   ld: warning: ignoring duplicate libraries: '-lxml2'

There's a similarish warning reported against homebew

   https://github.com/orgs/Homebrew/discussions/4794

Actually I think it is more mundane and a stupid warning:

% gcc c.c -lxml2

% gcc c.c -lxml2 -lxml2
ld: warning: ignoring duplicate libraries: '-lxml2'

oooooh soo many projects have the same -lXXX repeated mamy times when
building, as build systems don't make it easy to merge duplicates.
Warning about this is madness :-(

Yeah I really don't see the point, seems like it's there just to be
annoying :(

We can turn it off with:

   -Wl,-no_warn_duplicate_libraries

but need to probe for whether that option exists or not.

https://indiestack.com/2023/10/xcode-15-duplicate-library-linker-warnings/

Laine, can you please cook up a patch for this?


Yeah, I think I see how that's done. I need to take the dog for a walk first though :-)
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux