[OE-core] [PATCH v2] curl: fix libssl error for ARMv8

Huang, Qiyu huangqy.fnst at cn.fujitsu.com
Fri May 26 02:38:20 UTC 2017


Yes,I confirmed other than ARMv8 32BE.curl+gnutls can work well.
Because we have the same server,and we execute curl -k https://xxx,but only ARMv8 32BE failed and output the error message.

huangqy

> -----Original Message-----
> From: Andre McCurdy [mailto:armccurdy at gmail.com]
> Sent: Friday, May 26, 2017 2:31 AM
> To: Huang, Qiyu/黄 琦宇 <huangqy.fnst at cn.fujitsu.com>
> Cc: OE Core mailing list <openembedded-core at lists.openembedded.org>
> Subject: Re: [OE-core] [PATCH v2] curl: fix libssl error for ARMv8
> 
> On Wed, May 24, 2017 at 7:18 PM, Huang Qiyu <huangqy.fnst at cn.fujitsu.com>
> 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 <huangqy.fnst at cn.fujitsu.com>
> > ---
> >  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
> > Openembedded-core at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 





More information about the Openembedded-core mailing list