From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] lz4: fix host build with glibc older than 2.17
Date: Fri, 20 Apr 2018 08:40:43 +0200 [thread overview]
Message-ID: <20180420084043.256c7e27@windsurf.numericable.fr> (raw)
In-Reply-To: <81c4c77f0304c32bd46c98bdd34da22c62c4c51e.1524197840.git.baruch@tkos.co.il>
Hello,
On Fri, 20 Apr 2018 07:17:20 +0300, Baruch Siach wrote:
> glibc before 2.17 require the -lrt linker option for clock_gettime(). We
> do not support pre 2.17 glibc for the target anymore, but there are
> still host platforms with these versions. Add upstream patch to skip use
> of clock_gettime() with older glibc versions.
>
> Should fix:
> http://autobuild.buildroot.net/results/bc5/bc5d6447ab16a61d9dcf56723106f0b107826ef4/
> http://autobuild.buildroot.net/results/7dd/7dd47bef902845a0f7803f1a6c702ec154855858/
> http://autobuild.buildroot.net/results/952/9523dbc767dc325befabeb9240c4009e78779c7d/
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> ...rictive-conditions-for-clock_gettime.patch | 58 +++++++++++++++++++
> 1 file changed, 58 insertions(+)
> create mode 100644 package/lz4/0001-use-more-restrictive-conditions-for-clock_gettime.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2018-04-20 6:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-20 4:17 [Buildroot] [PATCH] lz4: fix host build with glibc older than 2.17 Baruch Siach
2018-04-20 6:40 ` Thomas Petazzoni [this message]
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=20180420084043.256c7e27@windsurf.numericable.fr \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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