On Sun, Jan 8, 2012 at 6:14 PM, Andreas Färber <afaer...@suse.de> wrote: > Hi, > > Am 04.01.2012 10:05, schrieb Liu: >> I configure qemu as: >> ./configure --prefix=$PREFIX --target-list=mipsel-softmmu,mipsel-linux-user >> >> a.out is compiled by mipsel-linux-gcc. >> When I run a.out using qemu-mipsel, I get a error like this: >> Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 466: >> elf_machine_rela_relative: Assertion `((reloc->r_info) & 0xffffffff) >> == 8' failed! > > That source file is not part of QEMU. Does it work on real hardware? > Without further information there's little we can say.
When I using gold to link qemu, I get this error. When I using ld.bfd, it is OK. So, I'm not sure it is a bug of gold or qemu. > > Andreas > > -- > SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany > GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg