From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Tan En De <ende.tan@starfivetech.com>
Cc: Stephan Mueller <smueller@chronox.de>, buildroot@buildroot.org
Subject: Re: [Buildroot] [1/1] package/libkcapi: Fix symver build error on non-ELF platforms
Date: Tue, 27 Dec 2022 21:48:24 +0100 [thread overview]
Message-ID: <20221227214824.5068674c@windsurf> (raw)
In-Reply-To: <20221224044616.3909215-1-ende.tan@starfivetech.com>
On Sat, 24 Dec 2022 12:46:16 +0800
Tan En De <ende.tan@starfivetech.com> wrote:
> The following error is observed on Microblaze [1] build:
> ```
> error: symver is only supported on ELF platforms
> ```
> due to using __attribute__((symver)) on non-ELF platform.
> So, revert to using .symver in such case.
>
> [1]: http://autobuild.buildroot.net/results/447/4470efb5a078c0e368f6bd4f5ec455eea5eeebb5/build-end.log
>
> Upstream status: commit f630ed1f807e26de04b3a5dfd7f1b39d1c5cb642
> https://github.com/smuellerDD/libkcapi/pull/147
>
> Signed-off-by: Tan En De <ende.tan@starfivetech.com>
> Signed-off-by: Stephan Mueller <smueller@chronox.de>
> ---
> ...ver-build-error-on-non-ELF-platforms.patch | 84 +++++++++++++++++++
> 1 file changed, 84 insertions(+)
> create mode 100644 package/libkcapi/0003-Fix-symver-build-error-on-non-ELF-platforms.patch
Applied to master, thanks. This macro AC_CHECK_ATTRIBUTE_SYMVER is
actually very good, and I believe a few other packages in Buildroot
could potentially benefit from it.
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:[~2022-12-27 20:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-24 4:46 [Buildroot] [1/1] package/libkcapi: Fix symver build error on non-ELF platforms Tan En De
2022-12-27 20:48 ` Thomas Petazzoni via buildroot [this message]
[not found] ` <2665585.mvXUDI8C0e@positron.chronox.de>
2022-12-28 1:42 ` EnDe Tan
2023-01-02 7: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=20221227214824.5068674c@windsurf \
--to=buildroot@buildroot.org \
--cc=ende.tan@starfivetech.com \
--cc=smueller@chronox.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox