[OpenBIOS] Error when crosscompiling for qemu-ppc64

Segher Boessenkool segher at kernel.crashing.org
Fri Nov 18 13:56:38 CET 2016


On Fri, Nov 18, 2016 at 10:49:31AM +0000, Mark Cave-Ayland wrote:
> > moew at debhost:~/OpenFirmware/openbios# make
> >   GEN   bootstrap.dict
> >   panic: segmentation violation at 0xdf1ec62c

It is using the low 32 bits of a pointer as a pointer by itself.  That
unsurprisingly does not end well.

> >   dict=0x7f0edf1ec010 here=0x7f0edf1ec638(dict+0x628) pc=0x0(dict+0x20e13ff0)

That "dict+" is printed as (and probably computed as) 32 bits as well.

I never got it to build on powerpc64 either, fwiw.


Segher



More information about the OpenBIOS mailing list