Can't build m4 or bison with -rc3.

Khem Raj raj.khem at gmail.com
Tue Mar 22 23:01:23 UTC 2011


On (22/03/11 16:42), Rob Landley wrote:
> On 03/20/2011 01:02 AM, Khem Raj wrote:
> > On 3/19/2011 10:17 PM, Rob Landley wrote:
> >> I'm running my Linux From Scratch 6.7 build under a uClibc root
> >> filesystem, and building m4 1.14.4 has this error:
> >>
> >> gcc -std=gnu99  -I.     -g -O2 -MT execute.o -MD -MP -MF
> >> .deps/execute.Tpo -c -o execute.o execute.c
> >> In file included from execute.c:47:
> >> ./spawn.h:112: error: field '_sp' has incomplete type
> >> distcc[23848] ERROR: compile execute.c on localhost failed
> >> make[3]: *** [execute.o] Error 1
> >> make[3]: Leaving directory `/home/m4/lib'
> >
> > Apply the fixes e.g.
> > http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/bison/bison-2.4.3/uclibc-sched_param-def.patch
> 
> Translation: uClibc is permanently broken, we have no choice but to
> start crapping #ifdef uClibc all over other packages to get them to work
> with special cases just for us, when in the previous version we could
> actually fix uClibc.
> 

heh so you mean whatever glibc does is right ?
and if packages use those incantations then those should be universally
accepted


> Unless that goes upstream into m4 and those maintainers accept the
> permanent burden of regression testing against our broken special case,
> it's a workaround, not a fix.
> 
> Rob

-- 
-Khem


More information about the uClibc mailing list