* [Buildroot] [PATCH] systemd: needs kernel headers >= 3.7. @ 2014-03-28 16:31 Eric Le Bihan 2014-03-28 16:31 ` [Buildroot] [PATCH] systemd: enable build for supported architectures Eric Le Bihan 2014-03-29 8:35 ` [Buildroot] [PATCH] systemd: needs kernel headers >= 3.7 Thomas Petazzoni 0 siblings, 2 replies; 8+ messages in thread From: Eric Le Bihan @ 2014-03-28 16:31 UTC (permalink / raw) To: buildroot Systemd needs Linux headers >= 3.7 because it uses IFLA_GRE_FLOWINFO from linux/if_tunnel.h. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> --- system/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/Config.in b/system/Config.in index e8f1ed6..54aac11 100644 --- a/system/Config.in +++ b/system/Config.in @@ -96,12 +96,12 @@ config BR2_INIT_SYSTEMD depends on BR2_TOOLCHAIN_HAS_SSP depends on BR2_USE_MMU depends on !BR2_PREFER_STATIC_LIB - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 select BR2_PACKAGE_SYSTEMD -comment 'systemd needs an (e)glibc toolchain, headers >= 3.0' +comment 'systemd needs an (e)glibc toolchain, headers >= 3.7' depends on !(BR2_TOOLCHAIN_USES_GLIBC \ - && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0) + && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7) config BR2_INIT_NONE bool "None" -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] systemd: enable build for supported architectures. 2014-03-28 16:31 [Buildroot] [PATCH] systemd: needs kernel headers >= 3.7 Eric Le Bihan @ 2014-03-28 16:31 ` Eric Le Bihan 2014-03-29 9:23 ` Thomas Petazzoni 2014-03-29 8:35 ` [Buildroot] [PATCH] systemd: needs kernel headers >= 3.7 Thomas Petazzoni 1 sibling, 1 reply; 8+ messages in thread From: Eric Le Bihan @ 2014-03-28 16:31 UTC (permalink / raw) To: buildroot Systemd only supports the architectures defined in src/shared/architecture.h. So via a new parameter named BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS, we enable the build of this package only for those architectures. Fixes http://autobuild.buildroot.net/results/bcc/bcce95eb0748505c0d62db21a6e420aae3c3181b/ Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> --- package/systemd/Config.in | 9 ++++++++- system/Config.in | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index 838e13e..095fee0 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -1,7 +1,14 @@ +config BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS + bool + # see src/shared/architecture.h + default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || \ + BR2_mipsel || BR2_powerpc || BR2_sh4 || BR2_sh4eb || \ + BR2_sh4a || BR2_sh4aeb || BR2_sparc || BR2_x86_64 || \ + BR2_aarch64 || BR2_m68k + config BR2_PACKAGE_SYSTEMD bool "systemd" depends on BR2_INIT_SYSTEMD - depends on !BR2_avr32 # no epoll_create1 depends on BR2_LARGEFILE # util-linux depends on BR2_USE_WCHAR # util-linux depends on BR2_INET_IPV6 diff --git a/system/Config.in b/system/Config.in index 54aac11..0a00188 100644 --- a/system/Config.in +++ b/system/Config.in @@ -87,7 +87,7 @@ config BR2_INIT_SYSV config BR2_INIT_SYSTEMD bool "systemd" - depends on !BR2_avr32 # no epoll_create1 + depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_USES_GLIBC depends on BR2_LARGEFILE depends on BR2_USE_WCHAR -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] systemd: enable build for supported architectures. 2014-03-28 16:31 ` [Buildroot] [PATCH] systemd: enable build for supported architectures Eric Le Bihan @ 2014-03-29 9:23 ` Thomas Petazzoni 0 siblings, 0 replies; 8+ messages in thread From: Thomas Petazzoni @ 2014-03-29 9:23 UTC (permalink / raw) To: buildroot Dear Eric Le Bihan, On Fri, 28 Mar 2014 17:31:06 +0100, Eric Le Bihan wrote: > Systemd only supports the architectures defined in > src/shared/architecture.h. So via a new parameter named > BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS, we enable the build of this package > only for those architectures. > > Fixes http://autobuild.buildroot.net/results/bcc/bcce95eb0748505c0d62db21a6e420aae3c3181b/ > > Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> > --- > package/systemd/Config.in | 9 ++++++++- > system/Config.in | 2 +- > 2 files changed, 9 insertions(+), 2 deletions(-) Applied, thanks. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] systemd: needs kernel headers >= 3.7. 2014-03-28 16:31 [Buildroot] [PATCH] systemd: needs kernel headers >= 3.7 Eric Le Bihan 2014-03-28 16:31 ` [Buildroot] [PATCH] systemd: enable build for supported architectures Eric Le Bihan @ 2014-03-29 8:35 ` Thomas Petazzoni 2014-03-29 9:32 ` Yann E. MORIN 1 sibling, 1 reply; 8+ messages in thread From: Thomas Petazzoni @ 2014-03-29 8:35 UTC (permalink / raw) To: buildroot Dear Eric Le Bihan, On Fri, 28 Mar 2014 17:31:05 +0100, Eric Le Bihan wrote: > Systemd needs Linux headers >= 3.7 because it uses IFLA_GRE_FLOWINFO > from linux/if_tunnel.h. > > Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> > --- > system/Config.in | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Are you sure Linux headers >= 3.7 are sufficient? I'm looking at the build failure at http://autobuild.buildroot.org/results/ad3/ad3b4003dc50582a493f1156234d83652104a6bf/build-end.log, and it looks like missing kernel definitions, even though the toolchain apparently uses 3.7 kernel headers, as far as I can see. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] systemd: needs kernel headers >= 3.7. 2014-03-29 8:35 ` [Buildroot] [PATCH] systemd: needs kernel headers >= 3.7 Thomas Petazzoni @ 2014-03-29 9:32 ` Yann E. MORIN 2014-03-31 9:40 ` Eric Le Bihan 2014-07-29 14:14 ` Peter Korsgaard 0 siblings, 2 replies; 8+ messages in thread From: Yann E. MORIN @ 2014-03-29 9:32 UTC (permalink / raw) To: buildroot Eric, Thomas, All, On 2014-03-29 09:35 +0100, Thomas Petazzoni spake thusly: > On Fri, 28 Mar 2014 17:31:05 +0100, Eric Le Bihan wrote: > > Systemd needs Linux headers >= 3.7 because it uses IFLA_GRE_FLOWINFO > > from linux/if_tunnel.h. > > > > Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> > > --- > > system/Config.in | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > Are you sure Linux headers >= 3.7 are sufficient? I'm looking at the > build failure at > http://autobuild.buildroot.org/results/ad3/ad3b4003dc50582a493f1156234d83652104a6bf/build-end.log, > and it looks like missing kernel definitions, even though the toolchain > apparently uses 3.7 kernel headers, as far as I can see. No, they were introduced in 3.8. What's confusing is that the changesets were done on a v3.7-rc* tree, so when one git-blames the affected file, checkouts the changeset with the chagnes, and looks at Makefile, one will see 3.7-rc1. But they eventually landed in 3.8. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] systemd: needs kernel headers >= 3.7. 2014-03-29 9:32 ` Yann E. MORIN @ 2014-03-31 9:40 ` Eric Le Bihan 2014-03-31 9:46 ` Thomas Petazzoni 2014-07-29 14:14 ` Peter Korsgaard 1 sibling, 1 reply; 8+ messages in thread From: Eric Le Bihan @ 2014-03-31 9:40 UTC (permalink / raw) To: buildroot Yann E., Thomas, All, On Sat, Mar 29, 2014 at 10:32:08AM +0100, Yann E. MORIN wrote: > Eric, Thomas, All, > > On 2014-03-29 09:35 +0100, Thomas Petazzoni spake thusly: > > On Fri, 28 Mar 2014 17:31:05 +0100, Eric Le Bihan wrote: > > > Systemd needs Linux headers >= 3.7 because it uses IFLA_GRE_FLOWINFO > > > from linux/if_tunnel.h. > > > > > > Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> > > > --- > > > system/Config.in | 6 +++--- > > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > Are you sure Linux headers >= 3.7 are sufficient? I'm looking at the > > build failure at > > http://autobuild.buildroot.org/results/ad3/ad3b4003dc50582a493f1156234d83652104a6bf/build-end.log, > > and it looks like missing kernel definitions, even though the toolchain > > apparently uses 3.7 kernel headers, as far as I can see. > > No, they were introduced in 3.8. > > What's confusing is that the changesets were done on a v3.7-rc* tree, > so when one git-blames the affected file, checkouts the changeset with > the chagnes, and looks at Makefile, one will see 3.7-rc1. But they > eventually landed in 3.8. Thanks for clarifying! BTW, why is it only possible to use an external toolchain for AArch64, and not a Buildroot one? I've also noticied that the recently released Linaro 14.03 still uses Linux headers 3.7... Best regards, ELB ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] systemd: needs kernel headers >= 3.7. 2014-03-31 9:40 ` Eric Le Bihan @ 2014-03-31 9:46 ` Thomas Petazzoni 0 siblings, 0 replies; 8+ messages in thread From: Thomas Petazzoni @ 2014-03-31 9:46 UTC (permalink / raw) To: buildroot Dear Eric Le Bihan, On Mon, 31 Mar 2014 11:40:57 +0200, Eric Le Bihan wrote: > BTW, why is it only possible to use an external toolchain for AArch64, and not > a Buildroot one? I've also noticied that the recently released Linaro 14.03 > still uses Linux headers 3.7... Because when I added AArch64 support in Buildroot, the support for it was not yet in mainline gcc/binutils/gdb/glibc. It was still in the process of being merged. Now that it has been done, it should be possible to add AArch64 support in the internal toolchain backend, without too much troubles, hopefully. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] systemd: needs kernel headers >= 3.7. 2014-03-29 9:32 ` Yann E. MORIN 2014-03-31 9:40 ` Eric Le Bihan @ 2014-07-29 14:14 ` Peter Korsgaard 1 sibling, 0 replies; 8+ messages in thread From: Peter Korsgaard @ 2014-07-29 14:14 UTC (permalink / raw) To: buildroot >>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes: Hi, >> Are you sure Linux headers >= 3.7 are sufficient? I'm looking at the >> build failure at >> http://autobuild.buildroot.org/results/ad3/ad3b4003dc50582a493f1156234d83652104a6bf/build-end.log, >> and it looks like missing kernel definitions, even though the toolchain >> apparently uses 3.7 kernel headers, as far as I can see. > No, they were introduced in 3.8. > What's confusing is that the changesets were done on a v3.7-rc* tree, > so when one git-blames the affected file, checkouts the changeset with > the chagnes, and looks at Makefile, one will see 3.7-rc1. But they > eventually landed in 3.8. Old mail, but I only got to read it now. You need to use git describe --contains <hash> to see the first git tag containing that change, E.G.: git describe --match v3.\* --contains 0974658da47cb399b76794057823bf3cd22acf3 v3.8-rc1~139^2~384 (I have a linux-next remote here, so it would match on the next tag instead unless I use --match). E.G. this was merged 139 commits before 3.8-rc1 was tagged. -- Bye, Peter Korsgaard ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-07-29 14:14 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-03-28 16:31 [Buildroot] [PATCH] systemd: needs kernel headers >= 3.7 Eric Le Bihan 2014-03-28 16:31 ` [Buildroot] [PATCH] systemd: enable build for supported architectures Eric Le Bihan 2014-03-29 9:23 ` Thomas Petazzoni 2014-03-29 8:35 ` [Buildroot] [PATCH] systemd: needs kernel headers >= 3.7 Thomas Petazzoni 2014-03-29 9:32 ` Yann E. MORIN 2014-03-31 9:40 ` Eric Le Bihan 2014-03-31 9:46 ` Thomas Petazzoni 2014-07-29 14:14 ` Peter Korsgaard
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox