Is CPUTYPE=cortex-A7 supposed to work?

Sylvain Garrigues sylvain at sylvaingarrigues.com
Thu Mar 16 18:07:43 UTC 2017


> Le 16 mars 2017 à 18:27, Andrew Gierth <andrew at tao11.riddles.org.uk> a écrit :
> 
> tl/dr: building without CPUTYPE is a workaround that simply reduces both
> the chance and severity of failure; building with CPUTYPE currently
> breaks almost everything, but with a probability that varies wildly
> depending on what the application does.

Got it now, thank you both Andrew and Michal. I can’t imagine how lucky we are to have you guys analyze these behaviors so quickly and accurately. 

My conclusion of these discussions seems to be:

- Andrew, you proposed a kernel patch which fixes / handles the saving and restoring of FP registers during signal (kernel side). It seems it greatly reduces the failure probability by allowing applications to have FPU instructions in signal handlers. But it breaks ABI.

- Michal, you mentioned you’d like to fix this in a way that doesn’t break ABI, and that:
    * the "VFP part of kernel <-> userland interaction is broken from day 1 » <<== was it just this signal part which was broken?
    * and "the struct fpreg is also wrong and I'm not sure if or how we can to fix this in compatible way » <<== Andrew’s patch doesn’t fix this right? Is this a serious problem doctor? What are the symptoms?

So what are you guys gonna do about all this, are you going to address these issues, are you going to break the ABI in 12-CURRENT? Can wait to hear about the next steps, the suspense is terrible :-)


More information about the freebsd-arm mailing list