Wind River Support Network

HomeDefectsLIN1019-6369
Fixed

LIN1019-6369 : libssh2 fails with feature/openssl-no-weak-ciphers

Created: Apr 19, 2021    Updated: Jul 1, 2021
Resolved Date: May 9, 2021
Found In Version: 10.19.45.16
Fix Version: 10.19.45.17
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: Build & Config

Description

libssh2 fails at do_compile if WRTEMPLATE ?= "feature/openssl-no-weak-ciphers " is set:

../src/.libs/libssh2.so: undefined reference to `LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY'

Workaround

1. Apply attached patch.

$ bitbake libssh2 -c devshell

$ patch -p1< 0001-kex.c.patch

$ exit

2. Build libssh2

$ bitbake libssh2

Steps to Reproduce

1.Build RCPL 20 project withthe following config line:

$ ./wrlinux-x/setup.sh --machines xilinx-zynq --distro wrlinux

2.Edit local.conf and add:

IMAGE_INSTALL_append = " libssh2"

WRTEMPLATE ?= "feature/openssl-no-weak-ciphers "

3. Build libssh2

$ bitbake libssh2
Live chat
Online