From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] lttng-babeltrace: fix build failure on gcc14
Date: Tue, 28 May 2013 15:29:42 +0200 [thread overview]
Message-ID: <87sj179qrd.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1369747369-21243-1-git-send-email-thomas.petazzoni@free-electrons.com> (Thomas Petazzoni's message of "Tue, 28 May 2013 15:22:49 +0200")
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> The gcc14 machine has a moderately old host gcc, which was causing a
Thomas> recurrent build failure of host-lttng-babeltrace:
Thomas> http://autobuild.buildroot.org/results/492/49216052c161874f41738e41e6e0c89a6dd04000/build-end.log
Thomas> This commit adds a patch to fix this build failure, related to the
Thomas> access of the ULLONG_MAX define on compilers that did not default to
Thomas> the C99 variant of the C language.
Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas> ---
Thomas> ...beltrace-01-no-posix-fallocate-in-uclibc.patch} | 0
Thomas> ...tng-babeltrace-02-fix-build-old-compilers.patch | 27 ++++++++++++++++++++
Thomas> package/lttng-babeltrace/lttng-babeltrace.mk | 4 +++
Thomas> 3 files changed, 31 insertions(+)
Thomas> rename package/lttng-babeltrace/{lttng-babeltrace-no-posix-fallocate-in-uclibc.patch => lttng-babeltrace-01-no-posix-fallocate-in-uclibc.patch} (100%)
Thomas> create mode 100644 package/lttng-babeltrace/lttng-babeltrace-02-fix-build-old-compilers.patch
Thomas> +++ b/package/lttng-babeltrace/lttng-babeltrace.mk
Thomas> @@ -4,5 +4,9 @@ LTTNG_BABELTRACE_SOURCE = babeltrace-$(LTTNG_BABELTRACE_VERSION).tar.bz2
Thomas> LTTNG_BABELTRACE_DEPENDENCIES = popt util-linux libglib2
Thomas> +# We patch configure.ac to fix a problem that appears
Thomas> +# only with some old host gcc
Thomas> +HOST_LTTNG_BABELTRACE_AUTORECONF = YES
The patch also gets applied for target builds. Don't we need to
autoreconf there as well?
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2013-05-28 13:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-28 13:22 [Buildroot] [PATCH] lttng-babeltrace: fix build failure on gcc14 Thomas Petazzoni
2013-05-28 13:29 ` Peter Korsgaard [this message]
2013-05-28 13:32 ` Thomas Petazzoni
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=87sj179qrd.fsf@dell.be.48ers.dk \
--to=jacmet@uclibc.org \
--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