> It never returns from ppc64_elf_gc_mark_hook (spins looking things up > in a hash table, I don't have the matching source handy). I expect > this is fixed in later binutils, but has anyone else seen this happen? > Is there some way we can avoid an infinite loop in configure for this > case?
The test needs to check that --gc-sections works, so indirectly invoking ppc64_elf_gc_mark_hook seems to be unavoidable. You could try to tweak the contents of the sections if you understand why ppc64_elf_gc_mark_hook loops. -- Eric Botcazou