Date: Sat, 04 Mar 2017 21:47:38 +0000 From: Andrew Gierth <andrew@tao11.riddles.org.uk> To: Warner Losh <imp@bsdimp.com> Cc: "freebsd-arm\@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Is CPUTYPE=cortex-A7 supposed to work? Message-ID: <87tw7820fc.fsf@news-spur.riddles.org.uk> In-Reply-To: <CANCZdfq4EwH%2B_9FVNai8s6Y-gdTjHJ8dNkJwSrnF%2BSAkdwvYdg@mail.gmail.com> (Warner Losh's message of "Sat, 4 Mar 2017 14:07:22 -0700") References: <871suc3nv8.fsf@news-spur.riddles.org.uk> <CANCZdfq4EwH%2B_9FVNai8s6Y-gdTjHJ8dNkJwSrnF%2BSAkdwvYdg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Warner" == Warner Losh <imp@bsdimp.com> writes: >> Is building with CPUTYPE=cortex-A7 (this is on an RPI2) known to >> work, known to not work, or of unknown working status? Warner> I've not had good luck getting it to work. (cortex-a7 is the Warner> proper type name, btw). It kinda works, but ports are kinda Warner> wonky. My findings so far: 1. openssl speed (base system's openssl, not a port) produces a bunch of errors, such as: 542635024:error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01:/home/FreeBSD/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/rsa/rsa_pk1.c:103: 542635024:error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check failed:/home/FreeBSD/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/rsa/rsa_eay.c:705: 2. git fails with semi-random sha1 failures when cloning a repo of any size; these failures go away if you make it use its internal sha1 rather than the openssl one it defaults to. HOWEVER, testing in a world build without CPUTYPE and shoehorning the vectorized sha1 from openssl back in does not reproduce the failure. Also, extensive testing with "openssl dgst -sha1" did not produce any failure. (I've confirmed that both the above go away from recompiling without CPUTYPE.) I've also noticed some breakage probably not related to openssl for which I'm still waiting on recompilations in order to definitively test. -- Andrew.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87tw7820fc.fsf>