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 20:34:30 UTC 2012


> I tried to build hello word
> 
> #include <stdio.h>
> 
> int main(void)
> {
>     printf("test\n");
> 
>     return 0;
> }
> 
> and it fails.

You did not show the error message, nor the _exact_ command which
generated it.  Re-run with "gcc -v" so that we can see.


> It seems to me that I have something really wrong with C/C++
> toolchain.

So, verify that all the files are present and correct:
   rpm --verify $(rpm -qa  |  grep gcc)
   rpm --verify $(rpm -qf /lib*/ld*)

-- 


More information about the devel mailing list