Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: Paul_123 on April 11, 2021, 08:38:05 PM

Title: piCore13 x32 openssl extension
Post by: Paul_123 on April 11, 2021, 08:38:05 PM
Bela,

openssl.tcz is missing the openssl and c_rehash binaries.

Paul
Title: Re: piCore13 x32 openssl extension
Post by: bmarkus on April 12, 2021, 01:37:02 AM
Hi Paul

thanks I will check it.

Béla
Title: Re: piCore13 x32 openssl extension
Post by: bmarkus on April 13, 2021, 03:11:41 AM
I rolled back openssl to 1.1.g from the piCore-12 repo. Unfortuntaly openssl doesn't build in piCore-13, I get unresolved references from the linker. Must be investigated.
Title: Re: piCore13 x32 openssl extension
Post by: polikuo on April 13, 2021, 07:51:44 AM
Hi

On 12.0 aarch64 with RPI4-4G

I can compile openssl-1.1.1k with this
Title: Re: piCore13 x32 openssl extension
Post by: Paul_123 on April 13, 2021, 08:35:51 AM
openssl 1.1.1k compiles clean on piCore13-64, and is the version on the aarch64 13.x repo.

There is really no way to compare success or failure between armhf and aarch64.
Title: Re: piCore13 x32 openssl extension
Post by: Paul_123 on April 13, 2021, 10:00:34 PM
openssl 1.1.1k compiles clean on piCore13 (32bit)

Using the same compile options I used for openssl1.1.1g

Code: [Select]
export CFLAGS="-O2 -pipe -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -fuse-ld=gold"
export CXXFLAGS="-O2 -pipe -fno-exceptions -fno-rtti -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -fuse-ld=gold"

./Configure \
linux-generic32 \
-march=armv6 \
-D__ARMMAX_ARCH__=8 \
--prefix=/usr/local \
zlib \
shared \
--openssldir=/etc/ssl
Title: Re: piCore13 x32 openssl extension
Post by: bmarkus on April 14, 2021, 01:11:34 AM
Hi Paul,

thanks. Problem was caused by LTO. Repo updated to 1.1.1k

Béla
Title: Re: piCore13 x32 openssl extension
Post by: Paul_123 on April 14, 2021, 07:37:18 PM
Seems to be working fine.  Thx.