Re: Missing -lpthread for libssl / libcrypto (LibreSSL) when compiling U-Boot

2021-10-22 Thread Andre Heider
Hi, I whipped up a proposal: https://github.com/openwrt/openwrt/pull/4709 Cheers, Andre ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: Missing -lpthread for libssl / libcrypto (LibreSSL) when compiling U-Boot

2021-10-13 Thread Andre Heider
How about the two attached patches? That's on top of the libressl bump for u-boot. I only built uboot-mvebu with these and didn't check if this works for the others. On 13/10/2021 10:10, Rafał Miłecki wrote: *** Introduction *** OpenWrt compiles U-Boot with some host tools like mkimage. **

Re: Missing -lpthread for libssl / libcrypto (LibreSSL) when compiling U-Boot

2021-10-13 Thread Andre Heider
Close, but: u-boot 2021.10 seems to use OpenSSL 1.1.x APIs, and the currently used LibreSSL 3.3.4 doesn't include those. Updating LibreSSL with [0] plus this patch makes it work: diff --git a/include/u-boot.mk b/include/u-boot.mk index c0a1e87bf3..8c6941b88a 100644 --- a/include/u-boot.mk +++

Re: Missing -lpthread for libssl / libcrypto (LibreSSL) when compiling U-Boot

2021-10-13 Thread Andre Heider
On 13/10/2021 10:30, Rafał Miłecki wrote: On 13.10.2021 10:23, Andre Heider wrote: On 13/10/2021 10:10, Rafał Miłecki wrote: *** Manual pkg-config test *** I'm not sure if I test it correctly but output looks OK: $ PATH=/home/rmilecki/openwrt/openwrt-master-bcm4908/staging_dir/host/bin:$PATH

Re: Missing -lpthread for libssl / libcrypto (LibreSSL) when compiling U-Boot

2021-10-13 Thread Rafał Miłecki
On 13.10.2021 10:23, Andre Heider wrote: On 13/10/2021 10:10, Rafał Miłecki wrote: *** Manual pkg-config test *** I'm not sure if I test it correctly but output looks OK: $ PATH=/home/rmilecki/openwrt/openwrt-master-bcm4908/staging_dir/host/bin:$PATH ./staging_dir/host/bin/pkg-config --libs l

Re: Missing -lpthread for libssl / libcrypto (LibreSSL) when compiling U-Boot

2021-10-13 Thread Andre Heider
Hi Rafał, On 13/10/2021 10:10, Rafał Miłecki wrote: *** Manual pkg-config test *** I'm not sure if I test it correctly but output looks OK: $ PATH=/home/rmilecki/openwrt/openwrt-master-bcm4908/staging_dir/host/bin:$PATH ./staging_dir/host/bin/pkg-config --libs libssl libcrypto -L/lib64 -lss