From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/sudo: fix openssl static build
Date: Wed, 22 Feb 2023 15:56:01 +0100 [thread overview]
Message-ID: <20230222155601.279070c4@windsurf> (raw)
In-Reply-To: <20230222094441.439014-1-fontaine.fabrice@gmail.com>
On Wed, 22 Feb 2023 10:44:41 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following build failure with sparc raised since bump to version
> 1.9.11p2 in commit 9b7f8da96be549a52630cd87b30851d600f163a4 and
> https://github.com/sudo-project/sudo/commit/9fbbca7b7a4cc60a8aa27d73de54278004a704c0:
>
> hecking for X509_STORE_CTX_get0_cert
> configure:21215: /home/thomas/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DZLIB_CONST -static conftest.c -L/home/thomas/autobuild/instance-3/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lz -pthread -latomic -lcrypto >&5
> /home/thomas/autobuild/instance-3/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/thomas/autobuild/instance-3/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(x509cset.o): in function `X509_CRL_up_ref':
> x509cset.c:(.text+0x108): undefined reference to `__atomic_fetch_add_4'
>
> [...]
>
> In file included from ./hostcheck.c:38:
> ../../include/sudo_compat.h:342:41: error: conflicting types for 'ASN1_STRING_data'
> 342 | # define ASN1_STRING_get0_data(x) ASN1_STRING_data(x)
> | ^~~~~~~~~~~~~~~~
>
> Fixes:
> - http://autobuild.buildroot.org/results/8be59dd94e4916f9457cb435104e36e62a28373b
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...onfigure.ac-fix-openssl-static-build.patch | 49 +++++++++++++++++++
> package/sudo/sudo.mk | 2 +
> 2 files changed, 51 insertions(+)
> create mode 100644 package/sudo/0001-configure.ac-fix-openssl-static-build.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-02-22 14:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-22 9:44 [Buildroot] [PATCH 1/1] package/sudo: fix openssl static build Fabrice Fontaine
2023-02-22 14:56 ` Thomas Petazzoni via buildroot [this message]
2023-03-05 17:25 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230222155601.279070c4@windsurf \
--to=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.