Looks like GCC used to create non-PC relative relocations in debug
sections, which is invalid.
Seems like a well known problem:
Unfortunately some of the tests were recently flipped to -fuse-ld=lld,
and this broke the bots. This is a tentative fix for:
This should probably be fixed in LLD, to make LLD be permissive of
GOTOFF relocations like the GOTPC relocation fix upstream. However, it's
hard for me to test this as the earliest gcc I have access to is 8.4.0,
which doesn't seem to exhibit these problems.