[Barrelfish-users] Cannot make a binary by another compiler

Simon Peter speter at inf.ethz.ch
Sat Jun 23 18:13:08 CEST 2012


(cc'ing list)

> When adding new relocation types, I treat R_X86_64_GLOB_DAT,  R_X86_64_JMP_SLOT with the same action:
> uint32_t sym = ELF64_R_SYM(r->r_info);
> *addr = abase + symtab[sym].st_value;

Is this the action you're supposed to take for these relocation types?

> And I receive these lines in qemu:
> spawnd: unhandled page fault (error code 0x6) on 80accea8 at IP 413412
> Could you please help to pinpoint this error? Thank you.

I'm guessing you're not yet handling the new relocation types properly 
and that's why the program crashes.

Simon



More information about the Barrelfish-users mailing list