public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Daniel Campbell <zlg@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Developers, please work on underlinking issues!
Date: Wed, 17 Aug 2016 22:39:37 -0700	[thread overview]
Message-ID: <943d47b7-f01a-480a-3bb6-c9ccf14f6cf9@gentoo.org> (raw)
In-Reply-To: <20160817223742.6ccff657.mgorny@gentoo.org>


[-- Attachment #1.1: Type: text/plain, Size: 2089 bytes --]

On 08/17/2016 01:37 PM, Michał Górny wrote:
> Hello, fellow developers.
> 
> TL;DR: switch to the darn gold linker, and start fixing your darn
> packages!
> 
> After many years, the underlinking tracker [1] is still full of bugs.
> This is a huge QA problem, and most of the developers don't test for
> it.
> 
> Long story short, the thing usually looks like this: a developer
> switches to the gold linker, starts hitting build failures
> and reporting bugs. Most of the time, nobody gives a damn about those
> bugs and the developer eventually gives up, wants to be able to upgrade
> his system again and switches back to bfd.
> 
> So I'm asking shortly: please start caring. Switch to gold:
> 
> $ sudo binutils-config --linker ld.gold
> 
> Test your packages. Report bugs upstream. Get them fixed.
> 
> If someone already tested it and reported the bug, proxy it upstream.
> Don't expect everyone else to do the dirty work on your packages.
> 
> This is not some problem with a fancy non-standard configuration.
> ld.gold is just the messenger, and the message is: you are not linking
> to the libraries you are using. This is serious, and your package only
> works by accident. Of course, you don't have to pass my exact words
> upstream.
> 
> That said, I'd really like for Gentoo to be able to finally switch to
> ld.gold by default. However, that can't happen if every common system is
> going to have 1-3 packages failing to build.
> 
> Thanks in advance.
> 
> [1]:https://bugs.gentoo.org/show_bug.cgi?id=underlinking
> 

Is it as simple as switching the linker and re-merging packages that one
maintains? Is gold supposed to be a big deal? Does it do the job of
linking better? I read the blog post and all but nobody's explaining
what gold does better than standard ld.

That said, if it's that simple and then just requires some DEPEND
updating, doesn't sound all that bad to me.
-- 
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2016-08-18  5:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-17 20:37 [gentoo-dev] Developers, please work on underlinking issues! Michał Górny
2016-08-17 21:02 ` Ulrich Mueller
2016-08-18  5:39 ` Daniel Campbell [this message]
2016-08-18 10:26   ` Alexis Ballier
2016-08-18 12:12   ` Rich Freeman
2016-08-18 10:43 ` Andrew Savchenko
2016-08-18 11:47   ` Lars Wendler
2016-08-18 12:13     ` Rich Freeman
2016-08-18 13:21       ` Alexis Ballier
2016-08-18 21:20         ` Daniel Campbell
2016-08-18 21:56           ` Alexis Ballier
2016-08-18 23:49             ` Mart Raudsepp
2016-08-19  4:58         ` Michał Górny
2016-08-19  7:49           ` Rich Freeman
2016-08-19 15:18             ` james
2016-08-19 12:46           ` Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=943d47b7-f01a-480a-3bb6-c9ccf14f6cf9@gentoo.org \
    --to=zlg@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox