* [Buildroot] [PATCH 0/6] Lttng packages bump
@ 2014-03-01 23:39 Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 1/6] liburcu: bump version to 0.8.3 Samuel Martin
` (5 more replies)
0 siblings, 6 replies; 12+ messages in thread
From: Samuel Martin @ 2014-03-01 23:39 UTC (permalink / raw)
To: buildroot
Hi all,
Here is a short series bumping LTTng related packages to their latest
version.
Yours,
Samuel
Samuel Martin (6):
liburcu: bump version to 0.8.3
lttng-libust: bump version to 2.4.0
lttng-modules: bump version to 2.4.0
lttng-tools: bump version to 2.4.0
lttng-babeltrace: bump version to 1.2.0
liburcu: disable build with gcc-4.8.x on ARM
package/liburcu/Config.in | 11 +++++++++++
package/liburcu/liburcu.mk | 6 +++---
package/lttng-babeltrace/lttng-babeltrace.mk | 6 +++---
package/lttng-libust/Config.in | 6 ++++++
package/lttng-libust/lttng-libust.mk | 4 ++--
package/lttng-modules/lttng-modules.mk | 2 +-
package/lttng-tools/Config.in | 6 ++++++
package/lttng-tools/lttng-tools.mk | 7 +++----
8 files changed, 35 insertions(+), 13 deletions(-)
--
1.9.0
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 1/6] liburcu: bump version to 0.8.3
2014-03-01 23:39 [Buildroot] [PATCH 0/6] Lttng packages bump Samuel Martin
@ 2014-03-01 23:39 ` Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 2/6] lttng-libust: bump version to 2.4.0 Samuel Martin
` (4 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Samuel Martin @ 2014-03-01 23:39 UTC (permalink / raw)
To: buildroot
Also adjust the license details
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
package/liburcu/liburcu.mk | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/liburcu/liburcu.mk b/package/liburcu/liburcu.mk
index a586382..44b640d 100644
--- a/package/liburcu/liburcu.mk
+++ b/package/liburcu/liburcu.mk
@@ -4,11 +4,11 @@
#
################################################################################
-LIBURCU_VERSION = 0.7.7
+LIBURCU_VERSION = 0.8.3
LIBURCU_SITE = http://lttng.org/files/urcu/
LIBURCU_SOURCE = userspace-rcu-$(LIBURCU_VERSION).tar.bz2
-LIBURCU_LICENSE = LGPLv2.1+ for the library; MIT-like license for few source files listed in LICENSE
-LIBURCU_LICENSE_FILES = lgpl-2.1.txt lgpl-relicensing.txt LICENSE
+LIBURCU_LICENSE = LGPLv2.1+ for the library; MIT-like license for few source files listed in LICENSE; GPLv2+ for test; GPLv3 for few *.m4 files
+LIBURCU_LICENSE_FILES = lgpl-2.1.txt lgpl-relicensing.txt gpl-2.0.txt LICENSE
LIBURCU_INSTALL_STAGING = YES
--
1.9.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 2/6] lttng-libust: bump version to 2.4.0
2014-03-01 23:39 [Buildroot] [PATCH 0/6] Lttng packages bump Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 1/6] liburcu: bump version to 0.8.3 Samuel Martin
@ 2014-03-01 23:39 ` Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 3/6] lttng-modules: " Samuel Martin
` (3 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Samuel Martin @ 2014-03-01 23:39 UTC (permalink / raw)
To: buildroot
Also adjust the license details
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
package/lttng-libust/lttng-libust.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/lttng-libust/lttng-libust.mk b/package/lttng-libust/lttng-libust.mk
index b0ebd3f..375a6a3 100644
--- a/package/lttng-libust/lttng-libust.mk
+++ b/package/lttng-libust/lttng-libust.mk
@@ -5,9 +5,9 @@
################################################################################
LTTNG_LIBUST_SITE = http://lttng.org/files/lttng-ust/
-LTTNG_LIBUST_VERSION = 2.2.0
+LTTNG_LIBUST_VERSION = 2.4.0
LTTNG_LIBUST_SOURCE = lttng-ust-$(LTTNG_LIBUST_VERSION).tar.bz2
-LTTNG_LIBUST_LICENSE = LGPLv2.1; GPLv2 for lttng-gen-tp and ust-ctl
+LTTNG_LIBUST_LICENSE = LGPLv2.1; MIT for system headers; GPLv2 for liblttng-ust-ctl/ustctl.c (used by lttng-sessiond)
LTTNG_LIBUST_LICENSE_FILES = COPYING
LTTNG_LIBUST_INSTALL_STAGING = YES
--
1.9.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 3/6] lttng-modules: bump version to 2.4.0
2014-03-01 23:39 [Buildroot] [PATCH 0/6] Lttng packages bump Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 1/6] liburcu: bump version to 0.8.3 Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 2/6] lttng-libust: bump version to 2.4.0 Samuel Martin
@ 2014-03-01 23:39 ` Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 4/6] lttng-tools: " Samuel Martin
` (2 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Samuel Martin @ 2014-03-01 23:39 UTC (permalink / raw)
To: buildroot
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
package/lttng-modules/lttng-modules.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/lttng-modules/lttng-modules.mk b/package/lttng-modules/lttng-modules.mk
index baa421e..ca51e87 100644
--- a/package/lttng-modules/lttng-modules.mk
+++ b/package/lttng-modules/lttng-modules.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LTTNG_MODULES_VERSION = 2.2.0
+LTTNG_MODULES_VERSION = 2.4.0
LTTNG_MODULES_SITE = http://lttng.org/files/lttng-modules/
LTTNG_MODULES_SOURCE = lttng-modules-$(LTTNG_MODULES_VERSION).tar.bz2
LTTNG_MODULES_LICENSE = LGPLv2.1/GPLv2 for kernel modules; MIT for lib/bitfield.h and lib/prio_heap/*
--
1.9.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 4/6] lttng-tools: bump version to 2.4.0
2014-03-01 23:39 [Buildroot] [PATCH 0/6] Lttng packages bump Samuel Martin
` (2 preceding siblings ...)
2014-03-01 23:39 ` [Buildroot] [PATCH 3/6] lttng-modules: " Samuel Martin
@ 2014-03-01 23:39 ` Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 5/6] lttng-babeltrace: bump version to 1.2.0 Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 6/6] liburcu: disable build with gcc-4.8.x on ARM Samuel Martin
5 siblings, 0 replies; 12+ messages in thread
From: Samuel Martin @ 2014-03-01 23:39 UTC (permalink / raw)
To: buildroot
Also adjust the license details
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
package/lttng-tools/lttng-tools.mk | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/package/lttng-tools/lttng-tools.mk b/package/lttng-tools/lttng-tools.mk
index f6eff96..260bf82 100644
--- a/package/lttng-tools/lttng-tools.mk
+++ b/package/lttng-tools/lttng-tools.mk
@@ -4,12 +4,11 @@
#
################################################################################
-LTTNG_TOOLS_VERSION = 2.2.0
+LTTNG_TOOLS_VERSION = 2.4.0
LTTNG_TOOLS_SITE = http://lttng.org/files/lttng-tools/
LTTNG_TOOLS_SOURCE = lttng-tools-$(LTTNG_TOOLS_VERSION).tar.bz2
-LTTNG_TOOLS_LICENSE = GPLv2; LGPLv2.1 for include/lttng/* and src/lib/lttng-ctl/*
-# gpl-2.0.txt and lgpl-2.1.txt files are missing from the sources
-LTTNG_TOOLS_LICENSE_FILES = LICENSE
+LTTNG_TOOLS_LICENSE = GPLv2+; LGPLv2.1+ for include/lttng/* and src/lib/lttng-ctl/*
+LTTNG_TOOLS_LICENSE_FILES = gpl-2.0.txt lgpl-2.1.txt LICENSE
# The host-lttng-babeltrace technically isn't a required build
# dependency. However, having the babeltrace utilities built for the
--
1.9.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 5/6] lttng-babeltrace: bump version to 1.2.0
2014-03-01 23:39 [Buildroot] [PATCH 0/6] Lttng packages bump Samuel Martin
` (3 preceding siblings ...)
2014-03-01 23:39 ` [Buildroot] [PATCH 4/6] lttng-tools: " Samuel Martin
@ 2014-03-01 23:39 ` Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 6/6] liburcu: disable build with gcc-4.8.x on ARM Samuel Martin
5 siblings, 0 replies; 12+ messages in thread
From: Samuel Martin @ 2014-03-01 23:39 UTC (permalink / raw)
To: buildroot
Also adjust the license details
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
package/lttng-babeltrace/lttng-babeltrace.mk | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/lttng-babeltrace/lttng-babeltrace.mk b/package/lttng-babeltrace/lttng-babeltrace.mk
index 044dac0..f72abd7 100644
--- a/package/lttng-babeltrace/lttng-babeltrace.mk
+++ b/package/lttng-babeltrace/lttng-babeltrace.mk
@@ -5,10 +5,10 @@
################################################################################
LTTNG_BABELTRACE_SITE = http://lttng.org/files/babeltrace/
-LTTNG_BABELTRACE_VERSION = 1.1.1
+LTTNG_BABELTRACE_VERSION = 1.2.0
LTTNG_BABELTRACE_SOURCE = babeltrace-$(LTTNG_BABELTRACE_VERSION).tar.bz2
-LTTNG_BABELTRACE_LICENSE = MIT; LGPLv2 for include/babeltrace/list.h; GPLv3+ for formats/ctf/metadata/ctf-parser.h
-LTTNG_BABELTRACE_LICENSE_FILES = mit-license.txt LICENSE
+LTTNG_BABELTRACE_LICENSE = MIT; LGPL2.1 for include/babeltrace/list.h; GPLv2+ for test code
+LTTNG_BABELTRACE_LICENSE_FILES = mit-license.txt glp-2.0.txt LICENSE
LTTNG_BABELTRACE_DEPENDENCIES = popt util-linux libglib2
--
1.9.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 6/6] liburcu: disable build with gcc-4.8.x on ARM
2014-03-01 23:39 [Buildroot] [PATCH 0/6] Lttng packages bump Samuel Martin
` (4 preceding siblings ...)
2014-03-01 23:39 ` [Buildroot] [PATCH 5/6] lttng-babeltrace: bump version to 1.2.0 Samuel Martin
@ 2014-03-01 23:39 ` Samuel Martin
2014-03-06 22:17 ` Thomas Petazzoni
5 siblings, 1 reply; 12+ messages in thread
From: Samuel Martin @ 2014-03-01 23:39 UTC (permalink / raw)
To: buildroot
Because of a gcc bug [1], liburcu checks for compiler version [2] and
stops the build prematurely if gcc-4.8.[0-2] is detected for ARM.
So, this patch tries to reflect this toolchain dependency on liburcu and
all its reverse dependency packages.
However, a limitation of this is when the user is using a custom
toolchain; that's why the bug details have been added in the liburcu
help message.
[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854
[2] http://git.lttng.org/?p=userspace-rcu.git;a=commitdiff;h=4b79310
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
package/liburcu/Config.in | 11 +++++++++++
package/lttng-libust/Config.in | 6 ++++++
package/lttng-tools/Config.in | 6 ++++++
3 files changed, 23 insertions(+)
diff --git a/package/liburcu/Config.in b/package/liburcu/Config.in
index 15ad5bd..90e9199 100644
--- a/package/liburcu/Config.in
+++ b/package/liburcu/Config.in
@@ -1,6 +1,12 @@
config BR2_PACKAGE_LIBURCU
bool "liburcu"
depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
+ # liburcu/gcc-4.8.x bug
+ depends on !((BR2_arm || BR2_armeb) && (BR2_GCC_VERSION_4_8_X || \
+ BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11 || \
+ BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10 || \
+ BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09 || \
+ BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311))
depends on BR2_TOOLCHAIN_HAS_THREADS
help
Userspace implementation of the Read-Copy-Update (RCU)
@@ -8,6 +14,11 @@ config BR2_PACKAGE_LIBURCU
the LTTng tracing infrastructure, but can be used for other
purposes as well.
+ On ARM, liburcu cannot be built using gcc 4.8.0, 4.8.1 or 4.8.2
+ because of:
+ http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854
+ http://git.lttng.org/?p=userspace-rcu.git;a=commitdiff;h=4b79310
+
http://lttng.org/urcu
comment "liburcu needs a toolchain w/ threads"
diff --git a/package/lttng-libust/Config.in b/package/lttng-libust/Config.in
index 5e1a6d4..7ec5053 100644
--- a/package/lttng-libust/Config.in
+++ b/package/lttng-libust/Config.in
@@ -1,5 +1,11 @@
config BR2_PACKAGE_LTTNG_LIBUST
bool "lttng-libust"
+ # liburcu/gcc-4.8.x bug
+ depends on !((BR2_arm || BR2_armeb) && (BR2_GCC_VERSION_4_8_X || \
+ BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11 || \
+ BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10 || \
+ BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09 || \
+ BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311))
select BR2_PACKAGE_LIBURCU
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
diff --git a/package/lttng-tools/Config.in b/package/lttng-tools/Config.in
index 1e9e0c3..0f31bee 100644
--- a/package/lttng-tools/Config.in
+++ b/package/lttng-tools/Config.in
@@ -1,5 +1,11 @@
config BR2_PACKAGE_LTTNG_TOOLS
bool "lttng-tools"
+ # liburcu/gcc-4.8.x bug
+ depends on !((BR2_arm || BR2_armeb) && (BR2_GCC_VERSION_4_8_X || \
+ BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11 || \
+ BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10 || \
+ BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09 || \
+ BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311))
select BR2_PACKAGE_LIBURCU
select BR2_PACKAGE_POPT
select BR2_PACKAGE_UTIL_LINUX
--
1.9.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 6/6] liburcu: disable build with gcc-4.8.x on ARM
2014-03-01 23:39 ` [Buildroot] [PATCH 6/6] liburcu: disable build with gcc-4.8.x on ARM Samuel Martin
@ 2014-03-06 22:17 ` Thomas Petazzoni
2014-03-07 12:59 ` Samuel Martin
0 siblings, 1 reply; 12+ messages in thread
From: Thomas Petazzoni @ 2014-03-06 22:17 UTC (permalink / raw)
To: buildroot
Dear Samuel Martin,
On Sun, 2 Mar 2014 00:39:53 +0100, Samuel Martin wrote:
> + # liburcu/gcc-4.8.x bug
> + depends on !((BR2_arm || BR2_armeb) && (BR2_GCC_VERSION_4_8_X || \
> + BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11 || \
> + BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10 || \
> + BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09 || \
> + BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311))
The exclusion of BR2_GCC_VERSION_4_8_X is wrong, because we have in
Buildroot the patch fixing the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854 gcc bug.
But generally, I'm not really happy with this approach, as we would
have to update these dependencies every time we bump/change the
external toolchain Kconfig options... Unfortunately I don't have a
better suggestion.
Maybe I would prefer something like:
config BR2_TOOLCHAIN_HAS_GCC_BUG_58854
bool
And then the toolchain impacted by the bug would select it. For
example, are you sure the Linaro toolchains are affected by the
problem? Most likely they have backported the change that is needed to
fix this problem.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 6/6] liburcu: disable build with gcc-4.8.x on ARM
2014-03-06 22:17 ` Thomas Petazzoni
@ 2014-03-07 12:59 ` Samuel Martin
2014-03-07 13:04 ` Thomas Petazzoni
0 siblings, 1 reply; 12+ messages in thread
From: Samuel Martin @ 2014-03-07 12:59 UTC (permalink / raw)
To: buildroot
Hi Thomas, all,
On Thu, Mar 6, 2014 at 11:17 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Samuel Martin,
>
> On Sun, 2 Mar 2014 00:39:53 +0100, Samuel Martin wrote:
>
>> + # liburcu/gcc-4.8.x bug
>> + depends on !((BR2_arm || BR2_armeb) && (BR2_GCC_VERSION_4_8_X || \
>> + BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11 || \
>> + BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10 || \
>> + BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09 || \
>> + BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311))
>
> The exclusion of BR2_GCC_VERSION_4_8_X is wrong, because we have in
> Buildroot the patch fixing the
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854 gcc bug.
>
> But generally, I'm not really happy with this approach, as we would
> have to update these dependencies every time we bump/change the
> external toolchain Kconfig options... Unfortunately I don't have a
> better suggestion.
I did this because of the patch in liburcu checking for the compiler version.
I did not notice BR carries the patch fixing this bug.
>
> Maybe I would prefer something like:
>
> config BR2_TOOLCHAIN_HAS_GCC_BUG_58854
> bool
>
> And then the toolchain impacted by the bug would select it. For
> example, are you sure the Linaro toolchains are affected by the
> problem? Most likely they have backported the change that is needed to
> fix this problem.
Indeed, it sounds like a less restrictive way of handling this (even
if it implies more testing ;-])
Regards,
--
Samuel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 6/6] liburcu: disable build with gcc-4.8.x on ARM
2014-03-07 12:59 ` Samuel Martin
@ 2014-03-07 13:04 ` Thomas Petazzoni
2014-03-07 13:14 ` Samuel Martin
0 siblings, 1 reply; 12+ messages in thread
From: Thomas Petazzoni @ 2014-03-07 13:04 UTC (permalink / raw)
To: buildroot
Dear Samuel Martin,
On Fri, 7 Mar 2014 13:59:29 +0100, Samuel Martin wrote:
> > The exclusion of BR2_GCC_VERSION_4_8_X is wrong, because we have in
> > Buildroot the patch fixing the
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854 gcc bug.
> >
> > But generally, I'm not really happy with this approach, as we would
> > have to update these dependencies every time we bump/change the
> > external toolchain Kconfig options... Unfortunately I don't have a
> > better suggestion.
>
> I did this because of the patch in liburcu checking for the compiler version.
> I did not notice BR carries the patch fixing this bug.
So liburcu checks itself that the gcc version should be different than
4.8.0, 4.8.1 and 4.8.2 ? It doesn't take into account that the 4.8.2
might have been patched to fix the problem ? Can this test be disabled ?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 6/6] liburcu: disable build with gcc-4.8.x on ARM
2014-03-07 13:04 ` Thomas Petazzoni
@ 2014-03-07 13:14 ` Samuel Martin
2014-03-07 13:25 ` Thomas Petazzoni
0 siblings, 1 reply; 12+ messages in thread
From: Samuel Martin @ 2014-03-07 13:14 UTC (permalink / raw)
To: buildroot
On Fri, Mar 7, 2014 at 2:04 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Samuel Martin,
>
> On Fri, 7 Mar 2014 13:59:29 +0100, Samuel Martin wrote:
>
>> > The exclusion of BR2_GCC_VERSION_4_8_X is wrong, because we have in
>> > Buildroot the patch fixing the
>> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854 gcc bug.
>> >
>> > But generally, I'm not really happy with this approach, as we would
>> > have to update these dependencies every time we bump/change the
>> > external toolchain Kconfig options... Unfortunately I don't have a
>> > better suggestion.
>>
>> I did this because of the patch in liburcu checking for the compiler version.
>> I did not notice BR carries the patch fixing this bug.
>
> So liburcu checks itself that the gcc version should be different than
> 4.8.0, 4.8.1 and 4.8.2 ?
Yes, it's done by this patch:
http://git.lttng.org/?p=userspace-rcu.git;a=commitdiff;h=4b79310
> It doesn't take into account that the 4.8.2
> might have been patched to fix the problem ?
Nope :-/
> Can this test be disabled ?
Certainly, I'm just not sure checking the compiler has the fix will be
easy... anyway.
Just to be clear, your suggestion is only about enabling gcc-4.8.2
(with the fix), not gcc-4.8.0 nor gcc-4.8.1, right?
Then we have to check for each external toolchain if it has the fix.
What about custom toolchain based on gcc-4.8.2? Shall we able it
(warning the user) or just disabling it?
Regards,
--
Samuel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 6/6] liburcu: disable build with gcc-4.8.x on ARM
2014-03-07 13:14 ` Samuel Martin
@ 2014-03-07 13:25 ` Thomas Petazzoni
0 siblings, 0 replies; 12+ messages in thread
From: Thomas Petazzoni @ 2014-03-07 13:25 UTC (permalink / raw)
To: buildroot
Dear Samuel Martin,
On Fri, 7 Mar 2014 14:14:45 +0100, Samuel Martin wrote:
> > So liburcu checks itself that the gcc version should be different than
> > 4.8.0, 4.8.1 and 4.8.2 ?
>
> Yes, it's done by this patch:
> http://git.lttng.org/?p=userspace-rcu.git;a=commitdiff;h=4b79310
This patch is a bit stupid. It should actually test for the problem
itself, not make some assumption about the gcc version.
> Just to be clear, your suggestion is only about enabling gcc-4.8.2
> (with the fix), not gcc-4.8.0 nor gcc-4.8.1, right?
We don't support 4.8.0 and 4.8.1 in the internal toolchain backend.
> Then we have to check for each external toolchain if it has the fix.
Yes.
> What about custom toolchain based on gcc-4.8.2? Shall we able it
> (warning the user) or just disabling it?
For custom toolchains, we have absolutely no idea which gcc version is
being used at the Kconfig level, so I don't know how we could disallow
building the package in this case.
That being said, the kernel also mis-compiles on ARM with gcc 4.8.x if
you don't have this fix, and we haven't done anything to prevent people
from building the kernel against unfixed versions of gcc 4.8.x.
Therefore, should we care about liburcu ?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2014-03-07 13:25 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-01 23:39 [Buildroot] [PATCH 0/6] Lttng packages bump Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 1/6] liburcu: bump version to 0.8.3 Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 2/6] lttng-libust: bump version to 2.4.0 Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 3/6] lttng-modules: " Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 4/6] lttng-tools: " Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 5/6] lttng-babeltrace: bump version to 1.2.0 Samuel Martin
2014-03-01 23:39 ` [Buildroot] [PATCH 6/6] liburcu: disable build with gcc-4.8.x on ARM Samuel Martin
2014-03-06 22:17 ` Thomas Petazzoni
2014-03-07 12:59 ` Samuel Martin
2014-03-07 13:04 ` Thomas Petazzoni
2014-03-07 13:14 ` Samuel Martin
2014-03-07 13:25 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).