Bison build failure on uClibc ARM

Tux Mason tuxmason at gmail.com
Mon Apr 8 19:31:19 UTC 2013


Kindly pardon the late reply.

Yes I was using the master branch. I enabled UCLIBC_HAS_ADVANCED_REALTIME
in the .config.
Disabling this option enables a successful build of bison but breaks other
applications like psmisc and sysvinit which rely on posix_memalign.

Kind regards,
Daniel

On Thu, Mar 7, 2013 at 9:13 PM, Bernhard Reutner-Fischer <
rep.dot.nop at gmail.com> wrote:

> On 1 March 2013 14:07, Tux Mason <tuxmason at gmail.com> wrote:
> > Hello,
> >
> > Am building a uClibc toolchain for use on my odroid X2. Bison fails with
> > the following error;
> >
> > arm-zero-linux-uclibcgnueabi-gcc  -std=gnu99  -I.
> > -I/home/lfs/tuxdev.git/toolchain-build/bison-2.7/lib  -I../intl
> > -I/tools-arm/include  -g -O2 -MT snprintf.o -MD -MP -MF
> .deps/snprintf.Tpo
> > -c -o snprintf.o
> > /home/lfs/tuxdev.git/toolchain-build/bison-2.7/lib/snprintf.c
> > mv -f .deps/snprintf.Tpo .deps/snprintf.Po
> > arm-zero-linux-uclibcgnueabi-gcc  -std=gnu99  -I.
> > -I/home/lfs/tuxdev.git/toolchain-build/bison-2.7/lib  -I../intl
> > -I/tools-arm/include  -g -O2 -MT spawn_faction_addclose.o -MD -MP -MF
> > .deps/spawn_faction_addclose.Tpo -c -o spawn_faction_addclose.o
> >
> /home/lfs/tuxdev.git/toolchain-build/bison-2.7/lib/spawn_faction_addclose.c
> >
> /home/lfs/tuxdev.git/toolchain-build/bison-2.7/lib/spawn_faction_addclose.c:
> > In function 'posix_spawn_file_actions_addclose':
> >
> /home/lfs/tuxdev.git/toolchain-build/bison-2.7/lib/spawn_faction_addclose.c:50:19:
> > error: 'posix_spawn_file_actions_t' has no member named '_used'
>
> > Has anyone experienced the above failure? Any pointers will be greatly
> > appreciated.
>
> sounds like our partial spawn implementation bites, although there is a
> _used
> member in posix_spawn_file_actions_t on master, AFAICS.
>
> Can you reproduce this on master? If so, i assume you have spawn
> enabled in your .config?
>
> thanks,
>


More information about the uClibc mailing list