2012/3/22 John Reiser <jreiser(a)bitwagon.com>:
> 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.
.o file is not even generated
[michal@ozzy src]$ LANG=C make BUILDTYPE=Release
CXX(target) out/Release/obj.target/base/third_party/chromium/src/base/string16.o
Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 460:
elf_machine_rela_relative: Assertion `((reloc->r_info) & 0xffffffff)
== 8' failed!
make: *** [out/Release/obj.target/base/third_party/chromium/src/base/string16.o]
Error 2
[michal@ozzy src]$ ls out/Release/obj.target/base/third_party/chromium/src/base/
[michal@ozzy src]$
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?
I tried to build hello word
#include <stdio.h>
int main(void)
{
printf("test\n");
return 0;
}
and it fails.
It seems to me that I have something really wrong with C/C++
toolchain. I do not remember when I last build C/C++ application on
this system - it's very possible that it was before F15 realease.
I assume that there may be some error during the some upgrade.
--
--
devel mailing list
devel(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
--
Best regards,
Michal
http://eventhorizon.pl/