Loading ...
Sorry, an error occurred while loading the content.

59192Re: [PATCH] link.sh: do not reduce library if linker supports --as-needed

Expand Messages
  • Bram Moolenaar
    Oct 1, 2010
    • 0 Attachment
      Kirill A. Shutemov wrote:

      > On Tue, Aug 31, 2010 at 09:29:57AM -0400, James Vega wrote:
      > > On Tue, Aug 31, 2010 at 8:30 AM, Kirill A. Shutemov
      > > <kirill@...> wrote:
      > > > On Wed, Aug 25, 2010 at 07:28:04AM -0400, James Vega wrote:
      > > >> On Wed, Aug 25, 2010 at 12:20:56PM +0300, Kirill A. Shutemov wrote:
      > > >> > On Mon, Aug 23, 2010 at 03:44:12PM +0300, Kirill A. Shutemov wrote:
      > > >> > > link.sh tries to avoid overlinking in a hackish way.
      > > >> > > At least GNU ld supports --as-needed which provides the same functionality
      > > >> > > at linker level. Let's use it.
      > > >> >
      > > >> > Any comments?
      > > >>
      > > >> Simply as a data point, I've been building Debian's Vim packages with
      > > >> -Wl,--as-needed for ~2.5 years now so I'd be interested in having this
      > > >> functionality done automatically when the proper tools are present.
      > > >
      > > > Seems, nobody cares. Sad.
      > >
      > > Just be patient. :) Bram appears to have been busy since the 7.3
      > > release. When he gets back to Vim stuff, you'll likely get a response
      > > then.
      >
      > Bram, any feedback?

      I don't know this link option, where it's supported or how well it
      works. If we want to use it we would need a configure check and somehow
      have the result used for link.sh. I haven't seen a patch for that.

      --
      hundred-and-one symptoms of being an internet addict:
      237. You tattoo your email address on your forehead.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 9 messages in this topic