WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore13 x32 openssl extension  (Read 2185 times)

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1268
piCore13 x32 openssl extension
« on: April 11, 2021, 08:38:05 PM »
Bela,

openssl.tcz is missing the openssl and c_rehash binaries.

Paul

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore13 x32 openssl extension
« Reply #1 on: April 12, 2021, 01:37:02 AM »
Hi Paul

thanks I will check it.

Béla
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore13 x32 openssl extension
« Reply #2 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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline polikuo

  • Hero Member
  • *****
  • Posts: 758
Re: piCore13 x32 openssl extension
« Reply #3 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

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1268
Re: piCore13 x32 openssl extension
« Reply #4 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.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1268
Re: piCore13 x32 openssl extension
« Reply #5 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

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore13 x32 openssl extension
« Reply #6 on: April 14, 2021, 01:11:34 AM »
Hi Paul,

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

Béla
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1268
Re: piCore13 x32 openssl extension
« Reply #7 on: April 14, 2021, 07:37:18 PM »
Seems to be working fine.  Thx.