From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] libcurl: fix build on uncommon architectures
Date: Fri, 11 Aug 2017 22:49:58 +0200 [thread overview]
Message-ID: <20170811224958.6046d1e9@windsurf> (raw)
In-Reply-To: <20170811183420.12238-1-thomas.petazzoni@free-electrons.com>
Hello,
On Fri, 11 Aug 2017 20:34:20 +0200, Thomas Petazzoni wrote:
> Since the bump to 7.55.0, libcurl fails to build on a number of
> uncommon architectures (ARC, OpenRISC, etc.). This is due to upstream
> commit 73a2fcea0b4adea6ba342cd7ed1149782c214ae3 ("includes: remove
> curl/curlbuild.h and curl/curlrules.h"), which makes libcurl rely on
> more architecture-specific related defines in include/curl/system.h.
>
> This commit therefore adds a patch that fixes the 32-bit vs. 64-bit
> detection for all architecture, using gcc's __SIZEOF_LONG__
> definition. It has been tested successfully with test-pkg on all 47
> toolchain configurations.
>
> Fixes:
>
> http://autobuild.buildroot.net/results/bf26c08cf3267214278674472f931603f69951ae/
> (and many similar issues)
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> ...-curl-system.h-support-more-architectures.patch | 47 ++++++++++++++++++++++
> 1 file changed, 47 insertions(+)
> create mode 100644 package/libcurl/0001-curl-system.h-support-more-architectures.patch
Applied to master.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-08-11 20:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-11 18:34 [Buildroot] [PATCH] libcurl: fix build on uncommon architectures Thomas Petazzoni
2017-08-11 20:49 ` Thomas Petazzoni [this message]
2017-09-05 22:02 ` 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=20170811224958.6046d1e9@windsurf \
--to=thomas.petazzoni@free-electrons.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 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.