Red Hat Bugzilla – Bug 970864
Testsuite failure: Extra PLT reference
Last modified: 2016-11-24 07:14:01 EST
Description of problem:
The current rawhide build (in progress, 2.17.90-1.fc20) has an extra PLT reference in libc.so:
Extra PLT reference: libc.so: memset
Version-Release number of selected component (if applicable):
Steps to Reproduce:
See build log.
binutils is getting the symbol name wrong somehow, but the breakage is real. The extra PLT is for __GI___gettimeofday, not memset. the F17 version of binutils also got the name wrong as malloc, but since malloc is excluded from the extra PLT check, this failure went unnoticed.
There's no point in avoiding a PLT for __gettimeofday and for similar reasons, the hidden definition is also useless. Any overhead added to avoid the PLT would be more expensive that the additional PLT. I'm considering removing those bits and adding a direct call to __gettimeofday.