[igt-dev] [PATCH i-g-t] Fix global symbol loading failure in resolve function

Hong, Brandon brandon.hong at intel.com
Tue Sep 24 14:22:02 UTC 2019


Unfortunately, I do not have a clear answer why it's not bound.
I guess it's related to IFUNC lazy binding because I observed crash call stack related to glibc elf_machine_rela() and the crash didn’t happen when I call the same global function igt_x86_features() in rewritten generic FUNC igt_half_to_float() for testing.
- Brandon

> On 24 Sep 2019, at 5:26 PM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> 
> Quoting brandon.hong at intel.com (2019-09-24 09:02:07)
>> From: Brandon Hong <brandon.hong at intel.com>
>> 
>> 270 out of 284 tests get failed with SIGSEGV on ClearLinux because the ifunc
>> resolver resolve_half_to_float() tries to call unbound global function
>> igt_x86_features(). This patch fixes the issue by adding a F16C checking
>> local function.
> 
> So, out of curiosity, why is the global function not bound?
> -Chris



More information about the igt-dev mailing list