On Wed, May 24, 2017 at 7:18 PM, Huang Qiyu <[email protected]> wrote: > curl + gnutls can not work on ARMv8 32BE, so change it to curl + ssl when the > target is aarch64. > > The error is as follow: > curl: (35) gnutls_handshake() failed: Bad record MAC
Googling for that error message brings up the following thread, which isn't very conclusive but suggests the root cause is the server configuration: https://lists.gnu.org/archive/html/help-gnutls/2013-01/threads.html#00006 Have you confirmed that curl + gnutls built for targets other than ARMv8 32BE and aarch64 works OK with your server? > When set machine to qemuarm64 in local.conf, this patch will work. > > Signed-off-by: Huang Qiyu <[email protected]> > --- > meta/recipes-support/curl/curl_7.54.0.bb | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-support/curl/curl_7.54.0.bb > b/meta/recipes-support/curl/curl_7.54.0.bb > index ce5ca37..7421617 100644 > --- a/meta/recipes-support/curl/curl_7.54.0.bb > +++ b/meta/recipes-support/curl/curl_7.54.0.bb > @@ -21,6 +21,7 @@ CVE_PRODUCT = "libcurl" > inherit autotools pkgconfig binconfig multilib_header > > PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} gnutls > proxy zlib" > +PACKAGECONFIG_aarch64 ??= "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", > "ipv6", "", d)} ssl proxy zlib" > PACKAGECONFIG_class-native = "ipv6 proxy ssl zlib" > PACKAGECONFIG_class-nativesdk = "ipv6 proxy ssl zlib" > > -- > 2.7.4 > > > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
