[Buildroot] [PATCH] package/openssl: fix build on riscv32

Peter Korsgaard peter at korsgaard.com
Wed Mar 3 07:12:15 UTC 2021

>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

 > riscv32 is (surprise!) a 32-bit architecture. But it has been 2038-safe
 > from its inception. As such, there is no legacy binaries that may use
 > the 32-bit time syscalls, and thus they are anot available on riscv32.

 > Code tht directly calls to the syscalls without using the C libraries
 > wrappers thus need to handle this case by themselves.

 > Backport a patch from the upstream development branch that will
 > eventually be openssl 3.0, but has not yet been backported to the 1.1.1
 > stable branch.

 > Fixes:
 >     http://autobuild.buildroot.org/results/eb9/eb9a64d4ffae8569b5225083f282cf87ffa7c681/
 >     ...
 >     http://autobuild.buildroot.org/results/07e/07e413b24ba8adc9558c80267ce16dda339bf032/

 > Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
 > Cc: Matt Weber <matthew.weber at rockwellcollins.com>
 > Cc: Mark Corbin <mark at dibsco.co.uk>

Did you see Arndbs comment on the upstream commit?


I cannot quite figure out if this causes issues for other archs?

Bye, Peter Korsgaard

More information about the buildroot mailing list