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?

-- 
Andrea Bolognani / Red Hat / Virtualization
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-le...@lists.libvirt.org

Reply via email to