A note on the binutils BOF
Tom Tromey
tom@tromey.com
Wed Aug 26 19:54:19 GMT 2020
Hi. I wasn't able to attend the GNU tools conference this year, but I
have been listening to various parts as time permits. This morning I
listened to the binutils BOF and I thought I'd comment a bit.
At the BOF, Nick asked if anyone uses gold as their normal linker. I
do! On my personal laptop, it is approximately 2x faster when linking
gdb. This kind of timing is representative for my setup:
BFD 0m13.188s
gold 0m6.635s
I've saved tons of time over the years by making this switch. IIRC the
difference was even more pronounced when I was working on Firefox.
Yes, I know about lld; I was disappointed to hear that this is somehow
considered the future, though. For me the GNU vision and the GPL still
matter.
So, I'd like to encourage binutils developers to continue working on
gold. I wish it was the default GNU linker.
Second, Nick asked if anyone had issues to bring up.
One question I've had for years is whether binutils maintainers would
agree to removing "chew". It frustrates me whenever I work on BFD,
mainly because it puts important code in comments, where things like
"tags" won't find it. Ostensibly it is used for attaching
documentation, but in practice... I never use those docs. I wonder if
anybody does? Would people agree to removing chew in favor of writing C
code in the ordinary way?
thanks,
Tom
More information about the Binutils
mailing list