* [Buildroot] [git commit] libcap-ng: cannot be built with nios2 CS 2014.05 toolchain
@ 2015-05-14 22:33 Peter Korsgaard
2015-05-15 13:37 ` Thomas Petazzoni
0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2015-05-14 22:33 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=a3038d061e541aef0bc449149bf72c6f458d6942
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes:
http://autobuild.buildroot.net/results/d13/d136f763ca3389cdc6a404db7a4fc0cd18329955/
http://autobuild.buildroot.net/results/e00/e002e2a3bd52a3cc3b0d06625de61315d86de524/
http://autobuild.buildroot.net/results/bba/bba9f7130315c9d97cc060a73663276d0fa2c1b3/
http://autobuild.buildroot.net/results/fc7/fc7bc050ef769716dedb0ad81a51e33a12deec47/
And many more.
Building libcap-ng with that toolchain triggers an internal compiler /
assembler bug, so blacklist that combination and propagate to the reverse
dependencies.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/connman/Config.in | 1 +
package/libcap-ng/Config.in | 1 +
package/ofono/Config.in | 2 ++
package/util-linux/Config.in | 1 +
4 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/package/connman/Config.in b/package/connman/Config.in
index a887c2f..ba238af 100644
--- a/package/connman/Config.in
+++ b/package/connman/Config.in
@@ -52,6 +52,7 @@ config BR2_PACKAGE_CONNMAN_NEARD
config BR2_PACKAGE_CONNMAN_OFONO
bool "enable ofono support"
+ depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 # libcap-ng
select BR2_PACKAGE_OFONO
config BR2_PACKAGE_CONNMAN_DEBUG
diff --git a/package/libcap-ng/Config.in b/package/libcap-ng/Config.in
index d1663cd..a52d230 100644
--- a/package/libcap-ng/Config.in
+++ b/package/libcap-ng/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBCAP_NG
bool "libcap-ng"
+ depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 # triggers compiler bug
help
The libcap-ng library is intended to make programming with
posix capabilities much easier than the traditional libcap
diff --git a/package/ofono/Config.in b/package/ofono/Config.in
index b26b5e7..eb1856f 100644
--- a/package/ofono/Config.in
+++ b/package/ofono/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_OFONO
depends on BR2_USE_WCHAR # gettext, libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
depends on BR2_USE_MMU # dbus, libglib2
+ depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 # libcap-ng
select BR2_PACKAGE_LIBCAP_NG
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_LIBGLIB2
@@ -17,3 +18,4 @@ config BR2_PACKAGE_OFONO
comment "ofono needs a toolchain w/ wchar, threads"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index 8ed56b0..39df11c 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -214,6 +214,7 @@ config BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS
config BR2_PACKAGE_UTIL_LINUX_SETPRIV
bool "setpriv"
+ depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 # libcap-ng
select BR2_PACKAGE_LIBCAP_NG
help
Run a program with different Linux privilege settings
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [git commit] libcap-ng: cannot be built with nios2 CS 2014.05 toolchain
2015-05-14 22:33 [Buildroot] [git commit] libcap-ng: cannot be built with nios2 CS 2014.05 toolchain Peter Korsgaard
@ 2015-05-15 13:37 ` Thomas Petazzoni
2015-05-15 13:53 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2015-05-15 13:37 UTC (permalink / raw)
To: buildroot
Dear Peter Korsgaard,
On Fri, 15 May 2015 00:33:25 +0200, Peter Korsgaard wrote:
> config BR2_PACKAGE_CONNMAN_OFONO
> bool "enable ofono support"
> + depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 # libcap-ng
I think you should have probably excluded
BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305 as well. I haven't
tested, but it's pretty likely that it will also break with this
toolchain.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [git commit] libcap-ng: cannot be built with nios2 CS 2014.05 toolchain
2015-05-15 13:37 ` Thomas Petazzoni
@ 2015-05-15 13:53 ` Peter Korsgaard
2015-05-15 15:12 ` Thomas Petazzoni
2015-05-16 15:18 ` Peter Korsgaard
0 siblings, 2 replies; 6+ messages in thread
From: Peter Korsgaard @ 2015-05-15 13:53 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> Dear Peter Korsgaard,
> On Fri, 15 May 2015 00:33:25 +0200, Peter Korsgaard wrote:
>> config BR2_PACKAGE_CONNMAN_OFONO
>> bool "enable ofono support"
>> + depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 # libcap-ng
> I think you should have probably excluded
> BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305 as well. I haven't
> tested, but it's pretty likely that it will also break with this
> toolchain.
Yes, possibly. I had a quick look at the autobuilder failures and didn't
see any with the 2013 version, but I can do a test build.
--
Venlig hilsen,
Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [git commit] libcap-ng: cannot be built with nios2 CS 2014.05 toolchain
2015-05-15 13:53 ` Peter Korsgaard
@ 2015-05-15 15:12 ` Thomas Petazzoni
2015-05-16 15:18 ` Peter Korsgaard
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2015-05-15 15:12 UTC (permalink / raw)
To: buildroot
Dear Peter Korsgaard,
On Fri, 15 May 2015 15:53:21 +0200, Peter Korsgaard wrote:
> > I think you should have probably excluded
> > BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305 as well. I haven't
> > tested, but it's pretty likely that it will also break with this
> > toolchain.
>
> Yes, possibly. I had a quick look at the autobuilder failures and didn't
> see any with the 2013 version, but I can do a test build.
The autobuilders are only testing the 2014 version.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [git commit] libcap-ng: cannot be built with nios2 CS 2014.05 toolchain
2015-05-15 13:53 ` Peter Korsgaard
2015-05-15 15:12 ` Thomas Petazzoni
@ 2015-05-16 15:18 ` Peter Korsgaard
2015-05-16 15:45 ` Thomas Petazzoni
1 sibling, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2015-05-16 15:18 UTC (permalink / raw)
To: buildroot
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
Hi,
>>> config BR2_PACKAGE_CONNMAN_OFONO
>>> bool "enable ofono support"
>>> + depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 # libcap-ng
>> I think you should have probably excluded
>> BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305 as well. I haven't
>> tested, but it's pretty likely that it will also break with this
>> toolchain.
> Yes, possibly. I had a quick look at the autobuilder failures and didn't
> see any with the 2013 version, but I can do a test build.
FYI, it DOES build without issues with the 2013 toolchain, so I'll leave
it as it is.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [git commit] libcap-ng: cannot be built with nios2 CS 2014.05 toolchain
2015-05-16 15:18 ` Peter Korsgaard
@ 2015-05-16 15:45 ` Thomas Petazzoni
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2015-05-16 15:45 UTC (permalink / raw)
To: buildroot
Dear Peter Korsgaard,
On Sat, 16 May 2015 17:18:37 +0200, Peter Korsgaard wrote:
> > Yes, possibly. I had a quick look at the autobuilder failures and didn't
> > see any with the 2013 version, but I can do a test build.
>
> FYI, it DOES build without issues with the 2013 toolchain, so I'll leave
> it as it is.
Ah, ok, thanks for the confirmation.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-05-16 15:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-14 22:33 [Buildroot] [git commit] libcap-ng: cannot be built with nios2 CS 2014.05 toolchain Peter Korsgaard
2015-05-15 13:37 ` Thomas Petazzoni
2015-05-15 13:53 ` Peter Korsgaard
2015-05-15 15:12 ` Thomas Petazzoni
2015-05-16 15:18 ` Peter Korsgaard
2015-05-16 15:45 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox