From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Khem Raj <raj.khem@gmail.com>
Cc: Guo Chunrong-B40290 <B40290@freescale.com>,
Liu Ting-B28495 <B28495@freescale.com>,
Luo Zhenhua-B19537 <B19537@freescale.com>,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: The build issue of wayland-native on Linux distros with old glibc
Date: Thu, 11 Apr 2013 21:41:51 +0100 [thread overview]
Message-ID: <1365712911.16702.61.camel@ted> (raw)
In-Reply-To: <0D51FA37-DDC9-45EC-A3CF-543FAA905ECE@gmail.com>
On Thu, 2013-04-11 at 13:33 -0700, Khem Raj wrote:
> On Apr 11, 2013, at 2:22 AM, Luo Zhenhua-B19537 <B19537@freescale.com> wrote:
>
> > I tried to build wayland-native which requires sys/signalfd.h and sys/timerfd.h, the two headers are not provided by Yocto build env, so host version is searched.
> >
>
>
> those are coming from libc, I don't think we use own libc for native packages. So they have to come from host libc, for nativesdk different story
>
> > When the build is conducted in Linux distros with old glibc(not sure about the accurate version), above two headers are not available, so build will failed as following:
> > | /home/yocto/workspace/sdk-devel/build_p4080ds_release/tmp/work/x86_64-linux/wayland-native/1.0.6-r0/wayland-1.0.6/src/event-loop.c:33:26: error: sys/signalfd.h: No such file or directory
> > | /home/yocto/workspace/sdk-devel/build_p4080ds_release/tmp/work/x86_64-linux/wayland-native/1.0.6-r0/wayland-1.0.6/src/event-loop.c:34:25: error: sys/timerfd.h: No such file or directory
> >
> > Can anybody shed some light on how to solve the issue in Yocto to ensure the build doesn't depend on host env?
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4245
Khem is right, it should be using the host libc but perhaps we can cut
down how much of wayland we build natively. Hopefully Ross might have a
fix, see the above bug, help testing would be appreciated.
Cheers,
Richard
next prev parent reply other threads:[~2013-04-11 21:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 9:22 The build issue of wayland-native on Linux distros with old glibc Luo Zhenhua-B19537
2013-04-11 20:33 ` Khem Raj
2013-04-11 20:41 ` Richard Purdie [this message]
2013-04-12 13:28 ` Luo Zhenhua-B19537
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=1365712911.16702.61.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=B19537@freescale.com \
--cc=B28495@freescale.com \
--cc=B40290@freescale.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/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