Wireshark mailing list archives

Re: Why are we linking with --as-needed?


From: Joerg Mayer <jmayer () loplof de>
Date: Mon, 28 Mar 2016 02:39:12 +0200

[Less than 6000 mails in my Wireshark backlog mailbox]

On Thu, Jan 21, 2016 at 10:36:41PM -0500, Jeff Morriss wrote:
On 01/21/2016 10:17 PM, Guy Harris wrote:
The GNU linker documentation says of the --as-needed flag

--as-needed
--no-as-needed
...
About all I could find for a reason were bugs such as

    https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1677

complaining that Wireshark didn't build with --as-needed.

So why is it useful that it be built - or, at least, buildable - with --as-needed?  (It's obviously not *necessary* 
as not all platform support that capability.)

I thought I remembered seeing (back around the time of bug 1677) a
web page explaining why it was a Good Idea.  About all I can find at
the moment is this one:

https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed

IIRC, the  link sums it up pretty well - with this option we specify all dependencies
explicitely.

Ciao
    Jörg

-- 
Joerg Mayer                                           <jmayer () loplof de>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: