Date: Thu, 16 Mar 2017 17:51:49 +0100 From: Michal Meloun <melounmichal@gmail.com> To: Sylvain Garrigues <sylvain@sylvaingarrigues.com> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: Is CPUTYPE=cortex-A7 supposed to work? Message-ID: <67504df9-9452-3ad3-b3b0-01d1a03727cc@freebsd.org> In-Reply-To: <ED8405B6-1150-4A9C-AD93-5C74306FB361@sylvaingarrigues.com> References: <871suc3nv8.fsf@news-spur.riddles.org.uk> <CANCZdfq4EwH%2B_9FVNai8s6Y-gdTjHJ8dNkJwSrnF%2BSAkdwvYdg@mail.gmail.com> <8737ely05c.fsf@news-spur.riddles.org.uk> <CANCZdfpftVHaPahTOP0vxB-FR%2BKtpqY9JMJr=F2DGifD0fhKMQ@mail.gmail.com> <87wpbxw3yd.fsf@news-spur.riddles.org.uk> <79EBD44B-2C2D-4394-A90C-DF494A049F20@dsl-only.net> <E6BC9F77-F65B-4918-9E22-3BFECA268E30@sylvaingarrigues.com> <674facba-68cd-8ce1-887a-1ef3c51520bc@freebsd.org> <ED8405B6-1150-4A9C-AD93-5C74306FB361@sylvaingarrigues.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 16.03.2017 17:14, Sylvain Garrigues wrote: > >> Le 16 mars 2017 à 16:16, Michal Meloun <melounmichal@gmail.com >> <mailto:melounmichal@gmail.com>> a écrit : >> >> Firstly, thanks to Andrew for perfect bug analysis. >> Currently, you can compile you kernel/userland/port with CPUTYPE/CFLAGS >> without any additional problem(s). I use this for all my ARM systems for >> more that last 6-months... >> >> The 'other' interfaces are gdb, porcfs, libpthtread. I work on this, but >> I still have not any output. > > Thank you so much for your quick feedback Michal. Good to know this > matter is into good hands. I’m afraid I'm still afraid about `basic’ > programs like git being still potentially broken when > kernel+world+ports have CPUTYPE=cortex-a7 in make.conf - Andrew said a > simple `git clone' could fail, more precisely (quoting him): >> I have determined that the sha1 failures occur only if the NEON-enabled >> SHA1 block function is interrupted by a signal. This explains why it >> fails in git (which is using SIGALRM to set a "display progress" flag) >> but not in standalone SHA1 tests; > > Removing CPUTYPE apparently fixes things hence I’m not 100% confident > yet of keeping CPUTYPE=cortex-a7 myself even if only a few ports might > be affected. Git is an important port, who knows what other ports are > broken :-) Are you also working on the kernel part (as part of the > ‘other interfaces’ you mentioned) to fix this > fp-register-preserving-during-signal? > No, the issue is very clear (again, thanks to Andrew), and it's not related to CPUTYPE. Is this enough to confirm that the FPU instructions in a signal handler is not used so frequently? https://imagebin.ca/v/3FmLkPuRZ1IO All used ports from this picture (KDE4, LibreOffice + dependencies ) are built on Jetson TK1, with -mcpu=Cortex-A15 Michal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67504df9-9452-3ad3-b3b0-01d1a03727cc>