From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Mon, 11 Jul 2016 19:16:30 +0200 Subject: [Buildroot] [PATCH] package/systemd: importd broken on Sourcery CodeBench ARM 2014.05 In-Reply-To: <20160711110225.19dfaa5f@free-electrons.com> References: <1468187781-7497-1-git-send-email-yann.morin.1998@free.fr> <20160711110225.19dfaa5f@free-electrons.com> Message-ID: <20160711171630.GD3734@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Thomas, All, On 2016-07-11 11:02 +0200, Thomas Petazzoni spake thusly: > On Sun, 10 Jul 2016 23:56:21 +0200, Yann E. MORIN wrote: > > This toolchain uses glibc-2.18, which is tool old to provide O_TMPFILE, > > which was added only in glibc-2.19. > > > > Signed-off-by: "Yann E. MORIN" > > --- > > package/systemd/Config.in | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/package/systemd/Config.in b/package/systemd/Config.in > > index 4a2aa33..48e6c45 100644 > > --- a/package/systemd/Config.in > > +++ b/package/systemd/Config.in > > @@ -145,6 +145,8 @@ config BR2_PACKAGE_SYSTEMD_IMPORTD > > bool "enable import daemon" > > depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt > > depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 # O_TMPFILE > > + # This toolchain has glibc-2.18, too old to provide O_TMPFILE > > + depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM > > So is the problem a kernel headers problem, or a glibc version problem ? Both. O_TMPFILE was introduced in Linux 3.11, so we need at least those headers. Also, glibc-2.18 did not provide it in fcntl.h; it only appeared in glibc-2.19. 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. | '------------------------------^-------^------------------^--------------------'