[Buildroot] Facing error while cross compiling libglib2 package for Xtensa architecture

Baruch Siach baruch at tkos.co.il
Thu Jun 5 09:36:11 UTC 2014


Hi phani teja Movva,

On Thu, Jun 05, 2014 at 02:49:14PM +0530, phani teja Movva wrote:
> I am attaching the config file. please find it.
> We don't know the version of buildroot since we bought it as third party
> source.

A quick look at our git history shows that we don't package glib2 version 
2.12.9 since commit 84c82f9fd5b (Mar 6, 2008), that predates the first git 
tagged version of Buildroot (2009.02). I'm afraid we can't help you much with 
this. Commit 68bc1e172e6d72 (libglib2: halt build early with description if 
host glib-genmarshal isn't found) from around the same time seems to indicate 
that you may need glib2 development package on your host.

Please consider migrating to a more recent version of Buildroot.

Hope this helps.

baruch

> On Thu, Jun 5, 2014 at 2:20 PM, Baruch Siach <baruch at tkos.co.il> wrote:
> > On Thu, Jun 05, 2014 at 02:14:31PM +0530, phani teja Movva wrote:
> > > I am trying to cross compile libglib2 package for Xtensa architecture. I
> > > enabled locale/gettext and WCHAR in tool chain and libglib2 in packages.
> > >
> > > I am facing the following issue :
> > >
> > > “/usr/bin/glib-genmarshal: line 105: /usr/bin/.libs/lt-glib-genmarshal:
> > > cannot execute binary file
> > > /usr/bin/glib-genmarshal: line 105: /usr/bin/.libs/lt-glib-genmarshal:
> > > Success
> > > make[3]: *** [stamp-gmarshal.h] Error 1
> > > make[3]: Leaving directory
> > >
> > `/home/buildroot-xtensa-HiFi2-Snapshot/build_xtensa_dc233x90/glib-2.12.9/gobject'’
> > >
> > >  Please help me regard in this issue.
> >
> > Please attach your .config file so we may try to reproduce your problem.
> > Can
> > you also share your xtensa overlay?
> >
> > Which version of Buildroot do you use?
> >
> > baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the buildroot mailing list