* [Buildroot] [PATCH v2, 1/1] package/openssl: add BR2_PACKAGE_LIBRESSL_ARCH_SUPPORTS
@ 2023-12-03 18:29 Fabrice Fontaine
2024-07-13 12:52 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Fontaine @ 2023-12-03 18:29 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
libressl doesn't support all architectures since bump to version 3.8.2
in commit 21eca49ed5110872407b76ab9337d2877c4cda24 and
https://github.com/libressl/portable/commit/b98c56fd5e86fa76eb55a98a2266a923f64f705c
https://github.com/libressl/portable/commit/71ce0b8c3e07079a40011d2f3515969e3bdf302e:
In file included from /home/autobuild/autobuild/instance-4/output-1/build/libressl-3.8.2/crypto/rc4/rc4_enc.c:61:
/home/autobuild/autobuild/instance-4/output-1/build/libressl-3.8.2/crypto/../include/openssl/rc4.h:75:9: error: unknown type name 'RC4_INT'
75 | RC4_INT x, y;
| ^~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/1f6ac121b3771ccc4b0e846c061b7002ccb63963
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Changes v1 -> v2:
- Move BR2_PACKAGE_LIBRESSL_ARCH_SUPPORTS outside of choice
package/openssl/Config.in | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/package/openssl/Config.in b/package/openssl/Config.in
index c7641ecefa..30db152fad 100644
--- a/package/openssl/Config.in
+++ b/package/openssl/Config.in
@@ -1,3 +1,14 @@
+config BR2_PACKAGE_LIBRESSL_ARCH_SUPPORTS
+ bool
+ # see include/CMakeLists.txt
+ default y if BR2_aarch64 || BR2_aarch64_be
+ default y if BR2_arm || BR2_armeb
+ default y if BR2_i386 || BR2_x86_64
+ default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
+ default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
+ default y if BR2_RISCV_64
+ default y if BR2_sparc64
+
config BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
bool
@@ -32,6 +43,7 @@ source "package/libopenssl/Config.in"
config BR2_PACKAGE_LIBRESSL
bool "libressl"
+ depends on BR2_PACKAGE_LIBRESSL_ARCH_SUPPORTS
depends on !BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
depends on BR2_TOOLCHAIN_HAS_THREADS
# uClibc doesn't provide __register_atfork() without NPTL
--
2.42.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH v2, 1/1] package/openssl: add BR2_PACKAGE_LIBRESSL_ARCH_SUPPORTS
2023-12-03 18:29 [Buildroot] [PATCH v2, 1/1] package/openssl: add BR2_PACKAGE_LIBRESSL_ARCH_SUPPORTS Fabrice Fontaine
@ 2024-07-13 12:52 ` Thomas Petazzoni via buildroot
2024-08-09 21:07 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-13 12:52 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
Hello,
On Sun, 3 Dec 2023 19:29:11 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> libressl doesn't support all architectures since bump to version 3.8.2
> in commit 21eca49ed5110872407b76ab9337d2877c4cda24 and
> https://github.com/libressl/portable/commit/b98c56fd5e86fa76eb55a98a2266a923f64f705c
> https://github.com/libressl/portable/commit/71ce0b8c3e07079a40011d2f3515969e3bdf302e:
>
> In file included from /home/autobuild/autobuild/instance-4/output-1/build/libressl-3.8.2/crypto/rc4/rc4_enc.c:61:
> /home/autobuild/autobuild/instance-4/output-1/build/libressl-3.8.2/crypto/../include/openssl/rc4.h:75:9: error: unknown type name 'RC4_INT'
> 75 | RC4_INT x, y;
> | ^~~~~~~
>
> Fixes:
> - http://autobuild.buildroot.org/results/1f6ac121b3771ccc4b0e846c061b7002ccb63963
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Thanks, patch applied, sorry for the huge delay!
I even submitted a small
contribution https://github.com/libressl/portable/pull/1070 to error out with
a nice error message rather than horribly failing at build time.
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH v2, 1/1] package/openssl: add BR2_PACKAGE_LIBRESSL_ARCH_SUPPORTS
2024-07-13 12:52 ` Thomas Petazzoni via buildroot
@ 2024-08-09 21:07 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-08-09 21:07 UTC (permalink / raw)
To: Thomas Petazzoni via buildroot; +Cc: Fabrice Fontaine, Thomas Petazzoni
>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:
> Hello,
> On Sun, 3 Dec 2023 19:29:11 +0100
> Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
>> libressl doesn't support all architectures since bump to version 3.8.2
>> in commit 21eca49ed5110872407b76ab9337d2877c4cda24 and
>> https://github.com/libressl/portable/commit/b98c56fd5e86fa76eb55a98a2266a923f64f705c
>> https://github.com/libressl/portable/commit/71ce0b8c3e07079a40011d2f3515969e3bdf302e:
>>
>> In file included from /home/autobuild/autobuild/instance-4/output-1/build/libressl-3.8.2/crypto/rc4/rc4_enc.c:61:
>> /home/autobuild/autobuild/instance-4/output-1/build/libressl-3.8.2/crypto/../include/openssl/rc4.h:75:9: error: unknown type name 'RC4_INT'
>> 75 | RC4_INT x, y;
>> | ^~~~~~~
>>
>> Fixes:
>> - http://autobuild.buildroot.org/results/1f6ac121b3771ccc4b0e846c061b7002ccb63963
>>
>> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> Thanks, patch applied, sorry for the huge delay!
> I even submitted a small
> contribution https://github.com/libressl/portable/pull/1070 to error out with
> a nice error message rather than horribly failing at build time.
Committed to 2024.02.x and 2024.05.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-09 21:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-03 18:29 [Buildroot] [PATCH v2, 1/1] package/openssl: add BR2_PACKAGE_LIBRESSL_ARCH_SUPPORTS Fabrice Fontaine
2024-07-13 12:52 ` Thomas Petazzoni via buildroot
2024-08-09 21:07 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox