[Vm-beginners] mcontext_t et al

Eliot Miranda eliot.miranda at gmail.com
Sat Dec 8 18:30:14 UTC 2018


Oops, missed one...

On Fri, Dec 7, 2018 at 1:23 PM Ken.Dickey <Ken.Dickey at whidbey.com> wrote:

> Greetings,
>
> I am grepping around to find the source of
>
>  ..In function sqUnixMain.c: In function 'sigsegv':
> include_ucontext.h:48:37: error 'mcontext_t'
>   has no member 'arm_pc'
>
> I note in
>  /usr/include/aarch64_linux_gnu/asm/sigcontext.h member 'pc' but not
> 'arm_pc'
>
> I am guessing this is from the include_ucontext.h line
>   #elif __linux__ && __arm__
>

Simply discard this line and replace it with

#elif __linux__ && ... the plausible 32-bit ARM defines ...
...
#elif __linux__ && ... the plausible 64-bit ARM defines ...


> Where do I set/override __arm__ with (__aarch64__ or __armv8-a__ or
> __arm64__) ?
>
> What is the preferred __*__ to use?
>
> Any way to debug this cr*p?  Trace flag?  Dump defines (here)?
>
> Thanks much,
> -KenD
> _______________________________________________
> VM-beginners mailing list
> VM-beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners
>


-- 
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-beginners/attachments/20181208/32ef84db/attachment.html>


More information about the VM-beginners mailing list