Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Developers, please work on underlinking issues!
Date: Wed, 17 Aug 2016 20:38:13
1 Hello, fellow developers.
3 TL;DR: switch to the darn gold linker, and start fixing your darn
4 packages!
6 After many years, the underlinking tracker [1] is still full of bugs.
7 This is a huge QA problem, and most of the developers don't test for
8 it.
10 Long story short, the thing usually looks like this: a developer
11 switches to the gold linker, starts hitting build failures
12 and reporting bugs. Most of the time, nobody gives a damn about those
13 bugs and the developer eventually gives up, wants to be able to upgrade
14 his system again and switches back to bfd.
16 So I'm asking shortly: please start caring. Switch to gold:
18 $ sudo binutils-config --linker
20 Test your packages. Report bugs upstream. Get them fixed.
22 If someone already tested it and reported the bug, proxy it upstream.
23 Don't expect everyone else to do the dirty work on your packages.
25 This is not some problem with a fancy non-standard configuration.
26 is just the messenger, and the message is: you are not linking
27 to the libraries you are using. This is serious, and your package only
28 works by accident. Of course, you don't have to pass my exact words
29 upstream.
31 That said, I'd really like for Gentoo to be able to finally switch to
32 by default. However, that can't happen if every common system is
33 going to have 1-3 packages failing to build.
35 Thanks in advance.
37 [1]:
39 --
40 Best regards,
41 Michał Górny
42 <>