Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 460: elf_machine_rela_relative: Assertion `((reloc->r_info) & 0xffffffff) == 8' failed!

John Reiser jreiser at bitwagon.com
Thu Mar 22 19:54:18 UTC 2012


> Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 460:
> elf_machine_rela_relative: Assertion `((reloc->r_info) & 0xffffffff)
> == 8' failed!

Find the .o file which is being processed at the time of the complaint.
If necessary, then use the --trace option to ld.
Run "readelf --relocs" on that file, and see if they are all OK.
If not, then you have found a compiler problem.
If all the relocations look OK, then use valgrind to check ld.

As always, try to reduce the number and size of input files
which trigger the problem.  What is the "smallest" case which
generates the complaint?

-- 


More information about the devel mailing list